/* 
    The Vineyard Christian CBO - Main Stylesheet
    Premium Glossy Design — 2026 Edition
    Fonts: Outfit (headings), Inter (body)
    Optimized for performance
*/

/* Remove duplicate font import - now loaded in header.php */

:root {
    /* Core palette */
    --primary-color:    #001428;      /* Deep Navy */
    --secondary-color:  #0050A0;      /* Royal Blue */
    --accent-color:     #B3142C;      /* Red */
    --gold:             #C9A84C;      /* Gold accent */
    --gold-light:       #F0D080;      /* Light Gold shimmer */

    /* Backgrounds */
    --light-bg:         #F4F7FC;
    --white:            #FFFFFF;
    --glass-bg:         rgba(255,255,255,0.12);
    --glass-border:     rgba(255,255,255,0.25);
    --dark-glass:       rgba(0,20,40,0.75);

    /* Text */
    --text-color:       #1A2A3A;
    --muted-text:       #5A7090;

    /* Status */
    --success:          #22C55E;
    --error:            #EF4444;

    /* Fonts */
    --font-heading:     'Outfit', sans-serif;
    --font-body:        'Inter', sans-serif;

    /* Shadows */
    --glow-blue:        0 0 30px rgba(0,80,160,0.25);
    --glow-gold:        0 0 20px rgba(201,168,76,0.35);
    --card-shadow:      0 8px 32px rgba(0,20,40,0.12);
    --hover-shadow:     0 20px 60px rgba(0,20,40,0.2);

    /* Radii */
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  24px;
    --radius-xl:  40px;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.25;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s, box-shadow 0.3s;
}
a:hover { color: var(--gold); }

.container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 4%;
}

/* ===================== HEADER ===================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,80,160,0.08);
    box-shadow: 0 4px 24px rgba(0,20,40,0.08);
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(0,20,40,0.96);
    border-bottom-color: rgba(201,168,76,0.2);
    box-shadow: 0 6px 30px rgba(0,0,0,0.3);
}

header.scrolled .logo a { color: #fff; }
header.scrolled .logo span { color: #fff; }
header.scrolled .nav-links li a { color: rgba(255,255,255,0.85); }
header.scrolled .nav-links li a:hover,
header.scrolled .nav-links li a.active { color: var(--gold); }
header.scrolled .nav-links li a::after { background: var(--gold); }
header.scrolled .hamburger,
header.scrolled .hamburger::before,
header.scrolled .hamburger::after { background: #fff; }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s;
}

.logo picture {
    display: block;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    aspect-ratio: 1;
    background: transparent;
}
.logo:hover img { transform: none; }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    position: relative;
    transition: color 0.3s ease, background 0.3s ease;
    font-size: 0.93rem;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-links li a.active,
.nav-links li a:hover { color: var(--secondary-color); }

.nav-links li a.active::after,
.nav-links li a:hover::after { transform: scaleX(1); }

/* Get Involved button */
.nav-links li a.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #0072D6);
    color: #fff !important;
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 4px 14px rgba(0,80,160,0.35);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.nav-links li a.btn-secondary::after { display: none; }
.nav-links li a.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}
.nav-links li a.btn-secondary:hover::before { left: 150%; }
.nav-links li a.btn-secondary:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,80,160,0.45);
}

/* Hamburger */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: background 0.3s ease;
}
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: transform 0.3s ease;
}
.hamburger::before { top: -8px; }
.hamburger::after  { bottom: -8px; }

.mobile-nav-toggle.active .hamburger { background: transparent; }
.mobile-nav-toggle.active .hamburger::before { transform: rotate(45deg) translate(5.6px, 5.6px); background: var(--gold); }
.mobile-nav-toggle.active .hamburger::after  { transform: rotate(-45deg) translate(5.6px, -5.6px); background: var(--gold); }

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    letter-spacing: 0.3px;
    will-change: transform;
}

/* Shimmer */
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.55s ease;
    pointer-events: none;
}
.btn:hover::before { left: 150%; }

.btn-primary {
    background: linear-gradient(135deg, #001428, #0050A0);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,80,160,0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #0050A0, #001428);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,80,160,0.45);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #0072D6);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,80,160,0.3);
}
.btn-secondary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,80,160,0.45);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #E8C060, var(--gold));
    color: var(--primary-color);
    box-shadow: var(--glow-gold);
    font-weight: 700;
}
.btn-gold:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201,168,76,0.55);
}

