/* Base Styles */
:root {
    --primary-color: #2E7D32;  /* Rich green - main brand color */
    --secondary-color: #81C784;  /* Light green */
    --accent-color: #1B5E20;  /* Dark green */
    --gradient-1: linear-gradient(45deg, #2E7D32, #81C784);  /* Green gradient */
    --gradient-2: linear-gradient(135deg, #E8F5E9, #C8E6C9);  /* Light green gradient */
    --text-dark: #212121;  /* Darker text for better contrast */
    --text-light: #424242;  /* Medium dark text for better readability */
    --background-light: #F5F5F5;
}

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

body {
    font-family: 'Poppins', 'Quicksand', sans-serif;  /* Updated font stack */
    line-height: 1.7;  /* Improved line height for readability */
    color: var(--text-dark);
    overflow-x: hidden;
    background: #fff;
    font-size: 16px;  /* Base font size */
    -webkit-font-smoothing: antialiased;  /* Better font rendering */
    -moz-osx-font-smoothing: grayscale;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.logo img {
    height: 60px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;  /* Slightly reduced weight for better readability */
    font-size: 1rem;  /* Using relative units */
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.3px;  /* Improved letter spacing */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.admission-btn a {
    background: var(--gradient-1);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);  /* Updated shadow color */
    font-weight: 600;
    letter-spacing: 0.5px;
}

.admission-btn a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);  /* Updated shadow color */
}

/* Dropdown Styles */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu a {
    padding: 0.7rem 1.5rem;
    display: block;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}

.nav-links .dropdown-menu a:hover {
    background: var(--gradient-2);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        overflow-y: auto;
        transition: 0.3s ease-in-out;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 100%;
        background: #f8f8f8;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav-links .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-links .dropdown-menu a {
        padding: 0.8rem 3rem;
        font-size: 0.95rem;
        border-left: none;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .nav-links .dropdown-menu a:hover {
        background: var(--gradient-2);
        border-left: none;
    }
}

@media (max-width: 480px) {
    .nav-links {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .nav-links a,
    .nav-links .dropdown-menu a {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .nav-links .dropdown-menu a {
        padding-left: 2.5rem;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        gap: 0;
        transition: 0.3s ease-in-out;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        padding: 0;
    }

    .nav-links a {
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links a::after {
        display: none;
    }

    /* Dropdown specific styles */
    .nav-links .dropdown {
        position: relative;
        width: 100%;
    }

    .nav-links .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: 2rem;
    }

    .nav-links .dropdown > a::after {
        content: '';
        font-size: 1.5rem;
        transition: transform 0.3s ease;
        margin-left: auto;
    }

    .nav-links .dropdown.active > a::after {
        transform: none;
    }

    .nav-links .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        background: #f8f8f8;
        padding: 0;
        border-radius: 0;
    }

    .nav-links .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-links .dropdown-menu a {
        padding: 0.8rem 3rem;
        font-size: 1rem;
        color: var(--text-light);
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .nav-links .dropdown-menu a:hover {
        background: var(--gradient-2);
        color: var(--primary-color);
    }

    .admission-btn {
        width: 100%;
        padding: 1rem 2rem;
    }

    .admission-btn a {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .nav-links a {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .nav-links .dropdown-menu a {
        padding: 0.8rem 2.5rem;
        font-size: 0.95rem;
    }

    .mobile-menu-toggle {
        width: 25px;
        height: 18px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.0rem;
    margin-bottom: 1rem;
    font-family: 'Bubblegum Sans', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: 'Quicksand', sans-serif;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s linear infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    background: var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: bounceIn 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

@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);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }
    80% {
        opacity: 1;
        transform: scale(0.89);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

/* Media Queries for Hero Section */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

section:nth-child(odd) {
    background: var(--gradient-2);
}

section h2 {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-family: 'Bubblegum Sans', cursive;
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
    position: relative;
}

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

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: 20px;
    z-index: -1;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Programs Section */
.programs {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff5f5, #f0f7ff);
}

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

.programs h2 {
    text-align: center;
    font-family: 'Bubblegum Sans', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    color: var(--primary-color);
    font-family: 'Bubblegum Sans', cursive;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.program-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

@media (max-width: 768px) {
    .programs {
        padding: 3rem 0;
    }
    
    .programs h2 {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
}

/* Testimonials */
.testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 1rem;
    scroll-snap-type: x mandatory;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    flex: 0 0 350px;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    scroll-snap-align: start;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 1000px; }
}

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

/* Decorative Elements */
.decoration {
    position: absolute;
    pointer-events: none;
}

.balloon {
    width: 100px;
    height: 100px;
    background: url('images/balloon.png') no-repeat center/contain;
    animation: float 6s ease-in-out infinite;
}

.star {
    width: 40px;
    height: 40px;
    background: url('images/star.png') no-repeat center/contain;
    animation: spin 8s linear infinite;
}

/* Contact Form Section */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-section {
    padding: 5rem 0;
    background: var(--background-light);
}

.contact-section h2 {
    text-align: center;
    font-family: 'Bubblegum Sans', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-icon h3 {
    margin: 0;
    color: var(--primary-color);
    font-family: 'Bubblegum Sans', cursive;
    font-size: 1.3rem;
}

.contact-details p {
    margin: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        margin: 3rem auto 0;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .contact-card {
        text-align: left;
        padding: 1.5rem;
    }
    
    .contact-icon {
        justify-content: flex-start;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Footer Styles */
.map-banner {
    width: 100%;
    height: 300px;
    margin-bottom: -5px;  /* Remove gap between map and footer */
}

.map-banner iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

footer {
    background: linear-gradient(to right, #FFE5E5, #E5E5FF);
    padding: 3rem 0 0;
    margin-top: 0;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: url('images/wave-border.svg') repeat-x;
    background-size: 40px;
}

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

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    font-family: 'Bubblegum Sans', cursive;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 10px;
}

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

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

.footer-section ul li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section ul li a::before {
    content: '🎈';
    margin-right: 8px;
    font-size: 0.9em;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover::before {
    opacity: 1;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.contact-info li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    min-width: 20px;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-links .facebook:hover { background: #4267B2; color: white; }
.social-links .instagram:hover { background: #E1306C; color: white; }
.social-links .twitter:hover { background: #1DA1F2; color: white; }
.social-links .youtube:hover { background: #FF0000; color: white; }
.social-links .linkedin:hover { background: #4267B2; color: white; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom p {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.map-section {
    flex: 1;
    min-width: 300px;
}

.footer-section .map-container {
    margin-top: 1.5rem;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.footer-section .map-container iframe {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
}

.footer-section:first-child {
    flex: 1.5;
}

@media (max-width: 992px) {
    .footer-section:first-child {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem;
        text-align: center;
    }

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

    .footer-section h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        display: inline-block;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin: 0;
        padding: 0;
    }

    .footer-section ul li {
        margin: 0;
        padding: 0.3rem 0;
    }

    .footer-section ul li a {
        font-size: 1rem;
        transition: color 0.3s ease;
    }

    .footer-section ul li a:hover {
        color: var(--primary-color);
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .contact-info li {
        justify-content: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        gap: 1.5rem;
        margin-top: 0.5rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 1.5rem;
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .footer-section ul li a {
        font-size: 0.95rem;
    }
}

/* Inner Pages Styles */
.page-content {
    margin-top: 100px;
    padding: 2rem 5%;
    min-height: calc(100vh - 100px);
    background: var(--background-light);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 0;
    background: var(--gradient-2);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.page-header h1 {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.content-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.program-details, .curriculum-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

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

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

.detail-card h3 {
    color: var(--primary-color);
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.detail-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.detail-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.detail-card ul {
    list-style: none;
    padding-left: 0;
}

.detail-card ul li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.detail-card ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Application Form Styles */
.application-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 2rem 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-wrapper {
        padding: 1.5rem;
    }

    .program-details {
        grid-template-columns: 1fr;
    }

    .detail-card {
        padding: 1.5rem;
    }
}

/* New Homepage Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about {
    padding: 4rem 0;
    background: #f9f9f9;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.about-text li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.about-text li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Messages Section */
.messages {
    padding: 4rem 0;
}

.message-card {
    background: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.message-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.message-content img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.message-text {
    flex: 1;
}

.message-author {
    font-style: italic;
    color: #666;
    margin-top: 1rem;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 0;
    background: #f5f5f5;
}

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

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

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: #fff;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-style: italic;
    color: #666;
    margin-top: 1rem;
}

/* Facilities Section */
.facilities {
    padding: 4rem 0;
    background: #f5f5f5;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.facility-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.facility-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.facility-card h3, 
.facility-card p {
    padding: 1rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .message-content {
        flex-direction: column;
        text-align: center;
    }

    .message-content img {
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        flex-direction: column;
    }

    .testimonial-card {
        flex: none;
        width: auto;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.contact-info-card h2,
.contact-form-card h2 {
    color: var(--primary-color);
    font-family: 'Bubblegum Sans', cursive;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

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

.contact-form .submit-btn {
    background: var(--gradient-1);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.contact-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-item {
        padding: 0.8rem;
    }

    .contact-item i {
        font-size: 1.5rem;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .contact-info-card h2,
    .contact-form-card h2 {
        font-size: 1.8rem;
    }

    .contact-item h3 {
        font-size: 1.1rem;
    }

    .contact-form .submit-btn {
        width: 100%;
    }
}

/* Statistics Section */
.stats {
    background-color: var(--background-light);
    padding: 4rem 0;
    margin: 2rem 0;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-content {
    text-align: left;
}

.stats h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    position: relative;
}

.stats h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.stats h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.stats-intro {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stats-numbers {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.stat-item {
    padding: 1.5rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

.stats-header {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.facts-box-image {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.stats-header h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 2.2rem;
}

@media (max-width: 992px) {
    .stats-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .facts-box-image {
        width: 40px;
        height: 40px;
    }
    
    .stats-header h2 {
        font-size: 1.8rem;
    }
}

/* Welcome Section Heading */
h1 {
    margin-top: 140px;  /* Increased from 100px */
    padding-top: 30px;  /* Increased from 20px */
}

@media (max-width: 768px) {
    h1 {
        margin-top: 120px;  /* Increased from 80px */
        padding-top: 25px;  /* Increased from 15px */
    }
}

@media (max-width: 480px) {
    h1 {
        margin-top: 100px;  /* Increased from 70px */
        padding-top: 20px;  /* Increased from 10px */
    }
}
