/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8rem;
    color: #000;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: #544DA4;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Intro Banner Section */
.intro-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/fergana2.webp');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.intro-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.intro-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: #544DA4;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 5px 15px rgba(84, 77, 164, 0.4);
}

.btn-primary:hover {
    background: #3e348c;
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.about-text {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
}

.features {
    list-style: none;
    margin-top: 15px;
}

.features li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #000;
}

.features i {
    color: #544DA4;
    margin-right: 10px;
    font-size: 1.3rem;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s;
}

.about-image img:hover {
    transform: scale(1.03);
}

/* Fees Section */
.fees {
    padding: 80px 0;
    background: #e9e9e9;
}

.fees-table {
    width: 100%;
    margin: 0 auto;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

table th, table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

table th {
    background: #544DA4;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

table td {
    font-size: 1rem;
    color: #333;
}

table tr:hover {
    background: #f5f5f5;
}

.note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.contact-details {
    list-style: none;
    margin: 30px 0;
}

.contact-details li {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #000;
}

.contact-details i {
    color: #544DA4;
    margin-right: 12px;
    font-size: 1.4rem;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease-in forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 1.2s ease-in forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 1.2s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Navbar Styles */
.edu-header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: fixed;
    z-index: 1000;
    top: 0;
}

.edu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.edu-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.edu-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.edu-logo__img {
    height: 50px;
    width: auto;
}

.edu-nav-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.edu-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.edu-nav__item {
    margin: 0 15px;
    position: relative;
}

.edu-nav__link {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 5px;
    display: block;
    transition: color 0.3s ease;
}

.edu-nav__link:hover,
.edu-nav__item--active .edu-nav__link {
    color: #007bff;
}

.edu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 5px;
    padding: 10px 0;
    z-index: 100;
}

.edu-nav__item:hover .edu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.edu-dropdown__item {
    display: block;
    padding: 10px 20px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.edu-dropdown__item:hover {
    background-color: #f8f9fa;
    color: #007bff;
    padding-left: 25px;
}

.edu-subdropdown {
    position: relative;
}

.edu-subdropdown__menu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 220px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    border-radius: 5px;
    padding: 10px 0;
}

.edu-subdropdown:hover .edu-subdropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.edu-apply {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.edu-apply__btn {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.edu-apply__btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.edu-navbar__toggler {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333333;
    padding: 5px;
}

.edu-navbar__toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    transition: background-image 0.3s ease;
}

.edu-navbar__collapse--show .edu-navbar__toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6l18 18M6 24L24 6'/%3E%3C/svg%3E");
}

/* Responsive Styles */
@media (max-width: 992px) {
    .edu-navbar {
        flex-wrap: wrap;
        position: relative;
    }

    .edu-logo {
        order: 0;
        flex: 1;
    }

    .edu-navbar__toggler {
        display: block;
        order: 1;
    }

    .edu-nav-container {
        order: 3;
        flex-basis: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        background: #fff;
    }

    .edu-navbar__collapse--show .edu-nav-container {
        max-height: 1000px;
    }

    .edu-nav {
        flex-direction: column;
        width: 100%;
    }

    .edu-nav__item {
        margin: 0;
        width: 100%;
    }

    .edu-nav__link {
        padding: 12px 15px;
        border-bottom: 1px solid #f1f1f1;
    }

    .edu-dropdown {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, padding 0.3s ease;
        opacity: 1;
        visibility: visible;
        padding: 0;
        border-radius: 0;
    }

    .edu-nav__item--open .edu-dropdown {
        max-height: 500px;
        padding: 10px 0;
    }

    .edu-subdropdown__menu {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, padding 0.3s ease;
        opacity: 1;
        visibility: visible;
        border-radius: 0;
    }

    .edu-subdropdown--open .edu-subdropdown__menu {
        max-height: 500px;
        padding: 10px 0 10px 20px;
    }

    .edu-dropdown__arrow {
        float: right;
        transition: transform 0.3s ease;
    }

    .edu-subdropdown--open .edu-dropdown__arrow {
        transform: rotate(90deg);
    }

    .edu-apply {
        order: 2;
    }
}

@media (max-width: 768px) {
    .intro-banner {
        height: 40vh;
        margin-top: 60px;
    }

    .intro-content h1 {
        font-size: 2rem;
    }

    .intro-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-text, .about-image {
        width: 100%;
    }

    .about-image img {
        max-width: 100%;
    }

    .fees-table {
        width: 100%;
    }

    table th, table td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .contact-details li {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .edu-logo__img {
        height: 40px;
    }

    .edu-apply__btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .edu-nav__link,
    .edu-dropdown__item {
        font-size: 14px;
    }

    .intro-content h1 {
        font-size: 1.4rem;
        margin-top: 60px;
    }

    .intro-content p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title::after {
        width: 80px;
    }

    .about, .fees, .contact {
        padding: 50px 0;
    }
}