/* ===================== HERO SECTION ===================== */
.hero {
    position: relative;
    background: linear-gradient(145deg, #001428 0%, #002850 45%, #0050A0 100%),
                url('../img/hero-cover.jpg') center/cover no-repeat;
    background-blend-mode: multiply;
    color: var(--white);
    text-align: center;
    padding: 130px 20px 100px;
    overflow: hidden;
}

/* Animated gradient orbs in background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 60%, rgba(0,80,160,0.45) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 30%, rgba(201,168,76,0.2) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Glossy mesh shimmer */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

@keyframes heroGlow {
    0%   { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.05); }
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 36px;
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
}

/* ===================== PAGE HERO (Inner Pages) ===================== */
.page-hero {
    background: linear-gradient(145deg, #001020 0%, #001428 50%, #002050 100%);
    position: relative;
    overflow: hidden;
    padding: 90px 20px 70px;
    text-align: center;
    color: var(--white);
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 30% 50%, rgba(0,80,160,0.35), transparent),
        radial-gradient(ellipse 40% 50% at 75% 40%, rgba(201,168,76,0.12), transparent);
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold), var(--secondary-color), var(--gold), var(--primary-color));
    background-size: 200%;
    animation: shimmerBar 4s linear infinite;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 14px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease-out forwards;
}
.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.footer-brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-brand-lockup picture,
.footer-brand-lockup img {
    display: block;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
}

.footer-brand-lockup img {
    object-fit: contain;
}

.footer-brand-lockup h3 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .page-hero h1 { font-size: 2rem; }
    .page-hero { padding: 70px 20px 50px; }
}

/* ===================== SECTIONS ===================== */
.py-5 { padding-top: 5rem; padding-bottom: 5rem; }

section h2 {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0,80,160,0.12), rgba(201,168,76,0.12));
    border: 1px solid rgba(0,80,160,0.2);
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

/* ===================== CARDS (Glassmorphism) ===================== */
.glass-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

/* Program card image overlay gradient */
.card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.card-img-wrap img,
.card-img-wrap > div {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.glass-card:hover .card-img-wrap img,
.glass-card:hover .card-img-wrap > div { transform: scale(1.07); }

.card-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,20,40,0.5), transparent);
    pointer-events: none;
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.card-body p {
    font-size: 0.92rem;
    color: var(--muted-text);
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease, color 0.3s ease;
}
.card-link:hover { gap: 10px; color: var(--gold); }
.card-link::after { content: '→'; }

/* ===================== SCRIPTURE BAND ===================== */
.scripture-band {
    background: linear-gradient(135deg, #001428 0%, #002850 50%, #0050A0 100%);
    position: relative;
    overflow: hidden;
}
.scripture-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(201,168,76,0.15), transparent);
}
.scripture-band .container { position: relative; z-index: 1; }
.scripture-band h2 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    max-width: 800px;
    margin: 0 auto 16px;
    line-height: 1.5;
}
.scripture-band p {
    color: var(--gold-light);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

/* ===================== NEWS CARDS ===================== */
.news-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,80,160,0.1);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateX(6px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(0,80,160,0.25);
}
.news-card-img {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}
.news-card:hover .news-card-img { transform: scale(1.04); }
.news-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--primary-color); }
.news-card small { color: var(--gold); font-weight: 600; font-size: 0.8rem; display: block; margin-bottom: 8px; }
.news-card a { font-size: 0.88rem; font-weight: 600; color: var(--secondary-color); display: inline-flex; align-items: center; gap: 4px; }
.news-card a:hover { color: var(--gold); }

/* ===================== PARTNERS SECTION ===================== */
.partner-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(244,247,252,0.95));
    border: 1px solid rgba(0,80,160,0.12);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--card-shadow);
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.partner-card > * {
    position: relative;
    z-index: 1;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(201,168,76,0.04) 60deg, transparent 120deg);
    animation: rotateSlow 20s linear infinite;
    pointer-events: none;
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }

.partner-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 22px 30px;
    background: #ffffff;
    border: 1px solid rgba(201,168,76,0.28);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 34px rgba(0,20,40,0.14), inset 0 0 0 6px rgba(255,255,255,0.96);
    margin-bottom: 24px;
}

