/* ==========================================================================
   ASIATIC ENERGY - CLASSIC MODERN THEME (Anti-Glare & Premium Headers)
   ========================================================================== */

/* 1. THE "TRUE SILVER BULLET" (Overrides Bootstrap's core engine) */
:root {
  --bs-body-bg: #e2e8f0 !important;      /* Changes the entire page background */
  --bs-card-bg: #f8fafc !important;      /* Forces ALL cards to be Soft Matte */
  --bs-light: #e2e8f0 !important;
  
  /* Brand Colors */
  --ae-navy: #071b4b;
  --ae-navy-2: #0d2a68;
  --ae-blue: #0b63b6;
  --ae-blue-dark: #084d8f;
  --ae-orange: #f58220;
  --ae-orange-2: #ffad1f;
  --asiatic-green: #1f9d72;
  
  /* ANTI-GLARE UI COLORS */
  --ae-bg: #e2e8f0;            
  --ae-surface: #f8fafc;      
  --ae-border: #cbd5e1;       
  --ae-input-bg: #e2e8f0;     
  --ae-table-hover: #f1f5f9;
  
  /* Text & Shadows */
  --ae-text: #1e293b;     
  --ae-muted: #475569;    
  --ae-shadow-sm: 0 2px 4px rgba(7, 27, 75, 0.05);
  --ae-shadow: 0 8px 20px rgba(7, 27, 75, 0.08);
  --ae-shadow-lg: 0 15px 35px rgba(7, 27, 75, 0.12);
  --ae-page-gradient: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);

  /* Modern Portal UI Additions */
  --asiatic-blue: var(--ae-navy); 
  --asiatic-blue-hover: #04102e;
  --asiatic-blue-light: rgba(7, 27, 75, 0.08); 
}

