/* =========================================================
   AGL DIGITAL ECOSYSTEM — MASTER STYLESHEET
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

/* ============ 1. ROOT VARIABLES & RESET ============ */
:root {
  --maroon: #800000;
  --maroon-dark: #5a0000;
  --green: #228B22;
  --green-dark: #176317;
  --gold: #D4AF37;
  --gold-light: #e8cd6e;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --dark: #1a0000;
  --text-dark: #2a2a2a;
  --text-light: #f5f5f5;
  --font-main: 'Hind Siliguri', sans-serif;
  --font-head: 'Fraunces', serif;
  --font-ar: 'Amiri', serif;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.18);
  --trans: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); background: var(--off-white); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--trans); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ 2. UTILITIES ============ */
.main-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.snap-section { padding: 70px 0; position: relative; }
.section-head { font-family: var(--font-head); font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--maroon); text-align: center; margin-bottom: 8px; }
.section-head.light { color: var(--white); }
.section-sub { text-align: center; color: var(--maroon); opacity: 0.7; font-size: 0.95rem; max-width: 640px; margin: 0 auto 40px; }
.section-sub.light { color: var(--white); opacity: 0.8; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--gold), var(--maroon)); width: 0%; z-index: 9999; transition: width 0.1s; }
.skip-link { position: absolute; top: -100px; left: 10px; background: var(--maroon); color: var(--white); padding: 10px 20px; z-index: 100000; border-radius: 0 0 8px 8px; transition: top 0.3s; }
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============ 3. TOP BAR & HEADER ============ */
.top-bar { background: var(--maroon-dark); color: var(--white); font-size: 0.8rem; padding: 8px 0; border-bottom: 1px solid var(--gold); }
.top-bar .main-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-left, .top-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.top-left span, .top-left a { display: inline-flex; align-items: center; gap: 6px; color: var(--white); }
.top-left i { color: var(--gold); }
.tb-map-link:hover { color: var(--gold); }
.top-tools { display: flex; align-items: center; gap: 12px; }
.lang-select { background: var(--maroon); color: var(--white); border: 1px solid var(--gold); padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; outline: none; cursor: pointer; }
.tb-icon-btn { color: var(--white); font-size: 0.9rem; transition: var(--trans); }
.tb-icon-btn:hover { color: var(--gold); }
.tb-quick-btn { background: var(--gold); color: var(--maroon-dark); padding: 4px 12px; border-radius: 50px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; transition: var(--trans); }
.tb-quick-btn:hover { background: var(--gold-light); transform: translateY(-2px); }
.tb-link { display: inline-flex; align-items: center; gap: 4px; color: var(--white); transition: var(--trans); }
.tb-link:hover { color: var(--gold); }
.highlight-aep { color: var(--gold) !important; font-weight: 600; }
.top-social { display: flex; gap: 10px; }
.top-social a { color: var(--white); font-size: 0.9rem; transition: var(--trans); }
.top-social a:hover { color: var(--gold); transform: translateY(-2px); }

header#siteHeader { position: sticky; top: 0; z-index: 9000; background: var(--white); box-shadow: var(--shadow-sm); border-bottom: 2px solid var(--gold); transition: box-shadow 0.3s; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-orb { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); box-shadow: 0 0 12px rgba(212,175,55,0.4); }
.site-logo { width: 100%; height: 100%; object-fit: cover; }
.navbar h1 { font-family: var(--font-head); font-size: 1.3rem; color: var(--maroon); letter-spacing: 0.05em; line-height: 1; }
.navbar h1 span { display: block; font-size: 0.5em; color: var(--green); letter-spacing: 0.2em; font-weight: 600; }

.menu-toggle { display: none; font-size: 1.5rem; color: var(--maroon); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links > li { position: relative; }
.nav-links > li > a { font-weight: 600; font-size: 0.85rem; color: var(--text-dark); display: flex; align-items: center; gap: 6px; padding: 10px 0; transition: var(--trans); }
.nav-links > li > a i { color: var(--gold); font-size: 0.8rem; }
.nav-links > li > a:hover { color: var(--maroon); }

.dropdown-content { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--white); box-shadow: var(--shadow-lg); border-radius: 8px; padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--trans); border-top: 3px solid var(--gold); z-index: 100; }
.dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-content li a { display: block; padding: 8px 20px; font-size: 0.82rem; color: var(--maroon); transition: var(--trans); }
.dropdown-content li a:hover { background: var(--off-white); color: var(--green); padding-left: 24px; }

.nav-overlay { position: fixed; inset: 0; background: rgba(128,0,0,0.6); z-index: 8000; opacity: 0; visibility: hidden; transition: var(--trans); }
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ============ 4. SEARCH OVERLAY ============ */
.search-overlay { position: fixed; inset: 0; background: var(--maroon-dark); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--trans); }
.search-overlay.active { opacity: 1; visibility: visible; }
.search-box { position: relative; width: 90%; max-width: 600px; }
.search-box input { width: 100%; padding: 20px 60px 20px 24px; font-size: 1.1rem; border: 2px solid var(--gold); border-radius: 50px; background: var(--white); outline: none; font-family: inherit; }
.search-close { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: var(--maroon); background: var(--off-white); width: 40px; height: 40px; border-radius: 50%; }

/* ============ 5. HERO SECTION ============ */
.hero-section { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%); color: var(--white); overflow: hidden; padding: 60px 20px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-ring { position: absolute; border: 1px solid rgba(212,175,55,0.15); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hero-ring.r1 { width: 600px; height: 600px; animation: spin 20s linear infinite; }
.hero-ring.r2 { width: 900px; height: 900px; animation: spin 30s linear infinite reverse; }
.hero-ring.r3 { width: 1200px; height: 1200px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-container { position: relative; z-index: 2; text-align: center; max-width: 900px; width: 100%; transform-style: preserve-3d; transition: transform 0.1s ease-out; }
.hero-eyebrow { font-size: 0.85rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.tagline { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 30px; line-height: 1.1; text-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.tagline-3d { display: inline-block; background: linear-gradient(135deg, var(--white), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.hero-panel { background: rgba(255,255,255,0.08); border: 1px solid rgba(212,175,55,0.3); border-radius: 16px; padding: 24px; backdrop-filter: blur(10px); transition: var(--trans); }
.hero-panel:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 12px 32px rgba(212,175,55,0.2); }
.hero-panel-icon { font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; display: block; }
.hero-panel h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 6px; }
.hero-panel p { font-size: 0.9rem; color: var(--white); opacity: 0.8; }

.philosophy-strip { display: inline-flex; align-items: center; gap: 12px; background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.4); padding: 12px 24px; border-radius: 50px; margin-bottom: 30px; }
.philosophy-strip i { color: var(--gold); font-size: 1.2rem; }
.philosophy-strip h3 { font-size: 0.95rem; font-weight: 600; }

.divine-card { background: var(--maroon-dark); border: 1px solid rgba(212,175,55,0.4); border-radius: 20px; padding: 30px 24px; margin-bottom: 30px; position: relative; overflow: hidden; }
.divine-card::before { content: ''; position: absolute; inset: -2px; border-radius: 22px; background: linear-gradient(135deg, var(--gold), transparent, var(--green)); z-index: -1; filter: blur(10px); opacity: 0.5; }
.divine-card h3 { font-family: var(--font-head); color: var(--gold); margin-bottom: 14px; font-size: 1.1rem; letter-spacing: 0.05em; }
.ayah { font-family: var(--font-ar); font-size: clamp(1.2rem, 2.5vw, 1.6rem); line-height: 2; margin-bottom: 10px; text-align: center; color: var(--white); }
.divine-card cite { display: block; font-size: 0.78rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 12px; font-style: normal; }
.ayah-bn { font-size: 0.9rem; color: var(--white); opacity: 0.9; line-height: 1.8; }

.sectors-grid { margin-bottom: 30px; }
.sector-title { font-family: var(--font-head); color: var(--gold); font-size: 1rem; margin-bottom: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.sector-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sector-list li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); padding: 10px 20px; border-radius: 50px; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.15); transition: var(--trans); }
.sector-list li:hover { background: var(--gold); color: var(--maroon-dark); transform: translateY(-3px); }
.sector-list li i { color: var(--gold); transition: var(--trans); }
.sector-list li:hover i { color: var(--maroon-dark); }

.cta-area { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cta-btn { background: var(--gold); color: var(--maroon-dark); padding: 14px 32px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.03em; transition: var(--trans); border: 2px solid var(--gold); display: inline-block; text-align: center; }
.cta-btn:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(212,175,55,0.4); }
.cta-btn.ghost { background: transparent; color: var(--gold); }
.cta-btn.ghost:hover { background: var(--gold); color: var(--maroon-dark); }
.cta-btn.full { width: 100%; margin-top: 16px; }
.powered-by { font-size: 0.75rem; color: var(--white); opacity: 0.6; letter-spacing: 0.1em; }

/* ============ 6. COMPONENTS (TESTIMONIALS, COMPANY, TIMELINE, ETC.) ============ */
.testimonials-section { background: var(--white); }
.testimonial-carousel { position: relative; overflow: hidden; max-width: 900px; margin: 0 auto; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card { min-width: 100%; padding: 10px; }
.testimonial-inner { background: var(--off-white); border: 1px solid var(--gold); border-radius: 16px; padding: 32px; text-align: center; box-shadow: var(--shadow-sm); }
.testimonial-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--maroon); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 14px; }
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95rem; color: var(--text-dark); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { font-weight: 700; color: var(--maroon); font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--green); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); color: var(--gold); z-index: 10; display: flex; align-items: center; justify-content: center; transition: var(--trans); box-shadow: var(--shadow-md); }
.carousel-btn:hover { background: var(--gold); color: var(--maroon); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-nav { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-light); transition: var(--trans); }
.carousel-dot.active { background: var(--maroon); width: 26px; border-radius: 5px; }

.company-info { background: var(--off-white); }
.company-block { background: var(--white); border-radius: 16px; padding: 30px; margin-bottom: 24px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--gold); transition: var(--trans); }
.company-block:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.company-block-title { font-family: var(--font-head); font-size: 1.4rem; color: var(--maroon); margin-bottom: 12px; }
.company-block-text { font-size: 0.92rem; color: var(--text-dark); line-height: 1.8; }
.company-block-simple { background: var(--white); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-sm); border-left: 3px solid var(--green); margin-bottom: 16px; }
.company-block-simple h4 { color: var(--maroon); margin-bottom: 6px; font-size: 1rem; }
.company-block-simple p { font-size: 0.85rem; color: var(--text-dark); }
.center-block { text-align: center; }

.doc-block { margin-top: 20px; padding: 16px; background: var(--off-white); border-radius: 10px; border: 1px dashed var(--maroon); }
.doc-title { font-size: 0.9rem; color: var(--maroon); margin-bottom: 6px; }
.doc-status { font-size: 0.78rem; color: var(--green); margin-bottom: 12px; }
.doc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.doc-actions.center { justify-content: center; margin-top: 16px; }
.doc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 6px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--trans); }
.download-btn { background: var(--maroon); color: var(--white); }
.download-btn:hover { background: var(--maroon-dark); transform: translateY(-2px); }
.upload-btn { background: var(--white); color: var(--maroon); border: 1px solid var(--gold); }
.upload-btn:hover { background: var(--gold); color: var(--maroon-dark); }

.board-section-title { font-family: var(--font-head); font-size: 1.15rem; color: var(--green); margin: 24px 0 16px; padding-bottom: 6px; border-bottom: 2px solid var(--green); }
.person-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 20px; }
.person-card { background: var(--white); border-radius: 12px; padding: 16px; box-shadow: var(--shadow-sm); display: flex; gap: 12px; align-items: center; border: 1px solid var(--off-white); transition: var(--trans); }
.person-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold); }
.person-photo-frame { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--off-white); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; }
.person-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { font-size: 1.5rem; color: var(--maroon); }
.person-info { flex: 1; min-width: 0; }
.person-name { font-weight: 700; font-size: 0.9rem; color: var(--maroon); }
.person-role { font-size: 0.75rem; color: var(--green); margin-bottom: 4px; }
.photo-status { font-size: 0.65rem; color: var(--text-dark); opacity: 0.6; margin-bottom: 6px; }
.person-actions { display: flex; gap: 6px; }
.person-btn { font-size: 0.65rem; padding: 4px 8px; border-radius: 4px; background: var(--off-white); color: var(--maroon); border: 1px solid var(--gold); cursor: pointer; transition: var(--trans); }
.person-btn:hover { background: var(--maroon); color: var(--white); }

.timeline-section { background: var(--white); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--gold), var(--green), var(--maroon)); }
.timeline-item { position: relative; padding-bottom: 30px; padding-left: 24px; }
.timeline-dot { position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--gold); }
.timeline-year { display: inline-block; background: var(--maroon); color: var(--white); padding: 3px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; margin-bottom: 8px; }
.timeline-title { font-family: var(--font-head); font-size: 1.15rem; color: var(--maroon); margin-bottom: 6px; }
.timeline-desc { font-size: 0.88rem; color: var(--text-dark); }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 30px; }

.stats-section { background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; }
.stat-card { background: rgba(255,255,255,0.06); border-radius: 16px; padding: 30px 20px; border: 1px solid var(--gold); transition: var(--trans); }
.stat-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); }
.stat-icon { font-size: 2rem; color: var(--gold); margin-bottom: 12px; }
.stat-number { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.stat-label { font-size: 0.82rem; color: var(--white); opacity: 0.8; letter-spacing: 0.05em; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 20px; }
.price-card { background: var(--off-white); border: 2px solid var(--gold); border-radius: 14px; padding: 24px 20px; text-align: center; transition: var(--trans); position: relative; }
.price-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--maroon); background: var(--white); box-shadow: var(--shadow-md); }
.price-card h4 { font-size: 1rem; color: var(--maroon); margin-bottom: 10px; }
.price { font-family: var(--font-head); font-size: 1.8rem; color: var(--green); font-weight: 700; margin-bottom: 8px; }
.price span { font-size: 0.65rem; color: var(--text-dark); font-weight: 400; }
.price-desc { font-size: 0.82rem; color: var(--text-dark); line-height: 1.5; }
.feature-list { margin-top: 14px; text-align: left; }
.feature-list li { font-size: 0.8rem; color: var(--text-dark); padding: 5px 0; border-bottom: 1px dashed var(--gold); }
.feature-list li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.card-icon { font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; }
.agl-badge { position: absolute; top: -10px; right: 14px; padding: 3px 12px; border-radius: 50px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; }
.badge-green { background: var(--green); color: var(--white); }
.badge-gold { background: var(--gold); color: var(--maroon-dark); }
.badge-maroon { background: var(--maroon); color: var(--white); }

.asa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.flip-card { perspective: 1200px; height: 240px; }
.flip-card.wide { grid-column: span 2; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform 0.8s cubic-bezier(0.4,0,0.2,1); transform-style: preserve-3d; }
.flip-card:hover .flip-inner, .flip-card:focus-within .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.flip-front { background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)); color: var(--white); border: 2px solid var(--gold); }
.flip-front i { font-size: 2.4rem; color: var(--gold); margin-bottom: 14px; }
.flip-front h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 8px; }
.flip-hint { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em; }
.flip-back { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: var(--white); transform: rotateY(180deg); justify-content: center; }
.flip-back p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 14px; }
.flip-back .doc-btn { background: var(--gold); color: var(--maroon-dark); }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.shop-block { background: var(--white); border-radius: 16px; padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm); border-top: 4px solid var(--gold); transition: var(--trans); }
.shop-block:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-top-color: var(--green); }
.shop-icon { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)); color: var(--gold); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.shop-block-title { font-family: var(--font-head); font-size: 1.05rem; color: var(--maroon); margin-bottom: 10px; }
.shop-block-text { font-size: 0.82rem; color: var(--text-dark); line-height: 1.6; margin-bottom: 16px; }

.gallery-section { background: var(--off-white); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--maroon); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--maroon-dark), transparent 60%); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 16px; opacity: 0; transition: var(--trans); font-size: 0.85rem; font-weight: 600; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 1.4rem; margin-bottom: 6px; color: var(--gold); }

