/* ==========================================================================
   AVID PRIME GROUP OF SCHOOLS - ENTERPRISE LUXURY STYLESHEET
   Version: 7.0 (Spacious Grid & Clean Header Spacing)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (CSS VARIABLES)
   -------------------------------------------------------------------------- */
:root {
    --brand-primary-lightest: #E1F0FF;
    --brand-primary-light: #8DCFFF;
    --brand-primary: #5AB2FF; 
    --brand-primary-deep: #3A8DD8;
    --brand-primary-dark: #1A365D; 
    --brand-primary-ultradark: #0F203B;
    
    --brand-accent-light: #FFF080;
    --brand-accent: #FFD700; 
    --brand-accent-hover: #E6C200;
    --brand-accent-rich: #D4AF37; 
    --brand-accent-deep: #997A00;
    
    --white: #FFFFFF;
    --ivory-light: #FAFDFF;
    --ivory-deep: #F0F7FD;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    --text-dark: var(--gray-900);
    --text-muted: var(--gray-600);
    --text-light: var(--gray-400);

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    --shadow-xs: 0 2px 4px rgba(26, 54, 93, 0.04);
    --shadow-sm: 0 4px 10px rgba(26, 54, 93, 0.06), 0 1px 3px rgba(26, 54, 93, 0.1);
    --shadow-md: 0 15px 35px rgba(26, 54, 93, 0.08), 0 5px 15px rgba(26, 54, 93, 0.04);
    --shadow-lg: 0 30px 60px rgba(26, 54, 93, 0.12), 0 10px 20px rgba(26, 54, 93, 0.06);
    --shadow-xl: 0 40px 80px rgba(26, 54, 93, 0.15), 0 15px 30px rgba(26, 54, 93, 0.08);
    --shadow-glow: 0 0 25px rgba(90, 178, 255, 0.4);
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --easing-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
    --easing-smooth: cubic-bezier(0.25, 1, 0.5, 1);
    --easing-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--easing-standard);
    --transition-medium: 0.4s var(--easing-smooth);
    --transition-slow: 0.8s var(--easing-smooth);
    
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --z-negative: -1;
    --z-base: 1;
    --z-elevated: 10;
    --z-fixed: 1000;
    --z-modal: 2000;
    --z-loader: 9999;
}

/* --------------------------------------------------------------------------
   2. ENTERPRISE CSS RESET & NORMALIZE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body); color: var(--text-muted); line-height: 1.8;
    background-color: var(--white); overflow-x: hidden; position: relative;
    min-height: 100vh; display: flex; flex-direction: column;
}

main { flex: 1; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; border: none; background: none; outline: none; }
button { cursor: pointer; }
a { text-decoration: none; color: inherit; transition: all var(--transition-fast); }
ul, ol { list-style: none; }

/* --------------------------------------------------------------------------
   3. CUSTOM SCROLLBAR & SELECTION
   -------------------------------------------------------------------------- */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--brand-primary-light); border-radius: var(--radius-full); border: 3px solid var(--gray-100); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-primary); }
::selection { background: var(--brand-accent); color: var(--brand-primary-dark); }
::-moz-selection { background: var(--brand-accent); color: var(--brand-primary-dark); }

