/* =============================================
   نادي صحة الأسنان - التصميم الاحترافي v3
   Dental Health Club - Premium Design
   ============================================= */

/* ── LOCAL FONTS ── */
@font-face {
    font-family: 'TheYear';
    src: url('../../fonts/theyear-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TheYear';
    src: url('../../fonts/theyear-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zain';
    src: url('../../fonts/zain-long300.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Body font from Google */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
    /* Brand Colors */
    --white: #FFFFFF;
    --snow: #F8FAFD;
    --ice: #EEF3F9;
    --cream: #FAFBFE;

    --primary-50: #EBF5FF;
    --primary-100: #CCE5FF;
    --primary-200: #99CBFF;
    --primary-300: #5DA8E6;
    --primary: #0077B6;
    --primary-600: #005F94;
    --primary-700: #004A75;
    --primary-800: #003557;
    --primary-900: #001D33;

    --accent: #00B4D8;
    --accent-light: #90E0EF;
    --accent-ultra: #CAF0F8;

    --gold: #C9A84C;
    --gold-light: #F5EACD;
    --gold-dark: #9D7E2F;

    /* Text */
    --text-dark: #0F172A;
    --text-primary: #1E293B;
    --text-body: #475569;
    --text-muted: #94A3B8;
    --text-light: #CBD5E1;

    /* Borders & Backgrounds */
    --border: #E2E8F0;
    --border-light: #F1F5F9;

    /* Status */
    --success: #059669;
    --success-bg: #ECFDF5;
    --error: #DC2626;
    --error-bg: #FEF2F2;

    /* Fonts */
    --font-heading: 'Zain', sans-serif;
    --font-body: 'TheYear', 'IBM Plex Sans Arabic', sans-serif;

    /* Layout */
    --section-py: 120px;
    --container-max: 1180px;
    --nav-height: 72px;

    /* Radius */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,20,50,0.03);
    --shadow-sm: 0 2px 8px rgba(0,20,50,0.04);
    --shadow-md: 0 4px 24px rgba(0,20,50,0.06);
    --shadow-lg: 0 12px 48px rgba(0,20,50,0.08);
    --shadow-xl: 0 24px 60px rgba(0,20,50,0.10);
    --shadow-primary: 0 8px 32px rgba(0, 119, 182, 0.2);
    --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.18);

    /* Easings */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --dur: 0.35s;
    --dur-slow: 0.6s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--white);
    direction: rtl;
    text-align: right;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; transition: var(--dur) var(--ease-smooth); }
ul, ol { list-style:none; }
button { cursor:pointer; font-family:var(--font-body); }

/* ── LAYOUT ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-dark);
}

/* Display font for hero - main Zain heading */
.display-title {
    font-family: var(--font-heading) !important;
    font-weight: 400;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.3rem); }

p { font-size: 1rem; line-height: 1.85; color: var(--text-body); }

/* ── SECTION ── */
.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section--alt { background: var(--snow); }
.section--cream { background: var(--cream); }

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-eyebrow {
    display: none;
}

.section-eyebrow svg { width:16px; height:16px; stroke-width:2; }

.section-header h2 {
    margin-bottom: 14px;
    color: var(--primary-800);
}

.section-header p {
    max-width: 520px;
    margin: 0 auto;
    font-size: 1.02rem;
    color: var(--text-muted);
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--dur) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn svg, .btn i { width:18px; height:18px; flex-shrink:0; }

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}
.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,119,182,0.28);
    filter: brightness(1.08);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary-100);
}
.btn--outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.btn--white {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}
.btn--white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn--ghost {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(12px);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.btn--lg { padding:17px 40px; font-size:0.95rem; }
.btn--sm { padding:10px 22px; font-size:0.82rem; }
.btn--block { width:100%; }

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all var(--dur) var(--ease-smooth);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    backdrop-filter: blur(0);
    transition: all var(--dur) var(--ease-smooth);
    z-index: -1;
}

.navbar.scrolled::before {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(24px) saturate(1.6);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 1px 12px rgba(0,0,0,0.03);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand .brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    transition: all var(--dur) var(--ease-spring);
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.navbar.scrolled .brand-logo {
    filter: none;
}

.navbar-brand:hover .brand-logo { transform: rotate(-8deg) scale(1.05); }

.navbar-brand .brand-text {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--white);
    transition: var(--dur);
}