.aep-section { background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%); color: var(--white); }
.aep-program-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.aep-program-list li { background: rgba(255,255,255,0.08); padding: 8px 18px; border-radius: 50px; font-size: 0.82rem; border: 1px solid var(--gold); }
.aep-program-list strong { color: var(--gold); margin-right: 4px; }
.sub-head { font-family: var(--font-head); font-size: 1.4rem; color: var(--gold); text-align: center; margin-bottom: 6px; }
.sub-head.left { text-align: left; }
.sub-head-note { text-align: center; font-size: 0.85rem; color: var(--white); opacity: 0.7; margin-bottom: 24px; }
.aep-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 40px; }
.aep-card { background: rgba(255,255,255,0.06); border-radius: 14px; padding: 22px 18px; border: 1px solid var(--gold); transition: var(--trans); position: relative; }
.aep-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); border-color: var(--gold-light); }
.aep-card-badge { position: absolute; top: -8px; right: 12px; background: var(--gold); color: var(--maroon-dark); font-size: 0.6rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.aep-card-icon { font-size: 1.6rem; color: var(--gold); margin-bottom: 10px; }
.aep-card-title { font-family: var(--font-head); font-size: 1.2rem; color: var(--white); margin-bottom: 6px; }
.aep-card-desc { font-size: 0.8rem; color: var(--white); opacity: 0.75; line-height: 1.5; margin-bottom: 14px; }
.aep-card-btn { background: var(--gold); color: var(--maroon-dark); padding: 8px 20px; border-radius: 50px; font-weight: 700; font-size: 0.78rem; width: 100%; transition: var(--trans); }
.aep-card-btn:hover { background: var(--gold-light); }
.aep-form-box { background: var(--white); color: var(--text-dark); border-radius: 16px; padding: 30px; max-width: 600px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.aep-form-box h3 { font-family: var(--font-head); color: var(--maroon); margin-bottom: 16px; font-size: 1.3rem; }
.aep-field { margin-bottom: 14px; }
.aep-field label { display: block; font-size: 0.82rem; color: var(--maroon); margin-bottom: 5px; font-weight: 600; }
.aep-field.full-width { grid-column: 1 / -1; }
.aep-input { width: 100%; padding: 10px 14px; border: 1px solid var(--gold); border-radius: 8px; font-family: inherit; font-size: 0.88rem; outline: none; transition: var(--trans); background: var(--off-white); color: var(--text-dark); }
.aep-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,139,34,0.2); background: var(--white); }
.aep-form-note { font-size: 0.8rem; color: var(--text-dark); opacity: 0.7; margin-bottom: 14px; font-style: italic; }
.aep-payment-box { background: rgba(34,139,34,0.08); border: 1px dashed var(--green); border-radius: 8px; padding: 16px; margin: 16px 0; }
.pay-head { font-weight: 700; color: var(--green); margin-bottom: 6px; font-size: 0.9rem; }
.aep-payment-box p { font-size: 0.82rem; color: var(--text-dark); margin-bottom: 8px; }
.aep-payment-box strong { color: var(--maroon); }
.aep-submit-btn { width: 100%; margin-top: 10px; }
.aep-google-link-box { margin-top: 16px; padding: 16px; background: var(--off-white); border-radius: 8px; border: 1px solid var(--gold); text-align: center; }
.aep-google-link-box p { font-size: 0.85rem; color: var(--text-dark); margin-bottom: 10px; }
.aep-confirmation { margin-top: 16px; padding: 16px; background: rgba(34,139,34,0.1); border-radius: 8px; border-left: 4px solid var(--green); color: var(--green-dark); font-size: 0.9rem; }

.faq-section { background: var(--white); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gold); }
.faq-question { width: 100%; text-align: left; padding: 18px 0; font-size: 0.95rem; font-weight: 600; color: var(--maroon); display: flex; justify-content: space-between; align-items: center; transition: var(--trans); }
.faq-question:hover { color: var(--green); }
.faq-question i { transition: transform 0.3s; color: var(--gold); }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 0 18px; font-size: 0.88rem; color: var(--text-dark); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 300px; }

.contact-info { margin-bottom: 24px; }
.contact-info p { font-size: 0.88rem; color: var(--text-dark); margin-bottom: 8px; }
.contact-info strong { color: var(--maroon); display: inline-block; min-width: 130px; }
.contact-info a { color: var(--green); font-weight: 600; }
.contact-info a:hover { color: var(--maroon); text-decoration: underline; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form-grid .full-width { grid-column: 1 / -1; }
textarea.aep-input { min-height: 100px; resize: vertical; }

.newsletter-bar { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: var(--white); padding: 50px 20px; }
.newsletter-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 6px; }
.newsletter-inner p { font-size: 0.9rem; margin-bottom: 20px; color: var(--white); opacity: 0.85; }
.newsletter-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.newsletter-input { flex: 1; padding: 12px 18px; border-radius: 50px; border: none; font-family: inherit; font-size: 0.9rem; outline: none; background: var(--white); color: var(--text-dark); }
.newsletter-btn { background: var(--gold); color: var(--maroon-dark); padding: 12px 24px; border-radius: 50px; font-weight: 700; font-size: 0.85rem; transition: var(--trans); white-space: nowrap; }
.newsletter-btn:hover { background: var(--gold-light); }
.newsletter-success { display: none; margin-top: 14px; font-size: 0.85rem; background: rgba(255,255,255,0.2); padding: 10px; border-radius: 8px; }
.newsletter-success.show { display: block; }

footer#site-footer { background: var(--maroon-dark); color: var(--white); padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; padding-bottom: 40px; }
.footer-col h3 { font-family: var(--font-head); color: var(--gold); font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--gold); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.82rem; color: var(--white); opacity: 0.8; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; opacity: 1; }
.footer-social-icons { display: flex; flex-direction: column; gap: 8px; }
.footer-social-icons a { font-size: 0.82rem; color: var(--white); opacity: 0.8; display: flex; align-items: center; gap: 8px; }
.footer-social-icons a:hover { color: var(--gold); opacity: 1; }
.footer-social-icons i { width: 20px; text-align: center; color: var(--gold); }
.footer-col .contact-info p { font-size: 0.78rem; color: var(--white); opacity: 0.8; margin-bottom: 6px; }
.footer-col .contact-info strong { color: var(--gold); min-width: auto; display: block; font-size: 0.72rem; }
.copyright-bar { background: var(--maroon); padding: 20px 0; border-top: 1px solid var(--gold); text-align: center; }
.copyright-bar p { font-size: 0.82rem; color: var(--white); opacity: 0.8; margin-bottom: 4px; }
.copyright-bar p.small { font-size: 0.72rem; color: var(--white); opacity: 0.6; }
.copyright-bar strong { color: var(--gold); }

.quick-dock { position: fixed; right: 20px; bottom: 100px; display: flex; flex-direction: column; gap: 10px; z-index: 8000; }
.dock-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); color: var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: var(--trans); font-size: 0.9rem; }
.dock-btn:hover { background: var(--gold); color: var(--maroon); transform: translateY(-3px); }
.dock-btn.wa { background: var(--green); color: var(--white); }
.section-stepper { position: fixed; left: 20px; bottom: 30px; display: flex; align-items: center; gap: 8px; background: var(--white); padding: 6px; border-radius: 50px; box-shadow: var(--shadow-md); z-index: 8000; border: 1px solid var(--gold); }
.step-btn { padding: 6px 12px; border-radius: 50px; background: var(--maroon); color: var(--gold); font-size: 0.7rem; font-weight: 600; display: flex; align-items: center; gap: 4px; transition: var(--trans); }
.step-btn:hover { background: var(--gold); color: var(--maroon); }
.step-label { font-size: 0.72rem; color: var(--maroon); font-weight: 700; padding: 0 8px; min-width: 80px; text-align: center; }

.agl-modal { position: fixed; inset: 0; background: rgba(128,0,0,0.8); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--trans); padding: 20px; }
.agl-modal.active { opacity: 1; visibility: visible; }
.agl-modal-content { background: var(--white); border-radius: 16px; max-width: 500px; width: 100%; overflow: hidden; transform: scale(0.9); transition: transform 0.3s; }
.agl-modal.active .agl-modal-content { transform: scale(1); }
.agl-modal-header { background: var(--maroon); color: var(--white); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.agl-modal-header h3 { font-family: var(--font-head); font-size: 1.1rem; }
.agl-modal-close { color: var(--gold); font-size: 1.1rem; }
.agl-modal-body { padding: 20px; font-size: 0.88rem; color: var(--text-dark); line-height: 1.7; }
.agl-modal-footer { padding: 14px 20px; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--off-white); }
.modal-btn { padding: 8px 18px; border-radius: 6px; font-size: 0.82rem; font-weight: 600; transition: var(--trans); }
.modal-btn-primary { background: var(--maroon); color: var(--white); }
.modal-btn-primary:hover { background: var(--maroon-dark); }
.modal-btn-secondary { background: var(--off-white); color: var(--maroon); }
.modal-btn-secondary:hover { background: var(--gold); color: var(--maroon-dark); }

.lightbox { position: fixed; inset: 0; background: var(--maroon-dark); z-index: 99999; display: flex; align-items: center; justify-content: center; flex-direction: column; opacity: 0; visibility: hidden; transition: var(--trans); padding: 20px; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90%; max-height: 80vh; border-radius: 8px; box-shadow: var(--shadow-lg); border: 3px solid var(--gold); }
.lightbox-caption { color: var(--white); margin-top: 14px; font-size: 0.9rem; }
.lightbox-close { position: absolute; top: 20px; right: 20px; color: var(--gold); font-size: 1.5rem; width: 44px; height: 44px; background: var(--maroon); border-radius: 50%; border: 1px solid var(--gold); }

/* ============ 7. CINEMATIC LOADING SCREEN v3 (10 STEPS) ============ */
.agl-preloader { position: fixed; inset: 0; z-index: 999999; background: var(--maroon-dark); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.9s ease, visibility 0.9s ease; overflow: hidden; perspective: 1400px; font-family: var(--font-main); }
.agl-preloader.agl-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.agl-cosmos { position: absolute; inset: 0; pointer-events: none; }
.agl-aurora { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.agl-aurora-1 { width: 55vw; height: 55vw; background: radial-gradient(circle, var(--maroon), transparent 70%); top: -15%; left: -15%; animation: auroraDrift1 18s ease-in-out infinite; }
.agl-aurora-2 { width: 45vw; height: 45vw; background: radial-gradient(circle, var(--gold), transparent 70%); bottom: -12%; right: -12%; opacity: 0.35; animation: auroraDrift2 22s ease-in-out infinite; }
.agl-aurora-3 { width: 40vw; height: 40vw; background: radial-gradient(circle, var(--green), transparent 70%); top: 40%; left: 45%; opacity: 0.25; animation: auroraDrift3 20s ease-in-out infinite; }
@keyframes auroraDrift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8vw,6vh) scale(1.15); } }
@keyframes auroraDrift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-8vw,-6vh) scale(1.1); } }
@keyframes auroraDrift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6vw,8vh) scale(1.2); } }
.agl-horizon { position: absolute; bottom: 0; left: 50%; width: 220vw; height: 40vh; background-image: linear-gradient(rgba(212,175,55,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(212,175,55,0.12) 1px, transparent 1px); background-size: 60px 60px; transform: translateX(-50%) perspective(600px) rotateX(65deg); mask-image: linear-gradient(to top, black 10%, transparent 90%); -webkit-mask-image: linear-gradient(to top, black 10%, transparent 90%); animation: horizonScroll 8s linear infinite; }
@keyframes horizonScroll { from { background-position: 0 0; } to { background-position: 0 60px; } }
.agl-star { position: absolute; width: 2px; height: 2px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 6px rgba(212,175,55,0.8); animation: starTwinkle linear infinite; }
@keyframes starTwinkle { 0%,100% { opacity: 0.2; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.3); } }

.agl-topbar { position: absolute; top: 20px; right: 20px; display: flex; gap: 10px; z-index: 100; flex-wrap: wrap; justify-content: flex-end; max-width: 90vw; }
.agl-tb-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; background: var(--maroon); border: 1px solid var(--gold); color: var(--gold); border-radius: 50px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: var(--trans); }
.agl-tb-btn:hover { background: var(--gold); color: var(--maroon); transform: translateY(-2px); }
.agl-tb-highlight { background: var(--green); color: var(--white); border-color: var(--green); }
.agl-tb-lang .agl-lang-current { font-size: 0.75rem; color: var(--white); background: var(--maroon); padding: 1px 8px; border-radius: 50px; min-width: 42px; text-align: center; }

.agl-stage { position: relative; width: 100%; max-width: 1100px; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.agl-step { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 90px 20px 150px; text-align: center; opacity: 0; visibility: hidden; transform: translateY(40px) scale(0.94); filter: blur(8px); transition: all 0.9s cubic-bezier(0.4,0,0.2,1); overflow-y: auto; }
.agl-step.agl-active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); filter: blur(0); }
.agl-text { max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.agl-eyebrow { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 10px; display: inline-block; border: 1px solid var(--gold); padding: 4px 14px; border-radius: 50px; background: rgba(212,175,55,0.06); }
.agl-title { font-family: var(--font-head); font-size: clamp(1.5rem, 4vw, 2.5rem); color: var(--white); margin-bottom: 10px; text-shadow: 0 4px 30px rgba(212,175,55,0.3); }
.agl-desc { color: var(--white); opacity: 0.8; max-width: 600px; margin: 0 auto; font-size: clamp(0.92rem, 2vw, 1.05rem); }
.agl-quote { font-style: italic; color: var(--gold); margin-top: 12px; font-size: 0.95rem; }
.agl-stats { display: flex; gap: 15px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.agl-stat { background: var(--maroon); padding: 12px 20px; border-radius: 12px; border: 1px solid var(--gold); display: flex; flex-direction: column; align-items: center; min-width: 100px; }
.agl-stat strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--gold); }
.agl-stat span { font-size: 0.72rem; color: var(--white); opacity: 0.65; }

