/* Base Styles */
:root {
    --primary-color: #4a6baf;
    --secondary-color: #f8b500;
    --accent-color: #e74c3c;
    --light-color: #f4f7fb;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #777;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 5px;
    --section-padding: 80px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: var(--section-padding);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn-primary {
    cursor: pointer;
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

button:hover, .btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-light);
    font-size: 18px;
}

.underline {
    height: 4px;
    width: 70px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    margin-top: 10px;
}
/* Fixed Social Icons */
.fixed-social {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 999;
}

.fixed-social .social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.fixed-social .social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateX(-5px);
}

/* Mobile styles for social icons */
@media screen and (max-width: 768px) {
    .fixed-social {
        position: fixed;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column; /* Ensure vertical layout on mobile */
        gap: 10px;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 10px;
        border-radius: 25px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: flex !important; /* Force display on mobile */
    }

    .fixed-social .social-icon {
        margin: 8px 0;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .fixed-social .social-icon:hover {
        transform: translateX(-5px);
    }
}

/* Small mobile adjustments */
@media screen and (max-width: 480px) {
    .fixed-social {
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        display: flex; /* Ensure it displays on smaller screens */
    }
}
/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header.sticky {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px; /* Increased max-width */
    padding: 0 20px;

}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo h1 {
    font-size: 20px;
    color: var(--primary-color);
    margin: 0;
}

nav {
    margin-left: 20px;
}

nav ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 20px; /* Use gap instead of margin for consistent spacing */
}

nav ul li {
    margin: 0; /* Remove margin and use gap above */
    white-space: nowrap; /* Prevent text wrapping */
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
}

nav ul li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover:before, 
nav ul li a.active:before {
    width: 100%;
}

nav ul li a.btn-primary {
    padding: 8px 20px;
    color: var(--white);
    white-space: nowrap;
}

nav ul li a.btn-primary:before {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: var(--transition);
}
/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    nav ul {
        gap: 15px;
    }
    
    nav ul li a {
        font-size: 13px;
    }
}

@media screen and (max-width: 992px) {
    .logo h1 {
        font-size: 18px;
    }
    
    nav ul {
        gap: 10px;
    }
}


/* Updated Slider Styles */
.slider-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-color: #fff;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Changed to fill for full width/height */
    object-position: center;
}

/* Fixed slider controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 10;
    gap: 20px; /* Added gap between buttons */
}

.prev-btn, .next-btn {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Ensure content stays on top */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    max-width: 800px;
    width: 90%;
    z-index: 2;
    padding: 2rem;
    border-radius: 10px;
    /* background-color: rgba(0, 0, 0, 0.4); */
}

/* Welcome Section Styles */
.welcome-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.welcome-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.welcome-text {
    flex: 1;
    min-width: 300px;
}

.welcome-text h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 14px;
    color: var(--text-light);
}

/* About Us Section Styles */
.about-us-section {
    background-color: var(--light-color);
}

.about-us-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-us-text {
    flex: 1;
    min-width: 300px;
}