.partner-logo-wrap img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    filter: contrast(1.35) brightness(1.08);
}

/* ===================== SPONSOR PAGE ===================== */
.sponsor-wrapper {
    background: linear-gradient(160deg, #f0f4fb 0%, #e8f0fa 100%);
    padding: 70px 0;
    min-height: 60vh;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    background: linear-gradient(160deg, rgba(255,255,255,0.97) 0%, rgba(244,247,252,0.97) 100%);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,20,40,0.12);
    border: 1px solid rgba(0,80,160,0.1);
    position: relative;
    overflow: hidden;
}
.sponsor-grid::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--gold));
}

.sponsor-photo img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0,20,40,0.18);
    transition: transform 0.4s ease;
}
.sponsor-photo img:hover { transform: scale(1.02); }

.sponsor-why-box {
    margin-top: 30px;
    background: linear-gradient(135deg, #e8f5e9, #f1f8ff);
    padding: 28px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--secondary-color);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.sponsor-why-box h3 { color: #165B21; margin-bottom: 14px; font-size: 1.1rem; }
.sponsor-why-box ul { padding-left: 22px; line-height: 1.9; font-size: 0.92rem; color: #444; }
.sponsor-why-box ul li { margin-bottom: 4px; }

.sponsor-cta-box {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    padding: 34px;
    box-shadow: 
        0 12px 32px rgba(0, 80, 160, 0.12),
        inset 0 1px 0 rgba(255,255,255,1);
    position: relative;
    overflow: hidden;
}
.sponsor-cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--gold));
}
.sponsor-cta-box h2 { color: #003880; font-size: 1.3rem; margin-bottom: 12px; }
.sponsor-cta-box p { color: #444; font-size: 0.9rem; margin-bottom: 20px; }

.sponsor-cta-box .btn-main-cta {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(0,80,160,0.35);
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    font-family: var(--font-heading);
}
.sponsor-cta-box .btn-main-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.55s ease;
}
.sponsor-cta-box .btn-main-cta:hover::before { left: 150%; }
.sponsor-cta-box .btn-main-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,80,160,0.5);
}

/* ===================== FOOTER ===================== */
footer {
    background: linear-gradient(160deg, #001020 0%, #001428 60%, #002050 100%);
    color: var(--white);
    padding: 60px 0 24px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold), var(--secondary-color), var(--gold), var(--primary-color));
    background-size: 200%;
    animation: shimmerBar 4s linear infinite;
}
@keyframes shimmerBar { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(201,168,76,0.25);
    padding-bottom: 10px;
    display: block;
    margin-bottom: 16px;
    text-align: left;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.75);
    display: block;
    padding: 2px 0;
    font-size: 0.9rem;
    transition: color 0.3s, padding-left 0.3s;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 6px; }

.footer-logo-section p { color: rgba(255,255,255,0.65); font-size: 0.9rem; text-align: left; line-height: 1.7; }

.toggle-icon { display: none; float: right; font-size: 1.1rem; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
}

/* Newsletter */
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 0.88rem;
    transition: all 0.3s;
}
.newsletter-form input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.12); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form .btn {
    padding: 10px 16px;
    white-space: nowrap;
    font-size: 0.88rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--gold), #E8C060);
    color: var(--primary-color);
    font-weight: 700;
}
.newsletter-form .btn:hover { transform: translateY(-2px); box-shadow: var(--glow-gold); }

/* ===================== FORMS ===================== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #444; font-size: 0.92rem; }
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 80, 160, 0.15);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.02),
        0 4px 16px rgba(0, 80, 160, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.form-control::placeholder {
    color: rgba(0, 20, 40, 0.4);
}
.form-control:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 80, 160, 0.25);
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.02),
        0 6px 20px rgba(0, 80, 160, 0.08);
}
.form-control:focus {
    border-color: var(--secondary-color);
    background: #ffffff;
    outline: none;
    box-shadow: 
        0 0 0 4px rgba(0, 114, 214, 0.15),
        0 8px 24px rgba(0, 80, 160, 0.12);
    transform: translateY(-1px);
}

/* ===================== UTILITIES ===================== */
.text-center { text-align: center; }
.my-5 { margin-top: 3rem; margin-bottom: 3rem; }
.py-5 { padding-top: 4rem; padding-bottom: 4rem; }