.agl-bd-3d { position: relative; width: 170px; height: 210px; margin-bottom: 14px; transform-style: preserve-3d; animation: bdFloat 5s ease-in-out infinite; }
@keyframes bdFloat { 0%,100% { transform: translateY(0) rotateY(-6deg); } 50% { transform: translateY(-14px) rotateY(6deg); } }
.agl-bd-svg { width: 100%; height: 100%; }
.agl-bd-outline { fill: url(#bdFill); stroke: var(--gold); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: bdDraw 2.2s ease forwards; }
@keyframes bdDraw { to { stroke-dashoffset: 0; } }
.agl-bd-pin { fill: var(--gold); animation: bdPinPulse 1.8s ease-in-out infinite; }
@keyframes bdPinPulse { 0%,100% { r:5; opacity:1; } 50% { r:14; opacity:0.3; } }
.agl-flag-3d { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0; animation: fadeIn 1s 1.4s forwards; perspective: 400px; }
@keyframes fadeIn { to { opacity: 1; } }
.agl-flag-body { width: 76px; height: 48px; background: var(--green); border-radius: 4px; box-shadow: 0 8px 24px rgba(34,139,34,0.55); position: relative; animation: flagWave 3.5s ease-in-out infinite; transform-origin: left center; }
@keyframes flagWave { 0%,100% { transform: rotateY(0deg); } 50% { transform: rotateY(18deg) rotateZ(-1deg); } }
.agl-flag-sun { position: absolute; top: 50%; left: 45%; transform: translate(-50%, -50%); width: 24px; height: 24px; background: var(--white); border-radius: 50%; box-shadow: inset 0 0 8px rgba(0,0,0,0.15); }

.agl-ayah-card { max-width: 700px; background: var(--maroon); border: 1px solid var(--gold); padding: 40px 30px; border-radius: 20px; box-shadow: 0 20px 60px rgba(128,0,0,0.4); position: relative; }
.agl-ayah { font-family: var(--font-ar); font-size: clamp(1.3rem, 3vw, 2rem); color: var(--white); margin-bottom: 15px; line-height: 2.1; direction: rtl; }
.agl-ayah-bn { color: var(--gold-light); margin-bottom: 15px; font-size: 0.95rem; line-height: 1.9; }
.agl-ayah-src { display: inline-block; font-size: 0.78rem; color: var(--gold); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 4px 16px; font-style: normal; }

.agl-brand-logo-3d { position: relative; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transform-style: preserve-3d; animation: brandTilt 7s ease-in-out infinite; }
@keyframes brandTilt { 0%,100% { transform: rotateY(-10deg) rotateX(5deg); } 50% { transform: rotateY(10deg) rotateX(-5deg); } }
.agl-brand-halo { position: absolute; inset: -20%; border-radius: 50%; background: radial-gradient(circle, var(--gold), transparent 65%); filter: blur(24px); opacity: 0.4; animation: haloPulse 3s ease-in-out infinite; }
@keyframes haloPulse { 0%,100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 0.7; transform: scale(1.1); } }
.agl-brand-ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--gold); }
.agl-brand-ring-1 { inset: 0; border-style: dashed; animation: ringSpin 10s linear infinite; }
.agl-brand-ring-2 { inset: 14px; border-color: var(--green); animation: ringSpin 7s linear infinite reverse; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.agl-brand-core { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); box-shadow: 0 0 40px var(--gold); background: var(--white); z-index: 2; animation: logoPop 0.9s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes logoPop { 0% { transform: scale(0.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.agl-brand-core img { width: 100%; height: 100%; object-fit: cover; }
.agl-brand-title { font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--white); letter-spacing: 0.12em; margin: 0 0 6px; text-shadow: 0 2px 20px var(--gold); }
.agl-brand-title span { display: block; font-size: 0.55em; color: var(--gold); letter-spacing: 0.3em; margin-top: 4px; font-weight: 500; }
.agl-tagline { font-size: clamp(0.95rem, 2vw, 1.15rem); color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; margin: 8px 0 0; font-weight: 500; }

.agl-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 720px; margin: 20px auto 0; perspective: 900px; width: 100%; }
.agl-pillar { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 14px; background: var(--maroon); border: 1px solid var(--gold); border-radius: 16px; font-size: 0.82rem; color: var(--white); transition: transform 0.4s ease, box-shadow 0.4s ease; transform-style: preserve-3d; opacity: 0; animation: pillarPop 0.7s ease forwards; animation-delay: calc(var(--i) * 0.15s); }
@keyframes pillarPop { 0% { opacity: 0; transform: translateY(20px) rotateX(-15deg); } 100% { opacity: 1; transform: translateY(0) rotateX(0); } }
.agl-pillar:hover { transform: translateY(-6px) rotateX(6deg); box-shadow: 0 14px 40px rgba(212,175,55,0.3); border-color: var(--gold-light); }
.agl-pillar i { font-size: 1.5rem; color: var(--gold); }
.agl-pillar strong { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.agl-pillar span { text-align: center; line-height: 1.45; }

.agl-region-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 680px; margin: 20px auto 0; }
.agl-region { padding: 8px 16px; background: var(--maroon); border: 1px solid var(--gold); border-radius: 50px; font-size: 0.84rem; color: var(--white); opacity: 0; animation: regionPop 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards; animation-delay: calc(var(--i) * 0.08s + 0.2s); transition: transform 0.3s, background 0.3s, border-color 0.3s; }
.agl-region:hover { transform: translateY(-3px) scale(1.05); background: var(--gold); color: var(--maroon); border-color: var(--gold); }
@keyframes regionPop { 0% { opacity: 0; transform: scale(0.5) translateY(10px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }

.agl-sectors { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 20px auto 0; max-width: 720px; }
.agl-sector { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 18px; min-width: 84px; background: var(--green); border: 1px solid var(--gold); border-radius: 16px; font-size: 0.78rem; color: var(--white); opacity: 0; animation: sectorPop 0.7s cubic-bezier(0.34,1.56,0.64,1) forwards; animation-delay: calc(var(--i) * 0.12s + 0.3s); transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s; }
.agl-sector:hover { transform: translateY(-6px) scale(1.05); box-shadow: 0 14px 40px rgba(34,139,34,0.4); border-color: var(--gold); }
@keyframes sectorPop { 0% { opacity: 0; transform: translateY(20px) rotateX(-20deg); } 100% { opacity: 1; transform: translateY(0) rotateX(0); } }
.agl-sector i { font-size: 1.6rem; color: var(--gold); }

.agl-journey { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 20px auto 14px; font-size: 0.72rem; color: var(--gold); letter-spacing: 0.1em; font-weight: 600; }
.agl-journey span { padding: 6px 12px; border: 1px solid var(--gold); border-radius: 6px; background: var(--maroon); transition: all 0.3s; }
.agl-journey span:hover { background: var(--gold); color: var(--maroon); border-color: var(--gold); transform: translateY(-2px); }
.agl-journey i { font-size: 0.55rem; opacity: 0.6; }
.agl-aep-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px auto 0; }
.agl-aep-tag { padding: 6px 14px; background: var(--green); border: 1px solid var(--gold); border-radius: 8px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--white); letter-spacing: 0.08em; opacity: 0; animation: aepPop 0.5s ease forwards; }
.agl-aep-tag:nth-child(1) { animation-delay: 0.1s; }
.agl-aep-tag:nth-child(2) { animation-delay: 0.2s; }
.agl-aep-tag:nth-child(3) { animation-delay: 0.3s; }
.agl-aep-tag:nth-child(4) { animation-delay: 0.4s; }
.agl-aep-tag:nth-child(5) { animation-delay: 0.5s; }
.agl-aep-tag:nth-child(6) { animation-delay: 0.6s; }
.agl-aep-tag:nth-child(7) { animation-delay: 0.7s; }
@keyframes aepPop { 0% { opacity: 0; transform: scale(0.5) rotate(-10deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }

.agl-load-scene { display: flex; flex-direction: column; align-items: center; }
.agl-load-logo { position: relative; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); box-shadow: 0 0 40px var(--gold); margin-bottom: 14px; animation: loadLogoPulse 2s ease-in-out infinite; }
@keyframes loadLogoPulse { 0%,100% { box-shadow: 0 0 40px var(--gold); transform: scale(1); } 50% { box-shadow: 0 0 60px var(--gold-light); transform: scale(1.05); } }
.agl-load-logo img { width: 100%; height: 100%; object-fit: cover; }
.agl-load-name { font-family: var(--font-head); font-size: clamp(1.05rem, 2.5vw, 1.45rem); color: var(--white); letter-spacing: 0.1em; margin: 0; }
.agl-load-name span { display: block; font-size: 0.6em; color: var(--gold); letter-spacing: 0.3em; margin-top: 2px; }
.agl-progress { position: relative; width: min(440px, 82vw); height: 8px; background: var(--maroon); border-radius: 10px; overflow: hidden; margin: 22px auto 10px; border: 1px solid var(--gold); }
.agl-progress-bar { width: 0%; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold), var(--maroon), var(--gold)); background-size: 200% 100%; border-radius: 10px; transition: width 0.3s ease; box-shadow: 0 0 16px var(--gold); animation: barShine 2s linear infinite; }
@keyframes barShine { to { background-position: 200% 0; } }
.agl-progress-shine { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); animation: shineSweep 1.8s linear infinite; pointer-events: none; }
@keyframes shineSweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.agl-progress-meta { display: flex; justify-content: space-between; width: min(440px, 82vw); margin: 0 auto 8px; }
.agl-progress-num { font-family: var(--font-head); font-size: 1.3rem; color: var(--gold); text-shadow: 0 0 20px var(--gold); }
.agl-progress-step { font-size: 0.78rem; color: var(--white); opacity: 0.6; letter-spacing: 0.1em; align-self: center; }
.agl-status { font-size: 0.9rem; color: var(--white); opacity: 0.75; letter-spacing: 0.05em; margin-top: 6px; }
.agl-welcome { font-size: clamp(0.95rem, 2vw, 1.1rem); color: var(--gold); font-weight: 600; letter-spacing: 0.04em; opacity: 0; transition: opacity 0.7s ease; margin-top: 10px; }
.agl-welcome.agl-show { opacity: 1; }

.agl-dev-scene { display: flex; flex-direction: column; align-items: center; }
.agl-dev-badge { width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--gold); border-radius: 50%; margin-bottom: 16px; color: var(--gold); font-size: 1.8rem; box-shadow: 0 0 40px var(--gold); animation: devBadgeSpin 3.5s ease-in-out infinite; }
@keyframes devBadgeSpin { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.agl-dev-name { font-family: var(--font-head); font-size: clamp(1.5rem, 3.5vw, 2.2rem); color: var(--gold); margin: 6px 0; letter-spacing: 0.05em; text-shadow: 0 0 30px var(--gold); }
.agl-countdown-wrap { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.agl-countdown-label { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); opacity: 0.55; }
.agl-countdown { position: relative; width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; }
.agl-count-num { font-family: var(--font-head); font-size: 2.6rem; color: var(--gold); font-weight: 700; text-shadow: 0 0 30px var(--gold); z-index: 2; animation: countPulse 1s ease-in-out infinite; }
@keyframes countPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.agl-count-ring { position: absolute; inset: 0; transform: rotate(-90deg); width: 100%; height: 100%; }
.agl-count-bg { fill: none; stroke: var(--maroon); stroke-width: 4; }
.agl-count-fg { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 283; stroke-dashoffset: 283; filter: drop-shadow(0 0 6px var(--gold)); transition: stroke-dashoffset 0.95s linear; }

.agl-controls { position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--maroon); border: 1px solid var(--gold); border-radius: 50px; box-shadow: var(--shadow-md); }
.agl-ctrl-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--maroon-dark); border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); cursor: pointer; transition: all 0.3s ease; font-family: inherit; }
.agl-ctrl-btn:hover { background: var(--gold); color: var(--maroon); transform: scale(1.1); }
.agl-ctrl-btn:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
.agl-ctrl-play { width: 48px; height: 48px; background: var(--green); border-color: var(--gold); font-size: 1rem; color: var(--white); }
.agl-ctrl-divider { width: 1px; height: 26px; background: var(--gold); margin: 0 4px; }
.agl-skip-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; background: transparent; border: 1px solid var(--gold); color: var(--gold); border-radius: 50px; cursor: pointer; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; transition: all 0.3s ease; font-family: inherit; }
.agl-skip-btn:hover { background: var(--gold); color: var(--maroon); }

.agl-theme-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--maroon-dark); border: 1px solid var(--gold); color: var(--gold); border-radius: 50px; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-family: inherit; }
.agl-theme-btn:hover { background: var(--gold); color: var(--maroon); transform: scale(1.05); }
.agl-theme-text { color: var(--white); }

.agl-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; gap: 8px; padding: 8px 16px; background: var(--maroon); border-radius: 50px; border: 1px solid var(--gold); }
.agl-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--gold-light); cursor: pointer; padding: 0; transition: all 0.3s ease; }
.agl-dot:hover { background: var(--gold); transform: scale(1.2); }
.agl-dot.active { background: var(--gold); width: 24px; border-radius: 4px; box-shadow: 0 0 12px var(--gold); }

/* ============ 8. RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav-links { gap: 14px; }
  .hero-ring.r1, .hero-ring.r2 { display: none; }
  .flip-card.wide { grid-column: span 1; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 300px; max-width: 85vw; height: 100vh; background: var(--white); flex-direction: column; align-items: stretch; padding: 80px 20px 30px; gap: 0; z-index: 8500; overflow-y: auto; transition: right 0.4s ease; box-shadow: var(--shadow-lg); }
  .nav-links.active { right: 0; }
  .nav-links > li > a { padding: 14px 0; border-bottom: 1px solid var(--off-white); }
  .dropdown-content { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; border-top: none; border-left: 2px solid var(--gold); max-height: 0; overflow: hidden; transition: max-height 0.3s; }
  .dropdown.open .dropdown-content { max-height: 500px; }
  .top-bar .main-container { justify-content: center; }
  .top-social { display: none; }
}

@media (max-width: 768px) {
  .hero-duo { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .person-grid { grid-template-columns: 1fr; }
  .agl-topbar { top: 12px; right: 12px; gap: 6px; }
  .agl-tb-btn { padding: 7px 12px; font-size: 0.72rem; }
  .agl-tb-btn span { display: none; }
  .agl-tb-lang .agl-lang-current { display: inline; font-size: 0.7rem; }
  .agl-tb-btn.agl-tb-highlight span { display: inline; }
  .agl-step { padding: 80px 18px 160px; }
  .agl-pillars { grid-template-columns: 1fr; gap: 10px; }
  .agl-bd-3d { width: 140px; height: 175px; }
  .agl-brand-logo-3d { width: 120px; height: 120px; }
  .agl-brand-core { width: 72px; height: 72px; }
  .agl-ayah-card { padding: 32px 20px; }
  .agl-controls { bottom: 60px; padding: 8px 12px; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 95vw; }
  .agl-ctrl-btn { width: 36px; height: 36px; }
  .agl-ctrl-play { width: 42px; height: 42px; }
  .agl-skip-btn { padding: 7px 12px; font-size: 0.72rem; }
  .agl-theme-btn { padding: 6px 10px; font-size: 0.7rem; }
  .agl-theme-text { display: none; }
  .agl-dots { gap: 5px; padding: 6px 12px; }
  .agl-dot { width: 6px; height: 6px; }
  .agl-dot.active { width: 18px; }
  .agl-countdown { width: 90px; height: 90px; }
  .agl-count-num { font-size: 2rem; }
  .quick-dock { right: 12px; bottom: 90px; }
  .section-stepper { left: 12px; bottom: 20px; }
}

@media (max-width: 480px) {
  .top-left span:nth-child(n+3) { display: none; }
  .tagline { font-size: 1.8rem; }
  .hero-panel { padding: 18px; }
  .divine-card { padding: 22px 16px; }
  .agl-step { padding: 70px 14px 155px; }
  .agl-title { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .agl-stats { gap: 8px; }
  .agl-stat { padding: 8px 14px; min-width: 75px; }
  .agl-stat strong { font-size: 1.05rem; }
  .agl-region { padding: 6px 12px; font-size: 0.75rem; }
  .agl-sector { padding: 12px 12px; min-width: 70px; font-size: 0.7rem; }
  .agl-sector i { font-size: 1.3rem; }
  .agl-journey { font-size: 0.62rem; gap: 4px; }
  .agl-journey span { padding: 4px 8px; }
  .agl-aep-tag { padding: 4px 10px; font-size: 0.75rem; }
  .newsletter-form { flex-direction: column; }
  .price-grid { grid-template-columns: 1fr; }
}

/* ============ 9. REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .agl-aurora, .agl-star, .agl-horizon, .agl-bd-3d, .agl-flag-body, .agl-brand-logo-3d, .agl-brand-ring, .agl-brand-halo, .agl-brand-core, .agl-ayah-mask, .agl-ayah-halo, .agl-ayah-ornament, .agl-load-logo, .agl-progress-bar, .agl-progress-shine, .agl-dev-badge, .agl-count-num, .agl-bd-pin { animation: none !important; }
  .agl-bd-outline { animation: none !important; stroke-dashoffset: 0 !important; }
  .agl-region, .agl-sector, .agl-pillar, .agl-aep-tag, .agl-flag-3d { animation: none !important; opacity: 1 !important; transform: none !important; }
}/* =========================================================
   UPDATED TOP BAR & LOADING THEME BUTTON (OVERRIDES)
   ========================================================= */

/* ============ NEW TOP BAR DESIGN ============ */
.top-bar {
  background: linear-gradient(90deg, var(--maroon-dark) 0%, var(--maroon) 100%) !important;
  color: var(--white) !important;
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  z-index: 9001;
  overflow: hidden;
}
.top-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}
.top-bar .main-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}

/* Left Side */
.top-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-right: 10px;
}
.top-left::-webkit-scrollbar { display: none; }
.top-left span, .top-left a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  white-space: nowrap;
  transition: all 0.3s ease;
}
.top-left i { color: var(--gold); font-size: 0.85rem; }
.top-left a:hover { color: var(--gold); transform: translateY(-1px); }