.navbar.scrolled .brand-text { color: var(--text-dark); }

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.navbar-links a {
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--white);
    transition: var(--dur);
}

.navbar.scrolled .navbar-links a { color: var(--text-body); }

.navbar-links a:not(.nav-cta):hover,
.navbar-links a:not(.nav-cta).active {
    background: rgba(255,255,255,0.12);
    color: var(--white);
}

.navbar.scrolled .navbar-links a:not(.nav-cta):hover,
.navbar.scrolled .navbar-links a:not(.nav-cta).active {
    background: var(--primary-50);
    color: var(--primary);
}

.navbar .nav-cta {
    padding: 9px 20px;
    background: rgba(255,255,255,0.18);
    color: var(--white);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.84rem;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--dur);
}

.navbar.scrolled .nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-700));
    color: #FFFFFF !important;
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}
.navbar.scrolled .nav-cta svg { stroke: #FFFFFF !important; }

.navbar .nav-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}
.navbar .nav-cta i,
.navbar .nav-cta svg { width:15px; height:15px; stroke-width:2; color:inherit; stroke: currentColor; }

/* Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--dur) var(--ease-out);
    display: block;
}

.navbar.scrolled .menu-toggle span { background: var(--text-dark); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-overlay {
    display:none; position:fixed; inset:0;
    background: rgba(15,23,42,0.35);
    backdrop-filter: blur(4px);
    z-index:999; opacity:0; transition: opacity var(--dur);
}
.mobile-overlay.show { display:block; opacity:1; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 100% 80% at 30% 100%, rgba(0,180,216,0.35) 0%, transparent 50%),
        radial-gradient(ellipse 80% 100% at 70% 0%, rgba(144,224,239,0.18) 0%, transparent 50%),
        linear-gradient(165deg, #001D33 0%, var(--primary-800) 30%, var(--primary) 65%, var(--accent) 100%);
}

/* Grain texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: 1;
    pointer-events: none;
}

/* Bottom wave */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,60 C300,120 600,0 900,60 C1200,120 1440,40 1440,40 L1440,120 L0,120 Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    z-index: 2;
}

.hero-particles {
    position: absolute; inset: 0; z-index: 1; overflow: hidden;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s var(--ease-out) both;
}

.hero-badge svg { width:18px; height:18px; stroke:#FFD700; color:#FFD700; stroke-width:2; }

.hero h1 {
    color: var(--white);
    margin-bottom: 22px;
    animation: fadeInUp 0.8s var(--ease-out) 0.15s both;
    text-shadow: 0 2px 30px rgba(0,0,0,0.12);
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.95;
    color: rgba(255,255,255,0.95);
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 0.45s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: fadeIn 1s var(--ease-out) 1.2s both;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.scroll-mouse {
    width: 22px; height: 36px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 11px;
    position: relative;
}

.scroll-mouse::after {
    content: '';
    width: 3px; height: 7px;
    background: rgba(255,255,255,0.45);
    border-radius: 2px;
    position: absolute;
    top: 7px; left:50%; transform:translateX(-50%);
    animation: scrollPulse 2s var(--ease-out) infinite;
}

@keyframes scrollPulse {
    0%,100% { opacity:1; transform:translateX(-50%) translateY(0); }
    50% { opacity:0.2; transform:translateX(-50%) translateY(12px); }
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about-content {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.about-icon-wrap {
    width: 84px; height: 84px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, var(--primary-50), var(--accent-ultra));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 0 6px rgba(0,119,182,0.04);
}

.about-icon-wrap svg { width:36px; height:36px; stroke:var(--primary); color:var(--primary); stroke-width:1.5; }

.about-content p {
    font-size: 1.06rem;
    line-height: 2;
    color: var(--text-body);
}

/* ═══════════════════════════════════════════
   VMG CARDS
   ═══════════════════════════════════════════ */
.vmg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.vmg-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px 30px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--dur-slow) var(--ease-out);
    cursor: default;
}

.vmg-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 4px;
    opacity: 0;
    transition: opacity var(--dur-slow) var(--ease-out);
}

