/* ============================================
   OURDOUACADEMY · MIXED COUPLES
   Palette : rose poudré, bordeaux, doré
   Fond : orbes lumineuses abstraites
============================================= */

:root {
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Outfit', sans-serif;
    --font-urdu:    'Noto Nastaliq Urdu', serif;
    --container-width: min(1100px, 90vw);
    --section-padding: clamp(80px, 12vh, 140px);
    --rose: #c47a8a;
    --rose-light: #daa0ad;
    --burgundy: #8a3050;
    --burgundy-dark: #5a1830;
    --gold: #d4a853;
    --bg-dark: #120a10;
    --text: #e8dce0;
    --text-muted: #7a6070;
    --surface: rgba(25, 14, 22, 0.85);
    --border: rgba(140, 80, 100, 0.15);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg-dark);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--rose); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--rose-light); }

/* ============================================
   BACKGROUND : PHOTOS (3 phases)
   Fixées, plein écran, fortement assombries.
============================================= */
.bg-photo {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.bg-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(0.35) saturate(0.8);
}
.bg-photo-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom,
        var(--bg-dark) 0%,
        rgba(18,10,16,0.9) 15%,
        rgba(18,10,16,0.6) 45%,
        rgba(18,10,16,0.7) 75%,
        var(--bg-dark) 100%
    );
}
.bg-photo-1 { opacity: 0.5; z-index: 0; }
.bg-photo-2 { opacity: 0; z-index: 1; }
.bg-photo-3 { opacity: 0; z-index: 2; }

/* ============================================
   BACKGROUND : ORBES LUMINEUSES
   Quatre sphères de lumière floues qui bougent
   subtilement. Couleurs animées par GSAP.
============================================= */
.bg-layer {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0; pointer-events: none; overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.orb-1 {
    width: 600px; height: 600px;
    top: -10%; left: -10%;
    background: radial-gradient(circle, var(--rose) 0%, transparent 70%);
}
.orb-2 {
    width: 500px; height: 500px;
    top: 30%; right: -15%;
    background: radial-gradient(circle, var(--burgundy) 0%, transparent 70%);
}
.orb-3 {
    width: 450px; height: 450px;
    bottom: 10%; left: 20%;
    background: radial-gradient(circle, var(--burgundy-dark) 0%, transparent 70%);
    opacity: 0.1;
}
.orb-4 {
    width: 400px; height: 400px;
    top: 60%; right: 30%;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    opacity: 0;
}

.bg-pattern-islamic {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3; opacity: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d4a853' stroke-width='0.5' opacity='0.35'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40Z'/%3E%3Cpath d='M40 10 L70 40 L40 70 L10 40Z'/%3E%3Cpath d='M40 20 L60 40 L40 60 L20 40Z'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
}

.bg-calligraphy {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 4; opacity: 0;
}
.cal-letter {
    position: absolute;
    font-family: var(--font-urdu);
    font-size: 4rem;
    color: var(--rose-light);
    opacity: 0.05;
    pointer-events: none;
    line-height: 1;
}

/* ============================================
   NAVIGATION
============================================= */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px clamp(20px, 5vw, 60px);
    background: transparent; transition: background 0.4s ease;
}
#navbar.scrolled {
    background: rgba(18, 10, 16, 0.92);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-urdu { font-family: var(--font-urdu); font-size: 1.8rem; color: var(--gold); line-height: 1; }
.logo-text { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: #eee; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 0.85rem; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: var(--gold) !important; color: var(--bg-dark) !important; padding: 10px 22px; border-radius: 6px; font-weight: 600 !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,168,83,0.3); }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: #ccc; transition: transform 0.3s ease, opacity 0.3s ease; }

/* ============================================
   HERO
============================================= */
.section-hero {
    position: relative; z-index: 1;
    min-height: 100vh; display: flex; align-items: center;
    padding: 0 clamp(24px, 8vw, 120px);
}
.hero-inner { max-width: 700px; }
.hero-tag { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--rose); margin-bottom: 24px; opacity: 0; transform: translateY(20px); }
.hero-title { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin-bottom: 28px; }
.hero-title .line { display: block; font-size: clamp(2.8rem, 6vw, 5rem); color: var(--text); opacity: 0; transform: translateY(40px); }
.hero-title em { font-style: italic; color: var(--rose); }
.hero-subtitle { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-muted); max-width: 540px; margin-bottom: 36px; line-height: 1.8; opacity: 0; transform: translateY(20px); }
.hero-btn { display: inline-block; background: var(--gold); color: var(--bg-dark); padding: 15px 36px; border-radius: 8px; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; opacity: 0; transform: translateY(20px); }
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(212,168,83,0.3); color: var(--bg-dark); }