/* --------------------------------------------------------------------------
   4. FLUID TYPOGRAPHY SYSTEM
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .serif-title { font-family: var(--font-heading); font-weight: 600; color: var(--text-dark); margin-bottom: 0.5em; }

h1 { font-size: clamp(3rem, 7vw + 1rem, 5.5rem); line-height: 1.1; color: var(--white); text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); letter-spacing: -1px; }
h2 { font-size: clamp(2.5rem, 5vw + 1rem, 4.2rem); line-height: 1.2; letter-spacing: -0.5px; }
h3 { font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.2rem); line-height: 1.3; }
h4 { font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.5rem); }

p { font-size: clamp(1rem, 1.1vw, 1.15rem); font-weight: 400; margin-bottom: 1.5em; max-width: 75ch; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; color: var(--text-dark); }
em, i, .text-italic { font-style: italic; font-weight: 400; color: var(--brand-primary-dark); }

/* --------------------------------------------------------------------------
   5. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--brand-primary); }
.text-primary-dark { color: var(--brand-primary-dark); }
.text-accent { color: var(--brand-accent); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }

.bg-white { background-color: var(--white); }
.bg-ivory { background: linear-gradient(180deg, var(--white) 0%, var(--ivory-light) 50%, var(--ivory-deep) 100%); }
.bg-primary-dark { background-color: var(--brand-primary-dark); }
.bg-primary-gradient {
    background: linear-gradient(135deg, var(--brand-primary-deep) 0%, var(--brand-primary) 50%, var(--brand-primary-light) 100%);
    position: relative; overflow: hidden;
}

.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }

.text-accent-gradient {
    background: linear-gradient(135deg, var(--brand-accent-rich), var(--brand-accent), var(--brand-accent-glow));
    background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: shimmerText 5s linear infinite;
}

@keyframes shimmerText { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.subtitle-tracked {
    text-transform: uppercase; letter-spacing: 6px; font-size: 0.75rem; color: var(--brand-primary-deep);
    font-weight: 700; margin-bottom: 1rem; display: inline-block; position: relative;
}

.bg-primary-gradient .subtitle-tracked, .bg-primary-dark .subtitle-tracked { color: var(--brand-accent); -webkit-text-fill-color: var(--brand-accent); }

.divider-accent {
    width: 0px; height: 3px; background: linear-gradient(90deg, transparent, var(--brand-accent), transparent);
    margin: 1.5rem auto 2.5rem auto; border-radius: var(--radius-full); transition: width 1.5s var(--easing-smooth);
}
.reveal.active .divider-accent { width: 120px; }

/* --------------------------------------------------------------------------
   6. LAYOUT & GRID SYSTEMS
   -------------------------------------------------------------------------- */
.container { width: 88%; max-width: 1280px; margin: 0 auto; position: relative; }
.section-padding { padding: 8rem 0; position: relative; z-index: var(--z-base); }

/* Extra safe clearance for About section so sticky header never overlaps */
.about { padding-top: 12rem; }

.grid-2-col, .grid-4-col { display: grid; gap: 4rem; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }

@media(min-width: 768px) {
    .grid-2-col { grid-template-columns: 1fr 1fr; }
    .grid-4-col { grid-template-columns: repeat(2, 1fr); }
}

@media(min-width: 1024px) {
    .grid-4-col { grid-template-columns: repeat(4, 1fr); }
    .pl-2 { padding-left: 4rem; } .pr-2 { padding-right: 4rem; }
}

@media(max-width: 767px) {
    .order-2-mobile { order: 2; } .order-1-mobile { order: 1; }
    .section-padding { padding: 5rem 0; }
    .about { padding-top: 9rem; }
    .grid-2-col, .grid-4-col { gap: 3rem; }
}

/* --------------------------------------------------------------------------
   7. LOADER ANIMATION
   -------------------------------------------------------------------------- */
.loader-wrapper {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--ivory-light); display: flex; justify-content: center; align-items: center;
    z-index: var(--z-loader); transition: opacity 1s var(--easing-smooth), visibility 1s;
}

.loader-elegant { text-align: center; display: flex; flex-direction: column; align-items: center; }
.loader-logo-img { height: 120px; margin-bottom: 30px; animation: gentleFloat 3s ease-in-out infinite; filter: drop-shadow(0 10px 15px rgba(26,54,93,0.1)); }
.loader-line-container { width: 200px; height: 2px; background: var(--gray-200); border-radius: var(--radius-full); overflow: hidden; }
.loader-line { width: 0; height: 100%; background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-light)); animation: loadLine 1.5s var(--easing-smooth) forwards; }

@keyframes loadLine { 0% { width: 0; opacity: 0; } 100% { width: 100%; opacity: 1; } }
@keyframes gentleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --------------------------------------------------------------------------
   8. BUTTON SYSTEMS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; justify-content: center; align-items: center; padding: 1.2rem 3.5rem;
    font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px;
    border-radius: var(--radius-sm); border: none; cursor: pointer; position: relative; overflow: hidden; z-index: 1;
    transition: all var(--transition-medium); text-decoration: none;
}

.btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.2); transition: all var(--transition-medium); z-index: -1; transform: skewX(-15deg);
}