/* Right Side */
.top-right { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
.top-tools { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }

/* Language Toggle */
.tb-lang-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(212,175,55,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.tb-lang-wrap:hover {
  background: rgba(212,175,55,0.2);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.tb-icon-spin { color: var(--gold); animation: spinGlobe 8s linear infinite; }
@keyframes spinGlobe { to { transform: rotate(360deg); } }
.lang-select {
  background: transparent;
  color: var(--white);
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 5px;
}
.lang-select option { background: var(--maroon-dark); color: var(--white); }

/* Search Button */
.tb-icon-btn {
  color: var(--white);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.05);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.tb-icon-btn:hover { color: var(--maroon-dark); background: var(--gold); transform: rotate(90deg); }

/* Quick Response */
.tb-quick-btn {
  background: var(--green);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 10px rgba(34,139,34,0.4);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.tb-quick-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  box-shadow: 0 0 15px rgba(212,175,55,0.6);
  transform: translateY(-2px);
}

/* Inline Links */
.tb-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.tb-link i { color: var(--gold); font-size: 0.8rem; }
.tb-link:hover { color: var(--gold); background: rgba(255,255,255,0.05); }

.highlight-aep {
  color: var(--gold) !important;
  font-weight: 700;
  border: 1px solid rgba(212,175,55,0.4);
  background: rgba(212,175,55,0.05);
}
.highlight-aep:hover { background: rgba(212,175,55,0.2); border-color: var(--gold); }

.tb-shop i { color: var(--green); }
.tb-shop:hover i { color: var(--gold); }

.top-social { display: none !important; }

/* ============ THEME BUTTON IN LOADER ============ */
.agl-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--maroon);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.agl-theme-btn:hover {
  background: var(--gold);
  color: var(--maroon);
  transform: scale(1.05);
}
.agl-theme-text { color: var(--white); }
.agl-theme-btn:hover .agl-theme-text { color: var(--maroon); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .top-left .tb-text, .top-right .tb-text { display: none; }
  .tb-quick-btn span { display: none; }
  .tb-quick-btn { padding: 5px 8px; border-radius: 50%; }
}
@media (max-width: 768px) {
  .top-bar { padding: 4px 0; font-size: 0.75rem; }
  .top-bar .main-container { padding: 0 10px; }
  .top-left { gap: 8px; flex: 1; }
  .top-left .tb-date { display: none; }
  .top-right { gap: 6px; }
  .top-tools { gap: 6px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px; }
  .top-tools::-webkit-scrollbar { display: none; }
  .tb-lang-wrap { padding: 3px 6px; }
  .lang-select { font-size: 0.7rem; }
  .tb-link { padding: 3px 5px; font-size: 0.7rem; }
  .tb-icon-btn { width: 26px; height: 26px; font-size: 0.8rem; }
  .agl-theme-btn { padding: 6px 10px; font-size: 0.7rem; }
  .agl-theme-text { display: none; }
}
@media (max-width: 480px) {
  .top-left .tb-contact { display: none; }
  .highlight-aep span { display: none; }
  .highlight-aep { padding: 4px; }
}/* =========================================================
   LIFE STATUS BAR (Under Top Bar)
   ========================================================= */
.life-status-bar {
  background: rgba(128, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  color: var(--white);
  font-size: 0.78rem;
  padding: 6px 0;
  position: relative;
  z-index: 9000;
  overflow: hidden;
}

.lsb-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

/* Left: Live Clock */
.lsb-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lsb-live-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
  animation: lsbPulse 1.5s infinite;
}
@keyframes lsbPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}
.lsb-text {
  font-family: 'Hind Siliguri', sans-serif;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.lsb-divider {
  width: 1px;
  height: 14px;
  background: rgba(212, 175, 55, 0.4);
  margin: 0 4px;
}

/* Center: Marquee */
.lsb-center {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.lsb-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: lsbScroll 25s linear infinite;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.03em;
}
@keyframes lsbScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.lsb-marquee:hover { animation-play-state: paused; cursor: pointer; }

/* Right: Badges */
.lsb-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lsb-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.lsb-badge-green {
  background: rgba(34, 139, 34, 0.2);
  color: #7CFC00; /* Light Green for visibility */
  border-color: var(--green);
}
.lsb-badge-green i { font-size: 0.5rem; color: var(--green); animation: lsbPulse 1.5s infinite; }
.lsb-badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border-color: var(--gold);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .lsb-center { display: none; } /* Hide marquee on tablets */
  .lsb-inner { justify-content: space-between; }
}
@media (max-width: 600px) {
  .life-status-bar { font-size: 0.7rem; padding: 5px 0; }
  .lsb-greeting, #lsb-greeting { display: none; } /* Hide greeting on mobile */
  .lsb-badge { padding: 2px 8px; font-size: 0.65rem; }
  .lsb-left { gap: 5px; }
}/* =========================================================
   PREMIUM 3D HEADER UPGRADE
   ========================================================= */
header#siteHeader {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(255, 255, 255, 0.85); /* Glassmorphism base */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  perspective: 1000px;
}

/* Floating effect on scroll */
header#siteHeader.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px rgba(128, 0, 0, 0.15);
  transform: translateY(-2px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  transform-style: preserve-3d;
}

/* --- 3D Logo Orbit --- */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}
.logo-link:hover { transform: translateY(-2px) scale(1.02); }

.logo-orb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  position: relative;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), inset 0 0 10px rgba(0,0,0,0.1);
  animation: floatLogo 4s ease-in-out infinite;
  background: var(--white);
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(3deg); }
}
.logo-orb::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  animation: spinRing 8s linear infinite;
}
@keyframes spinRing { to { transform: rotate(360deg); } }

.navbar h1 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--maroon);
  letter-spacing: 0.05em;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}
.navbar h1 span {
  display: block;
  font-size: 0.5em;
  color: var(--green);
  letter-spacing: 0.25em;
  font-weight: 600;
  margin-top: 2px;
}

/* --- Menu Toggle (Mobile) --- */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--maroon);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.menu-toggle:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: rotate(90deg);
}

/* --- 3D Nav Links --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  perspective: 1000px;
}

.nav-links > li {
  position: relative;
  transform-style: preserve-3d;
}

.nav-links > li > a {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--maroon);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  position: relative;
  overflow: hidden;
}
.nav-links > li > a i {
  color: var(--gold);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

/* 3D Hover Effect */
.nav-links > li > a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(128,0,0,0.05));
  border-radius: 8px;
  z-index: -1;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}
.nav-links > li > a:hover::before {
  opacity: 1;
  transform: scale(1);
}
.nav-links > li > a:hover {
  color: var(--maroon-dark);
  transform: translateY(-2px) rotateX(10deg);
  box-shadow: 0 6px 15px rgba(128, 0, 0, 0.1);
}
.nav-links > li > a:hover i {
  transform: rotate(-10deg) scale(1.2);
  color: var(--green);
}

/* --- 3D Dropdown Menu --- */
.dropdown-content {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%) rotateX(-15deg) translateY(20px);
  transform-origin: top center;
  min-width: 260px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(128, 0, 0, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.1);
  z-index: 100;
  transform-style: preserve-3d;
}

/* Dropdown Arrow */
.dropdown-content::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) rotateX(0deg) translateY(0);
}

.dropdown-content li a {
  display: block;
  padding: 10px 24px;
  font-size: 0.82rem;
  color: var(--maroon);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.dropdown-content li a::before {
  content: '▶';
  position: absolute;
  left: 10px;
  font-size: 0.6rem;
  color: var(--gold);
  opacity: 0;
  transition: all 0.3s ease;
}
.dropdown-content li a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--maroon-dark);
  padding-left: 32px;
  font-weight: 600;
}
.dropdown-content li a:hover::before {
  opacity: 1;
  transform: translateX(2px);
}

/* ============ RESPONSIVE (All Device Support) ============ */
@media (max-width: 1024px) {
  .nav-links { gap: 4px; }
  .nav-links > li > a { padding: 8px 12px; font-size: 0.8rem; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 20px 30px;
    gap: 8px;
    z-index: 8500;
    overflow-y: auto;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    border-left: 2px solid var(--gold);
    perspective: none;
  }
  .nav-links.active { right: 0; }
  
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    justify-content: flex-start;
    transform: none !important;
    box-shadow: none !important;
  }
  .nav-links > li > a:hover { background: rgba(212, 175, 55, 0.1); }
  
  /* Mobile Dropdown */
  .dropdown-content {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--gold);
    border-radius: 0;
    background: rgba(250, 250, 250, 0.5);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0;
    margin-top: 0;
  }
  .dropdown-content::before { display: none; }
  .dropdown.open .dropdown-content {
    max-height: 500px;
    padding: 8px 0;
    margin-top: 4px;
  }
  .dropdown-content li a {
    padding: 8px 24px;
    font-size: 0.8rem;
  }
}/* =========================================================
   PREMIUM 3D HERO SECTION UPGRADE
   ========================================================= */

.hero-section {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, var(--maroon-dark) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 80px 20px 60px;
  perspective: 1200px;
}

/* --- 3D Background Elements --- */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid-3d {
  position: absolute;
  bottom: -10%;
  left: -50%;
  width: 200%;
  height: 60%;
  background-image: 
    linear-gradient(rgba(212,175,55,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(65deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, black 10%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, black 10%, transparent 90%);
  animation: gridMove 10s linear infinite;
}
@keyframes gridMove {
  from { background-position: 0 0; }
  to { background-position: 0 60px; }
}

.hero-aurora {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(34,139,34,0.15) 0%, transparent 60%);
  filter: blur(80px);
  animation: auroraPulse 6s ease-in-out infinite alternate;
}
@keyframes auroraPulse {
  from { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-ring {
  position: absolute;
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 30px rgba(212,175,55,0.1) inset;
}
.hero-ring.r1 { width: 40vw; height: 40vw; animation: spinRing 20s linear infinite; border-top-color: var(--gold); }
.hero-ring.r2 { width: 60vw; height: 60vw; animation: spinRing 30s linear infinite reverse; border-left-color: var(--green); }
.hero-ring.r3 { width: 80vw; height: 80vw; animation: spinRing 40s linear infinite; border-bottom-color: var(--gold); }

/* --- Hero Container --- */
.hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

/* --- 3D Tagline --- */
.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(212,175,55,0.5);
  animation: fadeInDown 1s ease forwards;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.tagline {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  margin-bottom: 40px;
  line-height: 1.1;
  animation: fadeInUp 1s ease forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.tagline-3d {
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, var(--white) 20%, var(--gold) 50%, var(--white) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shineText 3s linear infinite;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}
@keyframes shineText {
  to { background-position: 200% center; }
}

/* --- 3D Glass Panels (Vision & Mission) --- */
.hero-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  perspective: 1000px;
}

.hero-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 30px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-panel-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.hero-panel:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(128, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.2);
}
.hero-panel:hover .hero-panel-glow { opacity: 1; }

.hero-panel-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(212,175,55,0.5));
  transition: transform 0.4s ease;
}
.hero-panel:hover .hero-panel-icon {
  transform: scale(1.2) rotate(10deg);
}

.hero-panel h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-panel p {
  font-size: 0.95rem;
  color: var(--gold-light);
  opacity: 0.9;
  line-height: 1.5;
}

/* --- Philosophy Strip --- */
.philosophy-strip {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 14px 28px;
  border-radius: 50px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  animation: floatStrip 4s ease-in-out infinite;
}
@keyframes floatStrip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.philosophy-strip:hover {
  background: rgba(212, 175, 55, 0.2);
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

.strip-icon-wrap {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 15px rgba(34,139,34,0.6);
  color: var(--white);
  font-size: 1rem;
}
.philosophy-strip h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* --- Divine Card (Ayah) --- */
.divine-card {
  position: relative;
  background: linear-gradient(160deg, rgba(20, 0, 0, 0.95), rgba(90, 0, 0, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 24px;
  padding: 40px 30px;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.4s ease;
  transform-style: preserve-3d;
}
.divine-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.divine-card-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.divine-card-ornament {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.3;
  animation: spinOrnament 10s linear infinite;
}
@keyframes spinOrnament { to { transform: rotate(360deg); } }

.divine-card h3 {
  font-family: var(--font-head);
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ayah {
  font-family: var(--font-ar);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  line-height: 2.2;
  margin-bottom: 16px;
  text-align: center;
  color: var(--white);
  text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.divine-card cite {
  display: block;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  font-style: normal;
  text-transform: uppercase;
}

.ayah-bn {
  font-size: 1rem;
  color: var(--gold-light);
  opacity: 0.9;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* --- 3D Sector Cards --- */
.sectors-grid {
  margin-bottom: 40px;
}

.sector-title {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(212,175,55,0.4);
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  perspective: 1000px;
}

.sector-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  transform-style: preserve-3d;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sector-list li:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold-light);
  transform: translateY(-8px) rotateX(10deg) scale(1.05);
  box-shadow: 0 15px 35px rgba(212,175,55,0.4);
}

.sector-list li i {
  color: var(--gold);
  font-size: 1.1rem;
  transition: all 0.4s ease;
}

.sector-list li:hover i {
  color: var(--maroon-dark);
  transform: rotate(15deg) scale(1.2);
}

/* --- CTA Buttons --- */
.cta-area {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s ease;
}
.cta-btn:hover::before { left: 100%; }

.cta-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.cta-btn i {
  transition: transform 0.3s ease;
}
.cta-btn:hover i {
  transform: translateX(5px);
}

.cta-btn.ghost {
  background: transparent;
  color: var(--gold);
  box-shadow: none;
}
.cta-btn.ghost:hover {
  background: var(--gold);
  color: var(--maroon-dark);
}

.powered-by {
  font-size: 0.8rem;
  color: var(--white);
  opacity: 0.5;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 20px;
}

/* --- Responsive (All Device Support) --- */
@media (max-width: 900px) {
  .hero-ring.r1, .hero-ring.r2 { display: none; }
  .hero-duo { grid-template-columns: 1fr; gap: 16px; }
  .hero-section { padding: 60px 20px 40px; }
}

@media (max-width: 600px) {
  .tagline { font-size: 2rem; margin-bottom: 24px; }
  .hero-panel { padding: 24px 18px; }
  .hero-panel h3 { font-size: 1.2rem; }
  .philosophy-strip { flex-direction: column; text-align: center; padding: 16px; gap: 8px; }
  .philosophy-strip h3 { font-size: 0.85rem; }
  .divine-card { padding: 28px 20px; }
  .ayah { font-size: 1.2rem; line-height: 1.8; }
  .ayah-bn { font-size: 0.9rem; }
  .sector-list li { padding: 10px 16px; font-size: 0.8rem; }
  .cta-btn { padding: 14px 24px; font-size: 0.9rem; width: 100%; justify-content: center; }
  .cta-area { flex-direction: column; }
}/* =========================================================
   PREMIUM 3D TESTIMONIALS SECTION
   ========================================================= */

.testimonials-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Background Pattern */
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(212,175,55,0.05) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(34,139,34,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.testimonial-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 60px;
  perspective: 1200px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.testimonial-card {
  min-width: 100%;
  padding: 15px;
  box-sizing: border-box;
}

/* --- 3D Glass Card --- */
.testimonial-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 24px;
  padding: 48px 40px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(128, 0, 0, 0.08), 0 0 0 1px rgba(255,255,255,0.5) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  overflow: hidden;
}

/* Gold Top Accent */
.testimonial-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40%; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 0 0 4px 4px;
}

.testimonial-inner:hover {
  transform: translateY(-10px) rotateX(3deg) scale(1.01);
  box-shadow: 0 30px 60px rgba(128, 0, 0, 0.15), 0 0 0 1px var(--gold) inset;
  border-color: var(--gold);
}

/* Quote Icon */
.testimonial-quote-icon {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.1;
  transform: rotate(10deg);
  transition: all 0.4s ease;
}
.testimonial-inner:hover .testimonial-quote-icon {
  opacity: 0.2;
  transform: rotate(0deg) scale(1.1);
}

/* Avatar */
.testimonial-avatar {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(128, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.testimonial-inner:hover .testimonial-avatar {
  transform: scale(1.1);
}

.avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  opacity: 0.5;
  animation: spinAvatarRing 12s linear infinite;
}
@keyframes spinAvatarRing {
  to { transform: rotate(360deg); }
}

/* Stars */
.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.testimonial-stars i {
  filter: drop-shadow(0 2px 4px rgba(212,175,55,0.4));
  transition: transform 0.3s ease;
}
.testimonial-inner:hover .testimonial-stars i {
  transform: scale(1.1);
}

/* Testimonial Text */
.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

/* Author */
.testimonial-author-wrap {
  border-top: 1px solid rgba(212,175,55,0.2);
  padding-top: 16px;
  display: inline-block;
  min-width: 200px;
}

.testimonial-author {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--maroon);
  font-size: 1.1rem;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Carousel Buttons --- */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--white);
  color: var(--maroon);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.carousel-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(212,175,55,0.4);
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* --- Dots --- */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
  cursor: pointer;
}
.carousel-dot.active {
  background: var(--maroon);
  width: 30px;
  border-radius: 5px;
  border-color: var(--maroon);
  box-shadow: 0 0 10px rgba(128,0,0,0.3);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .testimonials-section { padding: 50px 0; }
  .testimonial-carousel { padding: 10px 40px; }
  .testimonial-inner { padding: 36px 24px 30px; }
  .testimonial-text { font-size: 0.95rem; line-height: 1.7; }
  .testimonial-avatar { width: 65px; height: 65px; font-size: 1.6rem; }
  .testimonial-quote-icon { font-size: 3rem; top: 15px; right: 20px; }
  .carousel-btn { width: 40px; height: 40px; font-size: 0.85rem; }
  .carousel-btn.prev { left: -10px; }
  .carousel-btn.next { right: -10px; }
}

@media (max-width: 480px) {
  .testimonial-carousel { padding: 10px 20px; }
  .testimonial-card { padding: 8px; }
  .testimonial-inner { padding: 30px 18px 24px; border-radius: 18px; }
  .testimonial-text { font-size: 0.88rem; }
  .testimonial-author { font-size: 1rem; }
  .testimonial-role { font-size: 0.75rem; }
  .carousel-btn { display: none; } /* Hide arrows on very small screens, rely on swipe/dots */
  .carousel-nav { margin-top: 20px; }
}/* =========================================================
   PREMIUM COMPLIANCE & DOCUMENTS CARDS (4-CARD GRID)
   ========================================================= */

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
  perspective: 1200px;
}

.compliance-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: 0 10px 30px rgba(128, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  transform-style: preserve-3d;
}

.compliance-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--green));
}

.compliance-card:hover {
  transform: translateY(-8px) rotateX(3deg) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(128, 0, 0, 0.15);
}

.compliance-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.25);
  transition: transform 0.4s ease;
}

.compliance-card:hover .compliance-icon {
  transform: scale(1.1) rotate(10deg);
}

.compliance-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--maroon);
  margin-bottom: 6px;
  font-weight: 700;
}

.compliance-number {
  font-size: 0.82rem;
  color: var(--green);
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  word-break: break-word;
}

.compliance-number strong {
  color: var(--maroon);
  font-family: var(--font-head);
}