/* Gradient dividers */
.grad-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,80,160,0.2), transparent);
    margin: 0;
    border: none;
}

/* ============================================================
   PREMIUM QUOTES & TEXT HIGHLIGHTS
   =========================================================== */
blockquote {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--secondary-color);
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    margin: 30px 0;
    background: rgba(201, 168, 76, 0.05);
    padding: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.enlarged-quote {
    display: inline-block;
    font-size: 1.15em;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-style: italic;
    font-weight: 600;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s;
    background: linear-gradient(120deg, rgba(201,168,76,0.15) 0%, rgba(201,168,76,0) 100%);
    padding: 2px 6px;
    border-radius: 6px;
    line-height: 1.3;
}
.enlarged-quote:hover {
    transform: scale(1.05) translateY(-2px);
    color: var(--primary-color);
    text-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

/* ===================== ANIMATIONS ===================== */
.reveal {
    position: relative;
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;
    will-change: opacity, transform;
}
.reveal.active { opacity: 1; transform: none !important; }

/* Direction-specific starting positions */
.fade-in    { transform: translateY(30px); }
.fade-up    { transform: translateY(40px); }
.fade-left  { transform: translateX(-50px); }
.fade-right { transform: translateX(50px); }

/* Hero animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(35px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero h1 { animation: fadeInUp 0.9s cubic-bezier(0.22,0.9,0.36,1) forwards; }
.hero p   { opacity: 0; animation: fadeInUp 0.9s cubic-bezier(0.22,0.9,0.36,1) 0.3s forwards; }
.hero .btn { opacity: 0; animation: fadeInUp 0.9s cubic-bezier(0.22,0.9,0.36,1) 0.55s forwards; }

.card-lift { transition: transform 0.35s ease, box-shadow 0.35s ease !important; will-change: transform; }
.card-lift:hover { transform: translateY(-10px); box-shadow: var(--hover-shadow) !important; }

/* Pulse glow for CTA */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.45); }
    50%       { box-shadow: 0 0 0 14px rgba(201,168,76,0); }
}
.pulse-glow { animation: pulseGlow 2.5s ease-in-out infinite; }

/* Float for accent elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}
.float-anim { animation: float 4s ease-in-out infinite; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1199px) {
    .mobile-nav-toggle { display: block; }

    .nav-links {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 16, 32, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transform: scale(1.05);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    .nav-active .nav-links { 
        opacity: 1; 
        visibility: visible; 
        transform: scale(1); 
    }
    .nav-links li {
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-active .nav-links li {
        transform: translateY(0);
        opacity: 1;
    }
    /* Staggered entrance for links */
    .nav-active .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-active .nav-links li:nth-child(2) { transition-delay: 0.15s; }
    .nav-active .nav-links li:nth-child(3) { transition-delay: 0.2s; }
    .nav-active .nav-links li:nth-child(4) { transition-delay: 0.25s; }
    .nav-active .nav-links li:nth-child(5) { transition-delay: 0.3s; }
    .nav-active .nav-links li:nth-child(6) { transition-delay: 0.35s; }
    .nav-active .nav-links li:nth-child(7) { transition-delay: 0.4s; }

    .nav-links li a { font-size: 1.4rem; font-weight: 500; color: rgba(255,255,255,0.9); }
    .nav-links li a::after { background: var(--gold); }
    .nav-links li a:hover, .nav-links li a.active { color: var(--gold); }
    body.no-scroll { overflow: hidden; }
}