.btn:hover::before { left: 100%; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-deep)); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), var(--shadow-glow); }

.btn-accent { background: linear-gradient(135deg, var(--brand-accent-glow), var(--brand-accent)); color: var(--brand-primary-dark); box-shadow: var(--shadow-sm); }
.btn-accent:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), var(--shadow-gold); }

.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.5); backdrop-filter: blur(5px); }
.btn-outline:hover { background: var(--white); color: var(--brand-primary-dark); border-color: var(--white); transform: translateY(-4px); }

.btn-outline-dark { background: transparent; color: var(--brand-primary-dark); border: 1px solid var(--brand-primary-dark); }
.btn-outline-dark:hover { background: var(--brand-primary-dark); color: var(--brand-accent); transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-primary-dark); }

/* --------------------------------------------------------------------------
   9. GLASSMORPHISM NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; padding: 2rem 0; z-index: var(--z-fixed); transition: all var(--transition-slow); border-bottom: 1px solid transparent;
}

.navbar.scrolled { background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 1rem 0; border-bottom: 1px solid var(--glass-border); box-shadow: var(--shadow-md); }
.nav-container { width: 88%; max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 70px; width: auto; object-fit: contain; transition: all var(--transition-slow); filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); }
.navbar.scrolled .nav-logo { height: 55px; filter: none; }

.nav-menu { display: none; }
.nav-list { display: flex; list-style: none; gap: 3.5rem; align-items: center; }

.nav-link { color: var(--white); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; position: relative; padding: 0.5rem 0; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.navbar.scrolled .nav-link { color: var(--brand-primary-dark); text-shadow: none; font-weight: 600; }

.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-glow)); transition: width var(--transition-fast); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--brand-accent); }

.nav-btn { border: 1px solid rgba(255,255,255,0.6); color: var(--white); border-radius: 50px; padding: 0.8rem 2rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; transition: all var(--transition-fast); backdrop-filter: blur(5px); }
.navbar.scrolled .nav-btn { border-color: var(--brand-primary); color: var(--brand-primary); }
.nav-btn:hover { background: var(--brand-primary); color: var(--white); border-color: var(--brand-primary); transform: translateY(-2px); box-shadow: var(--shadow-glow); }

.hamburger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; z-index: var(--z-modal); }
.hamburger .bar { width: 30px; height: 2px; background: var(--white); transition: all var(--transition-fast); transform-origin: 1px; }
.navbar.scrolled .hamburger .bar { background: var(--brand-primary-dark); }

.hamburger.active .bar:nth-child(1) { transform: rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: rotate(-45deg); }

@media(max-width: 1023px) {
    .nav-menu.active {
        display: flex; position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--glass-bg); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
        flex-direction: column; padding: 3rem 0; box-shadow: var(--shadow-xl); border-top: 1px solid var(--glass-border);
        animation: slideDown 0.4s var(--easing-smooth) forwards;
    }
    .nav-menu.active .nav-list { flex-direction: column; gap: 2.5rem; }
    .nav-menu.active .nav-link { color: var(--brand-primary-dark); text-shadow: none; font-weight: 600; font-size: 1.1rem;}
    .nav-menu.active .nav-btn { color: var(--brand-primary-dark); border-color: var(--brand-primary-dark); }
}

@media(min-width: 1024px) { .nav-menu { display: block; } .hamburger { display: none; } }

/* --------------------------------------------------------------------------
   10. HERO SECTION & CINEMATIC SLIDER (SMOOTH ZOOM EFFECT)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: var(--z-negative);
    background: var(--brand-primary-ultradark);
    overflow: hidden;
}

.hero-bg-slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 10s linear;
    transform: scale(1);
    visibility: hidden;
    will-change: opacity, transform;
}

.hero-bg-slider .slide.active {
    opacity: 1;
    transform: scale(1.08);
    visibility: visible;
}

.hero-bg-slider .hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(15, 32, 59, 0.4) 0%, rgba(15, 32, 59, 0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    width: 88%;
    max-width: 1000px;
    color: var(--white);
    z-index: 2;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.6);
}

.badge {
    display: inline-block;
    padding: 0.6rem 2.5rem;
    border: 1px solid var(--brand-accent);
    border-radius: 50px;
    color: var(--brand-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 2.5rem;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.hero-content p {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--white);
    margin-top: 2rem;
    max-width: 800px;
    line-height: 2;
    font-weight: 400;
}

.center-actions { justify-content: center; display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 3rem;}

/* --------------------------------------------------------------------------
   11. LUXURY IMAGE FRAMES
   -------------------------------------------------------------------------- */