.vmg-card--vision::before {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.vmg-card--mission::before {
    background: linear-gradient(90deg, var(--success), #34D399);
}
.vmg-card--goals::before {
    background: linear-gradient(90deg, var(--gold), #FBBF24);
}

.vmg-card:hover::before { opacity: 1; }

.vmg-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.vmg-card-icon {
    width: 68px; height: 68px;
    margin: 0 auto 22px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur) var(--ease-spring);
    position: relative;
    z-index: 1;
}

.vmg-card:hover .vmg-card-icon { transform: scale(1.1) rotate(-5deg); }

.vmg-card-icon i { width:30px; height:30px; stroke-width:1.5; }

.vmg-card--vision .vmg-card-icon {
    background: linear-gradient(135deg, var(--primary-50), var(--accent-ultra));
}
.vmg-card--vision .vmg-card-icon i { color: var(--primary); }

.vmg-card--mission .vmg-card-icon {
    background: linear-gradient(135deg, var(--success-bg), rgba(52,211,153,0.08));
}
.vmg-card--mission .vmg-card-icon i { color: var(--success); }

.vmg-card--goals .vmg-card-icon {
    background: linear-gradient(135deg, var(--gold-light), rgba(251,191,36,0.06));
}
.vmg-card--goals .vmg-card-icon i { color: var(--gold-dark); }

.vmg-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 14px;
    font-size: 1.2rem;
    font-weight: 700;
}

.vmg-card p { font-size:0.92rem; line-height:1.9; }

.goals-list { text-align: right; }
.goals-list li {
    padding: 7px 0;
    padding-right: 26px;
    position: relative;
    font-size: 0.87rem;
    color: var(--text-body);
    line-height: 1.75;
}
.goals-list li::before {
    content: '';
    position: absolute;
    right: 4px; top: 16px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    box-shadow: 0 0 0 3px var(--gold-light);
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 22px 32px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--dur-slow) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-100);
}

.service-icon {
    width: 62px; height: 62px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-50), var(--accent-ultra));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur) var(--ease-spring);
    position: relative;
    z-index: 1;
}

.service-icon svg { width:26px; height:26px; stroke:var(--primary); color:var(--primary); stroke-width:1.5; }

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-700));
    transform: scale(1.08) rotate(-5deg);
    box-shadow: var(--shadow-primary);
    color: #FFFFFF;
}
.service-card:hover .service-icon i,
.service-card:hover .service-icon svg { color: #FFFFFF !important; stroke: #FFFFFF !important; }

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.service-card p { font-size:0.86rem; line-height:1.75; color:var(--text-muted); }

/* ═══════════════════════════════════════════
   ACHIEVEMENTS
   ═══════════════════════════════════════════ */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.achievement-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid var(--border-light);
    transition: all var(--dur) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.achievement-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 3px; height: 0;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    transition: height var(--dur-slow) var(--ease-out);
}

.achievement-card:hover::after { height: 100%; }

.achievement-card:hover {
    transform: translateX(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201,168,76,0.15);
}

.ach-icon {
    flex-shrink: 0;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--gold-light), rgba(251,191,36,0.06));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur) var(--ease-spring);
}

.ach-icon svg { width:22px; height:22px; stroke:var(--gold-dark); color:var(--gold-dark); stroke-width:1.5; }