/* Document Image Wrap */
.doc-image-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  background: var(--off-white);
  border: 2px dashed rgba(128, 0, 0, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.compliance-card:hover .doc-image-wrap {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}

.doc-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(128, 0, 0, 0.4);
  font-size: 0.75rem;
  gap: 6px;
  font-weight: 600;
}

.doc-image-placeholder i {
  font-size: 1.8rem;
  color: rgba(212, 175, 55, 0.5);
}

.doc-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.compliance-card:hover .doc-image {
  transform: scale(1.05);
}

/* Buttons */
.doc-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.doc-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  border: 1px solid transparent;
}

.upload-btn {
  background: var(--maroon);
  color: var(--white);
}
.upload-btn:hover { background: var(--maroon-dark); transform: translateY(-2px); }

.view-doc-btn {
  background: var(--green);
  color: var(--white);
}
.view-doc-btn:hover { background: var(--green-dark); transform: translateY(-2px); }
.view-doc-btn:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  transform: none;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .compliance-grid { grid-template-columns: 1fr; }
  .compliance-card { padding: 24px 18px; }
  .doc-image-wrap { height: 120px; }
}/* =========================================================
   PREMIUM 3D BOARD OF DIRECTORS CARDS
   ========================================================= */

.board-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  perspective: 1200px;
  padding: 20px 0;
}

/* Enhanced Section Title */
.board-section-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--green);
  margin: 30px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.board-section-title i {
  color: var(--gold);
  background: var(--maroon);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(128,0,0,0.3);
}

/* --- 3D Person Card --- */
.person-card-3d {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 30px 20px 24px;
  box-shadow: 0 10px 30px rgba(128, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform-style: preserve-3d;
  overflow: hidden;
}

/* Hover Effect (3D Tilt & Glow) */
.person-card-3d:hover {
  transform: translateY(-10px) rotateX(5deg) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(128, 0, 0, 0.2), 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Glow Layer */
.person-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.person-card-3d:hover .person-glow { opacity: 1; }

/* Badge */
.person-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 0 0 12px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 2;
}
.person-badge i { font-size: 0.8rem; }

/* Photo Frame */
.person-photo-frame {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 20px 0 18px;
  flex-shrink: 0;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.person-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.5s ease;
}

.person-card-3d:hover .person-photo-frame img {
  transform: scale(1.08);
}

/* Rotating Gold Ring */
.photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  opacity: 0.6;
  animation: spinPhotoRing 10s linear infinite;
  pointer-events: none;
}
@keyframes spinPhotoRing {
  to { transform: rotate(360deg); }
}

.photo-placeholder {
  font-size: 2rem;
  color: var(--maroon);
}

/* Info */
.person-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.person-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--maroon);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.person-role {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.photo-status {
  font-size: 0.7rem;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Action Buttons */
.person-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.person-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  font-family: inherit;
}

.person-download-btn {
  background: var(--maroon);
  color: var(--white);
}
.person-download-btn:hover { background: var(--maroon-dark); transform: translateY(-2px); }

.person-upload-btn {
  background: var(--green);
  color: var(--white);
}
.person-upload-btn:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ============ RESPONSIVE (All Devices) ============ */
@media (max-width: 768px) {
  .board-grid-3d {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .person-card-3d {
    padding: 28px 18px 20px;
    transform: none !important; /* Disable tilt on mobile for better UX */
  }
  .person-photo-frame {
    width: 90px;
    height: 90px;
  }
  .person-name { font-size: 1.05rem; }
}/* =========================================================
   ADMINISTRATION & GOVERNANCE — 3D BOARD CARDS
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

/* ============ Section Titles ============ */
.board-section-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--green);
  margin: 30px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.board-section-title i {
  color: var(--gold);
  background: var(--maroon);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3);
  flex-shrink: 0;
}

/* ============ Grid Layout ============ */
.board-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 40px;
  perspective: 1200px;
  padding: 15px 0;
}

/* ============ 3D Person Card ============ */
.person-card-3d {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 32px 18px 22px;
  box-shadow: 0 10px 30px rgba(128, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform-style: preserve-3d;
  overflow: hidden;
  min-height: 380px;
}

/* Top Gradient Line */
.person-card-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--green));
}

/* Hover Effect — 3D Tilt + Glow */
.person-card-3d:hover {
  transform: translateY(-10px) rotateX(5deg) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(128, 0, 0, 0.2), 0 0 25px rgba(212, 175, 55, 0.3);
}

/* Glow Layer */
.person-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.person-card-3d:hover .person-glow {
  opacity: 1;
}

/* ============ Badge (Top Center) ============ */
.person-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 0 0 12px 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 3;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.person-badge i {
  font-size: 0.75rem;
}

/* ============ Photo Frame ============ */
.person-photo-frame {
  position: relative;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  margin: 20px 0 18px;
  flex-shrink: 0;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.person-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.person-card-3d:hover .person-photo-frame img {
  transform: scale(1.08);
}

/* Rotating Gold Ring */
.photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  opacity: 0.6;
  animation: spinPhotoRing 10s linear infinite;
  pointer-events: none;
}
@keyframes spinPhotoRing {
  to { transform: rotate(360deg); }
}

.photo-placeholder {
  font-size: 2rem;
  color: var(--maroon);
}

/* ============ Person Info ============ */
.person-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.person-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--maroon);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.person-role {
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.photo-status {
  font-size: 0.68rem;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  white-space: nowrap;
}

/* ============ Action Buttons ============ */
.person-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.person-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}

.person-download-btn {
  background: var(--maroon);
  color: var(--white);
}
.person-download-btn:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3);
}

.person-upload-btn {
  background: var(--green);
  color: var(--white);
}
.person-upload-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 139, 34, 0.3);
}

/* ============ Financial Transparency Block ============ */
#financial-transparency {
  background: var(--white);
  border-radius: 14px;
  padding: 24px 28px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 6px 20px rgba(128, 0, 0, 0.08);
  margin-top: 30px;
}
#financial-transparency h4 {
  font-family: var(--font-head);
  color: var(--maroon);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
#financial-transparency p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.7;
}

/* ============ Responsive Design ============ */

/* Tablet */
@media (max-width: 1024px) {
  .board-grid-3d {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .board-section-title {
    font-size: 1.1rem;
    margin: 24px 0 16px;
  }
  .board-section-title i {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .board-grid-3d {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    padding: 10px 0;
  }
  .person-card-3d {
    padding: 28px 14px 18px;
    min-height: 340px;
    transform: none !important; /* Disable tilt on mobile for better scroll */
  }
  .person-photo-frame {
    width: 90px;
    height: 90px;
  }
  .person-name {
    font-size: 0.95rem;
  }
  .person-role {
    font-size: 0.72rem;
  }
  .person-btn {
    font-size: 0.7rem;
    padding: 7px 8px;
  }
}

/* Very Small Mobile */
@media (max-width: 480px) {
  .board-grid-3d {
    grid-template-columns: 1fr;
  }
  .person-card-3d {
    min-height: 320px;
  }
  .person-badge {
    font-size: 0.62rem;
    padding: 5px 12px;
  }
  .person-actions {
    flex-direction: column;
  }
  .person-btn {
    padding: 8px 12px;
  }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  .person-card-3d,
  .person-photo-frame img,
  .photo-ring,
  .person-glow {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}/* =========================================================
   PREMIUM 3D TIMELINE — OUR EVOLUTION
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

.timeline-section {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.timeline-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 25%, rgba(212,175,55,0.06) 0%, transparent 40%),
                    radial-gradient(circle at 85% 75%, rgba(34,139,34,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.section-intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.8;
  padding: 0 15px;
}

/* ============ Timeline Container ============ */
.timeline-3d {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 50px;
  perspective: 1200px;
}

/* Glowing Line */
.timeline-3d::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--maroon) 50%, var(--green) 100%);
  border-radius: 3px;
  box-shadow: 0 0 15px rgba(212,175,55,0.5);
  animation: lineGlow 3s ease-in-out infinite;
}
@keyframes lineGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(212,175,55,0.5); }
  50% { box-shadow: 0 0 25px rgba(212,175,55,0.9); }
}

/* ============ Timeline Item ============ */
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.timeline-item.reveal {
  opacity: 1;
  transform: translateX(0);
}

/* Dot */
.timeline-dot {
  position: absolute;
  left: -40px;
  top: 15px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px var(--gold), 0 0 20px rgba(212,175,55,0.6);
  z-index: 2;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--gold), 0 0 20px rgba(212,175,55,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(212,175,55,0.3), 0 0 30px rgba(212,175,55,0.9); }
}

/* ============ Timeline Content (3D Card) ============ */
.timeline-content {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 18px;
  padding: 26px 30px;
  box-shadow: 0 10px 30px rgba(128, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--green));
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px) rotateY(-2deg);
  border-color: var(--gold);
  box-shadow: 0 20px 45px rgba(128, 0, 0, 0.15), 0 0 25px rgba(212,175,55,0.2);
}

/* Year Badge */
.timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(128,0,0,0.25);
  text-transform: uppercase;
}

/* Title */
.timeline-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--maroon);
  margin-bottom: 10px;
  line-height: 1.3;
  font-weight: 700;
}

/* Description */
.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Significance */
.timeline-significance {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
  padding: 10px 14px;
  background: rgba(34,139,34,0.08);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  margin-top: 10px;
  line-height: 1.6;
}
.timeline-significance i {
  color: var(--gold);
  margin-right: 6px;
}

/* ============ Pillars (Inside Step 04) ============ */
.timeline-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.timeline-pillars span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--maroon);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 5px 12px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.timeline-pillars span:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-2px);
}

.timeline-pillars span i {
  color: var(--green);
  font-size: 0.7rem;
}

.timeline-pillars span:hover i {
  color: var(--maroon-dark);
}

/* ============ Mini Grid ============ */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 50px;
}

.mini-grid .company-block-simple {
  background: var(--white);
  border-radius: 14px;
  padding: 22px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 6px 20px rgba(128,0,0,0.06);
  transition: all 0.3s ease;
}
.mini-grid .company-block-simple:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(128,0,0,0.12);
  border-left-color: var(--green);
}

.mini-grid .company-block-simple h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--maroon);
  margin-bottom: 8px;
}

.mini-grid .company-block-simple p {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ============ Responsive (All Devices) ============ */
@media (max-width: 768px) {
  .timeline-3d {
    padding-left: 30px;
  }
  .timeline-3d::before {
    left: 12px;
  }
  .timeline-dot {
    left: -30px;
    width: 18px;
    height: 18px;
  }
  .timeline-item {
    padding-left: 20px;
    margin-bottom: 30px;
  }
  .timeline-content {
    padding: 20px;
  }
  .timeline-title {
    font-size: 1.05rem;
  }
  .timeline-desc {
    font-size: 0.86rem;
  }
  .timeline-significance {
    font-size: 0.78rem;
  }
  .timeline-pillars span {
    font-size: 0.68rem;
    padding: 4px 10px;
  }
  .section-intro {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .timeline-3d {
    padding-left: 22px;
  }
  .timeline-3d::before {
    left: 8px;
  }
  .timeline-dot {
    left: -24px;
    width: 16px;
    height: 16px;
    border-width: 3px;
  }
  .timeline-content {
    padding: 16px;
    border-radius: 12px;
  }
  .timeline-year {
    font-size: 0.68rem;
    padding: 4px 12px;
  }
  .timeline-title {
    font-size: 1rem;
  }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  .timeline-3d::before,
  .timeline-dot,
  .timeline-content,
  .timeline-pillars span {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .timeline-item {
    opacity: 1 !important;
    transform: none !important;
  }
}/* =========================================================
   PREMIUM 3D STATS SECTION
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

.stats-section {
  position: relative;
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  padding: 90px 20px;
  overflow: hidden;
  perspective: 1200px;
}

/* Background Glow Orbs */
.stats-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.stats-bg-glow::before,
.stats-bg-glow::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.stats-bg-glow::before {
  background: var(--gold);
  top: -100px;
  left: -100px;
  animation: floatGlow1 10s ease-in-out infinite;
}
.stats-bg-glow::after {
  background: var(--green);
  bottom: -100px;
  right: -100px;
  animation: floatGlow2 12s ease-in-out infinite;
}
@keyframes floatGlow1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 50px) scale(1.2); }
}
@keyframes floatGlow2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -50px) scale(1.15); }
}

/* Section Headers */
.stats-head {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.stats-sub {
  text-align: center;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}

/* ============ Stats Grid ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ============ 3D Stat Card ============ */
.stat-card-3d {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}
.stat-card-3d.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Top gold gradient bar */
.stat-card-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--gold));
}

.stat-card-3d:hover {
  transform: translateY(-10px) rotateX(5deg) scale(1.03);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

/* Card Glow */
.stat-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.stat-card-3d:hover .stat-glow { opacity: 1; }

/* Icon */
.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}

.stat-card-3d:hover .stat-icon {
  transform: scale(1.15) rotate(-10deg);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.8);
}

/* Number */
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

/* Adding a "+" suffix via CSS */
.stat-card-3d .stat-number::after {
  content: '+';
  font-size: 0.6em;
  color: var(--gold-light);
  margin-left: 4px;
  vertical-align: super;
}

/* Label */
.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .stats-section { padding: 60px 15px; }
  .stats-head { font-size: 1.6rem; }
  .stats-sub { font-size: 0.9rem; margin-bottom: 30px; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .stat-card-3d {
    padding: 28px 14px;
    transform: none !important;
  }
  .stat-icon {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
    margin-bottom: 14px;
  }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.7rem; letter-spacing: 0.06em; }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .stats-bg-glow::before,
  .stats-bg-glow::after,
  .stat-card-3d,
  .stat-icon,
  .stat-glow {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .stat-card-3d { opacity: 1; transform: none; }
}/* =========================================================
   PREMIUM 3D WEB SOLUTION GRID
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

#web-solution {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

/* Grid Layout */
.web-solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
  perspective: 1200px;
}

/* ============ 3D Card ============ */
.web-card-3d {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(128, 0, 0, 0.08);
}

/* Top gold gradient bar */
.web-card-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--green));
}

.web-card-3d:hover {
  transform: translateY(-10px) rotateX(4deg) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 25px 60px rgba(128, 0, 0, 0.18), 0 0 30px rgba(212, 175, 55, 0.2);
}

/* Glow */
.web-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.web-card-3d:hover .web-glow { opacity: 1; }

/* Featured Card */
.web-card-3d.featured {
  border-color: var(--maroon);
  background: linear-gradient(160deg, rgba(255,255,255,0.98), rgba(255,250,240,0.95));
}
.web-card-3d.featured::before {
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon));
  height: 5px;
}

.web-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gold);
  color: var(--maroon-dark);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(212,175,55,0.4);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Header */
.web-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.web-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(128, 0, 0, 0.3);
  transition: transform 0.4s ease;
}
.web-card-3d:hover .web-icon {
  transform: scale(1.1) rotate(-8deg);
}

.web-header h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--maroon);
  line-height: 1.2;
  font-weight: 700;
}

/* Description */
.web-desc {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* Price Grid */
.web-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.web-price-item {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.web-price-item.highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: var(--maroon);
}

.web-price-item strong {
  display: block;
  font-size: 0.72rem;
  color: var(--maroon);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.web-price-item.highlight strong {
  color: var(--maroon-dark);
}

.web-price-item span {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 700;
  line-height: 1.2;
}

.web-price-item.highlight span {
  color: var(--maroon-dark);
}

.web-price-item small {
  font-size: 0.65em;
  font-weight: 400;
  color: var(--text-dark);
  opacity: 0.7;
}

/* Feature List */
.web-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.web-feature-list li {
  padding: 7px 0;
  font-size: 0.82rem;
  color: var(--text-dark);
  border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.web-feature-list li:last-child {
  border-bottom: none;
}

.web-feature-list li i {
  color: var(--green);
  font-size: 0.75rem;
}

/* CTA Button */
.web-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--maroon);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  margin-top: auto;
  border: 2px solid var(--maroon);
}

.web-cta:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* ============ CTA Footer ============ */
.web-cta-footer {
  text-align: center;
  margin-top: 50px;
  padding: 40px 24px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border-radius: 20px;
  border: 2px solid var(--gold);
  box-shadow: 0 20px 50px rgba(128, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.web-cta-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212,175,55,0.2), transparent 60%);
  pointer-events: none;
}

.web-cta-footer h4 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.web-cta-footer p {
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.85;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.web-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.web-cta-primary,
.web-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}

.web-cta-primary {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}

.web-cta-primary:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

.web-cta-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.web-cta-secondary:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .web-solution-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .web-card-3d {
    transform: none !important;
    padding: 24px 18px;
  }
  .web-icon {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }
  .web-header h3 { font-size: 1.05rem; }
  .web-cta-footer { padding: 30px 18px; }
  .web-cta-footer h4 { font-size: 1.2rem; }
  .web-cta-primary, .web-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .web-card-3d,
  .web-icon,
  .web-glow,
  .web-cta,
  .web-cta-primary,
  .web-cta-secondary {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}/* =========================================================
   PREMIUM 3D FLIP CARDS — ASA ACADEMY
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

#asa-academy {
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  position: relative;
  overflow: hidden;
}

/* Grid */
.asa-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
  perspective: 1400px;
}