.image-showcase {
    position: relative;
    padding: 25px;
    perspective: 1000px;
}

.premium-img {
    width: 100%;
    height: auto;
    display: block;
    z-index: 2;
    position: relative;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    transition: all var(--transition-slow);
}

.img-frame {
    position: absolute;
    top: 0; right: 0;
    width: calc(100% - 50px);
    height: calc(100% - 50px);
    border: 2px solid var(--brand-accent);
    z-index: 1;
    border-radius: var(--radius-sm);
    transition: all var(--transition-slow);
}

.img-frame-left { right: auto; left: 0; }

.image-showcase:hover .premium-img {
    transform: rotateY(-2deg) rotateX(2deg) scale(1.02) translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.image-showcase:hover .img-frame {
    transform: translate(20px, 20px);
    border-color: var(--brand-primary);
    opacity: 0.5;
}

.image-showcase:hover .img-frame-left {
    transform: translate(-20px, 20px);
}

/* --------------------------------------------------------------------------
   12. ELEVATED ADMISSIONS TIMELINE
   -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0 auto;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px; top: 0;
    height: 100%; width: 2px;
    background: linear-gradient(180deg, var(--brand-accent) 0%, var(--brand-primary) 50%, rgba(90,178,255,0) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 5rem;
    transition: all var(--transition-medium);
}

.timeline-item:hover { transform: translateX(15px); }

.timeline-dot {
    position: absolute;
    left: -84px; top: 0;
    width: 50px; height: 50px;
    background: var(--white);
    color: var(--brand-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    border: 3px solid var(--brand-accent);
    font-size: 1.4rem;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    z-index: 2;
}

.timeline-item:hover .timeline-dot {
    background: var(--brand-primary);
    color: var(--white);
    transform: scale(1.15) rotate(360deg);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-glow);
}

.timeline-content {
    background: var(--white);
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
    border-left: 4px solid transparent;
}

.timeline-item:hover .timeline-content {
    border-left-color: var(--brand-accent);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    color: var(--brand-primary-dark);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

/* --------------------------------------------------------------------------
   13. CONTENT-SPECIFIC UI (SPACIOUS AVID PRIME GRID & CULTURE)
   -------------------------------------------------------------------------- */
.premium-card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--brand-primary);
    transition: all var(--transition-medium);
    height: 100%;
}
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* AVID PRIME IDENTITY GRID (SPACIOUS, UNCONGESTED, ALWAYS VISIBLE) */
.acronym-premium-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* Generous spacing between rows */
    margin-top: 4rem;
}

.acronym-word-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; /* Generous spacing between cards */
}

.acronym-card-static {
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 5px solid var(--brand-primary);
    padding: 2rem; /* Expanded internal padding to eliminate clutter */
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.acronym-card-static:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--brand-accent);
}

.acronym-letter {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-primary-dark);
    background: var(--ivory-deep);
    height: 75px;
    width: 75px;
    min-width: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-fast);
}

.acronym-card-static:hover .acronym-letter {
    background: var(--brand-primary-dark);
    color: var(--brand-accent);
    box-shadow: var(--shadow-glow);
}

.acronym-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
    white-space: normal;
}

/* Culture Section Orbs & Poetry */
.bg-primary-dark::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.poetry-block {
    border-left: 3px solid var(--brand-accent);
    padding-left: 2.5rem;
    margin-left: 1rem;
    position: relative;
    z-index: 1;
}

.pledge-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--ivory-light) 100%);
    padding: 4.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    position: relative;
    z-index: 1;
}

.pledge-card::after {
    content: '"';
    position: absolute;
    top: 10px; right: 30px;
    font-family: var(--font-heading);
    font-size: 8rem;
    color: rgba(90, 178, 255, 0.1);
    line-height: 1;
    z-index: -1;
}

