/* Modern Color Palette */
:root {
    --primary: #4CAF50;
    --primary-light: #81C784;
    --primary-dark: #388E3C;
    --secondary: #2196F3;
    --accent: #FF4081;
    --background: #F5F7FA;
    --text-primary: #2C3E50;
    --text-secondary: #546E7A;
    --white: #FFFFFF;
    --card-bg: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #4CAF50, #2196F3);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation and Header Styles */
.navbar-brand,
.nav-link,
.btn-glass,
.btn-cta,
.course-card h5,
.course-card p {
    font-family: 'Poppins', sans-serif;
}

.top-bar {
    background: var(--primary-dark);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

    .top-bar a {
        color: var(--white);
        transition: var(--transition);
    }

        .top-bar a:hover {
            color: var(--primary-light);
            transform: translateY(-1px);
        }


.navbar-gradient {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
}

    .navbar-gradient .nav-link {
        color: var(--white) !important;
        font-weight: 500;
        padding: 0.5rem 1rem !important;
        transition: var(--transition);
    }

        .navbar-gradient .nav-link:hover {
            color: var(--white) !important;
            transform: translateY(-2px);
        }

.btn-glass {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

    .btn-glass:hover {
        background: var(--white);
        color: var(--primary);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-cta {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    background: #27ae60;
    border: none;
    transition: all 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

    .btn-cta:hover {
        background: #2ecc71;
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(46,204,113,0.5);
    }

.swiper {
    width: 100%;
    height: 80vh;
    position: relative;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.slide-content {
    background: rgba(0,0,0,0.8);
    padding: 30px;
    border-radius: 15px;
}

    .slide-content h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .slide-content p {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

.course-card {
    background-color: #2764411f;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 35px rgba(0,0,0,0.25);
    }

    .course-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

.see-desc-btn {
    margin-top: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .see-desc-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(46,204,113,0.5);
    }

.course-desc {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333;
}

.see-desc-btn.active + .course-desc {
    display: block;
}

/* About Us Section */
#about {
    background-color: #eaf6ea;
    padding-top: 60px;
    padding-bottom: 60px;
}

    #about .text-center h2 {
        font-size: 2.8rem;
        margin-bottom: 0.5rem;
    }

    #about .text-center p {
        font-size: 1.1rem;
        color: #555;
    }

/* Facility Cards */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out;
}

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

.facility-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

    .facility-img:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    }

.facility-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-in-out;
}

    .facility-text.visible {
        opacity: 1;
        transform: translateX(0);
    }

#about h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

#about p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.facility-icon {
    font-size: 2.5rem;
    color: #27ae60;
    margin-bottom: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

    .facility-icon:hover {
        transform: scale(1.2);
        color: #2ecc71;
    }

.facility-text {
    text-align: center;
}

.row.align-items-center .facility-text {
    text-align: left;
}

.flex-md-row-reverse .facility-text {
    text-align: left;
}

.whatTheySaySwiper {
    height: auto !important;
}

#what-they-say {
    padding: 80px 0;
    background-color: #f0f9f0;
}

    #what-they-say h2 {
        font-size: 2.8rem;
        margin-bottom: 0.5rem;
    }

    #what-they-say p {
        font-size: 1.1rem;
        color: #555;
        margin-bottom: 50px;
    }

.testimonial-card {
    background-color: #e6f5e6;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }

    .testimonial-card p {
        font-size: 1rem;
        color: #333;
        font-style: italic;
        margin-bottom: 15px;
    }

    .testimonial-card h5 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #27ae60;
    }

    .testimonial-card span {
        font-size: 0.95rem;
        color: #555;
    }

.partnersSwiper {
    height: auto !important;
}

.partners-items {
    height: 100px !important;
}

#partners h2 {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
}

#partners p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 30px;
}

.partner-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

    .partner-logo:hover {
        filter: grayscale(0%);
        transform: scale(1.05);
    }

#contact-us {
    background-color: #e6f5e6;
}

    #contact-us h2 {
        font-size: 2.2rem;
        margin-bottom: 0.3rem;
    }

    #contact-us p {
        font-size: 0.95rem;
        color: #555;
        margin-bottom: 30px;
    }

.contact-info {
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .contact-info:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .contact-info h5 {
        color: #27ae60;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .contact-info p {
        color: #333;
        margin: 0;
    }

.contact-form {
    background-color: white;
}

    .contact-form input,
    .contact-form textarea {
        border-radius: 10px;
        border: 1px solid #ccc;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: #27ae60;
            box-shadow: 0 0 5px rgba(39, 174, 96, 0.3);
        }

.footerDiv {
    background: #2c3e50;
    color: #fff;
}

    .footerDiv a.footerDiv {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footerDiv a.footerDiv:hover {
            color: #27ae60;
        }

    .footerDiv i {
        font-size: 1rem;
    }

/* Mobile: stack icons above text, remove borders */
@media (max-width: 991px) {
    .service-row {
        border-left: none !important;
        border-right: none !important;
        text-align: center;
    }

        .service-row .col-lg-5,
        .service-row .col-lg-7 {
            order: unset !important;
        }
}