.asa-flip-card.wide {
  grid-column: span 2;
}

/* ============ Flip Card Container ============ */
.asa-flip-card {
  position: relative;
  height: 300px;
  perspective: 1400px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  outline: none;
}

.asa-flip-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
  border-radius: 22px;
}

.asa-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.asa-flip-card:hover .asa-flip-inner,
.asa-flip-card:focus .asa-flip-inner,
.asa-flip-card.flipped .asa-flip-inner {
  transform: rotateY(180deg);
}

/* ============ Front Face ============ */
.asa-front,
.asa-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 22px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(128, 0, 0, 0.15);
}

.asa-front {
  background: linear-gradient(145deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  border: 2px solid var(--gold);
  color: var(--white);
}

.asa-front::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--gold));
}

.asa-front-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

/* Icon Circle */
.asa-icon-circle {
  width: 78px;
  height: 78px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.asa-flip-card:hover .asa-icon-circle {
  transform: scale(1.1) rotate(-8deg);
}

.asa-front h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  z-index: 1;
}

.asa-flip-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 1;
  padding: 5px 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.08);
}

/* ============ Back Face ============ */
.asa-back {
  background: linear-gradient(145deg, var(--green) 0%, var(--green-dark) 100%);
  border: 2px solid var(--gold);
  color: var(--white);
  transform: rotateY(180deg);
  justify-content: flex-start;
  padding: 28px 22px;
}

.asa-back::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--maroon), var(--gold));
}

.asa-back h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  width: 100%;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 10px;
}

.asa-back p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--white);
  opacity: 0.95;
  flex: 1;
  overflow-y: auto;
  width: 100%;
  margin-bottom: 14px;
  padding-right: 4px;
}

/* Custom Scrollbar for back text */
.asa-back p::-webkit-scrollbar { width: 4px; }
.asa-back p::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

/* Back CTA Button */
.asa-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--maroon-dark);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
  margin-top: auto;
  border: 2px solid var(--gold);
}

.asa-back-btn:hover {
  background: var(--white);
  color: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ============ Wide Card ============ */
.asa-flip-card.wide .asa-flip-inner {
  transform-style: preserve-3d;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .asa-flip-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .asa-grid-3d {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .asa-flip-card {
    height: 320px;
  }
  .asa-front { padding: 26px 20px; }
  .asa-icon-circle {
    width: 68px;
    height: 68px;
    font-size: 1.6rem;
  }
  .asa-front h3 { font-size: 1.05rem; }
  .asa-back { padding: 24px 18px; }
  .asa-back h4 { font-size: 0.95rem; }
  .asa-back p { font-size: 0.8rem; }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  .asa-flip-inner {
    transition: none !important;
  }
  .asa-flip-card:hover .asa-flip-inner,
  .asa-flip-card:focus .asa-flip-inner {
    transform: none !important;
  }
  /* For reduced-motion users, show back on click via JS toggle class */
  .asa-flip-card.flipped .asa-flip-inner {
    transform: rotateY(180deg) !important;
  }
}/* =========================================================
   PREMIUM 3D ONLINE SHOP CARDS
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

#agl-shop {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

#agl-shop::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(212,175,55,0.06) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(34,139,34,0.06) 0%, transparent 40%);
  pointer-events: none;
}

/* Grid */
.shop-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
  perspective: 1200px;
}

/* ============ 3D Shop Card ============ */
.shop-card-3d {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 22px;
  padding: 32px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(128, 0, 0, 0.08);
}

/* Top gradient accent */
.shop-card-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--green));
}

.shop-card-3d:hover {
  transform: translateY(-10px) rotateX(4deg) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 25px 60px rgba(128, 0, 0, 0.18), 0 0 30px rgba(212, 175, 55, 0.25);
}

/* Glow effect following cursor */
.shop-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.shop-card-3d:hover .shop-glow { opacity: 1; }

/* Icon Circle */
.shop-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(128, 0, 0, 0.3);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.shop-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  opacity: 0.5;
  animation: rotateShopRing 12s linear infinite;
}
@keyframes rotateShopRing {
  to { transform: rotate(360deg); }
}

.shop-card-3d:hover .shop-icon-wrap {
  transform: scale(1.12) rotate(-8deg);
}

/* Title */
.shop-card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--maroon);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* Description */
.shop-card-text {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

/* CTA Button */
.shop-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--maroon);
  color: var(--white);
  border: 2px solid var(--maroon);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  width: 100%;
  position: relative;
  z-index: 1;
}

.shop-cta-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.shop-cta-btn i {
  transition: transform 0.3s ease;
}
.shop-cta-btn:hover i {
  transform: translateX(4px);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .shop-grid-3d {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .shop-grid-3d {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .shop-card-3d {
    padding: 26px 18px 20px;
    transform: none !important;
  }
  .shop-icon-wrap {
    width: 68px;
    height: 68px;
    font-size: 1.6rem;
    margin-bottom: 16px;
  }
  .shop-card-title {
    font-size: 1.05rem;
  }
  .shop-card-text {
    font-size: 0.82rem;
  }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  .shop-card-3d,
  .shop-icon-wrap,
  .shop-glow,
  .shop-cta-btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .shop-icon-wrap::after {
    animation: none !important;
  }
}/* =========================================================
   PREMIUM 3D GALLERY — MASONRY GRID
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

.gallery-section {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(212,175,55,0.05) 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(34,139,34,0.05) 0%, transparent 40%);
  pointer-events: none;
}

/* ============ Masonry Grid ============ */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: 220px;
  gap: 20px;
  margin-top: 40px;
  perspective: 1200px;
}

/* Card Sizes */
.gallery-card-3d.tall {
  grid-row: span 2;
}
.gallery-card-3d.wide {
  grid-column: span 2;
}

/* ============ 3D Gallery Card ============ */
.gallery-card-3d {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--maroon-dark);
  box-shadow: 0 12px 32px rgba(128, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  border: 2px solid transparent;
  outline: none;
}

.gallery-card-3d:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.gallery-card-3d:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 25px 60px rgba(128, 0, 0, 0.25), 0 0 30px rgba(212, 175, 55, 0.35);
  z-index: 5;
}

/* Image Wrapper */
.gallery-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
  filter: brightness(0.9) saturate(0.95);
}

.gallery-card-3d:hover .gallery-img-wrap img {
  transform: scale(1.12);
  filter: brightness(1.05) saturate(1.1);
}

/* Gradient Overlay */
.gallery-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(128, 0, 0, 0.85) 0%, transparent 55%);
  opacity: 0.6;
  transition: opacity 0.4s ease;
}
.gallery-card-3d:hover .gallery-img-wrap::after {
  opacity: 0.85;
}

/* ============ Caption ============ */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 18px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  z-index: 2;
  transform: translateY(10px);
  opacity: 0.9;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card-3d:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-caption i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  backdrop-filter: blur(6px);
  transition: all 0.4s ease;
  transform: scale(0.85);
}

.gallery-card-3d:hover .gallery-caption i {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: scale(1) rotate(-10deg);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.gallery-caption span {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

/* Gold Accent Line on Hover */
.gallery-card-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  z-index: 3;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-card-3d:hover::before {
  width: 100%;
}

/* ============ Lightbox Enhancement ============ */
.lightbox-img {
  max-width: 92%;
  max-height: 82vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 4px var(--gold);
  border: none;
}

.lightbox-caption {
  color: var(--gold);
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 10px 24px;
  background: rgba(128, 0, 0, 0.8);
  border-radius: 50px;
  border: 1px solid var(--gold);
  backdrop-filter: blur(10px);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 14px;
  }
  .gallery-card-3d.wide {
    grid-column: span 2;
  }
  .gallery-card-3d.tall {
    grid-row: span 2;
  }
}

@media (max-width: 600px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 14px;
  }
  .gallery-card-3d.wide,
  .gallery-card-3d.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-card-3d {
    transform: none !important;
  }
  .gallery-caption {
    padding: 16px 14px;
  }
  .gallery-caption span {
    font-size: 0.85rem;
  }
  .gallery-caption i {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  .gallery-card-3d,
  .gallery-img-wrap img,
  .gallery-caption,
  .gallery-caption i,
  .gallery-card-3d::before {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .gallery-caption {
    opacity: 1;
    transform: none;
  }
}/* =========================================================
   PREMIUM 3D AEP SECTION
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

.aep-section {
  position: relative;
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  padding: 90px 20px;
  overflow: hidden;
  perspective: 1200px;
}

.aep-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.aep-bg-glow::before,
.aep-bg-glow::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}
.aep-bg-glow::before {
  background: var(--gold);
  top: -150px; left: -150px;
  animation: aepGlow1 12s ease-in-out infinite;
}
.aep-bg-glow::after {
  background: var(--green);
  bottom: -150px; right: -150px;
  animation: aepGlow2 14s ease-in-out infinite;
}
@keyframes aepGlow1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 50px) scale(1.2); }
}
@keyframes aepGlow2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -50px) scale(1.1); }
}

/* ============ 7 AEP Cards Grid ============ */
.aep-cards-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 40px 0 60px;
  perspective: 1200px;
}

.aep-card-3d {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 30px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  overflow: hidden;
  cursor: pointer;
}

.aep-card-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--gold));
}

.aep-card-3d:hover {
  transform: translateY(-10px) rotateX(5deg) scale(1.03);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.35);
}

.aep-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.aep-card-3d:hover .aep-glow { opacity: 1; }

/* Badge */
.aep-badge {
  position: absolute;
  top: -1px;
  right: 16px;
  padding: 5px 12px;
  border-radius: 0 0 10px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-gold { background: var(--gold); color: var(--maroon-dark); }
.badge-green { background: var(--green); color: var(--white); }
.badge-maroon { background: var(--maroon-dark); color: var(--gold); border: 1px solid var(--gold); }

/* Icon */
.aep-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 8px 0 16px;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  transition: transform 0.4s ease;
}
.aep-card-3d:hover .aep-icon {
  transform: scale(1.1) rotate(-8deg);
}

/* Title */
.aep-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  text-shadow: 0 2px 15px rgba(212, 175, 55, 0.5);
}

.aep-subtitle {
  font-size: 0.78rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.9;
}

.aep-desc {
  font-size: 0.82rem;
  color: var(--white);
  opacity: 0.75;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* CTA Button */
.aep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gold);
  color: var(--maroon-dark);
  border: 2px solid var(--gold);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  width: 100%;
  position: relative;
  z-index: 1;
}
.aep-btn:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}
.aep-btn i {
  transition: transform 0.3s ease;
}
.aep-btn:hover i {
  transform: translateX(4px);
}

/* ============ Form Box ============ */
.aep-form-box-3d {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.aep-form-box-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--green), var(--gold), var(--maroon));
  background-size: 200% 100%;
  animation: gradientShift 3s linear infinite;
}
@keyframes gradientShift {
  to { background-position: 200% 0; }
}

.aep-form-header {
  text-align: center;
  margin-bottom: 30px;
}
.aep-form-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.3);
}
.aep-form-header h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--maroon);
  margin-bottom: 6px;
}
.aep-form-header p {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.75;
}

/* Fields */
.aep-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.aep-field {
  margin-bottom: 16px;
}
.aep-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.aep-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--text-dark);
}
.aep-input:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.1);
}

/* Google Link Box */
.aep-google-link-box {
  margin: 18px 0;
  padding: 20px;
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.08), rgba(212, 175, 55, 0.08));
  border: 2px dashed var(--green);
  border-radius: 14px;
  text-align: center;
}
.aep-google-link-box p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 12px;
}
.aep-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}
.aep-google-btn:hover {
  background: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.3);
}

/* Bio Form Note */
.aep-form-note {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-style: italic;
  opacity: 0.75;
  padding: 12px 16px;
  background: rgba(212, 175, 55, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  margin-bottom: 20px;
}

/* Payment Box */
.aep-payment-box {
  margin: 24px 0;
  padding: 22px;
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.08), rgba(212, 175, 55, 0.05));
  border: 2px solid var(--green);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.aep-payment-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
}
.aep-payment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.aep-payment-head i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.aep-payment-head p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
  margin: 0;
}
.aep-payment-head strong {
  color: var(--green);
  font-size: 1.1rem;
}
.aep-payment-note {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.aep-payment-number {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

/* Submit Button */
.aep-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.4s ease;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.aep-submit-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  transition: left 0.5s ease;
}
.aep-submit-btn:hover::before { left: 100%; }
.aep-submit-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

/* Confirmation */
.aep-confirmation {
  margin-top: 20px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.15), rgba(212, 175, 55, 0.1));
  border-left: 5px solid var(--green);
  border-radius: 12px;
  color: var(--green-dark);
}
.aep-confirmation h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--green);
  margin-bottom: 6px;
}
.aep-confirmation p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .aep-section { padding: 60px 15px; }
  .aep-cards-grid-3d {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
  }
  .aep-card-3d {
    padding: 24px 16px 18px;
    transform: none !important;
  }
  .aep-icon {
    width: 56px; height: 56px;
    font-size: 1.3rem;
  }
  .aep-title { font-size: 1.25rem; }
  .aep-form-box-3d {
    padding: 28px 20px;
  }
  .aep-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .aep-cards-grid-3d {
    grid-template-columns: 1fr;
  }
  .aep-form-header h3 { font-size: 1.3rem; }
  .aep-payment-head { flex-direction: column; align-items: flex-start; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .aep-bg-glow::before,
  .aep-bg-glow::after,
  .aep-card-3d,
  .aep-icon,
  .aep-glow,
  .aep-btn,
  .aep-form-box-3d::before,
  .aep-submit-btn::before {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}/* =========================================================
   PREMIUM 3D FAQ SECTION
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

.faq-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(212,175,55,0.05) 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(34,139,34,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.faq-container-3d {
  max-width: 900px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* ============ 3D FAQ Item ============ */
.faq-item-3d {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(128, 0, 0, 0.06);
  position: relative;
}

.faq-item-3d::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--maroon), var(--green));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
  z-index: 2;
}

.faq-item-3d.active {
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(128, 0, 0, 0.15), 0 0 25px rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.98);
}

.faq-item-3d.active::before {
  transform: scaleY(1);
}

.faq-item-3d:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(128, 0, 0, 0.1);
}

/* Question Button */
.faq-question-3d {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question-3d:hover {
  background: rgba(212, 175, 55, 0.05);
}

/* Number Badge */
.faq-number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 10px rgba(128, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.faq-item-3d.active .faq-number {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
  transform: rotate(-8deg) scale(1.05);
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.5);
}

/* Question Text */
.faq-q-text {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.4;
}

.faq-item-3d.active .faq-q-text {
  color: var(--maroon-dark);
}

/* Icon */
.faq-icon {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.9rem;
  transition: transform 0.4s ease;
}

.faq-item-3d.active .faq-icon {
  transform: rotate(180deg);
  color: var(--maroon);
}

/* Answer */
.faq-answer-3d {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item-3d.active .faq-answer-3d {
  max-height: 800px;
}

.faq-answer-3d > *:first-child {
  margin-top: 0;
}

.faq-answer-3d > p,
.faq-answer-3d > ul,
.faq-answer-3d > .faq-note {
  padding: 0 24px 16px 78px;
}

.faq-answer-3d p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 10px;
}

.faq-answer-3d strong {
  color: var(--maroon);
  font-weight: 700;
}

/* Package List (Q1) */
.faq-package-list {
  list-style: none;
  padding: 0 24px 16px 78px !important;
  margin: 8px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.faq-package-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(34, 139, 34, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--maroon);
  transition: all 0.3s ease;
}

.faq-package-list li:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(34, 139, 34, 0.1));
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.2);
}