/* ============================================
   SECTIONS
============================================= */
.section { position: relative; z-index: 1; padding: var(--section-padding) clamp(20px, 5vw, 60px); }
.section-content { max-width: var(--container-width); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: clamp(50px, 8vh, 90px); }
.section-tag { display: inline-block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--rose); margin-bottom: 16px; padding: 6px 16px; border: 1px solid rgba(196,122,138,0.3); border-radius: 20px; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.2; color: var(--text); }
.section-title em { color: var(--rose); font-style: italic; }

/* ============================================
   PROBLEM CARDS
============================================= */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: var(--container-width); margin: 0 auto; }
.problem-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 32px 24px; text-align: center; transition: transform 0.4s ease, border-color 0.4s ease; }
.problem-card:hover { transform: translateY(-5px); border-color: rgba(196,122,138,0.35); }
.problem-emoji { font-size: 2.2rem; margin-bottom: 16px; }
.problem-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
.problem-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ============================================
   SHIFT
============================================= */
.section-shift { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.shift-content { max-width: 650px; }
.shift-urdu { font-family: var(--font-urdu); font-size: clamp(4rem, 10vw, 8rem); color: var(--gold); line-height: 1.3; margin-bottom: 20px; }
.shift-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--text); margin-bottom: 20px; line-height: 1.3; }
.shift-title em { color: var(--rose); font-style: italic; }
.shift-subtitle { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; }

/* ============================================
   JOURNEY CARDS
============================================= */
.journey-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; max-width: var(--container-width); margin: 0 auto; }
.journey-card { background: rgba(30, 16, 25, 0.7); border: 1px solid var(--border); border-radius: 16px; padding: 36px 28px; transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.journey-card:hover { transform: translateY(-6px); border-color: rgba(212,168,83,0.3); box-shadow: 0 16px 50px rgba(196,122,138,0.08); }
.journey-icon { font-family: var(--font-urdu); font-size: 2.2rem; color: var(--rose); margin-bottom: 18px; line-height: 1.4; }
.journey-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.journey-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ============================================
   MODULES
============================================= */
.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; max-width: var(--container-width); margin: 0 auto; }
.module-card { background: rgba(30, 16, 25, 0.6); border: 1px solid var(--border); border-radius: 16px; padding: 32px 26px; transition: transform 0.4s ease, border-color 0.4s ease; }
.module-card:hover { transform: translateY(-4px); border-color: rgba(212,168,83,0.25); }
.module-level { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.module-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.module-meta { font-size: 0.8rem; color: var(--rose); margin-bottom: 16px; }
.module-card ul { list-style: none; }
.module-card li { padding: 6px 0; padding-left: 18px; position: relative; color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; border-bottom: 1px solid rgba(255,255,255,0.03); }
.module-card li::before { content: '·'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ============================================
   STATS
============================================= */
.stats-row { display: flex; justify-content: center; gap: clamp(30px, 6vw, 80px); flex-wrap: wrap; max-width: var(--container-width); margin: 0 auto; text-align: center; }
.stat-item { min-width: 120px; }
.stat-number { display: block; font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: var(--gold); line-height: 1.2; }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); }

/* ============================================
   BEFORE / AFTER
============================================= */
.before-after { display: flex; gap: 0; max-width: 900px; margin: 0 auto; align-items: stretch; }
.ba-column { flex: 1; padding: 36px 30px; }
.ba-before { background: var(--surface); border-radius: 16px 0 0 16px; border: 1px solid var(--border); border-right: none; }
.ba-after { background: rgba(30, 16, 25, 0.7); border-radius: 0 16px 16px 0; border: 1px solid rgba(196,122,138,0.2); border-left: none; }
.ba-divider { display: flex; align-items: center; justify-content: center; width: 50px; background: linear-gradient(to bottom, var(--surface), rgba(30,16,25,0.7)); }
.ba-arrow { font-size: 1.5rem; color: var(--gold); }
.ba-label { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.1em; }
.ba-before .ba-label { color: var(--text-muted); }
.ba-after .ba-label { color: var(--rose); }
.ba-column ul { list-style: none; }
.ba-column li { padding: 10px 0; padding-left: 20px; position: relative; font-size: 0.9rem; line-height: 1.5; border-bottom: 1px solid rgba(255,255,255,0.04); }
.ba-before li { color: var(--text-muted); }
.ba-before li::before { content: '✕'; position: absolute; left: 0; color: #6a4050; font-size: 0.7rem; }
.ba-after li { color: var(--rose-light); }
.ba-after li::before { content: '✓'; position: absolute; left: 0; color: var(--rose); font-size: 0.75rem; }

/* ============================================
   INSTRUCTOR
============================================= */
.instructor-block { display: flex; gap: 40px; align-items: flex-start; max-width: 800px; margin: 0 auto; }
.avatar-placeholder { width: 100px; height: 100px; border-radius: 50%; background: rgba(30,16,25,0.8); border: 2px solid rgba(196,122,138,0.3); display: flex; align-items: center; justify-content: center; font-family: var(--font-urdu); font-size: 2.5rem; color: var(--gold); }
.instructor-info h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 16px; font-style: italic; }
.instructor-info p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 14px; }