@media (max-width: 768px) {
    .logo a { font-size: 1rem; }
    .logo picture,
    .logo img {
        width: 45px !important;
        height: 45px !important;
        flex-basis: 45px;
    }

    .hero h1 { font-size: 2.2rem; }
    .hero p  { font-size: 1rem; }

    section h2 { font-size: 1.7rem; }

    .footer-content { text-align: center; gap: 12px; }
    .footer-col h3 { text-align: center; }
    .footer-col { border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 10px; }
    .footer-col:last-child { border-bottom: none; }
    .footer-col h3.accordion-header { margin-bottom: 0; padding: 15px 0; cursor: pointer; border-bottom: none; display: flex; justify-content: space-between; align-items: center; }
    .toggle-icon { display: inline-block; }
    .accordion-content { display: none; padding-bottom: 20px; animation: fadeInAcc 0.3s ease; }
    .accordion-item.active .accordion-content { display: block; }
    @keyframes fadeInAcc { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
    .newsletter-form { flex-direction: column; max-width: 400px; margin-left: auto; margin-right: auto; }
    .newsletter-form button { width: 100%; }
    .footer-logo-section p { text-align: center; }
    .footer-brand-lockup { justify-content: center; }

    .sponsor-grid { padding: 28px 20px; gap: 30px; }
}

/* ===================== SITE-WIDE VISUAL REFINEMENT ===================== */
:root {
    --light-bg: #f6f8fb;
    --muted-text: #5b6b7d;
    --card-shadow: 0 6px 22px rgba(0, 20, 40, 0.07);
    --hover-shadow: 0 12px 32px rgba(0, 20, 40, 0.12);
    --radius-md: 12px;
    --radius-lg: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.65;
}

.container {
    max-width: 1320px;
    padding-right: clamp(18px, 4vw, 48px);
    padding-left: clamp(18px, 4vw, 48px);
}

header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 14px rgba(0, 20, 40, 0.07);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

header.scrolled {
    background: rgba(0, 20, 40, 0.98);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.navbar {
    min-height: 76px;
    gap: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.logo a {
    gap: 10px;
    font-size: 1rem;
}

.logo-name {
    max-width: 245px;
    font-size: 1rem;
    line-height: 1.25;
}

.admin-header .logo picture {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
}

.admin-header .logo img {
    width: 38px;
    height: 38px;
    border-radius: 0;
    object-fit: contain;
    filter: none;
    transition: none;
}

.admin-header .logo:hover img {
    transform: none;
}

.nav-links {
    gap: 2px;
}

.nav-links li a {
    padding: 0.45rem 0.65rem;
    font-size: 0.9rem;
}

.nav-links li a.btn-secondary {
    padding: 0.55rem 1rem;
}

.hero {
    padding-top: clamp(84px, 9vw, 124px);
    padding-bottom: clamp(72px, 8vw, 104px);
}

.hero h1,
.page-hero h1 {
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.hero p,
.page-hero p {
    text-wrap: pretty;
}

.page-hero {
    padding-top: clamp(60px, 7vw, 88px);
    padding-bottom: clamp(50px, 6vw, 72px);
}

.page-hero::after,
footer::before {
    animation: none;
}

.glass-card {
    background: #fff;
    border: 1px solid rgba(0, 20, 40, 0.07);
    box-shadow: var(--card-shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    will-change: auto;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.news-card,
.partner-card,
.sponsor-grid,
.sponsor-cta-box {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.news-card {
    background: #fff;
    border-color: rgba(0, 20, 40, 0.08);
}

.btn {
    min-height: 44px;
    will-change: auto;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(0, 80, 160, 0.45);
    outline-offset: 3px;
}

.form-control {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.form-control:hover {
    box-shadow: 0 2px 8px rgba(0, 80, 160, 0.06);
}

.form-control:focus {
    transform: none;
    box-shadow: 0 0 0 3px rgba(0, 80, 160, 0.14);
}

.reveal,
.reveal.active,
.fade-in,
.fade-up,
.fade-left,
.fade-right {
    position: relative;
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
}

.hero::before,
.partner-card::before,
.pulse-glow,
.float-anim,
.hero h1,
.hero p,
.hero .btn,
.page-hero h1,
.page-hero p {
    animation: none;
}

.hero p,
.hero .btn,
.page-hero p {
    opacity: 1;
}

footer {
    margin-top: clamp(36px, 5vw, 60px);
    padding-top: 52px;
}

@media (max-width: 1199px) {
    .navbar {
        min-height: 70px;
    }

    .nav-links {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .hero {
        padding: 72px 0 64px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.6rem);
        line-height: 1.12;
    }

    .page-hero {
        padding: 58px 0 42px;
    }

    .page-hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.3rem);
    }

    .py-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .glass-card > div[style*="padding: 20px 60px"] {
        padding: 14px 18px 0 !important;
        justify-content: center !important;
    }

    .glass-card > div[style*="padding: 50px 60px"] {
        padding: 28px 20px !important;
    }

    .glass-card > div[style*="padding: 40px;"] {
        padding: 26px 20px !important;
    }

    .partner-card {
        padding: 32px 22px;
    }

    .sponsor-grid {
        padding: 26px 18px;
        gap: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