.faq-package-list li i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Note */
.faq-note {
  font-size: 0.82rem !important;
  color: var(--green) !important;
  background: rgba(34, 139, 34, 0.08);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  padding: 10px 14px !important;
  margin: 8px 24px 16px 78px !important;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.faq-note i {
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .faq-question-3d {
    padding: 16px 18px;
    gap: 12px;
  }
  .faq-number {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
  .faq-q-text {
    font-size: 0.88rem;
  }
  .faq-answer-3d > p,
  .faq-answer-3d > ul,
  .faq-answer-3d > .faq-note {
    padding-left: 18px;
    padding-right: 18px;
  }
  .faq-package-list {
    padding-left: 18px !important;
    padding-right: 18px !important;
    grid-template-columns: 1fr;
  }
  .faq-note {
    margin-left: 18px !important;
    margin-right: 18px !important;
  }
}

@media (max-width: 480px) {
  .faq-question-3d {
    padding: 14px 14px;
  }
  .faq-q-text {
    font-size: 0.82rem;
  }
  .faq-package-list li {
    font-size: 0.78rem;
    padding: 8px 12px;
  }
  .faq-answer-3d p {
    font-size: 0.85rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .faq-item-3d,
  .faq-item-3d::before,
  .faq-number,
  .faq-icon,
  .faq-answer-3d,
  .faq-package-list li {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .faq-item-3d.active .faq-icon {
    transform: rotate(180deg);
  }
  .faq-item-3d.active::before {
    transform: scaleY(1);
  }
}/* =========================================================
   PREMIUM 3D PRIVACY POLICY CARD
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

#privacy-policy {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

#privacy-policy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(212,175,55,0.06) 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(34,139,34,0.06) 0%, transparent 40%);
  pointer-events: none;
}

/* ============ Privacy Card ============ */
.privacy-card-3d {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 24px;
  padding: 50px 45px;
  box-shadow: 0 20px 60px rgba(128, 0, 0, 0.12);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.privacy-card-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--green), var(--gold), var(--maroon));
  background-size: 200% 100%;
  animation: privacyGradient 4s linear infinite;
}
@keyframes privacyGradient {
  to { background-position: 200% 0; }
}

.privacy-card-3d:hover {
  box-shadow: 0 30px 80px rgba(128, 0, 0, 0.18), 0 0 40px rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
}

/* Glow */
.privacy-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ============ Header ============ */
.privacy-header {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.privacy-icon-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 12px 30px rgba(128, 0, 0, 0.35);
  position: relative;
  transition: transform 0.4s ease;
}

.privacy-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  opacity: 0.5;
  animation: rotatePrivacyRing 15s linear infinite;
}
@keyframes rotatePrivacyRing {
  to { transform: rotate(360deg); }
}

.privacy-card-3d:hover .privacy-icon-wrap {
  transform: scale(1.08) rotate(-5deg);
}

.privacy-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--maroon);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.privacy-promise {
  font-size: 0.92rem;
  color: var(--green);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(34, 139, 34, 0.08);
  border: 1px solid rgba(34, 139, 34, 0.25);
  border-radius: 50px;
}

.privacy-promise i {
  color: var(--gold);
  font-size: 1rem;
}

/* ============ Body ============ */
.privacy-body {
  position: relative;
  z-index: 1;
}

.privacy-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.85;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

/* ============ Feature Grid ============ */
.privacy-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.privacy-feature {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(34, 139, 34, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: default;
}

.privacy-feature:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(34, 139, 34, 0.1));
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.privacy-feature i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.privacy-feature:hover i {
  transform: rotate(-10deg) scale(1.1);
  background: var(--gold);
  color: var(--maroon);
}

.privacy-feature span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.02em;
}

/* ============ Download Section ============ */
.privacy-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border: 2px solid var(--gold);
  border-radius: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.privacy-download::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
  animation: shineDl 3s ease-in-out infinite;
}
@keyframes shineDl {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.privacy-download-text {
  position: relative;
  z-index: 1;
}

.privacy-download-text h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.privacy-download-text p {
  font-size: 0.82rem;
  color: var(--white);
  opacity: 0.85;
}

.privacy-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--maroon-dark);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  border: 2px solid var(--gold);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.privacy-dl-btn:hover {
  background: var(--white);
  color: var(--maroon);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}

.privacy-dl-btn i {
  transition: transform 0.3s ease;
}

.privacy-dl-btn:hover i {
  transform: translateY(3px);
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .privacy-card-3d {
    padding: 40px 24px;
    border-radius: 20px;
  }
  .privacy-icon-wrap {
    width: 72px;
    height: 72px;
    font-size: 1.8rem;
  }
  .privacy-promise {
    font-size: 0.82rem;
    padding: 6px 14px;
  }
  .privacy-text {
    font-size: 0.88rem;
    line-height: 1.7;
  }
  .privacy-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .privacy-feature {
    padding: 12px 10px;
    font-size: 0.8rem;
  }
  .privacy-feature i {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
  .privacy-feature span {
    font-size: 0.75rem;
  }
  .privacy-download {
    flex-direction: column;
    text-align: center;
    padding: 20px 18px;
  }
  .privacy-dl-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .privacy-features {
    grid-template-columns: 1fr;
  }
  .privacy-title {
    font-size: 1.5rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .privacy-card-3d::before,
  .privacy-icon-wrap::after,
  .privacy-download::before,
  .privacy-icon-wrap,
  .privacy-feature,
  .privacy-feature i,
  .privacy-dl-btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}/* =========================================================
   CONTACT SECTION — 3D CARDS + SOCIAL LINKS CARD
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

#contact-agl {
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  position: relative;
  overflow: hidden;
}

#contact-agl::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 25%, rgba(212,175,55,0.06) 0%, transparent 40%),
                    radial-gradient(circle at 85% 75%, rgba(34,139,34,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.contact-grid-3d {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

/* Left Stack */
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-card-3d {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  padding: 14px 18px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(128, 0, 0, 0.06);
}

.contact-info-card-3d::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--maroon), var(--green));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.contact-info-card-3d:hover {
  transform: translateX(4px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(128, 0, 0, 0.12);
}
.contact-info-card-3d:hover::before { transform: scaleY(1); }

.ci-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.contact-info-card-3d:hover .ci-glow { opacity: 1; }

.ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.25);
}

.contact-info-card-3d:hover .ci-icon {
  transform: rotate(-8deg) scale(1.1);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
}

.ci-content {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.ci-content h4 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--maroon);
  margin-bottom: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.ci-content p {
  font-size: 0.8rem;
  color: var(--text-dark);
  line-height: 1.45;
  margin: 0;
  word-wrap: break-word;
}

.contact-info-card-3d.clickable .ci-content p {
  color: var(--green);
  font-weight: 600;
}
.contact-info-card-3d.clickable:hover .ci-content p {
  color: var(--maroon);
}

/* Right Column */
.contact-right-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============ SOCIAL LINKS CARD ============ */
.social-links-card-3d {
  position: relative;
  background: linear-gradient(145deg, var(--maroon), var(--maroon-dark));
  border: 2px solid var(--gold);
  border-radius: 22px;
  padding: 28px 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(128, 0, 0, 0.25);
}

.social-links-card-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--gold));
  background-size: 200% 100%;
  animation: socialGrad 3s linear infinite;
}
@keyframes socialGrad {
  to { background-position: 200% 0; }
}

.sl-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.sl-header {
  text-align: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.sl-icon-wrap {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.5);
  animation: slIconPulse 3s ease-in-out infinite;
}
@keyframes slIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.sl-header h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.sl-header p {
  font-size: 0.8rem;
  color: var(--white);
  opacity: 0.75;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Social Links Grid */
.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  position: relative;
  z-index: 1;
}

.social-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
}

.social-link-item i {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.4s ease, color 0.3s ease;
}

.social-link-item span {
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.social-link-item:hover {
  transform: translateY(-6px) scale(1.03);
  background: var(--gold);
  border-color: var(--gold-light);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.5);
}
.social-link-item:hover i,
.social-link-item:hover span {
  color: var(--maroon-dark);
}
.social-link-item:hover i {
  transform: rotate(-8deg) scale(1.15);
}

/* Branded hover accents */
.social-link-item.facebook:hover { background: #1877F2; border-color: #1877F2; }
.social-link-item.facebook:hover i,
.social-link-item.facebook:hover span { color: #fff; }

.social-link-item.youtube:hover { background: #FF0000; border-color: #FF0000; }
.social-link-item.youtube:hover i,
.social-link-item.youtube:hover span { color: #fff; }

.social-link-item.instagram:hover { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); border-color: #DD2A7B; }
.social-link-item.instagram:hover i,
.social-link-item.instagram:hover span { color: #fff; }

.social-link-item.twitter:hover { background: #000; border-color: #000; }
.social-link-item.twitter:hover i,
.social-link-item.twitter:hover span { color: #fff; }

.social-link-item.tiktok:hover { background: #000; border-color: #25F4EE; }
.social-link-item.tiktok:hover i,
.social-link-item.tiktok:hover span { color: #fff; }

.social-link-item.pinterest:hover { background: #E60023; border-color: #E60023; }
.social-link-item.pinterest:hover i,
.social-link-item.pinterest:hover span { color: #fff; }

.social-link-item.linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.social-link-item.linkedin:hover i,
.social-link-item.linkedin:hover span { color: #fff; }

.social-link-item.website:hover { background: var(--green); border-color: var(--green); }
.social-link-item.website:hover i,
.social-link-item.website:hover span { color: #fff; }

.social-link-item.linktree:hover { background: var(--gold); border-color: var(--gold-light); }
.social-link-item.linktree:hover i,
.social-link-item.linktree:hover span { color: var(--maroon-dark); }

/* ============ MESSAGE FORM ============ */
.contact-form-3d {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: 0 20px 60px rgba(128, 0, 0, 0.12);
  overflow: hidden;
}

.contact-form-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--green), var(--gold), var(--maroon));
  background-size: 200% 100%;
  animation: contactGrad 4s linear infinite;
}
@keyframes contactGrad {
  to { background-position: 200% 0; }
}

.cf-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.contact-form-3d > * { position: relative; z-index: 1; }

.cf-header { text-align: center; margin-bottom: 20px; }

.cf-icon-wrap {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.3);
}

.cf-header h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--maroon);
  margin-bottom: 4px;
}
.cf-header p {
  font-size: 0.8rem;
  color: var(--text-dark);
  opacity: 0.7;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form-3d .aep-field { margin-bottom: 12px; }
.contact-form-3d .aep-field label {
  font-size: 0.78rem;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
}
.contact-form-3d .aep-input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--text-dark);
}
.contact-form-3d .aep-input:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.1);
}
.contact-form-3d textarea.aep-input {
  resize: vertical;
  min-height: 90px;
}

.cf-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.4s ease;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}
.cf-submit-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  transition: left 0.5s ease;
}
.cf-submit-btn:hover::before { left: 100%; }
.cf-submit-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

/* Success */
#contactSuccess {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.12), rgba(212, 175, 55, 0.08));
  border-left: 5px solid var(--green);
  border-radius: 10px;
  margin-top: 14px;
}
#contactSuccess i {
  color: var(--green);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
#contactSuccess h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--green);
  margin-bottom: 2px;
}
#contactSuccess p {
  font-size: 0.8rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .contact-grid-3d {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 600px) {
  .cf-row { grid-template-columns: 1fr; }
  .contact-info-card-3d { padding: 12px 14px; gap: 12px; }
  .ci-icon { width: 38px; height: 38px; font-size: 0.9rem; }
  .ci-content h4 { font-size: 0.75rem; }
  .ci-content p { font-size: 0.75rem; }
  .social-links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .social-link-item {
    padding: 10px 4px;
    font-size: 0.65rem;
  }
  .social-link-item i { font-size: 1.15rem; }
  .contact-form-3d { padding: 24px 18px; }
  .cf-header h3 { font-size: 1.15rem; }
}

@media (max-width: 380px) {
  .social-links-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .social-links-card-3d::before,
  .contact-form-3d::before,
  .sl-icon-wrap,
  .contact-info-card-3d,
  .ci-icon,
  .social-link-item,
  .cf-submit-btn::before {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}/* =========================================================
   PREMIUM 3D NEWSLETTER SECTION
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

.newsletter-bar {
  position: relative;
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  padding: 70px 20px;
  overflow: hidden;
  perspective: 1200px;
}

/* Animated Glow Orbs */
.newsletter-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.newsletter-bg-glow::before,
.newsletter-bg-glow::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.newsletter-bg-glow::before {
  background: var(--gold);
  top: -120px; left: -100px;
  animation: nlGlow1 12s ease-in-out infinite;
}
.newsletter-bg-glow::after {
  background: var(--green);
  bottom: -120px; right: -100px;
  animation: nlGlow2 14s ease-in-out infinite;
}
@keyframes nlGlow1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 40px) scale(1.2); }
}
@keyframes nlGlow2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, -40px) scale(1.15); }
}

/* Inner Container */
.newsletter-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 24px;
  padding: 48px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.newsletter-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--gold));
  background-size: 200% 100%;
  border-radius: 24px 24px 0 0;
  animation: nlTopGradient 3s linear infinite;
}
@keyframes nlTopGradient {
  to { background-position: 200% 0; }
}

/* Icon */
.newsletter-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
  animation: nlIconPulse 3s ease-in-out infinite;
}
@keyframes nlIconPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5); }
  50% { transform: scale(1.08); box-shadow: 0 16px 40px rgba(212, 175, 55, 0.75); }
}

/* Headline */
.newsletter-head {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 15px rgba(212, 175, 55, 0.4);
}

.newsletter-sub {
  font-size: 0.92rem;
  color: var(--white);
  opacity: 0.85;
  margin-bottom: 26px;
  line-height: 1.6;
}

/* Form */
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 18px;
  flex-wrap: wrap;
}

.newsletter-input-wrap {
  flex: 1;
  position: relative;
  min-width: 220px;
}

.newsletter-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 1;
}

.newsletter-input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border-radius: 50px;
  border: 2px solid rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: var(--text-dark);
  opacity: 0.5;
}

.newsletter-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
  background: var(--white);
}

.newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--maroon-dark);
  border: 2px solid var(--gold);
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.newsletter-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.5s ease;
}
.newsletter-btn:hover::before { left: 100%; }

.newsletter-btn:hover {
  background: var(--white);
  color: var(--maroon-dark);
  border-color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
}

.newsletter-btn i {
  transition: transform 0.3s ease;
}
.newsletter-btn:hover i {
  transform: translateX(3px) rotate(-8deg);
}

/* Success Message */
.newsletter-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 22px;
  background: rgba(34, 139, 34, 0.2);
  border: 1px solid var(--green);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  animation: successFadeIn 0.5s ease;
}
.newsletter-success.show {
  display: flex;
}
.newsletter-success i {
  color: var(--gold);
  font-size: 1rem;
}
@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Note */
.newsletter-note {
  font-size: 0.75rem;
  color: var(--white);
  opacity: 0.6;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}
.newsletter-note i {
  color: var(--green);
  font-size: 0.85rem;
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .newsletter-bar { padding: 50px 15px; }
  .newsletter-inner { padding: 36px 24px; border-radius: 20px; }
  .newsletter-icon-wrap {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
    margin-bottom: 16px;
  }
  .newsletter-head { font-size: 1.4rem; }
  .newsletter-sub { font-size: 0.85rem; margin-bottom: 20px; }
  .newsletter-form { flex-direction: column; gap: 12px; }
  .newsletter-input-wrap { min-width: 100%; }
  .newsletter-btn { width: 100%; justify-content: center; }
  .newsletter-note { font-size: 0.7rem; }
}

@media (max-width: 480px) {
  .newsletter-inner { padding: 30px 18px; }
  .newsletter-head { font-size: 1.25rem; }
  .newsletter-input { font-size: 0.85rem; padding: 12px 14px 12px 42px; }
  .newsletter-btn { font-size: 0.85rem; padding: 12px 22px; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .newsletter-bg-glow::before,
  .newsletter-bg-glow::after,
  .newsletter-inner::before,
  .newsletter-icon-wrap,
  .newsletter-btn::before,
  .newsletter-success {
    animation: none !important;
    transition: none !important;
  }
}/* =========================================================
   PREMIUM 3D FOOTER + TOP/BOTTOM NAV + DEV AVATAR
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

#site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--maroon-dark) 0%, #2a0000 100%);
  color: var(--white);
  overflow: hidden;
  padding-top: 60px;
}

.footer-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.footer-bg-glow::before,
.footer-bg-glow::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
}
.footer-bg-glow::before {
  background: var(--gold);
  top: -150px; left: -150px;
  animation: ftGlow1 15s ease-in-out infinite;
}
.footer-bg-glow::after {
  background: var(--green);
  bottom: -150px; right: -150px;
  animation: ftGlow2 18s ease-in-out infinite;
}
@keyframes ftGlow1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, 60px); }
}
@keyframes ftGlow2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-60px, -60px); }
}

/* ============ Grid ============ */
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col h3 {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
}
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

/* Brand Column */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-orb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  background: var(--white);
  flex-shrink: 0;
}
.footer-logo-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.04em;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.footer-brand-name span {
  display: block;
  font-size: 0.5em;
  color: var(--gold);
  letter-spacing: 0.25em;
  margin-top: 4px;
  font-weight: 600;
}
.footer-brand-name::after { display: none !important; }

.footer-tagline {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 600;
}
.footer-about {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 14px;
}
.footer-motto {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
}
.footer-motto i {
  color: var(--gold);
  font-size: 0.75rem;
}

/* Links */
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.footer-links a i {
  font-size: 0.6rem;
  color: var(--gold);
  opacity: 0.5;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}
.footer-links a:hover i {
  opacity: 1;
  transform: translateX(2px);
}

