* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 :root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --white: #ffffff;
    --gray: #95a5a6;
    --dark-gray: #7f8c8d;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
}

header {
    background-color: white;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-section img {
    height: 50px;
}

.school-name {
    font-size: 20px;
    font-weight: bold;
    color: #a1651a;
}

.mobile-contact {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.get-started-btn {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.get-started-btn:hover {
    background-color: #d35400;
}

nav {
    background-color: #34495e;
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    justify-content: start;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 5px 5px;
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
}

.nav-links a:hover {
    background-color: #e67e22;
    border-radius: 5px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2c3e50;
    display: none;
    flex-direction: column;
    min-width: 180px;
    padding: 5px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 6px;
    list-style: none;
}

.nav-links li:hover .dropdown {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    color: white;
    padding: 5px 20px;
    display: block;
}

.dropdown li a:hover {
    background-color: #e67e22;
}

.menu-toggle {
    display: none;
    font-size: 20px;
    cursor: pointer;
    color: #34495e;
    align-items: center;
    gap: 5px;
}

.menu-toggle img {
    height: 35px;
}

@media (max-width: 768px) {
    .nav {
        background-color: #34495e;
        padding: 10px 0;
        position: sticky;
        top: 0;
        z-index: 9999;
        display: none;
    }
    * {
        .nav-links {
            display: none;
            flex-direction: column;
            background-color: #34495e;
            width: 100%;
            position: absolute;
            top: 100%;
            left: 0;
        }
        .nav-links.active {
            display: flex;
        }
        .nav-links li {
            width: 100%;
        }
        .dropdown {
            position: relative;
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            display: none;
            background-color: #3d566e;
        }
        .nav-links li.show .dropdown {
            display: flex;
            flex-direction: column;
        }
        .mobile-contact,
        .get-started-btn {
            display: none !important;
        }
        .menu-toggle {
            display: flex;
        }
    }
}

.slider-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.slider {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
    opacity: 0;
    transition: all 0.8s ease;
}

.slide.active .slide-content {
    opacity: 1;
    animation: slideInLeft 0.8s ease-out;
}

.slide-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    transform: translateY(-50%);
}

.slider-nav button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-nav button:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    margin: 0 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.3);
}


/* About Section */

.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

#about-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    animation: fadeIn 1s ease-in;
    margin-top: 50px;
    margin-bottom: 50px;

    padding: 50px 10px;
}

#image-column {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: slideInLeft 1.2s ease;
}

.img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.img-box img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.blue-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: #0057ff;
    border-radius: 0 0 0 50px;
}

.top-right {
    top: -10px;
    right: -10px;
}

.bottom-left {
    bottom: -10px;
    left: -10px;
}

#text-column {
    flex: 1 1 400px;
    animation: slideInRight 1.2s ease;
}

#heading-tag {
    color: #0057ff;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 10px;
}

#main-heading {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

#description {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
}

.success-mission {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0.5;
    animation: fadeUp 1s ease forwards;
}

.success-mission:nth-child(1) {
    animation-delay: 0.5s;
}

.success-mission:nth-child(2) {
    animation-delay: 0.8s;
}

.icon-box {
    font-size: 24px;
    color: #0057ff;
}

.mission-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #111;
}

.mission-content p {
    font-size: 15px;
    color: #555;
}

#discover-btn {
    margin-top: 30px;
    background-color: #0057ff;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

#discover-btn:hover {
    background-color: #0043cc;
    transform: scale(1.05);
}


/* Responsive Design */

@media (max-width: 768px) {
    #main-heading {
        font-size: 28px;
    }
    #description {
        font-size: 15px;
    }
    .success-mission {
        flex-direction: column;
        align-items: flex-start;
    }
    #image-column,
    #text-column {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    #main-heading {
        font-size: 24px;
    }
    #discover-btn {
        width: 100%;
        padding: 12px;
    }
}


/* Features Section */

.features-section {
    padding: 80px 0;
    background-color: var(--white);
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 0;
}


/* Gallery Section */

.gallery-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}


/* Academics Section */

.academics-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
}

.academics-section .section-title h2 {
    color: white;
}

.academics-section .section-title h2::after {
    background: linear-gradient(90deg, var(--secondary-color), var(--warning-color));
}

.program-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.program-img {
    height: 200px;
    overflow: hidden;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-img img {
    transform: scale(1.1);
}

.program-content {
    padding: 20px;
}

.program-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.program-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.program-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.program-btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}