/* Consult Section Tags & Grid */
.exam-tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.exam-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
    transition: all var(--transition-fast);
    cursor: default;
}

.exam-tag:hover {
    background: var(--brand-accent);
    color: var(--brand-primary-dark);
    border-color: var(--brand-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 1.1rem;
    border-left: 3px solid var(--brand-accent);
    text-align: left;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.15);
    padding-left: 2.5rem;
    box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   14. MINIMALIST PREMIUM FORMS
   -------------------------------------------------------------------------- */
.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-primary-dark);
    font-weight: 700;
}

.contact-list { list-style: none; }
.contact-list li { margin-bottom: 2.5rem; font-size: 1.3rem; color: var(--brand-primary); font-weight: 500;}

.contact-link {
    color: var(--brand-primary);
    transition: all var(--transition-fast);
    display: inline-block;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -5px; left: 0;
    background-color: var(--brand-accent);
    transition: all var(--transition-fast);
}

.contact-link:hover::after { width: 100%; }
.contact-link:hover { color: var(--brand-primary-dark); }

.premium-form {
    background: var(--white);
    padding: 4.5rem;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
    border-top: 5px solid var(--brand-primary);
}

.premium-form h3 {
    margin-bottom: 3rem;
    color: var(--brand-primary-dark);
    font-size: 2.2rem;
}

.input-group { margin-bottom: 3rem; position: relative;}

.input-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 2px solid var(--gray-200);
    background: transparent;
    font-family: inherit;
    font-size: 1.15rem;
    transition: all var(--transition-fast);
    color: var(--text-dark);
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-bottom-color: var(--brand-primary);
    box-shadow: 0 1px 0 var(--brand-primary);
}

/* --------------------------------------------------------------------------
   15. MAJESTIC FOOTER
   -------------------------------------------------------------------------- */
.footer {
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary-ultradark) 100%);
    color: var(--white);
    padding: 8rem 0 3rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--brand-primary-light));
}

.footer-logo-wrapper {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: all var(--transition-medium);
}

.footer-logo-wrapper:hover { transform: translateY(-5px); }
.footer-logo { max-height: 90px; display: block; filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.15)); }

.footer-text {
    color: var(--text-light);
    max-width: 280px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.footer-col h4 {
    color: var(--brand-accent);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1.2rem; }

.footer-col a {
    color: var(--text-light);
    font-size: 1rem;
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 0;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 10px;
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.footer-col a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--brand-accent);
    transition: all var(--transition-fast);
}

.footer-col a:hover::before { left: -5px; opacity: 1; }

.footer-newsletter {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 5px;
    transition: all var(--transition-fast);
}

.footer-newsletter:focus-within {
    border-color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(90, 178, 255, 0.2);
}

.footer-newsletter input {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 0.8rem 1rem;
    width: 100%;
    outline: none;
    font-family: inherit;
}

.footer-newsletter input::placeholder { color: rgba(255, 255, 255, 0.4); }

.footer-newsletter button {
    background: var(--brand-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    width: 45px; height: 45px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.footer-newsletter button:hover {
    background: var(--brand-accent);
    color: var(--brand-primary-dark);
    transform: translateX(-2px);
}

.footer-bottom {
    margin-top: 6rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   16. GLOBAL ANIMATIONS & KEYFRAMES
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s var(--easing-bounce);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.grid-2-col > *:nth-child(1) { transition-delay: 0.1s; }
.grid-2-col > *:nth-child(2) { transition-delay: 0.3s; }
.grid-4-col > *:nth-child(1) { transition-delay: 0.1s; }
.grid-4-col > *:nth-child(2) { transition-delay: 0.2s; }
.grid-4-col > *:nth-child(3) { transition-delay: 0.3s; }
.grid-4-col > *:nth-child(4) { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   17. ACCESSIBILITY & PREFERS-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;
    }
}
/* --- WhatsApp Contact Styling --- */
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    fill: #25D366; /* Official WhatsApp Green */
    transition: transform var(--transition-fast);
}

.whatsapp-link:hover .whatsapp-icon {
    transform: scale(1.1);
}

.whatsapp-link:hover {
    color: #25D366 !important;
}