/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-color: #0f172a; /* Deep blue/navy */
    --secondary-color: #f59e0b; /* Amber/Yellow for buttons and accents */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --font-main: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-white {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

/* Top Bar */
.top-bar {
    background-color: #d4af37; /* Gold/Yellowish */
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    padding: 8px 0;
}

.top-bar p {
    margin: 0;
}

.top-bar i {
    margin-right: 8px;
    color: #1e293b;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-stack {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e3a8a; /* Dark Blue */
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: #d4af37; /* Gold */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px;
    padding-bottom: 220px; /* Reserve space for the absolute stats banner */
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.8rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero h1 span {
    color: #fcd34d; /* Yellow for year */
    font-size: 4rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.8rem;
}

.hero-meta {
    font-size: 1rem;
    color: #fcd34d;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-italic {
    font-style: italic;
    font-size: 1.1rem;
    margin-top: 1.8rem;
    margin-bottom: 0;
    color: #fff;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Stats Banner */
.stats-banner {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px 16px 0 0;
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
    z-index: 20;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fcd34d;
    margin-bottom: 0.2rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: #cbd5e1;
}

/* App Section Styles */
.app-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.app-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.app-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.app-content h2 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.app-content p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.app-features {
    list-style: none;
    margin-bottom: 2.5rem;
    display: inline-block;
    text-align: left;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 1.1rem;
    color: #fff;
}

.app-features li i {
    color: #dca54c;
    font-size: 1.2rem;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.app-btn {
    transition: transform 0.3s ease;
}

.app-btn:hover {
    transform: translateY(-5px);
}

.app-btn img {
    height: 50px;
    border-radius: 8px;
}

.app-image {
    text-align: center;
}

.app-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 992px) {
    .app-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .app-features li {
        justify-content: center;
    }
    
    .app-buttons {
        justify-content: center;
    }
}

/* Section Common */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.about-experience-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.about-experience-tag i {
    font-size: 1.1rem;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.heading-underline {
    width: 60px;
    height: 4px;
    background-color: #d4af37; /* Gold */
    margin-bottom: 2rem;
}

.about-marathi-box {
    background: #fef9c3; /* Light yellow background */
    border-left: 4px solid #d4af37;
    padding: 15px 20px;
    font-size: 1.05rem;
    color: #475569;
    font-weight: 500;
    margin-bottom: 2.5rem;
    border-radius: 4px;
}

.about-feature-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.a-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.a-icon {
    width: 55px;
    height: 55px;
    background: #fef08a; /* Light yellow */
    color: #854d0e; /* Dark yellowish-brown */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-right: 20px;
}

.a-text h4 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 4px;
}

.a-text p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 65px;
    height: 65px;
    background-color: #fef3c7; /* Pale yellow */
    color: #b45309; /* Dark gold/amber */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: #fde68a;
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Courses Section New Styles */
.course-main-card {
    background: #fff;
    border: 2px solid #dca54c; /* Gold border */
    border-radius: 16px;
    padding: 3rem;
    margin: 3rem auto 2rem;
    max-width: 900px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.course-icon-top {
    width: 70px;
    height: 70px;
    background-color: #fef08a; /* light yellow */
    color: #b45309; /* dark gold */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: -4.5rem auto 1.5rem; /* pull up */
    border: 4px solid #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.course-main-title {
    font-size: 2.2rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.course-badge {
    display: inline-block;
    background-color: #dca54c; /* matching pill color */
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.course-sub-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 3rem;
}

.cs-card {
    background: #f8fafc;
    padding: 20px 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
}

.cs-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.cs-icon {
    color: #dca54c;
    font-size: 1.2rem;
}

.cs-header h4 {
    font-size: 1.05rem;
    color: #1e293b;
    margin: 0;
}

.cs-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.subjects-title {
    font-size: 1.4rem;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.subject-row {
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid #dca54c;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
}

.subject-label {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.subject-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sp-dark {
    background: #1e293b;
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.sp-yellow {
    background: #dca54c;
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.course-note {
    background: #fef9c3; /* pale yellow */
    padding: 20px 30px;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.course-note p {
    color: #475569;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* 10th Board Section */
.board-block-1 {
    background: linear-gradient(to bottom, #fff 0%, #fef9c3 100%);
    border: 2px solid #dca54c;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.board-block-2 {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.board-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bf-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bf-left {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 160px;
}

.bf-icon {
    font-size: 1.5rem;
    color: #dca54c;
}

.bf-title {
    font-size: 1rem;
    color: #1e3a8a;
    line-height: 1.2;
    margin: 0;
}

.bf-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    border-left: 1px solid #e2e8f0;
    padding-left: 15px;
}

.board-block-3 {
    background: #c2952a; /* Darker gold */
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Achievements */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.achievement-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.ac-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.ac-icon.blue { background: #eff6ff; color: #3b82f6; }
.ac-icon.orange { background: #fff7ed; color: #f97316; }
.ac-icon.green { background: #f0fdf4; color: #22c55e; }
.ac-icon.red { background: #fef2f2; color: #ef4444; }

.achievement-card h4 {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.achievement-card p {
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Consistent Results Block */
.consistent-results-block {
    background: #fef9e7; /* Light gold/beige background */
    border-radius: 12px;
    padding: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.cr-title {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cr-subtitle {
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.student-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 2rem;
}

.student-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    text-align: center;
    border: 1px solid #f1f5f9;
}

.student-star {
    color: #dca54c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.student-card h5 {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.student-card .score {
    color: #dca54c;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.student-card .batch {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.cr-footer {
    color: #64748b;
    font-size: 0.85rem;
    font-style: italic;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
}

/* Google Reviews Section */
.google-review-banner {
    background: #fff;
    border: 2px solid #dca54c;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.review-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.rs-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
}

.rs-icon {
    font-size: 2rem;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rs-content h4 {
    color: #1e3a8a;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.rs-content p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.write-review-block {
    background: #fdf8e7;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.review-bottom-stats {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
}

.rb-stat {
    text-align: center;
}

.rb-value {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.rb-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Individual Testimonial Slider */
.testimonials-slider {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto;
    overflow: hidden;
    padding: 20px 0 60px;
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 100%;
    }
}

.testimonial-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #f1f5f9;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.t-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.t-avatar {
    width: 50px;
    height: 50px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1e3a8a;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.t-info h4 {
    font-size: 1.05rem;
    margin: 0;
    color: #1e293b;
}

.t-info span {
    font-size: 0.8rem;
    color: #64748b;
}

.t-rating {
    color: #dca54c;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.t-content {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    font-style: italic;
    flex-grow: 1;
}

.t-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.t-google-icon {
    color: #4285F4;
    font-size: 1.1rem;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #dca54c;
    color: #dca54c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: #dca54c;
    color: #fff;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: #dca54c;
    width: 25px;
    border-radius: 10px;
}

.rb-divider {
    width: 2px;
    height: 50px;
    background-color: #dca54c;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .review-stats-grid {
        grid-template-columns: 1fr;
    }
    .review-bottom-stats {
        flex-direction: column;
        gap: 20px;
    }
    .rb-divider {
        width: 100px;
        height: 2px;
    }
}

/* Facilities Section */
.facilities-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 3rem;
}

.facility-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.facility-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.facility-img-wrap:hover img {
    transform: scale(1.05);
}

.features-block {
    background: #f8fafc;
    border-radius: 12px;
    padding: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.features-block-title {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.features-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.feature-item-small {
    background: #fff;
    border-radius: 6px;
    border-left: 3px solid #dca54c;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    text-align: left;
    font-weight: 500;
    color: #1e293b;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

@media (max-width: 900px) {
    .facilities-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid-small {
        grid-template-columns: 1fr;
    }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about .logo span {
    color: #fff;
}

.footer-about p {
    color: #94a3b8;
    margin: 20px 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.social-links a:hover {
    background: var(--secondary-color);
}

.footer-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #fff;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .course-sub-cards, .review-stats-grid, .features-grid-small { grid-template-columns: repeat(2, 1fr); }
    .student-results-grid, .achievements-grid, .facilities-gallery { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-banner { flex-wrap: wrap; gap: 20px; bottom: -100px; padding: 1.5rem; }
    .stat-item { width: 45%; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    
    /* Mobile Menu Active State */
    .navbar.mobile-menu-active { background: #fff; }
    .navbar.mobile-menu-active .container { flex-wrap: wrap; height: auto; padding-bottom: 20px; }
    .navbar.mobile-menu-active .nav-links,
    .navbar.mobile-menu-active .nav-actions { 
        display: flex; 
        flex-direction: column; 
        width: 100%; 
        align-items: center; 
        padding: 10px 0; 
        gap: 15px; 
    }
    .navbar.mobile-menu-active .nav-actions { padding-top: 0; }
    
    .mobile-menu-btn { display: block; }
    .top-bar { font-size: 0.8rem; padding: 6px 0; }
    
    .hero { flex-direction: column; min-height: auto; padding: 100px 0 0 0; }
    .hero h1 { font-size: 2.2rem; }
    .hero h1 span { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-meta { font-size: 0.95rem; }
    .hero-btns { flex-direction: column; width: 100%; gap: 15px; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    
    /* Mobile Logo Adjustments */
    .logo img { height: 40px !important; }
    .logo-main { font-size: 1.1rem !important; }
    .logo-sub { font-size: 0.7rem !important; }
    .logo { gap: 8px !important; }
    
    /* Reset Grids for Mobile */
    .features-grid, .gallery-grid, .course-sub-cards, .board-features-grid, .review-stats-grid, .features-grid-small, .student-results-grid, .achievements-grid { 
        grid-template-columns: 1fr !important; 
    }
    
    /* Adjust Paddings for Cards */
    .course-main-card, .board-block-1, .board-block-2, .board-block-3, .consistent-results-block, .write-review-block, .review-bottom-stats, .features-block, .google-review-banner, .testimonial-card, .app-section {
        padding: 1.5rem !important;
    }

    /* Flex layouts */
    .review-bottom-stats {
        flex-direction: column;
        gap: 20px;
    }
    .rb-divider {
        width: 100px !important;
        height: 2px !important;
    }
    .bf-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .bf-desc {
        border-left: none !important;
        padding-left: 0 !important;
        padding-top: 10px;
        border-top: 1px solid #e2e8f0;
    }

    .footer-grid { grid-template-columns: 1fr; }
    
    .stats-banner { 
        position: relative; 
        bottom: 0; 
        transform: none; 
        left: 0; 
        width: 100%; 
        border-radius: 0; 
        margin-top: 2rem; 
        flex-direction: column; 
        gap: 20px; 
    }
    .stat-item { width: 100%; }
    .stat-number { font-size: 2.5rem; }
    
    .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero h1 span { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .hero-meta { font-size: 0.85rem; flex-direction: column; gap: 5px; }
    
    .btn { padding: 10px 20px; font-size: 0.95rem; }
    
    /* Ensure no horizontal overflow from large text or icons */
    .hero-content, .container {
        overflow-x: hidden;
    }
    
    /* Condensed spacing for mobile */
    .section { padding: 60px 0; }
    
    /* App Section tweaks */
    .app-content h2 { font-size: 2rem; }
    .app-buttons { flex-direction: column; width: 100%; }
    .app-btn img { width: 100%; height: auto; max-width: 200px; margin: 0 auto; }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    background-color: #128c7e;
    color: #fff;
}

.whatsapp-float i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
    }
    .whatsapp-float span {
        display: none;
    }
    .whatsapp-float {
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
}