.achievement-card:hover .ach-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    transform: scale(1.05) rotate(-4deg);
    box-shadow: var(--shadow-gold);
    color: #FFFFFF;
}
.achievement-card:hover .ach-icon i,
.achievement-card:hover .ach-icon svg { color: #FFFFFF !important; stroke: #FFFFFF !important; }

.ach-content h3 { font-family:var(--font-heading); font-size:0.98rem; font-weight:700; margin-bottom:6px; }
.ach-content p { font-size:0.85rem; line-height:1.7; color:var(--text-muted); }

/* ═══════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════ */
.stats-section {
    background:
        radial-gradient(ellipse 60% 60% at 10% 90%, rgba(0,180,216,0.2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 85% 10%, rgba(144,224,239,0.1) 0%, transparent 50%),
        linear-gradient(165deg, var(--primary-900) 0%, var(--primary-800) 40%, var(--primary) 100%);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.stats-section .section-header h2 {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: white;
}
.stats-section .section-header p { color: rgba(255,255,255,0.85); }
.stats-section .section-eyebrow {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-color: rgba(255,255,255,0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    text-align: center;
    padding: 30px 14px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    transition: all var(--dur) var(--ease-out);
}

.stat-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.2);
}

.stat-icon {
    width: 46px; height: 46px;
    margin: 0 auto 14px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg { width:22px; height:22px; stroke:var(--white) !important; color:var(--white) !important; }
.stat-icon i.fa-brands { font-size:20px; color:var(--white) !important; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--white);
    display: block;
    margin-bottom: 6px;
    direction: ltr;
}

.stat-prefix { font-size:1.1rem; opacity:0.7; }
.stat-label { font-size:0.83rem; color:rgba(255,255,255,0.8); font-weight:500; }

/* ═══════════════════════════════════════════
   EVENTS
   ═══════════════════════════════════════════ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--dur-slow) var(--ease-out);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.event-card-image {
    width: 100%; height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-50), var(--ice));
}

.event-card-image img {
    width:100%; height:100%; object-fit:cover;
    transition: transform var(--dur-slow) var(--ease-out);
}
.event-card:hover .event-card-image img { transform:scale(1.05); }

.event-card-date {
    position: absolute; top:12px; left:12px;
    background: var(--white);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 5px;
}
.event-card-date i { width:13px; height:13px; stroke-width:2; }

.event-card-body { padding: 22px; }
.event-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    margin-bottom: 10px;
    line-height: 1.5;
    font-weight: 700;
}
.event-card-body p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-muted);
}

.event-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary);
}
.event-card-link i { width:15px; height:15px; transition: transform var(--dur); stroke-width:2; }
.event-card-link:hover i { transform: translateX(-4px); }

.events-more { text-align: center; margin-top: 52px; }

.event-placeholder {
    width:100%; height:100%;
    display:flex; align-items:center; justify-content:center;
    background: linear-gradient(135deg, var(--primary-50), var(--ice));
}
.event-placeholder svg { width:44px; height:44px; stroke:var(--primary-200); color:var(--primary-200); stroke-width:1; }

/* ═══════════════════════════════════════════
   STRUCTURE
   ═══════════════════════════════════════════ */
.structure-content { max-width:900px; margin:0 auto; }
.structure-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

/* ═══════════════════════════════════════════
   PARTNERS
   ═══════════════════════════════════════════ */
.partners-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.partner-card {
    flex-shrink: 0;
    width: 220px;
    height: 130px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 30px;
    transition: all var(--dur) var(--ease-out);
    cursor: default;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-100);
}

.partner-card img {
    max-width: 100%;
    max-height: 85px;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.9;
    transition: all var(--dur) var(--ease-out);
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ═══════════════════════════════════════════
   JOIN CTA
   ═══════════════════════════════════════════ */
.join-section {
    background:
        radial-gradient(ellipse 50% 60% at 20% 80%, rgba(0,180,216,0.25), transparent 50%),
        linear-gradient(165deg, var(--primary-900), var(--primary-800), var(--primary), var(--accent));
    position: relative;
    overflow: hidden;
    padding: 130px 0;
}

.join-section::before {
    content: '';
    position: absolute;
    top: -2px; left: 0; right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,50 C360,120 1080,0 1440,50 L1440,0 L0,0 Z' fill='%23F8FAFD'/%3E%3C/svg%3E") no-repeat top;
    background-size: cover;
    z-index: 1;
}

.join-content { text-align:center; position:relative; z-index:2; }
.join-content h2 {
    color:var(--white);
    margin-bottom:16px;
    background:none;
    -webkit-text-fill-color:white;
}
.join-content p { color:rgba(255,255,255,0.92); font-size:1.06rem; max-width:540px; margin:0 auto 44px; }
.join-actions { display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; }

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact-content { text-align:center; }

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-50), var(--accent-ultra));
    border-radius: var(--radius-lg);
    margin-bottom: 36px;
    transition: var(--dur);
    border: 1px solid rgba(0,119,182,0.06);
}

.contact-email:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--primary-100); }
.contact-email svg { width:20px; height:20px; stroke:var(--primary); color:var(--primary); stroke-width:1.8; }
.contact-email span { font-size:0.95rem; font-weight:600; color:var(--primary); direction:ltr; }

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    transition: all var(--dur) var(--ease-out);
}

.social-link i { width:18px; height:18px; stroke-width:1.8; }
.social-link .fa-brands { font-size: 1.1rem; }

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--primary-50);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
    background: #0C1222;
    color: rgba(255,255,255,0.7);
    padding: 72px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 52px;
    margin-bottom: 44px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.footer-club-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.footer-ksu-logo {
    height: 40px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity var(--dur);
}

.footer-ksu-logo:hover { opacity: 1; }