.about-us-text h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.mission-vision {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.mission, .vision {
    flex: 1;
    min-width: 250px;
    padding: 25px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.mission h4, .vision h4 {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.mission h4 i, .vision h4 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.about-us-image {
    flex: 1;
    min-width: 300px;
}

.image-collage {
    position: relative;
    height: 450px;
}

.collage-img {
    position: absolute;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.collage-img:hover {
    transform: scale(1.05);
    z-index: 2;
}

.img1 {
    width: 60%;
    height: 250px;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 1;
}

.img2 {
    width: 50%;
    height: 200px;
    object-fit: cover;
    top: 50px;
    right: 0;
}

.img3 {
    width: 70%;
    height: 220px;
    object-fit: cover;
    bottom: 0;
    right: 20px;
}

/* Age Groups Section Styles */
.age-groups-section {
    background-color: var(--white);
}

.age-groups-table-container {
    overflow-x: auto;
    margin-bottom: 50px;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
}

.age-groups-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

.age-groups-table th, .age-groups-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.age-groups-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.age-groups-table tr:hover {
    background-color: var(--light-color);
}

.age-groups-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.age-group-card {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.age-group-card:hover {
    transform: translateY(-10px);
}

.age-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 36px;
}

.age-group-card h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.age-group-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Skills Section Styles */
.skills-section {
    background-color: var(--light-color);
}

.skills-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background-color: transparent;
    color: var(--text-color);
    border: none;
    border-bottom: 3px solid transparent;
    margin: 0 10px 10px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: none;
    cursor: pointer;
}

.tab-btn:hover, .tab-btn.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background-color: transparent;
    transform: none;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.curriculum-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.curriculum-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.curriculum-text {
    flex: 1;
    min-width: 300px;
}

.curriculum-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    padding: 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature i {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.feature h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.skill-item {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 24px;
    flex-shrink: 0;
}

.skill-info {
    flex: 1;
}

.skill-info h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.skill-bar {
    height: 8px;
    background-color: #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 10px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.certification-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.certification-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.certification-item h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* Activities Section Styles */
:root {
    --primary-color: #007BFF;
    --white: #ffffff;
    --dark-color: #333333;
    --border-radius: 12px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

.activities-section {
    padding: 60px 20px;
    background-color: pink;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-header .underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.activity-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-10px);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.activity-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.activity-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
}


/* Facilities Section Styles */
.facilities-section {
    background-color: var(--light-color);
}

.facilities-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.facility {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
}

.facility img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.facility:hover img {
    transform: scale(1.1);
}

.facility-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(0);
    transition: var(--transition);
}

.facility:hover .facility-info {
    transform: translateY(-10px);
}

.facility-info h3 {
    margin-bottom: 5px;
}

/* Founders Section Styles */
.founders-section {
    background-color: var(--white);
    padding: 60px 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    text-align: center;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 30px;
    border-radius: 2px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.founder-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.founder-card:hover {
    transform: translateY(-10px);
}

.founder-image {
    aspect-ratio: 3 / 4;
    width: 100%;
    overflow: hidden;
    background-color: #f9f9f9;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ensures image is not cropped */
    display: block;
    padding: 10px;
}

.founder-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.founder-title {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.founder-social {
    display: flex;
    margin-top: auto;
    gap: 10px;
}

.founder-social a {
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.founder-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}


/* Gallery Section Styles */
/* Add this to your existing CSS file or replace the current gallery styles */

.gallery-section {
    background-color: lightblue;
    padding: 60px 0;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    margin: 0 5px 10px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: none;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Card-like design for gallery items */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents cutting; adds space around image if aspect ratio differs */
    transition: transform 0.5s ease;
    background-color: #fff; /* Optional: gives a white background behind image */
}

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

/* Remove the hover effect for the overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    padding: 20px;
    text-align: left;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Popup styles */
.gallery-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.gallery-popup-container.active {
    opacity: 1;
    visibility: visible;
}

.gallery-popup {
    background-color: var(--white);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-popup-container.active .gallery-popup {
    transform: scale(1);
    opacity: 1;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
    color: white;
}

.popup-title {
    margin: 0;
    font-size: 1.5rem;
}

.popup-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    transition: transform 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.popup-content {
    padding: 20px;
}

.popup-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    max-height: 60vh;
    object-fit: contain;
}

.popup-description {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
}


/* Video Testimonials Section Styles */
.video-testimonials-section {
    background-color: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.video-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-10px);
}

.video-container {
    position: relative;
    height: auto;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    display: block;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.video-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.video-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Feedback Section Styles */
.feedback-section {
    background-color: var(--light-color);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
}

.testimonial-slider {
    position: relative;
    height: 300px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial.active {
    opacity: 1;
}

.testimonial-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 30px;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.prev-testimonial, .next-testimonial {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.prev-testimonial:hover, .next-testimonial:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    margin: 0 15px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-light);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

.feedback-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.feedback-form-container h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.rating p {
    margin-right: 15px;
    margin-bottom: 0;
}

.stars {
    display: flex;
}

.stars i {
    color: #ddd;
    font-size: 24px;
    margin-right: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.stars i.fas {
    color: var(--secondary-color);
}

/* Contact Section Styles */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 20px;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}


.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    color: var(--white);
    font-size: 24px;
}

.footer-links, .footer-programs {
    flex: 1;
    min-width: 200px;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li, .footer-programs ul li {
    margin-bottom: 10px;
}

.footer-links ul li a, .footer-programs ul li a {
    color: #bbb;
    transition: var(--transition);
}

.footer-links ul li a:hover, .footer-programs ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-newsletter {
    flex: 1.5;
    min-width: 300px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom-links a {
    color: #bbb;
    margin-left: 20px;
}

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

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .section-header h2 {
        font-size: 32px;
    }
    
    .slide-content h2 {
        font-size: 36px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
    
    .fixed-social {
        right: 10px;
    }
    
    .fixed-social .social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .slider-container {
        height: 70vh;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .welcome-content, .contact-container, .about-us-content, .curriculum-content {
        flex-direction: column;
    }
    
    .welcome-image, .about-us-image {
        margin-bottom: 30px;
    }
    
    .facilities-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .fixed-social {
        display: none;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .slider-container {
        height: 60vh;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .activities-grid, .gallery-grid, .video-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 15px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .age-groups-table th, .age-groups-table td {
        padding: 10px;
        font-size: 14px;
    }
}

/* model */

.modal {
    display: none; 
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    text-align: center;
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 15px;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.btn-whatsapp {
    margin-top: 20px;
}
/*after school*/

.after-school-info {
    margin-top: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.after-school-info h3 {
    color: #333;
    margin-bottom: 1rem;
}

.after-school-info h3 i {
    color: #007bff;
    margin-right: 10px;
}

.study-hours-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.study-hour-item {
    text-align: center;
    padding: 1rem;
    min-width: 200px;
}

.study-hour-item h4 {
    color: #007bff;
    margin-bottom: 0.5rem;
}

.study-features {
    margin-top: 2rem;
}

.study-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.study-features li {
    padding: 0.5rem 0;
}

.study-features li i {
    color: #28a745;
    margin-right: 10px;
}
/*after school*/


/* Add these styles to your existing CSS file */

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalFadeIn 0.3s;
    text-align: center;
  }
  
  @keyframes modalFadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
  }
  
  .modal-content h2 {
    margin-bottom: 15px;
    color: #333;
  }
  
  .modal-content p {
    color: #666;
    margin-bottom: 10px;
  }

  .thank-you-container {
    text-align: center;
    padding: 100px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.thank-you-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.thank-you-message {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.back-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3f51b5;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: #303f9f;
}
  