/* Contact */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-contact-item i {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-item:hover {
  color: var(--gold);
}
a.footer-contact-item:hover {
  padding-left: 3px;
}

/* Social Row */
.footer-social-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-social-row a:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-4px) rotate(-8deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}

/* ============ 360° Rotating Developer Avatar ============ */
.developer-section {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
}

.dev-avatar-3d {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}

/* Rotating Rings */
.dev-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.dev-ring-1 {
  inset: 0;
  border: 2px dashed var(--gold);
  animation: devRingSpin1 8s linear infinite;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}
.dev-ring-2 {
  inset: 12px;
  border: 2px solid rgba(34, 139, 34, 0.5);
  animation: devRingSpin2 6s linear infinite reverse;
}
.dev-ring-3 {
  inset: 26px;
  border: 1px dotted var(--gold);
  animation: devRingSpin1 10s linear infinite;
}
@keyframes devRingSpin1 {
  from { transform: rotate(0deg) rotateX(15deg); }
  to { transform: rotate(360deg) rotateX(15deg); }
}
@keyframes devRingSpin2 {
  from { transform: rotate(0deg) rotateY(20deg); }
  to { transform: rotate(360deg) rotateY(20deg); }
}

/* Core */
.dev-core {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5), inset 0 0 15px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  animation: devCoreFloat 3s ease-in-out infinite;
}
@keyframes devCoreFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-8deg); }
}

/* Sparks (Rotating Particles) */
.dev-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  z-index: 1;
}
.dev-spark-1 {
  top: 0; left: 50%;
  transform: translateX(-50%);
  animation: devSparkOrbit1 4s linear infinite;
}
.dev-spark-2 {
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: devSparkOrbit2 5s linear infinite reverse;
}
.dev-spark-3 {
  top: 50%; left: 0;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  animation: devSparkOrbit3 6s linear infinite;
}
@keyframes devSparkOrbit1 {
  from { transform: rotate(0deg) translateX(65px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(65px) rotate(-360deg); }
}
@keyframes devSparkOrbit2 {
  from { transform: rotate(0deg) translateX(58px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(58px) rotate(-360deg); }
}
@keyframes devSparkOrbit3 {
  from { transform: rotate(0deg) translateX(70px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(70px) rotate(-360deg); }
}

/* Dev Text */
.dev-text {
  text-align: center;
}
.dev-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.dev-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  margin-bottom: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: devTextShine 3s linear infinite;
}
@keyframes devTextShine {
  to { background-position: 200% center; }
}
.dev-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.1em;
}

/* Copyright Bar */
.copyright-bar {
  position: relative;
  z-index: 2;
  background: #150000;
  padding: 18px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
}
.copyright-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.copyright-bar p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.copyright-bar strong {
  color: var(--gold);
}
.copyright-bar p.small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============ TOP/BOTTOM NAV (Right Side) ============ */
.top-bottom-nav {
  position: fixed;
  right: 22px;
  bottom: 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 8000;
}
.tbn-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.tbn-btn span {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tbn-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

/* ============ QUICK DOCK (WhatsApp + AEP) ============ */
.quick-dock {
  position: fixed;
  right: 22px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 8000;
}
.dock-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  font-size: 1rem;
  border: 2px solid var(--gold);
  cursor: pointer;
}
.dock-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.5);
}
.dock-btn.wa {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.dock-btn.wa:hover {
  background: #128C7E;
  color: var(--white);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.5);
}

/* ============ SECTION STEPPER (Bottom Left) ============ */
.section-stepper {
  position: fixed;
  left: 22px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 8000;
  border: 2px solid var(--gold);
}
.step-btn {
  padding: 8px 14px;
  border-radius: 50px;
  background: var(--maroon);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  border: 1px solid var(--gold);
  cursor: pointer;
}
.step-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}
.step-label {
  font-size: 0.75rem;
  color: var(--maroon);
  font-weight: 700;
  padding: 0 10px;
  min-width: 80px;
  text-align: center;
  letter-spacing: 0.03em;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  #site-footer { padding-top: 40px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 30px;
  }
  .footer-col {
    text-align: center;
  }
  .footer-logo-wrap {
    justify-content: center;
  }
  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-links a,
  .footer-contact-item {
    justify-content: center;
  }
  .footer-social-row {
    justify-content: center;
  }
  .dev-avatar-3d { width: 110px; height: 110px; }
  .dev-core { width: 60px; height: 60px; font-size: 1.5rem; }
  .dev-name { font-size: 1.2rem; }

  .top-bottom-nav { right: 14px; bottom: 160px; }
  .tbn-btn { width: 46px; height: 46px; font-size: 0.8rem; }
  .quick-dock { right: 14px; bottom: 90px; }
  .dock-btn { width: 42px; height: 42px; font-size: 0.9rem; }
  .section-stepper {
    left: 14px;
    bottom: 16px;
    padding: 6px;
  }
  .step-btn { padding: 6px 10px; font-size: 0.65rem; }
  .step-label { font-size: 0.68rem; min-width: 65px; padding: 0 6px; }
}

@media (max-width: 480px) {
  .footer-brand-name { font-size: 1.1rem; }
  .footer-about { font-size: 0.8rem; }
  .dev-avatar-3d { width: 95px; height: 95px; }
  .dev-core { width: 52px; height: 52px; font-size: 1.3rem; }
  .dev-name { font-size: 1.1rem; }
  .dev-role { font-size: 0.7rem; }
  .copyright-bar p { font-size: 0.72rem; }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  .footer-bg-glow::before,
  .footer-bg-glow::after,
  .dev-ring,
  .dev-core,
  .dev-spark,
  .dev-name {
    animation: none !important;
    transition: none !important;
  }
}/* =========================================================
   DARK AMBIENT THEME + THEME TOGGLE BUTTON
   Brand Colors (extended dark shades allowed)
   ========================================================= */

/* ============ Ambient Dark Overlay for Quick Dock / Stepper ============ */
.quick-dock,
.section-stepper {
  background: linear-gradient(145deg, #1a0505, #0a0000);
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 25px rgba(212, 175, 55, 0.12);
}

.section-stepper {
  padding: 8px;
  border-radius: 50px;
}

.step-label {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  border-radius: 50px;
  padding: 4px 10px;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.dock-btn {
  background: linear-gradient(145deg, #2a0808, #1a0000);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.dock-btn:hover {
  background: var(--gold);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.7);
}

.step-btn {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
}
.step-btn:hover {
  background: var(--gold);
  color: #1a0000;
}

/* ============ 3D Modal — Dark ============ */
.agl-modal {
  background: rgba(10, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.agl-modal-content {
  background: linear-gradient(145deg, #2a0505, #1a0000);
  border: 2px solid var(--gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 175, 55, 0.25);
  color: var(--white);
}
.agl-modal-header {
  background: linear-gradient(90deg, #1a0000, #2a0505);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}
.agl-modal-body {
  color: rgba(255, 255, 255, 0.85);
}
.agl-modal-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.modal-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.modal-btn-secondary:hover {
  background: rgba(212, 175, 55, 0.2);
}
.modal-btn-primary {
  background: var(--gold);
  color: #1a0000;
  font-weight: 700;
}
.modal-btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* ============ Lightbox — Dark ============ */
.lightbox {
  background: rgba(5, 0, 0, 0.96);
  backdrop-filter: blur(10px);
}
.lightbox-img {
  border: 3px solid var(--gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(212, 175, 55, 0.3);
}
.lightbox-caption {
  background: linear-gradient(90deg, #1a0000, #2a0505);
  color: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  background: #1a0000;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.lightbox-close:hover {
  background: var(--gold);
  color: #1a0000;
}

/* =========================================================
   THEME TOGGLE BUTTON (Bottom Center)
   ========================================================= */
.theme-toggle-wrap {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8001;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: linear-gradient(145deg, #1a0000, #2a0505);
  border: 2px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.4);
}

.tt-track {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.5);
  display: inline-block;
  transition: all 0.4s ease;
}

.tt-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tt-label {
  color: var(--gold);
  transition: color 0.3s ease;
}

/* Dark Mode Active State (default = light theme) */
body.dark-mode .theme-toggle-btn {
  background: linear-gradient(145deg, #2a0505, #1a0000);
  border-color: var(--gold-light);
}

body.dark-mode .tt-track {
  background: rgba(34, 139, 34, 0.3);
  border-color: var(--green);
}

body.dark-mode .tt-thumb {
  transform: translateX(20px);
  background: linear-gradient(135deg, var(--green), #2ecc71);
}

body.dark-mode .tt-label {
  color: var(--gold-light);
}

/* =========================================================
   GLOBAL DARK MODE OVERRIDES
   ========================================================= */
body.dark-mode {
  background: #0d0303;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.4s ease, color 0.4s ease;
}

body.dark-mode .top-bar {
  background: linear-gradient(90deg, #0a0000, #1a0505);
  border-bottom-color: var(--gold);
}

body.dark-mode header#siteHeader {
  background: rgba(15, 3, 3, 0.92);
  border-bottom-color: var(--gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

body.dark-mode .navbar h1 {
  color: var(--gold);
}

body.dark-mode .nav-links > li > a {
  color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .nav-links > li > a:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

body.dark-mode .dropdown-content {
  background: #1a0505;
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

body.dark-mode .dropdown-content li a {
  color: rgba(255, 255, 255, 0.8);
}
body.dark-mode .dropdown-content li a:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}

body.dark-mode .section-head {
  color: var(--gold);
}

body.dark-mode .section-sub {
  color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .company-block,
body.dark-mode .company-block-simple,
body.dark-mode .company-info,
body.dark-mode .testimonials-section,
body.dark-mode .gallery-section,
body.dark-mode .faq-section,
body.dark-mode #privacy-policy,
body.dark-mode #contact-agl,
body.dark-mode #agl-shop,
body.dark-mode #asa-academy,
body.dark-mode #web-solution,
body.dark-mode .timeline-section {
  background: #0d0303 !important;
}

body.dark-mode .company-block {
  background: #1a0505;
  border-left-color: var(--gold);
}

body.dark-mode .company-block-title,
body.dark-mode .company-block-simple h4 {
  color: var(--gold);
}

body.dark-mode .company-block-text,
body.dark-mode .company-block-simple p {
  color: rgba(255, 255, 255, 0.75);
}

body.dark-mode .testimonial-inner {
  background: #1a0505;
  border-color: rgba(212, 175, 55, 0.4);
}

body.dark-mode .testimonial-text {
  color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .person-card-3d,
body.dark-mode .web-card-3d,
body.dark-mode .shop-card-3d,
body.dark-mode .contact-form-3d,
body.dark-mode .contact-info-card-3d,
body.dark-mode .faq-item-3d,
body.dark-mode .price-card,
body.dark-mode .privacy-card-3d {
  background: rgba(26, 5, 5, 0.85);
  border-color: rgba(212, 175, 55, 0.35);
  color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .faq-answer-3d p,
body.dark-mode .web-desc,
body.dark-mode .shop-card-text,
body.dark-mode .ci-content p,
body.dark-mode .privacy-text,
body.dark-mode .timeline-desc {
  color: rgba(255, 255, 255, 0.75);
}

body.dark-mode .faq-q-text,
body.dark-mode .timeline-title,
body.dark-mode .person-name,
body.dark-mode .shop-card-title,
body.dark-mode .web-header h3 {
  color: var(--gold-light);
}

body.dark-mode .newsletter-inner {
  background: rgba(26, 5, 5, 0.85);
}

body.dark-mode .footer-col h3 {
  color: var(--gold);
}

body.dark-mode .footer-links a {
  color: rgba(255, 255, 255, 0.8);
}
body.dark-mode .footer-links a:hover {
  color: var(--gold);
}

/* Ensure smooth transitions */
body,
body * {
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* Do not animate transforms or layout on theme toggle */
body.dark-mode .stat-icon,
body.dark-mode .web-icon,
body.dark-mode .shop-icon-wrap,
body.dark-mode .cf-icon-wrap {
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .theme-toggle-wrap {
    bottom: 78px;
    left: 14px;
    transform: none;
  }
  .theme-toggle-btn {
    padding: 6px 12px 6px 6px;
    font-size: 0.7rem;
  }
  .tt-track { width: 38px; height: 20px; }
  .tt-thumb { width: 14px; height: 14px; }
  body.dark-mode .tt-thumb { transform: translateX(18px); }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  .theme-toggle-btn,
  .tt-track,
  .tt-thumb,
  body,
  body * {
    transition: none !important;
  }
}/* =========================================================
   PREMIUM 3D LOGO CUSTOM CURSOR
   ========================================================= */

/* Hide default cursor on desktop */
@media (pointer: fine) {
  body, a, button, input, textarea, select, .nav-links a {
    cursor: none !important;
  }
}

.agl-cursor-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 999999;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The Logo Image */
.agl-cursor-logo-img {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%) scale(0.8);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  will-change: transform;
  animation: logoSpin 10s linear infinite;
}

.agl-cursor-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* The Central Dot (Precise Pointer) */
.agl-cursor-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--maroon-dark);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  z-index: 2;
  will-change: transform;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Animation */
@keyframes logoSpin {
  0% { transform: translate(-50%, -50%) scale(0.8) rotate(0deg); }
  100% { transform: translate(-50%, -50%) scale(0.8) rotate(360deg); }
}

/* Hovering over interactive elements */
.agl-cursor-logo.is-hovering .agl-cursor-logo-img {
  transform: translate(-50%, -50%) scale(1.2) rotate(0deg); /* Stops spin, scales up */
  box-shadow: 0 0 25px rgba(34, 139, 34, 0.8), 0 0 40px rgba(212, 175, 55, 0.5);
}
.agl-cursor-logo.is-hovering .agl-cursor-dot {
  background: var(--green);
  transform: translate(-50%, -50%) scale(1.5);
}

/* Clicking */
.agl-cursor-logo.is-clicking .agl-cursor-logo-img {
  transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
}
.agl-cursor-logo.is-clicking .agl-cursor-dot {
  transform: translate(-50%, -50%) scale(0.5);
}

/* Hidden initially */
.agl-cursor-logo.is-hidden {
  opacity: 0;
}

/* Hide on touch devices */
@media (pointer: coarse) {
  .agl-cursor-logo {
    display: none !important;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .agl-cursor-logo-img {
    animation: none !important;
    transform: translate(-50%, -50%) scale(0.8) !important;
  }
}/* =========================================================
   PREMIUM 3D FINANCIAL TRANSPARENCY SECTION
   Brand Colors: White, Maroon, Forest Green, Gold
   ========================================================= */

.financial-section {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.financial-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(212,175,55,0.06) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(34,139,34,0.06) 0%, transparent 40%);
  pointer-events: none;
}

/* Grid Layout */
.finance-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
  perspective: 1200px;
}

/* ============ Card Base ============ */
.finance-card-3d {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 32px 26px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(128, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

/* Top gold gradient bar */
.finance-card-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--green));
}

.finance-card-3d:hover {
  transform: translateY(-10px) rotateX(4deg) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 25px 60px rgba(128, 0, 0, 0.15), 0 0 30px rgba(212, 175, 55, 0.2);
}

/* Featured Card (Green Accent) */
.finance-card-3d.featured {
  background: linear-gradient(145deg, var(--maroon), var(--maroon-dark));
  border-color: var(--gold);
  color: var(--white);
}
.finance-card-3d.featured::before {
  background: linear-gradient(90deg, var(--gold), var(--green), var(--gold));
}
.finance-card-3d.featured .fc-title {
  color: var(--gold);
}

/* Glow Effect */
.fc-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.finance-card-3d:hover .fc-glow {
  opacity: 1;
}

/* Icon */
.fc-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.25);
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.finance-card-3d:hover .fc-icon-wrap {
  transform: scale(1.1) rotate(-8deg);
}

.finance-card-3d.featured .fc-icon-wrap {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* Title */
.fc-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--maroon);
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* List */
.fc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.fc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-dark);
  border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
  line-height: 1.5;
}

.fc-list li:last-child {
  border-bottom: none;
}

.fc-list li i {
  color: var(--green);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Featured Description */
.fc-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* Badge */
.fc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

.fc-badge i {
  color: var(--gold);
}

/* ============ Dark Mode Overrides ============ */
body.dark-mode .financial-section {
  background: #0d0303;
}
body.dark-mode .finance-card-3d {
  background: rgba(26, 5, 5, 0.92);
  border-color: rgba(212, 175, 55, 0.35);
}
body.dark-mode .finance-card-3d .fc-title {
  color: var(--gold-light);
}
body.dark-mode .finance-card-3d .fc-list li {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(212, 175, 55, 0.2);
}
body.dark-mode .finance-card-3d.featured .fc-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .finance-grid-3d {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .finance-card-3d {
    padding: 24px 20px;
    transform: none !important;
  }
  .fc-icon-wrap {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }
  .fc-title {
    font-size: 1.1rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .finance-card-3d,
  .fc-icon-wrap,
  .fc-glow {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}