.footer-brand p { font-size:0.86rem; line-height:1.85; color:rgba(255,255,255,0.6); }

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.footer-social a {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur) var(--ease-out);
}
.footer-social a i { width:16px; height:16px; color:rgba(255,255,255,0.65); stroke-width:1.8; }
.footer-social a .fa-brands { font-size: 0.95rem; color: rgba(255,255,255,0.65); }
.footer-social a:hover { background:var(--primary); transform:translateY(-3px); }
.footer-social a:hover i { color:white; }

.footer h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 0.92rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-links li { margin-bottom: 9px; }
.footer-links a {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.6);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a svg { width:13px; height:13px; stroke-width:2; }
.footer-links a:hover { color:var(--white); transform:translateX(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form-container {
    max-width: 660px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 52px 44px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border-light);
}

.form-section-title .icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary-50), var(--accent-ultra));
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-section-title .icon svg { width:20px; height:20px; stroke:var(--primary); color:var(--primary); stroke-width:1.5; }

.form-section-title h3 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--text-primary);
}
.form-group label .required { color:var(--error); margin-right:3px; }

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-primary);
    background: var(--white);
    transition: all var(--dur) var(--ease-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0,119,182,0.06);
}
.form-control::placeholder { color:var(--text-light); }

textarea.form-control { min-height:120px; resize:vertical; }

select.form-control {
    cursor:pointer;
    appearance:none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

.form-check-group { display:flex; gap:10px; flex-wrap:wrap; }

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--dur);
    font-size: 0.88rem;
    flex: 1;
    min-width: fit-content;
}

.form-check:hover { border-color:var(--primary-200); background:var(--primary-50); }

.form-check input[type="radio"],
.form-check input[type="checkbox"] {
    accent-color: var(--primary);
    width:17px; height:17px;
    cursor:pointer;
}

.form-check:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-50);
}
.form-check:has(input:checked) span { color:var(--primary); font-weight:600; }

.agreement-group {
    background: var(--snow);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin: 28px 0;
}
.agreement-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.86rem;
    color: var(--text-body);
    line-height: 1.7;
}
.agreement-item:last-child { margin-bottom:0; }
.agreement-item input[type="checkbox"] {
    accent-color:var(--primary);
    width:17px; height:17px;
    margin-top:3px;
    flex-shrink:0;
    cursor:pointer;
}

.file-upload {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all var(--dur);
    background: var(--cream);
}
.file-upload:hover { border-color:var(--primary); background:var(--primary-50); }
.file-upload input[type="file"] { position:absolute; inset:0; opacity:0; cursor:pointer; }
.file-upload-icon { margin-bottom:10px; }
.file-upload-icon svg { width:32px; height:32px; stroke:var(--primary-300); color:var(--primary-300); margin:0 auto; display:block; stroke-width:1.5; }
.file-upload p { font-size:0.84rem; color:var(--text-muted); }
.file-upload .file-name { margin-top:8px; font-weight:600; color:var(--primary); font-size:0.86rem; }

.form-note {
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-50), var(--accent-ultra));
    border-radius: var(--radius);
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.form-note svg { width:16px; height:16px; stroke:var(--primary); color:var(--primary); flex-shrink:0; stroke-width:1.8; }
.form-note p { font-size:0.84rem; color:var(--primary-700); font-weight:500; }

/* Success */
.success-message { display:none; text-align:center; padding:52px 24px; }
.success-message.show { display:block; animation: fadeInUp 0.5s var(--ease-out); }