/* Intercept hardcoded classes globally */
.bg-white { background-color: var(--ae-surface) !important; }
.text-dark { color: #0f172a !important; }
.bg-light { background-color: #e2e8f0 !important; }

/* ==========================================
   2. RESET & TYPOGRAPHY
   ========================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; min-height: 100%; }
body { 
  margin: 0; background: var(--ae-bg); color: var(--ae-text); 
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.6;
}

a { color: var(--ae-blue); text-decoration: none; transition: all 0.2s ease-in-out; }
a:hover { color: var(--ae-blue-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--ae-navy); font-weight: 700; line-height: 1.2; margin-top: 0; }

.text-brand { color: var(--asiatic-blue) !important; }
.bg-brand-light { background: linear-gradient(135deg, rgba(7, 27, 75, 0.03) 0%, rgba(7, 27, 75, 0.08) 100%) !important; }
.border-brand { border-color: var(--asiatic-blue) !important; }

/* ==========================================
   3. PREMIUM HEADERS (Tables, Sidebar, Charts)
   ========================================== */
/* 1. Table Headers */
.table thead {
    background: linear-gradient(180deg, #eef6ff 0%, #dbeafe 100%) !important;
}
.table thead th {
    background: transparent !important; color: #071b4b !important;
    border-bottom: 2px solid #bfdbfe !important; border-right: 1px solid #c8e1ff !important;
}
.table thead th:last-child { border-right: none !important; }

/* 2. Standard Card Headers */
.card-header {
    background: linear-gradient(180deg, #eef6ff 0%, #dbeafe 100%) !important;
    border-bottom: 2px solid #bfdbfe !important; color: #071b4b !important;
    padding: 1.25rem 1.5rem;
}

/* 3. "Breakout Trick" for Sidebar & Chart Headers */
.admin-main-grid .card > div:first-child:not(.card-body),
.admin-main-grid .card > h4:first-of-type,
.admin-main-grid .card > h5:first-of-type {
    background: linear-gradient(180deg, #eef6ff 0%, #dbeafe 100%) !important;
    padding: 1.25rem 1.5rem !important; margin: -1.5rem -1.5rem 1.5rem -1.5rem !important;
    border-bottom: 2px solid #bfdbfe !important; border-radius: 15px 15px 0 0 !important; color: #071b4b !important;
}

/* ==========================================
   4. GLOBAL LAYOUT & VIBRANT TOP HEADERS
   ========================================== */
.ae-content-width { max-width: 1440px; margin: 0 auto; }
.page-shell { max-width: 1440px; margin: 0 auto; padding: 40px 24px 64px; }
.tracking-wide { letter-spacing: 0.5px; }

.hover-lift { transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--ae-shadow-lg) !important; }

.admin-header {
    background: linear-gradient(135deg, var(--ae-navy) 0%, #1e3a8a 100%);
    padding: 2.5rem 3rem !important; border-radius: 1.25rem;
    box-shadow: 0 15px 35px rgba(7, 27, 75, 0.15); border: none !important; margin-bottom: 2.5rem !important;
    position: relative; overflow: hidden;
}
.admin-header::before {
    content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 173, 31, 0.15) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.admin-header h1, .admin-header h2, .admin-header h3, 
.admin-header .text-brand, .admin-header .text-dark { color: #ffffff !important; position: relative; z-index: 2; }
.admin-header p, .admin-header .text-secondary { color: #cbd5e1 !important; position: relative; z-index: 2; }
.admin-header .btn-outline-secondary { background: rgba(255, 255, 255, 0.1) !important; color: #ffffff !important; border-color: rgba(255, 255, 255, 0.2) !important; backdrop-filter: blur(4px); position: relative; z-index: 2; }
.admin-header .btn-outline-secondary:hover { background: #ffffff !important; color: var(--ae-navy) !important; }

/* ==========================================
   5. NAVIGATION (Navbar)
   ========================================== */
.ae-navbar { 
  background: rgba(248, 250, 252, 0.98) !important; backdrop-filter: blur(10px);
  min-height: 76px; border-top: 4px solid var(--ae-orange); border-bottom: 1px solid var(--ae-border); 
  box-shadow: var(--ae-shadow-sm); position: relative; z-index: 20; 
}
.ae-nav-inner { min-height: 72px; padding: 7px 24px; }
.ae-brand { display: flex; align-items: center; gap: 16px; color: var(--ae-navy) !important; padding: 0; min-width: 0; }
.ae-logo { display: block; width: 205px; height: auto; max-height: 55px; object-fit: contain; }
.ae-brand-divider { width: 1px; height: 32px; background: var(--ae-border); }
.ae-portal-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; color: var(--ae-navy); text-transform: uppercase; white-space: nowrap; }

.ae-user-chip { display: flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid var(--ae-border); border-radius: 50px; color: var(--ae-navy); background: var(--ae-surface); font-size: 0.85rem; font-weight: 600; box-shadow: var(--ae-shadow-sm); }
.ae-user-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ae-orange-2); box-shadow: 0 0 0 3px rgba(255, 173, 31, 0.15); }
.ae-logout-btn { color: var(--ae-navy); border: 1px solid var(--ae-border); background: var(--ae-surface); font-weight: 600; border-radius: 8px; padding: 0.5rem 1rem; }
.ae-logout-btn:hover { background: #e2e8f0; color: var(--ae-blue-dark); border-color: #94a3b8; }

/* ==========================================
   6. COMPONENTS (Cards, Buttons, Forms, Tables)
   ========================================== */
.card { border: 1px solid var(--ae-border); border-radius: 16px; box-shadow: var(--ae-shadow); background: var(--ae-surface); }

.btn { border-radius: 8px; font-weight: 600; padding: 0.6rem 1.25rem; transition: all 0.2s ease; }
.btn-primary { background: var(--ae-blue); border-color: var(--ae-blue); box-shadow: 0 4px 10px rgba(11, 99, 182, 0.2); color: #fff; }
.btn-primary:hover { background: var(--ae-blue-dark); border-color: var(--ae-blue-dark); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(11, 99, 182, 0.3); }
.btn-outline-primary { color: var(--ae-blue); border-color: var(--ae-blue); }
.btn-outline-primary:hover { background: #e0f2fe; color: var(--ae-blue-dark); border-color: var(--ae-blue-dark); }
.btn-brand { background-color: var(--asiatic-blue); border-color: var(--asiatic-blue); color: #ffffff; box-shadow: 0 4px 10px rgba(7, 27, 75, 0.15); }
.btn-brand:hover { background-color: var(--asiatic-blue-hover); border-color: var(--asiatic-blue-hover); color: #ffffff; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(7, 27, 75, 0.25); }

/* FIX: Let normal forms & selects expand fully, Gray until focused */
.form-control, select.form-select, input[type="password"] { 
  border: 1px solid #94a3b8 !important; border-radius: 8px !important; min-height: 48px; 
  color: var(--ae-text) !important; background-color: var(--ae-input-bg) !important; 
  font-size: 0.95rem; transition: all 0.2s ease; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

/* FIX: Target ONLY the calendar dropdown to prevent stretching */
select.calendar-location-select {
  width: auto !important; min-width: 200px; display: inline-block; flex-shrink: 0;
}

.activity-calendar-toolbar { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; }

.form-control:focus, select.form-select:focus, input[type="password"]:focus { 
  border-color: var(--ae-blue) !important; box-shadow: 0 0 0 4px rgba(11, 99, 182, 0.15) !important; 
  outline: none; background-color: #ffffff !important;
}

.table { margin-bottom: 0; width: 100%; }
.table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 800; padding: 16px; }
.table td { border-color: #cbd5e1; vertical-align: middle; padding: 16px; color: var(--ae-text); background: transparent !important; }
.table-hover tbody tr { transition: background-color 0.15s ease; }
.table-hover tbody tr:hover { background-color: var(--ae-table-hover); }

.action-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border-radius: 8px; transition: all 0.2s ease; background-color: var(--ae-surface); border: 1px solid rgba(0,0,0,0.1); }
.action-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.08); background-color: #ffffff; }
.action-btn-edit { color: #0284c7; border-color: #bae6fd; }
.action-btn-edit:hover { background-color: #e0f2fe; color: #0369a1; }
.action-btn-disable { color: #d97706; border-color: #fde68a; }
.action-btn-disable:hover { background-color: #fef3c7; color: #b45309; }
.action-btn-restore { color: #059669; border-color: #a7f3d0; }
.action-btn-restore:hover { background-color: #dcfce7; color: #047857; }
.action-btn-delete { color: #e11d48; border-color: #fecdd3; }
.action-btn-delete:hover { background-color: #fee2e2; color: #be123c; }

/* ==========================================
   7. DASHBOARD METRIC CARDS
   ========================================== */
.admin-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.admin-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-main-grid { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 24px; }

.metric-card { 
  height: 100%; padding: 24px; position: relative; border-radius: 16px; 
  border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 10px 20px rgba(7,27,75,0.06); transition: transform 0.2s ease;
}
.metric-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(7,27,75,0.1); }
.metric-card:nth-child(1) { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); }
.metric-card:nth-child(2) { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); }
.metric-card:nth-child(3) { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.metric-card:nth-child(4) { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); }
.metric-card:nth-child(5) { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); }
.metric-card small { display: block; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; color: #334155; }
.metric { font-size: 2.25rem; line-height: 1; font-weight: 800; }

/* ==========================================
   8. SETTINGS & RESOURCE PAGES 
   ========================================== */
.settings-page-wrapper { background: var(--ae-page-gradient); min-height: calc(100vh - 70px); padding-top: 1.5rem; padding-bottom: 3rem; }

/* FIX: Added width: 100% so settings cards don't shrink */
.settings-card { width: 100%; border: none; border-radius: 1.25rem; box-shadow: 0 10px 30px rgba(0,0,0,0.06); overflow: hidden; height: 100%; background: var(--ae-surface); transition: transform 0.3s ease, box-shadow 0.3s ease; }

/* FIX: Added proper padding to the custom Master Settings headers */
.settings-card-header { padding: 1.5rem; border-radius: 1.25rem 1.25rem 0 0; }

.list-group-item { background: linear-gradient(to right, transparent, rgba(226, 232, 240, 0.5)); padding: 1.25rem 1.5rem; border-left: 4px solid transparent; border-right: none; border-top: 1px solid var(--ae-border); transition: all 0.2s ease; }
.list-group-item:hover { background: linear-gradient(to right, #f8fafc, #e2e8f0) !important; border-left-color: var(--asiatic-blue); box-shadow: inset 0 0 20px rgba(7, 27, 75, 0.02); }

.resource-empty-state, .activity-empty { background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%); border: 2px dashed #94a3b8; border-radius: 16px; }

/* ==========================================
   9. TEST TAKING UI
   ========================================== */
.question-card { border-top: 4px solid var(--ae-blue); background: linear-gradient(to bottom, var(--ae-surface), #e2e8f0); }
.option-label { cursor: pointer; transition: all 0.2s ease; border: 2px solid transparent; background-color: var(--ae-surface); }
.option-label:hover { background-color: #e2e8f0; border-color: rgba(0,0,0,0.15) !important; }
.option-label.selected { background-color: var(--asiatic-blue-light) !important; border-color: var(--asiatic-blue) !important; }

/* ==========================================
   10. CUSTOM HORIZONTAL ACCORDION
   ========================================== */
.custom-acc-item { border: 1px solid var(--ae-border); border-radius: 8px; background: var(--ae-surface); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.02); display: flex; flex-direction: column; height: 100%; }
.custom-acc-header { padding: 16px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; background: var(--ae-surface); transition: background-color 0.2s ease; user-select: none; flex-grow: 1; }
.custom-acc-header:hover { background-color: #e2e8f0; }
.custom-acc-title { font-size: 1.05rem; font-weight: 700; color: #071b4b; margin-bottom: 8px; line-height: 1.3; }

.acc-badge-online { background-color: #dcfce7; color: #166534; border: 1px solid #bbf7d0; padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: 0.75rem; }
.acc-badge-offline { background-color: #e2e8f0; color: #475569; border: 1px solid #e8eaed; padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: 0.75rem; }
.custom-acc-body { display: none; padding: 20px; border-top: 1px solid var(--ae-border); background: #eef2f6; }
.custom-acc-body.show { display: block; animation: fadeIn 0.25s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }

.badge-inst { background-color: #e0f2fe; color: #0369a1; border: 1px solid #bfdbfe; min-width: 75px; font-weight: 600; padding: 4px 8px; }
.badge-assess { background-color: #cffafe; color: #0e7490; border: 1px solid #a5f3fc; min-width: 75px; font-weight: 600; padding: 4px 8px; }

/* ==========================================
   11. VANILLA MODALS
   ========================================== */
.custom-modal { display: none; position: fixed; z-index: 1050; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: rgba(7, 27, 75, 0.4); backdrop-filter: blur(4px); }
.custom-modal.show-modal { display: block; }
.custom-modal-dialog { position: relative; width: auto; margin: 5rem auto; max-width: 500px; display: flex; align-items: center; }
.custom-modal-content { position: relative; display: flex; flex-direction: column; width: 100%; background-color: var(--ae-surface); border: 1px solid var(--ae-border); border-radius: 1rem; box-shadow: 0 1rem 3rem rgba(0,0,0,.175); overflow: hidden; }
.custom-modal-header { background: linear-gradient(135deg, #f8fafc, #f1f5f9); border-bottom: 1px solid #e2e8f0; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.custom-modal-body { padding: 1.5rem; }

/* ==========================================
   12. LOGIN & AUTH PORTAL
   ========================================== */
.login-shell { min-height: calc(100vh - 76px); display: flex; align-items: center; justify-content: center; padding: 48px 20px; background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%); }
.login-card { width: 100%; max-width: 440px; padding: 40px; border-radius: 24px; box-shadow: 0 20px 40px rgba(7,27,75,0.08); border: 1px solid rgba(255,255,255,0.2); background: var(--ae-surface); }
.login-logo { width: min(100%, 280px); height: auto; max-height: 90px; object-fit: contain; }

/* ==========================================
   13. ACTIVITY & TRAINING CALENDARS
   ========================================== */
.calendar-week-stack { border: 1px solid var(--ae-border); border-radius: 16px; overflow: hidden; background: var(--ae-surface); display: flex; flex-direction: column; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: transparent; border: none; margin: 0; }
.calendar-weekday { padding: 12px 8px; background: #cbd5e1; color: var(--ae-navy); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; text-align: center; border-right: 1px solid var(--ae-border); border-bottom: 1px solid var(--ae-border); }

/* CALENDAR FIX (Anchor for Absolute Pos Bars) */
.calendar-week-block { position: relative; margin: 0; padding: 0; border: none; }
.calendar-week-block:last-child .calendar-cell { border-bottom: 0; }

.calendar-cell { min-height: 130px; padding: 10px; border-right: 1px solid var(--ae-border); border-bottom: 1px solid var(--ae-border); background: transparent; transition: background-color 0.2s ease; position: relative; }
.calendar-cell.empty { background: #cbd5e1; opacity: 0.4; }
.calendar-cell:hover:not(.empty) { background: #e2e8f0; }
.calendar-day-number { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.2s ease; font-weight: 700; color: var(--ae-navy); }
.calendar-cell.today .calendar-day-number { background: rgba(245, 130, 32, 0.2); color: var(--ae-orange-2); }
.calendar-cell.selected { box-shadow: inset 0 0 0 2px var(--ae-blue); background: #e0f2fe; }
.calendar-cell.selected .calendar-day-number { background: var(--ae-blue); color: #fff; }

.schedule-legend { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; font-weight: 600; color: var(--ae-muted); }
.legend-dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }

.calendar-bars-grid { position: absolute; left: 0; right: 0; top: 46px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: 26px; gap: 4px; padding: 0 8px; z-index: 2; pointer-events: none; }
.schedule-bar { display: flex; pointer-events: auto; align-items: center; gap: 8px; min-width: 0; padding: 4px 10px; border-radius: 8px; text-decoration: none; font-size: 0.75rem; font-weight: 600; overflow: hidden; box-shadow: var(--ae-shadow-sm); border: none; transition: transform 0.15s ease; color: #ffffff !important; }
.schedule-bar:hover { transform: scale(1.02); z-index: 10; position: relative; cursor: pointer; color: #ffffff; }

.schedule-bar.category-iwcf, .legend-iwcf { background: linear-gradient(90deg, #071b4b 0%, #0b63b6 100%); } 
.schedule-bar.category-iadc, .legend-iadc { background: linear-gradient(90deg, #0f543c 0%, #1f9d72 100%); } 
.schedule-bar.category-hse, .legend-hse { background: linear-gradient(90deg, #a8540d 0%, #f58220 100%); }  

/* ==========================================
   14. MASTER SETTINGS CARD GRADIENTS (Global Scope)
   ========================================== */
.gradient-locations { 
    background: linear-gradient(135deg, #071b4b 0%, #2a5298 100%) !important; 
    color: #ffffff !important; 
    border-bottom: none !important; 
}
.gradient-categories { 
    background: linear-gradient(135deg, #005c97 0%, #363795 100%) !important; 
    color: #ffffff !important; 
    border-bottom: none !important; 
}
.gradient-courses { 
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%) !important; 
    color: #ffffff !important; 
    border-bottom: none !important; 
}
.gradient-locations h5, .gradient-categories h5, .gradient-courses h5,
.gradient-locations p, .gradient-categories p, .gradient-courses p {
    color: #ffffff !important;
}

/* ==========================================
   15. MEDIA QUERIES
   ========================================== */
@media(max-width: 991px) { 
  .admin-main-grid { grid-template-columns: 1fr; }
}
@media(max-width: 768px) {
  .calendar-cell { min-height: 80px; padding: 6px; }
  .calendar-day-number { width: 26px; height: 26px; font-size: 0.8rem; }
  .calendar-weekday { font-size: 0.65rem; padding: 8px 4px; }
  .calendar-week-block { min-height: 100px; }
  .calendar-bars-grid { top: 40px; grid-auto-rows: 20px; }
  .schedule-bar { font-size: 0.65rem; padding: 2px 6px; }
}

/* ==========================================
   16. DISABLED USER ROW STYLING
   ========================================== */
.student-disabled {
    opacity: 0.70; /* Slightly less faded so button colors pop */
    background-color: #fcfcfc;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

/* Mute the text slightly */
.student-disabled .text-dark,
.student-disabled .fw-bold {
    color: #6c757d !important; 
}

/* Grayscale badges, but LEAVE action buttons alone! */
.student-disabled .badge:not(.bg-secondary) {
    filter: grayscale(100%);
    opacity: 0.8;
}

/* 1. Keep Edit, Enable, and Delete buttons fully colorful */
.student-disabled .action-btn {
    filter: none !important;
    opacity: 1 !important;
}

/* 2. ONLY gray out the Email/Calendar buttons because they are deactivated */
.student-disabled .action-btn[disabled] {
    filter: grayscale(100%) !important;
    opacity: 0.5 !important;
    cursor: not-allowed;
}

/* Light up the whole row on hover */
.student-disabled:hover {
    opacity: 1;
}

/* ==========================================
   17. LANDING PAGE (Home)
   ========================================== */
.landing-shell { background-color: transparent; }

.hero-wrapper {
    background: var(--ae-surface);
    box-shadow: var(--ae-shadow-lg);
    overflow: hidden;
}

.hero-left {
    background: linear-gradient(135deg, var(--ae-navy) 0%, #1e3a8a 100%);
    position: relative;
}

.hero-right {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.text-orange { color: var(--ae-orange) !important; }

.btn-hero {
    color: var(--ae-navy) !important;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
    color: var(--ae-blue-dark) !important;
}

.hero-badge {
    font-size: 0.8rem;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-card-modern {
    background: var(--ae-surface);
    box-shadow: var(--ae-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--ae-shadow-lg);
}

.feat-dot {
    width: 12px;
    height: 12px;
    background-color: var(--ae-orange);
    box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15);
}

/* Smoothly animate the arrow inside the hero button */
.btn-hero svg {
    transition: transform 0.3s ease;
}

/* Slide the arrow 5px to the right when the button is hovered */
.btn-hero:hover svg {
    transform: translateX(5px);
}