/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a5fb4;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a5fb4;
    background: #e8f1fd;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1a5fb4;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a5fb4 0%, #2d8fff 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.stat-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-light, .btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #1a5fb4;
    color: white;
}

.btn-primary:hover {
    background: #0d4a9c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ff6b35;
    color: white;
}

.btn-secondary:hover {
    background: #e55a2b;
}

.btn-light {
    background: white;
    color: #1a5fb4;
}

.btn-light:hover {
    background: #f0f7ff;
}

.btn-outline {
    border: 2px solid #1a5fb4;
    color: #1a5fb4;
    background: transparent;
}

.btn-outline:hover {
    background: #1a5fb4;
    color: white;
}

/* Sections */
.section-light {
    padding: 4rem 1rem;
    background: #f8f9fa;
}

.section-dark {
    padding: 4rem 1rem;
    background: #1a5fb4;
    color: white;
}

.page-header {
    background: linear-gradient(135deg, #1a5fb4 0%, #2d8fff 100%);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: inherit;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.center-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Subjects Grid */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.subject-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
}

.subject-card i {
    font-size: 2.5rem;
    color: #1a5fb4;
    margin-bottom: 1rem;
}

/* Founder Section */
.founder-preview, .founder-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.founder-image img, .founder-image-large img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

blockquote {
    font-size: 1.5rem;
    font-style: italic;
    border-left: 4px solid #ff6b35;
    padding-left: 1rem;
    margin: 2rem 0;
}

.founder-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.founder-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

/* Advantages Grid */
.advantages-grid, .mission-grid, .approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card, .mission-card, .approach-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.advantage-card i, .mission-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.approach-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8b35 100%);
    color: white;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 1rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #2d8fff;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.subject-list {
    columns: 2;
}

.quote {
    font-style: italic;
    margin-top: 1rem;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #2d8fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.9rem;
}

/* Enrollment Form */
.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

.terms {
    background: #f0f7ff;
    padding: 1rem;
    border-radius: 5px;
}