/* Facilities Section */

.facilities-section {
    padding: 80px 0;
    background-color: var(--white);
}

.facility-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.facility-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.facility-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.facility-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.facility-card:hover .facility-icon {
    transform: rotateY(180deg);
    color: var(--secondary-color);
}

.facility-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.facility-card p {
    color: var(--gray);
    margin-bottom: 0;
}


/* Stats Section */

.stats-section {
    padding: 60px 0;
    background: #2c3e50;
}

.stat-item {
    text-align: center;
    padding: 30px 15px;
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stat-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 10px;
}

.stat-label {
    color: #d1d5db;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}


/* Responsive Fix */

@media (max-width: 768px) {
    .stat-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* Contact CTA Section */

.contact-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
}

.contact-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.cta-btn:hover {
    background-color: white;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.5);
}


/* Footer */

.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 60px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact-info {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-contact-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}


/* Scroll to Top Button */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


/* Animations */

@keyframes slideInLeft {
    from {
        transform: translateY(-50%) translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(230, 126, 34, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
    }
}


/* Responsive Styles */

@media (max-width: 1199.98px) {
    .slide-content h2 {
        font-size: 2.2rem;
    }
    .slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) {
    .slider-container {
        height: 70vh;
    }
    .slide-content {
        left: 5%;
        max-width: 90%;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
    .experience-badge {
        width: 100px;
        height: 100px;
    }
    .experience-badge span {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .slider-container {
        height: 60vh;
    }
    .slide-content {
        padding: 20px;
    }
    .slide-content h2 {
        font-size: 1.8rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .stat-label {
        font-size: 1rem;
    }
    .contact-cta h2 {
        font-size: 1.5rem;
    }
    .contact-cta p {
        font-size: 1rem;
    }
    .cta-btn {
        padding: 10px 25px;
    }
}

@media (max-width: 575.98px) {
    .slider-container {
        height: 50vh;
    }
    .slide-content {
        padding: 15px;
    }
    .slide-content h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    .slider-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .experience-badge {
        width: 80px;
        height: 80px;
        right: 0;
        bottom: -15px;
    }
    .experience-badge span {
        font-size: 1.5rem;
    }
    .experience-badge p {
        font-size: 0.7rem;
    }
    .footer {
        padding: 40px 0 0;
    }
    .footer-logo img {
        height: 50px;
    }
    .footer-links h3 {
        font-size: 1.3rem;
    }
}


/* edu container */

.edu-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.edu-main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.edu-header {
    margin-bottom: 40px;
}

.edu-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.edu-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
}

.edu-contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.edu-phone-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.edu-phone-text {
    color: #3b82f6;
    font-weight: 600;
    font-size: 1.1rem;
}

.edu-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.edu-image-section {
    position: relative;
}

.edu-main-image {
    width: 100%;
    height: 600px;
    /* border-radius: 16px; */
    object-fit: cover;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
}

.edu-decorative-shapes {
    position: absolute;
    top: -20px;
    right: -20px;
}

.edu-shape-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
}

.edu-bottom-image {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    margin-top: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.edu-courses-section {
    border-radius: 20px;
    padding: 32px;
}

.edu-course-card {
    padding: 24px 0;
    border-left: 4px solid transparent;
    padding-left: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.edu-course-card:hover {
    border-left-color: #3b82f6;
    background: #f8fafc;
    border-radius: 12px;
    margin-left: -20px;
    padding-left: 36px;
}

.edu-course-card:first-child {
    border-left-color: #fbbf24;
}

.edu-course-card:nth-child(2) {
    border-left-color: #10b981;
}

.edu-course-card:nth-child(3) {
    border-left-color: #8b5cf6;
}

.edu-course-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 0.9rem;
}

.edu-date-icon {
    width: 16px;
    height: 16px;
    background: #fbbf24;
    border-radius: 4px;
}

.edu-course-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.edu-instructor-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.edu-instructor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.edu-instructor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.edu-instructor-name {
    color: #475569;
    font-weight: 500;
}

.edu-location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
}

.edu-location-icon {
    width: 16px;
    height: 16px;
    background: #fbbf24;
    border-radius: 50%;
}

.edu-price-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.edu-price-free {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}


/* .edu-shopping-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.edu-shopping-cart:hover {
    transform: scale(1.1);
} */


/* Enhanced Responsive Design */

@media (max-width: 1024px) {
    .edu-container {
        padding: 30px 15px;
    }
    .edu-title {
        font-size: 3rem;
    }
    .edu-content-grid {
        gap: 30px;
    }
    .edu-main-image {
        height: 500px;
    }
    .edu-courses-section {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .edu-container {
        padding: 20px 15px;
    }
    .edu-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .edu-title {
        font-size: 2.5rem;
        text-align: center;
    }
    .edu-subtitle {
        text-align: center;
        margin: 0 auto;
    }
    .edu-contact-info {
        justify-content: center;
    }
    .edu-main-image {
        height: 160px;
    }
    .edu-course-card {
        padding: 20px 0;
        margin-left: 0 !important;
        padding-left: 20px !important;
    }
    .edu-course-card:hover {
        margin-left: 0 !important;
        padding-left: 20px !important;
    }
    .edu-course-card[style*="margin-left: -82px"] {
        margin-left: 0 !important;
    }
    .edu-course-card[style*="margin-top: -159px"] {
        margin-top: 0 !important;
    }
    .edu-instructor-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .edu-location-info {
        align-self: flex-start;
    }
    .edu-courses-section {
        padding: 20px;
    }
    .edu-decorative-shapes {
        display: none;
    }
    /* .edu-shopping-cart {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    } */
}

@media (max-width: 640px) {
    .edu-container {
        padding: 15px 10px;
    }
    .edu-title {
        font-size: 2rem;
    }
    .edu-subtitle {
        font-size: 1rem;
    }
    .edu-phone-text {
        font-size: 1rem;
    }
    .edu-main-image {
        height: 300px;
    }
    .edu-course-title {
        font-size: 1.2rem;
    }
    .edu-course-meta {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    .edu-instructor-name {
        font-size: 0.9rem;
    }
    .edu-location-info {
        font-size: 0.8rem;
    }
    .edu-price-tag {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    /* .edu-course-card {
        position: relative !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 20px !important;
    } */
}

@media (max-width: 480px) {
    .edu-header {
        margin-bottom: 25px;
    }
    .edu-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    .edu-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .edu-contact-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .edu-main-image {
        height: 180px;
    }
    .edu-courses-section {
        padding: 15px;
    }
    .edu-course-card {
        padding: 15px 0;
        padding-left: 15px !important;
    }
    .edu-instructor-avatar {
        width: 35px;
        height: 35px;
    }
    /* .edu-shopping-cart {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 18px;
    } */
}

@media (max-width: 360px) {
    .edu-container {
        padding: 10px 8px;
    }
    .edu-title {
        font-size: 1.6rem;
    }
    .edu-main-image {
        height: 220px;
    }
    .edu-course-title {
        font-size: 1.1rem;
    }
    .edu-courses-section {
        padding: 12px;
    }
}


/* popup */


/* Improved Popup Form CSS */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.32, 0.08, 0.24, 1);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    padding: 0;
    position: relative;
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s cubic-bezier(0.32, 0.08, 0.24, 1);
    overflow: hidden;
}

.popup-overlay.active .popup-container {
    transform: scale(1) translateY(0);
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

.popup-header {
    text-align: center;
    padding: 25px 25px 15px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    position: relative;
}

.popup-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

.school-logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.popup-header h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 22px;
}

.popup-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 0;
}

.form-scroll-container {
    max-height: calc(90vh - 160px);
    overflow-y: auto;
    padding: 30px 25px 25px;
}

.popup-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.form-group:nth-child(5) {
    animation-delay: 0.5s;
}

.form-group:nth-child(6) {
    animation-delay: 0.6s;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
}

.form-group label span {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(to right, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.submit-btn i {
    transition: transform 0.3s;
}

.submit-btn:hover i {
    transform: translateX(3px);
}


/* Custom Scrollbar */

.form-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.form-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.form-scroll-container::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 3px;
}


/* Responsive Design */

@media (max-width: 480px) {
    .popup-container {
        width: 95%;
        max-height: 95vh;
    }
    .popup-header {
        padding: 20px 15px 10px;
    }
    .school-logo {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .popup-header h3 {
        font-size: 20px;
    }
    .form-scroll-container {
        padding: 25px 15px 15px;
        max-height: calc(95vh - 150px);
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
    }
    .submit-btn {
        padding: 10px;
        font-size: 15px;
    }
}



/* contact section */
