/* ============================================================
   PURE EDUCATION — Homepage Specific Styles
   Loaded only on template-homepage.php
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-video-wrap .video-fallback {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #0D1B2A 0%, #132235 30%, #1E3A5F 60%, #0D1B2A 100%);
}
.hero-particles {
    position: absolute; inset: 0; z-index: 1;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201,150,58,0.08) 0%, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(30,58,95,0.6) 0%, transparent 55%),
        radial-gradient(circle at 60% 80%, rgba(201,150,58,0.05) 0%, transparent 40%);
}
.hero-grid-overlay {
    position: absolute; inset: 0; z-index: 1;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: rgba(201,150,58,0.12);
    border: 1px solid rgba(201,150,58,0.3);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--gold-light);
    margin-bottom: 1.5rem;
}
.hero-eyebrow .pulse-dot {
    width: 6px; height: 6px; background: var(--gold);
    border-radius: 50%; animation: pulse 2s ease infinite;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 300; line-height: 1.05;
    letter-spacing: -0.025em; color: var(--white);
    margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,0.65); max-width: 540px;
    line-height: 1.75; margin-bottom: 2.5rem;
}
.hero-cta-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-trust { display: flex; align-items: center; gap: 1rem; }
.hero-trust-avatars { display: flex; }
.hero-trust-avatars .av {
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid var(--navy); margin-left: -10px;
    font-family: var(--font-display); font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-weight: 600;
}
.hero-trust-avatars .av:first-child { margin-left: 0; }
.av-1 { background: #4A90D9; } .av-2 { background: #E8965A; }
.av-3 { background: #7BC67E; } .av-4 { background: #C97AAE; }
.hero-trust-text { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.hero-trust-text strong { color: var(--white); display: block; font-size: 0.9rem; }
.hero-scroll-hint {
    position: absolute; bottom: 2.5rem; left: 50%;
    transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: rgba(255,255,255,0.4); font-size: 0.7rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    animation: float 2.5s ease infinite;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); }

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--gray-2); }
.stats-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-bar-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.8rem 2rem;
    border-right: 1px solid var(--gray-2);
    text-decoration: none;
}
.stats-bar-item:last-child { border-right: none; }
.stats-icon {
    width: 48px; height: 48px; background: var(--gold-pale);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
}
.stats-bar-item strong {
    font-family: var(--font-display);
    font-size: 1.8rem; font-weight: 400;
    color: var(--navy); line-height: 1; display: block;
}
.stats-bar-item span { font-size: 0.8rem; color: var(--text-light); }

/* ── Countries ─────────────────────────────────────────────── */
.countries-section { background: var(--cream); }
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem; margin-top: 3rem;
}
.country-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 2rem; cursor: pointer;
    border: 1.5px solid transparent;
    transition: all var(--transition);
    position: relative; overflow: hidden;
    text-decoration: none; display: block;
}
.country-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(201,150,58,0.04), transparent);
    opacity: 0; transition: opacity var(--transition);
}
.country-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.country-card:hover::before { opacity: 1; }
.country-flag { font-size: 2.8rem; margin-bottom: 1rem; line-height: 1; display: block; }
.country-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--navy); margin-bottom: 0.4rem; }
.country-card > p { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1rem; }
.country-card-courses { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.country-arrow {
    position: absolute; top: 1.5rem; right: 1.5rem;
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--gray-2);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-light); transition: all var(--transition);
    font-style: normal;
}
.country-card:hover .country-arrow { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ── Why Choose Us ─────────────────────────────────────────── */
.why-section { background: var(--navy); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-visual { position: relative; }
.why-visual-main {
    border-radius: var(--radius-xl); overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
    display: flex; align-items: center; justify-content: center;
    font-size: 8rem; position: relative;
}
.why-visual-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-badge-float {
    position: absolute; background: var(--white);
    border-radius: var(--radius-md); padding: 1rem 1.4rem;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 0.75rem;
    z-index: 2;
}
.why-badge-float.b1 { bottom: -2rem; right: -2rem; }
.why-badge-float.b2 { top: 2rem; left: -2rem; }
.why-badge-float .icon { font-size: 1.6rem; }
.why-badge-float strong { display: block; font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.why-badge-float span { font-size: 0.72rem; color: var(--text-light); }
.why-content { color: var(--white); }
.why-content .section-label { color: var(--gold); }
.why-content h2 { color: var(--white); margin-bottom: 1.5rem; }
.why-content > p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 1.05rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-check {
    width: 24px; height: 24px;
    background: rgba(201,150,58,0.15); border: 1px solid rgba(201,150,58,0.3);
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 0.1rem; color: var(--gold); font-size: 0.75rem;
}
.why-list li p { font-size: 0.92rem; color: rgba(255,255,255,0.65); margin-top: 0.2rem; }
.why-list li strong { color: var(--white); font-size: 0.95rem; }

/* ── Courses ───────────────────────────────────────────────── */
.courses-section { background: var(--white); }
.courses-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.tab-btn {
    padding: 0.55rem 1.2rem; border-radius: 100px;
    font-size: 0.85rem; font-weight: 500;
    color: var(--text-mid); border: 1.5px solid var(--gray-2);
    transition: all var(--transition-fast); cursor: pointer;
    background: var(--white);
}
.tab-btn.active, .tab-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.course-card {
    background: var(--cream); border-radius: var(--radius-lg);
    overflow: hidden; transition: all var(--transition);
    cursor: pointer; display: block; text-decoration: none;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.course-card-img {
    aspect-ratio: 16/9;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    position: relative; overflow: hidden;
}
.course-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-card-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(13,27,42,0.5));
}
.course-card-body { padding: 1.5rem; }
.course-card-body h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--navy); margin-bottom: 0.4rem; }
.course-card-body p { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1rem; }
.course-meta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.course-meta-item { display: flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; color: var(--text-mid); }