/* ============================================
   TESTIMONIALS
============================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: var(--container-width); margin: 0 auto; }
.testi-card { background: rgba(30,16,25,0.5); border: 1px solid var(--border); border-radius: 16px; padding: 30px 26px; transition: border-color 0.4s ease; }
.testi-card:hover { border-color: rgba(196,122,138,0.3); }
.testi-card blockquote { font-family: var(--font-display); font-size: 0.95rem; font-style: italic; line-height: 1.7; color: var(--rose-light); margin-bottom: 16px; }
.testi-card cite { color: var(--gold); font-size: 0.78rem; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; }

/* ============================================
   FAQ
============================================= */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); padding: 28px 0; }
.faq-q { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.4; }
.faq-a { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

/* ============================================
   PRICING
============================================= */
.pricing-single { max-width: 520px; margin: 0 auto; }
.pricing-card-main { background: rgba(30,16,25,0.85); border: 2px solid var(--gold); border-radius: 20px; padding: 48px 36px; text-align: center; position: relative; box-shadow: 0 0 80px rgba(196,122,138,0.06); }
.pricing-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--burgundy); color: #fff; padding: 5px 22px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.pricing-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--text); margin-top: 10px; margin-bottom: 12px; }
.pricing-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.6; }
.pricing-amount { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; color: var(--gold); margin-bottom: 28px; }
.pricing-amount span { font-size: 1.1rem; font-weight: 300; color: var(--text-muted); }
.pricing-features { list-style: none; text-align: left; margin-bottom: 32px; }
.pricing-features li { padding: 10px 0; color: var(--rose-light); font-size: 0.92rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-left: 26px; position: relative; }
.pricing-features li::before { content: '✦'; position: absolute; left: 0; color: var(--rose); font-size: 0.7rem; }
.pricing-btn { width: 100%; padding: 16px 0; background: var(--gold); color: var(--bg-dark); border: none; font-family: var(--font-body); font-size: 1rem; font-weight: 700; border-radius: 10px; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pricing-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(212,168,83,0.35); }

/* ============================================
   CTA FINAL
============================================= */
.section-final { text-align: center; padding-bottom: clamp(100px, 15vh, 200px); }
.final-cta { max-width: 600px; margin: 0 auto; }
.final-urdu { font-family: var(--font-urdu); font-size: clamp(1.4rem, 3vw, 2rem); color: rgba(196,122,138,0.5); margin-bottom: 16px; line-height: 1.6; }
.final-cta h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--text); margin-bottom: 16px; }
.final-cta p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 32px; }

/* ============================================
   FOOTER
============================================= */
#footer { position: relative; z-index: 1; background: #0a0608; border-top: 1px solid var(--border); padding: 50px clamp(20px, 5vw, 60px) 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; max-width: var(--container-width); margin: 0 auto 36px; }
.footer-tagline { color: #5a4050; font-size: 0.85rem; margin-top: 10px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 6px; }
.footer-col a { color: #5a4050; font-size: 0.85rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(140,80,100,0.1); }
.footer-bottom p { font-size: 0.75rem; color: #3a2830; }

/* Grain */
body::after { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; pointer-events: none; opacity: 0.02; 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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ============================================
   RESPONSIVE
============================================= */
@media (max-width: 768px) {
    .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(18,10,16,0.97); flex-direction: column; justify-content: center; align-items: center; gap: 28px; z-index: 99; }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.1rem; }
    .mobile-menu-btn { display: flex; z-index: 101; }
    .before-after { flex-direction: column; }
    .ba-before { border-radius: 16px 16px 0 0; border-right: 1px solid var(--border); border-bottom: none; }
    .ba-after { border-radius: 0 0 16px 16px; border-left: 1px solid rgba(196,122,138,0.2); border-top: none; }
    .ba-divider { width: 100%; height: 40px; }
    .ba-arrow { transform: rotate(90deg); }
    .instructor-block { flex-direction: column; align-items: center; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.bg-photo img { opacity: 0; transition: opacity 0.8s ease; }
.bg-photo img.loaded { opacity: 1; }
