/* Custom CSS - Believers Capital Base Styles */

:root {
    /* Color Palette */
    --primary: #0F172A;
    --secondary: #1E293B;
    --accent: #D4AF37;
    --accent-hover: #b5952f;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-main: #0F172A;
    --text-light: #94a3b8;
    --white: #FFFFFF;
    
    /* Typography */
    --font-en: 'Inter', sans-serif;
    --font-gu: 'Hind Vadodara', sans-serif;
    
    /* Spacing & Transitions */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-en);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.gujarati-heading {
    font-family: var(--font-gu);
    font-weight: 700;
}

.gold { color: var(--accent); }
.text-white { color: var(--white) !important; }
.text-light { color: var(--text-light) !important; }

/* Layout Utility */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.light-bg { background-color: var(--bg-light); }
.white-bg { background-color: var(--bg-white); }
.dark-bg { background-color: var(--primary); color: var(--white); }

.border-top { border-top: 1px solid #e2e8f0; }
.border-top-dark { border-top: 1px solid rgba(255,255,255,0.1); }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px; height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.tagline {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 30px;
}

/* Grid Layouts */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.feature-card .icon { font-size: 2.5rem; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-card p { color: #64748b; font-size: 0.95rem; }

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.curriculum-grid .glass-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--accent);
    top: 0; bottom: 0; left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 30px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }

.timeline-dot {
    position: absolute;
    width: 20px; height: 20px;
    background: var(--accent);
    border: 4px solid var(--bg-light);
    border-radius: 50%;
    top: 35px;
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot { left: -10px; }

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.timeline-content h3 { color: var(--primary); margin-bottom: 10px; }
.timeline-content p { color: #64748b; }

/* Audiences & Stats */
.overview-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    text-align: center;
}

.stat-box h4 {
    font-size: 3.5rem;
    color: var(--primary);
    line-height: 1;
}

.stat-box span {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.audience-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.audience-pill {
    padding: 10px 20px;
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-weight: 500;
    color: var(--primary);
}

/* FAQ */
.faq-container { max-width: 800px; margin: 50px auto 0; }

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 20px;
    background: #fafafa;
}

.faq-answer p { padding: 15px 0; color: #475569; }

/* Contact Section */
.flex-contact { display: flex; gap: 50px; align-items: center; }
.contact-info { flex: 1; }
.map-container { flex: 1; }
.map-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
}

/* Footer */
.footer { padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px;}
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 10px; }
.footer-brand .disclaimer { margin-top: 20px; font-size: 0.85rem; color: var(--text-light); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-light); text-decoration: none; transition: var(--transition); }
.footer ul a:hover { color: var(--accent); }

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 35px 30px;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient top border for premium feel */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    background: var(--white);
}

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

.stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: #475569;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.7;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.student-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    object-fit: cover; /* If you replace div with img tag */
}

/* If you use real images later, this will style them perfectly */
img.student-avatar {
    background: transparent;
}

.student-details h4 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 2px;
    font-weight: 700;
}

.student-details span {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Mobile Responsiveness for Testimonials */
@media screen and (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}