/* ── Process ───────────────────────────────────────────────── */
.process-section { background: var(--gray-1); }
.process-steps {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 1rem; position: relative; margin-top: 3rem;
}
.process-steps::before {
    content: ''; position: absolute; top: 28px; left: 10%; width: 80%; height: 1px;
    background: repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 8px, transparent 8px, transparent 16px);
    z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; padding: 0 0.5rem; }
.step-num {
    width: 56px; height: 56px; background: var(--white);
    border: 2px solid var(--gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.3rem;
    font-weight: 600; color: var(--gold);
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 20px rgba(201,150,58,0.2);
}
.process-step h4 { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.process-step p { font-size: 0.78rem; color: var(--text-light); }

/* ── Testimonials Preview ──────────────────────────────────── */
.testimonials-preview { background: var(--cream); }
.testi-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 2rem; box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.testi-quote { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 600; color: var(--white); flex-shrink: 0;
    font-family: var(--font-display);
}
.testi-author-info strong { font-size: 0.9rem; color: var(--navy); display: block; }
.testi-author-info span  { font-size: 0.75rem; color: var(--text-light); }
.testi-destination { margin-left: auto; font-size: 1.2rem; }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--gold) 0%, #B8832E 100%);
    padding: 5rem 0; text-align: center;
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") repeat;
}
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(2rem,4vw,3.5rem); color: var(--navy); margin-bottom: 1rem; font-weight: 400; }
.cta-banner p { color: rgba(13,27,42,0.7); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer menu styles ─────────────────────────────────────── */
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li a { display: block; margin-bottom: 0.6rem; color: rgba(255,255,255,0.45); transition: color var(--transition-fast); font-size: 0.875rem; }
.footer-menu li a:hover { color: var(--white); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .process-steps { grid-template-columns: repeat(3,1fr); }
    .process-steps::before { display: none; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: clamp(2.4rem,10vw,3.5rem); }
    .why-grid { grid-template-columns: 1fr; gap: 3rem; }
    .why-visual { display: none; }
    .stats-bar-inner { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .stats-bar-inner { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
}