.terms-link {
    color: #1a5fb4;
    text-decoration: none;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-card.featured {
    background: #1a5fb4;
    color: white;
}

.quote-icon {
    opacity: 0.3;
    font-size: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.rating {
    color: #ffc107;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .founder-preview, .founder-full, .form-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
/* Color-Coded Subjects */
.subject-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.subject-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.subject-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.subject-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.subject-card:hover .subject-link {
    opacity: 1;
    transform: translateY(0);
}

/* Physics - Blue */
.physics {
    border-color: #3498db;
}

.physics .subject-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.physics:hover {
    background: linear-gradient(to bottom, rgba(52, 152, 219, 0.05), white);
}

.physics .subject-link {
    color: #3498db;
}

/* Chemistry - Green */
.chemistry {
    border-color: #2ecc71;
}

.chemistry .subject-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.chemistry:hover {
    background: linear-gradient(to bottom, rgba(46, 204, 113, 0.05), white);
}

.chemistry .subject-link {
    color: #2ecc71;
}

/* Mathematics - Purple */
.mathematics {
    border-color: #9b59b6;
}

.mathematics .subject-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.mathematics:hover {
    background: linear-gradient(to bottom, rgba(155, 89, 182, 0.05), white);
}

.mathematics .subject-link {
    color: #9b59b6;
}

/* English - Orange */
.english {
    border-color: #e67e22;
}

.english .subject-icon {
    background: linear-gradient(135deg, #e67e22, #d35400);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.english:hover {
    background: linear-gradient(to bottom, rgba(230, 126, 34, 0.05), white);
}

.english .subject-link {
    color: #e67e22;
}

/* Social Studies - Red */
.social-studies {
    border-color: #e74c3c;
}

.social-studies .subject-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.social-studies:hover {
    background: linear-gradient(to bottom, rgba(231, 76, 60, 0.05), white);
}

.social-studies .subject-link {
    color: #e74c3c;
}

/* Chess - Gold */
.chess {
    border-color: #f1c40f;
}

.chess .subject-icon {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

.chess:hover {
    background: linear-gradient(to bottom, rgba(241, 196, 15, 0.05), white);
}

.chess .subject-link {
    color: #f1c40f;
}
/* ===== COLORFUL GRADE LEVELS ===== */
.grade-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.grade-card {
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    color: white;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.grade-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.grade-number {
    font-size: 2.2rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.grade-icon i {
    font-size: 1.5rem;
    margin-top: 5px;
    opacity: 0.9;
}

.grade-age {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    font-weight: 500;
}

.grade-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.grade-features span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem;
    border-radius: 8px;
}

.grade-tag {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    align-self: center;
    margin-top: 1rem;
}

/* Grade Level Colors */
.elementary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-left: 6px solid #1a5276;
}

.middle {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-left: 6px solid #1e8449;
}

.high {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    border-left: 6px solid #6c3483;
}

.college {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    border-left: 6px solid #d68910;
}

/* ===== COLORFUL SUBJECTS GRID ===== */
.subjects-colorful {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.subject-card.colorful {
    border-radius: 15px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-top: 5px solid;
}

.subject-card.colorful:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.subject-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.subject-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.subject-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.subject-desc {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0.8rem 0;
    line-height: 1.5;
}

.subject-topics {
    list-style: none;
    margin: 1.2rem 0;
    flex-grow: 1;
}

.subject-topics li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.subject-topics li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: currentColor;
    font-weight: bold;
}

.subject-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.85rem;
}

.level-tag {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-weight: 500;
}

.tutor-count {
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
}

/* Subject Color Themes */
.colorful.physics {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-top-color: #1a5276;
}

.colorful.mathematics {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    border-top-color: #6c3483;
}

.colorful.chemistry {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border-top-color: #1e8449;
}

.colorful.english {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    border-top-color: #a04000;
}

.colorful.chess {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #333;
    border-top-color: #d68910;
}

.colorful.social-studies {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-top-color: #922b21;
}

.colorful.french {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    color: white;
    border-top-color: #117864;
}

.colorful.biology {
    background: linear-gradient(135deg, #82e0aa, #58d68d);
    color: #333;
    border-top-color: #2ecc71;
}

/* Responsive Design */
@media (max-width: 768px) {
    .grade-levels {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .subjects-colorful {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .grade-card {
        min-height: 350px;
        padding: 1.5rem;
    }
    
    .subject-card.colorful {
        min-height: 300px;
        padding: 1.5rem;
    }
}

/* Safari Fix for Gradients */
@supports (-webkit-touch-callout: none) {
    .grade-card, .subject-card.colorful {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Solid color fallbacks for Safari */
    .elementary { background: #3498db; }
    .middle { background: #2ecc71; }
    .high { background: #9b59b6; }
    .college { background: #f1c40f; }
    
    .colorful.physics { background: #3498db; }
    .colorful.mathematics { background: #9b59b6; }
    .colorful.chemistry { background: #2ecc71; }
    .colorful.english { background: #e67e22; }
    .colorful.chess { background: #f1c40f; }
    .colorful.social-studies { background: #e74c3c; }
    .colorful.french { background: #1abc9c; }
    .colorful.biology { background: #82e0aa; }
}
/* ===== WHY CHOOSE EDUSQUAD WITH IMAGES ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.why-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
}

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

.why-image {
    height: 180px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-bottom: 1px solid #eaeaea;
}

.why-image img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.why-card:hover .why-image img {
    transform: scale(1.1);
}

.why-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.why-content h3 {
    color: #1a5fb4;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.why-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Country Flags */
.why-countries {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.country-flag {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.country-flag:hover {
    transform: scale(1.2);
}

/* Stats & Features */
.why-stats, .why-features, .why-qualifications, .why-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.why-stats span, .why-features span, .why-qualifications span, .why-tech span {
    background: #f0f7ff;
    color: #1a5fb4;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.why-features span {
    background: #fff4e6;
    color: #e67e22;
}

.why-qualifications span {
    background: #e8f6f3;
    color: #16a085;
}

.why-tech span {
    background: #f4ecf7;
    color: #8e44ad;
}

/* Results Display */
.why-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.result-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #1a5fb4, #2d8fff);
    color: white;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.result-item:hover {
    transform: scale(1.05);
}

.result-number {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.3rem;
}

.result-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-image {
        height: 150px;
        padding: 1.5rem;
    }
    
    .why-image img {
        width: 80px;
        height: 80px;
    }
    
    .why-content {
        padding: 1.5rem;
    }
    
    .why-results {
        grid-template-columns: 1fr;
    }
    
    .why-stats, .why-features, .why-qualifications, .why-tech {
        flex-direction: column;
        gap: 8px;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.why-card {
    animation: fadeInUp 0.6s ease-out;
}

.why-card:nth-child(2) { animation-delay: 0.1s; }
.why-card:nth-child(3) { animation-delay: 0.2s; }
.why-card:nth-child(4) { animation-delay: 0.3s; }
.why-card:nth-child(5) { animation-delay: 0.4s; }
.why-card:nth-child(6) { animation-delay: 0.5s; }

/* ===== ENROLL PAGE ENHANCEMENTS ===== */

/* Hero Section */
.enroll-hero {
    background: linear-gradient(135deg, #1a5fb4 0%, #2d8fff 100%);
    color: white;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.enroll-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.enroll-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #ffd700;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 215, 0, 0.3);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-badge i {
    font-size: 1.5rem;
    color: #ffd700;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* CTA Card */
.cta-card {
    background: white;
    color: #333;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    text-align: center;
}

.cta-card h3 {
    color: #1a5fb4;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-btn {
    display: block;
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    background: linear-gradient(135deg, #ff6b35, #ff8b35);
    border: none;
}

.hero-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #ff6b35);
    transform: translateY(-2px);
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2ecc71;
    font-weight: 500;
}

/* Process Steps */
.process-section {
    padding: 4rem 1rem;
    background: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: #1a5fb4;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(26, 95, 180, 0.3);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a5fb4, #2d8fff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

/* Form Section */
.enroll-form-section {
    padding: 4rem 1rem;
    background: white;
}

.form-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.form-progress {
    margin-top: 2rem;
}

.progress-bar {
    height: 8px;
    background: #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #1abc9c);
    width: 25%;
    transition: width 0.5s ease;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

.progress-labels span {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.progress-labels span.active {
    background: #2ecc71;
    color: white;
    font-weight: 500;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar */
.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #1a5fb4;
}

.sidebar-card h3 {
    color: #1a5fb4;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-alternative {
    background: #f0f7ff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px dashed #1a5fb4;
}

.contact-alternative h4 {
    color: #1a5fb4;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(26, 95, 180, 0.1);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method i {
    color: #1a5fb4;
    font-size: 1.2rem;
    width: 30px;
}

/* Main Form */
.form-main {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f7ff;
}

.step-tag {
    display: inline-block;
    background: #e8f6f3;
    color: #16a085;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-header h3 {
    color: #1a5fb4;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Enhanced Form Elements */
.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.form-group label i {
    color: #1a5fb4;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #1a5fb4;
    box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.1);
}

input.error, select.error {
    border-color: #e74c3c;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.styled-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231a5fb4' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    appearance: none;
    padding-right: 3rem;
}

/* Subjects Selection */
.subjects-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.subject-option {
    position: relative;
}

.subject-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.subject-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
    min-height: 100px;
}

.subject-label:hover {
    border-color: #1a5fb4;
    transform: translateY(-2px);
}

.subject-label.selected {
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.subject-label i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Color themes for subject labels */
.physics.selected { background: linear-gradient(135deg, #3498db, #2980b9); }
.mathematics.selected { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.chemistry.selected { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.english.selected { background: linear-gradient(135deg, #e67e22, #d35400); }
.social-studies.selected { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.french.selected { background: linear-gradient(135deg, #1abc9c, #16a085); }
.biology.selected { background: linear-gradient(135deg, #82e0aa, #58d68d); }
.chess.selected { background: linear-gradient(135deg, #f1c40f, #f39c12); }

.char-count {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Review Summary */
.review-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.summary-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eaeaea;
}

.summary-item:last-child {
    border-bottom: none;
    background: #e8f6f3;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    color: #16a085;
}

/* Terms Container */
.terms-container {
    background: #f0f7ff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #d0e3ff;
}

.terms-box {
    display: flex;
    gap: 1rem;
}

.terms-box input {
    width: auto;
    margin-top: 5px;
}

.terms-box ul {
    margin: 1rem 0 0 2rem;
    color: #666;
}

.terms-box li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.terms-link {
    color: #1a5fb4;
    font-weight: 600;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f7ff;
}

.btn-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #27ae60, #219955);
}

/* Success Stories */
.success-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.success-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    border-top: 4px solid #2ecc71;
}

.success-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: #2ecc71;
    opacity: 0.2;
    font-family: serif;
}

.success-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
    font-style: italic;
}

.success-author {
    color: #666;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .enroll-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .form-container {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .subjects-selection {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .progress-labels {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-navigation button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .subjects-selection {
        grid-template-columns: 1fr;
    }
    
    .subject-label {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 1rem;
    }
    
    .success-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== TESTIMONIALS PAGE STYLES ===== */

/* Hero Section */
.testimonials-hero {
    background: linear-gradient(135deg, #1a5fb4 0%, #2d8fff 100%);
    color: white;
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,100 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #ffd700;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 215, 0, 0.3);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Featured Testimonial */
.featured-testimonial {
    padding: 4rem 1rem;
    background: #f8f9fa;
}

.featured-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, #1a5fb4, #2d8fff);
}

.quote-icon {
    color: #1a5fb4;
    opacity: 0.2;
    font-size: 2rem;
    margin: 0 1rem;
}

.featured-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #333;
    margin: 1.5rem 0;
    font-style: italic;
    text-align: center;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
}

.author-image i {
    font-size: 4rem;
    color: #1a5fb4;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.author-role {
    color: #666;
    margin-bottom: 0.5rem;
}

.author-location {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.5rem;
}

.rating {
    color: #ffd700;
}

/* Country Tabs */
.country-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem auto 3rem;
    flex-wrap: wrap;
    max-width: 800px;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    border-color: #1a5fb4;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #1a5fb4;
    color: white;
    border-color: #1a5fb4;
}

/* Testimonials Grid */
.testimonials-grid-section {
    padding: 4rem 1rem;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: #1a5fb4;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.country-flag {
    font-size: 1.8rem;
}

.subject-tag {
    background: #f0f7ff;
    color: #1a5fb4;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    line-height: 1.6;
    color: #555;
    font-size: 1rem;
}

.improvement-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f8f9fa;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    font-weight: 600;
}

.grade-before, .grade-after {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 1.1rem;
}

.grade-before {
    background: #ffeaa7;
    color: #e17055;
}

.grade-after {
    background: #55efc4;
    color: #00b894;
}

.improvement-text {
    margin-left: auto;
    font-size: 0.9rem;
    color: #666;
}

.score {
    font-weight: bold;
    color: #1a5fb4;
}

.success-badge {
    margin-left: auto;
    background: #ffeaa7;
    color: #d63031;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #eaeaea;
}

.author h4 {
    margin-bottom: 0.3rem;
    color: #333;
}

.author p {
    color: #666;
    font-size: 0.9rem;
}

/* Improvement Section */
.improvement-section {
    padding: 4rem 1rem;
    background: #f8f9fa;
}

.improvement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.improvement-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.improvement-graph {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    height: 150px;
    margin-bottom: 1.5rem;
}

.graph-bar {
    width: 40px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.5rem;
    font-weight: bold;
    color: white;
    position: relative;
}

.graph-bar.before {
    background: linear-gradient(to top, #fd79a8, #e84393);
}

.graph-bar.after {
    background: linear-gradient(to top, #00cec9, #00b894);
}

.improvement-info h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.improvement-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.timeframe {
    display: inline-block;
    background: #f0f7ff;
    color: #1a5fb4;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Parents Section */
.parents-section {
    padding: 4rem 1rem;
    background: white;
}

.parents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.parent-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.parent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #1a5fb4;
}

.parent-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a5fb4, #2d8fff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.parent-card h3 {
    color: #1a5fb4;
    margin-bottom: 1rem;
}

.parent-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.parent-info {
    padding-top: 1rem;
    border-top: 1px solid #eaeaea;
}

.parent-info h4 {
    margin-bottom: 0.3rem;
    color: #333;
}

.parent-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-style: normal;
}

/* CTA Section */
.testimonial-cta {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8b35 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .featured-card {
        padding: 2rem;
    }
    
    .featured-text {
        font-size: 1.2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .country-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
        justify-content: center;
    }
    
    .improvement-cards,
    .parents-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .featured-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}
/* ===== RESOURCES PAGE STYLES ===== */

/* Hero Section */
.resources-hero {
    background: linear-gradient(135deg, #2d8fff 0%, #1a5fb4 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.resources-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,100 L0,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.resource-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat i {
    font-size: 2rem;
    color: #ffd700;
}

.stat span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Category Navigation */
.resource-categories {
    background: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 70px;
    z-index: 90;
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: #f8f9fa;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-link:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.category-link.active {
    background: #1a5fb4;
    color: white;
    border-color: #1a5fb4;
}

.category-link i {
    font-size: 1.2rem;
}

/* Resource Sections */
.resource-section {
    padding: 4rem 1rem;
    background: white;
}

.resource-section.alt-bg {
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #1a5fb4;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: white;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #1a5fb4;
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a5fb4, #2d8fff);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.resource-content {
    flex-grow: 1;
}

.resource-tag {
    display: inline-block;
    background: #f0f7ff;
    color: #1a5fb4;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.resource-card h3 {
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.resource-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.resource-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #888;
}

.resource-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.resource-link {
    color: #1a5fb4;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.resource-link:hover {
    gap: 10px;
}

.download-link {
    background: #2ecc71;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    display: inline-block;
}

.download-link:hover {
    background: #27ae60;
    color: white;
    gap: 8px;
}

/* Exam Guides */
.exam-guides {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.exam-card {
    background: white;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid #eaeaea;
}

.exam-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f7ff;
}

.country-flag {
    font-size: 2rem;
}

.exam-header h3 {
    color: #333;
    margin: 0;
}

.exam-content h4 {
    color: #1a5fb4;
    margin: 1.2rem 0 0.8rem;
    font-size: 1.1rem;
}

.exam-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.exam-content li {
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
}

.exam-content li:before {
    content: "•";
    color: #1a5fb4;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.exam-content a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.exam-content a:hover {
    color: #1a5fb4;
}

/* Download Banner */
.download-banner {
    background: linear-gradient(135deg, #1a5fb4, #2d8fff);
    color: white;
    border-radius: 15px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.banner-content h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.banner-content p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.banner-image i {
    font-size: 4rem;
    opacity: 0.2;
}

/* Subject Tabs */
.subject-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.subject-tab {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subject-tab:hover {
    border-color: #1a5fb4;
}

.subject-tab.active {
    background: #1a5fb4;
    color: white;
    border-color: #1a5fb4;
}

/* Subject Articles */
.subject-articles {
    display: none;
}

.subject-articles.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border-left: 4px solid #1a5fb4;
}

.article-card h3 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.level-badge {
    background: #f0f7ff;
    color: #1a5fb4;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.article-link {
    color: #1a5fb4;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Parent Resources */
.parent-resources {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.parent-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.parent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.parent-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2ecc71, #1abc9c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.parent-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.parent-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Newsletter */
.newsletter-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #ff6b35, #ff8b35);
    color: white;
}

.newsletter-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.newsletter-content {
    flex-grow: 1;
}

.newsletter-content h3 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-content p {
    color: #666;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
    white-space: nowrap;
}

.privacy-note {
    font-size: 0.85rem;
    color: #888;
}

.newsletter-image i {
    font-size: 4rem;
    color: #ff8b35;
    opacity: 0.3;
}

/* Resource Links in Footer */
.resource-links {
    margin-top: 1rem;
}

.resource-links a {
    color: #1a5fb4;
    text-decoration: none;
}

.resource-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .newsletter-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .download-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .resources-grid,
    .exam-guides,
    .subject-articles,
    .parent-resources {
        grid-template-columns: 1fr;
    }
    
    .resource-card {
        flex-direction: column;
        text-align: center;
    }
    
    .resource-icon {
        margin: 0 auto;
    }
    
    .category-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .category-link {
        width: 250px;
        justify-content: center;
    }
    
    .subject-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .subject-tab {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .resource-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .exam-card {
        padding: 1.5rem;
    }
}