.success-icon-wrap {
    width: 84px; height: 84px;
    margin: 0 auto 28px;
    background: var(--success-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.5s var(--ease-spring);
}
.success-icon-wrap svg { width:38px; height:38px; stroke:var(--success); color:var(--success); stroke-width:1.5; }
@keyframes successPop { 0%{transform:scale(0)} 100%{transform:scale(1)} }

.success-message h3 { font-family:var(--font-heading); font-size:1.3rem; margin-bottom:12px; color:var(--success); }
.success-message p { max-width:380px; margin:0 auto; }

/* ═══════════════════════════════════════════
   PAGES
   ═══════════════════════════════════════════ */
.page-header {
    padding: 140px 0 64px;
    background:
        radial-gradient(ellipse 60% 50% at 30% 70%, rgba(0,180,216,0.15), transparent 50%),
        linear-gradient(165deg, var(--primary-900), var(--primary-800), var(--primary));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 70px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 70' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,35 C480,70 960,10 1440,35 L1440,70 L0,70 Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.page-header h1 { color:var(--white); margin-bottom:10px; position:relative; z-index:1; animation: fadeInUp 0.6s var(--ease-out); }
.page-header p { color:rgba(255,255,255,0.9); font-size:1.02rem; position:relative; z-index:1; animation: fadeInUp 0.6s var(--ease-out) 0.1s both; }

.events-page-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; padding:72px 0; }

.no-events { grid-column:1/-1; text-align:center; padding:80px 20px; color:var(--text-muted); }
.no-events svg { width:56px; height:56px; margin:0 auto 18px; stroke:var(--text-light); color:var(--text-light); display:block; stroke-width:1; }

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(28px); }
    to { opacity:1; transform:translateY(0); }
}
@keyframes fadeInDown {
    from { opacity:0; transform:translateY(-20px); }
    to { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity:1; transform:translateY(0); }

.reveal-delay-1 { transition-delay:0.07s; }
.reveal-delay-2 { transition-delay:0.14s; }
.reveal-delay-3 { transition-delay:0.21s; }
.reveal-delay-4 { transition-delay:0.28s; }

.reveal-left {
    opacity:0; transform:translateX(36px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left.visible { opacity:1; transform:translateX(0); }

.reveal-scale {
    opacity:0; transform:scale(0.93);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-scale.visible { opacity:1; transform:scale(1); }

/* ═══════════════════════════════════════════
   UTILS
   ═══════════════════════════════════════════ */
.spinner {
    width:24px; height:24px;
    border:3px solid var(--border);
    border-top-color:var(--primary);
    border-radius:50%;
    animation: spin 0.7s linear infinite;
    margin:0 auto;
}
@keyframes spin { to { transform:rotate(360deg); } }

.toast-container {
    position:fixed; top:24px; left:24px; z-index:9999;
    display:flex; flex-direction:column; gap:12px;
}
.toast {
    padding:14px 22px;
    border-radius:var(--radius);
    font-size:0.86rem;
    font-weight:500;
    color:var(--white);
    box-shadow:var(--shadow-lg);
    display:flex;
    align-items:center;
    gap:10px;
    animation: slideInL 0.4s var(--ease-out);
    min-width:260px;
}
.toast--success { background:var(--success); }
.toast--error { background:var(--error); }
@keyframes slideInL { from{transform:translateX(-100%);opacity:0} to{transform:translateX(0);opacity:1} }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width:1024px) {
    .vmg-grid { grid-template-columns:1fr; gap:18px; }
    .services-grid { grid-template-columns:repeat(2,1fr); }
    .stats-grid { grid-template-columns:repeat(2,1fr); }
    .events-grid, .events-page-grid { grid-template-columns:repeat(2,1fr); }
    .achievements-grid { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
}

@media (max-width:768px) {
    :root { --section-py:72px; --nav-height:64px; }

    .navbar-links {
        position:fixed; top:0; right:-100%;
        width:82%; max-width:320px; height:100vh;
        background:var(--white);
        flex-direction:column; align-items:stretch;
        padding:88px 20px 20px; gap:2px;
        box-shadow:var(--shadow-xl);
        transition: right var(--dur) var(--ease-out);
        z-index:1001; overflow-y:auto;
    }
    .navbar-links.open { right:0; }
    .navbar-links a { color:var(--text-primary)!important; padding:14px 16px; font-size:0.93rem; border-radius:10px; }
    .navbar .nav-cta { background:linear-gradient(135deg,var(--primary),var(--primary-700))!important; color:white!important; border-color:var(--primary)!important; text-align:center; margin-top:16px; justify-content:center; }
    .menu-toggle { display:flex; }

    .hero { min-height:92vh; }
    .hero h1 { font-size:2rem; }

    .services-grid { grid-template-columns:1fr; }
    .stats-grid { grid-template-columns:repeat(2,1fr); gap:12px; }
    .events-grid, .events-page-grid { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr; gap:28px; }

    .form-container { padding:30px 20px; border-radius:var(--radius-lg); }
    .form-row { grid-template-columns:1fr; }
    .social-links { flex-direction:column; align-items:stretch; }
    .hero-actions, .join-actions { flex-direction:column; width:100%; }
    .hero-actions .btn, .join-actions .btn { width:100%; }
}

@media (max-width:480px) {
    .container { padding:0 16px; }
    .stat-number { font-size:1.8rem; }
    .form-check-group { flex-direction:column; }
    .form-check { flex:unset; }
}
