/* --- Sophisticated & Cozy Variables --- */
:root {
    --navy-blue: #0A192F;
    --navy-blue-light: #172a45;
    --gold: #D4AF37;        
    --gold-light: #F3E5AB; 
    --warm-orange: #E68A00;
    --accent-warm: #E67E22; 
    --light-blue: #2176FF;
    --white: #FFFFFF;
    
    /* Cozy warm backgrounds with more depth */
    --bg-main: #FCFBF8;
    --bg-cozy: #Fdfbf7; 
    --bg-gradient: linear-gradient(135deg, #FCFBF8 0%, #F4F1EA 100%);
    
    /* Softer text for reduced eye strain */
    --text-dark: #2C3539;
    --text-muted: #64748B; 
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Ultra-premium, diffused Apple-style shadows */
    --shadow-soft: 0 4px 20px -2px rgba(10, 25, 47, 0.05);
    --shadow-hover: 0 20px 40px -8px rgba(10, 25, 47, 0.15);
}

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

body {
    background: var(--bg-gradient);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: 0 auto;
}

/* --- Layout Utilities --- */
.bg-cozy { background-color: var(--bg-cozy); }
.section-padding { padding: 110px 0; }
.text-center { text-align: center; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--navy-blue);
}

/* --- Glass Navbar --- */
.navbar {
    background: rgba(252, 251, 248, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* --- Elegant Lively Buttons --- */
.btn-primary {
    background: var(--navy-blue);
    color: var(--white);
    padding: 16px 36px; 
    text-decoration: none;
    border-radius: 8px; 
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.1);
}

.btn-primary:hover {
    background: #112240; 
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(10, 25, 47, 0.2), 0 0 0 3px var(--gold-light); 
}

.btn-secondary {
    background: transparent;
    color: var(--navy-blue);
    border: 1.5px solid var(--navy-blue);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

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

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(252, 251, 248, 0.85), rgba(252, 251, 248, 0.98)), url('https://images.unsplash.com/photo-1576091160550-2173ff9e5eb3?w=1600&q=80') center/cover;
    padding: 180px 0 140px; 
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.hero h1 {
    font-size: 4.8rem; 
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px; 
    background: linear-gradient(to right, var(--navy-blue), #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* --- Stats Section --- */
.stats-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px; 
    flex-wrap: wrap;
    text-align: center;
}

.stat-item {
    padding: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Section Headers --- */
.section-header { margin-bottom: 60px; }
.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}
.header-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 20px;
}

/* --- Form Layouts (Cozy & Clean) --- */
.form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.form-row {
    display: flex;
    gap: 20px;
}

.half-width { flex: 1; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy-blue);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-family: var(--font-body);
    background: #FAFAFA;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* --- Component Grids --- */
.approach-grid, .services-grid, .faculty-grid, .testimonial-grid, .why-us-grid {
    display: grid;
    gap: 30px;
}
.approach-grid { grid-template-columns: repeat(2, 1fr); }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.faculty-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-grid { grid-template-columns: repeat(2, 1fr); }
.why-us-grid { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .approach-grid, .services-grid, .faculty-grid, .testimonial-grid, .why-us-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; gap: 0; }
    .stats-grid { flex-direction: column; gap: 40px; }
}

/* --- Cards (Approach, Services, Why Us) --- */
.approach-card, .service-card, .faculty-card, .testimonial-card, .why-us-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); 
    border-radius: 16px; 
    padding: 40px;
    box-shadow: var(--shadow-soft);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(212, 175, 55, 0.15); 
}

.approach-card:hover, .service-card:hover, .faculty-card:hover, .testimonial-card:hover, .why-us-item:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.4); 
}

.approach-icon {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Faculty Images */
.faculty-card { padding: 0; overflow: hidden; }
.faculty-image { width: 100%; height: 260px; object-fit: cover; }
.faculty-info { padding: 30px; }

/* Testimonial Avatars */
.testimonial-card { position: relative; }
.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: #F4F1EA;
    z-index: 0;
}
.student-profile {
    display: flex;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid #F4F1EA;
    padding-top: 20px;
}
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

/* Lists in approach and services */
.approach-list, .feature-list {
    list-style: none;
    margin-bottom: 20px;
}
.approach-list li, .feature-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--text-muted);
}
.approach-list li::before {
    content: '→';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.feature-list li::before {
    content: '✓';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Service Card specifics */
.service-card {
    display: flex;
    flex-direction: column;
}
.card-btn {
    margin-top: auto;
    text-align: center;
}
.card-header h3 { font-size: 1.8rem; margin-bottom: 10px; }
.price { color: var(--gold); font-weight: 600; font-size: 1.1rem; }
.premium { border: 2px solid var(--gold); transform: scale(1.02); position: relative; }
.premium:hover { transform: scale(1.02) translateY(-8px); }
.premium-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-brand p { color: #A0AEC0; margin-bottom: 10px; }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4 { color: var(--gold); margin-bottom: 15px; }

.footer-links a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
    text-align: center;
    color: #A0AEC0;
    font-size: 0.9rem;
}

/* --- WhatsApp Floating Widget --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
}

/* --- Premium Animation Classes --- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-zoom { opacity: 0; transform: scale(0.95); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }

.reveal-up.active, .reveal-left.active, .reveal-right.active, .reveal-zoom.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* --- Corrected Logo Sizing & Cropping --- */
.logo {
    width: 200px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo .brand-logo {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}