/* HEADER */

.header {
    background: #fff;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1500px;
    width: 100%;
    height: 80px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logodesign{
    display:inline-flex;
    align-items:center;
    gap:0;
    letter-spacing:-1px; /* Adjust: -0.5px, -1px, -2px */
    font-weight:700;
	font-size: 32px;
}

.blue { color: #4285F4; }
.red { color: #EA4335; }
.yellow { color: #FBBC05; }
.green { color: #34A853; }
.black { color: #000; }


/* NAVIGATION */

.nav {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.nav-item {
    position: static;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 25px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link:hover {
    color: #8d1b68;
}

.nav-arrow {
    font-size: 11px;
}


/* MEGA MENU */

.has-mega-menu {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    max-width: calc(100vw - 40px);
    height: 560px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0 0 12px 12px;
    box-shadow:
        0 12px 35px
        rgba(0,0,0,.15);
    display: none;
    overflow: hidden;
}

.nav-item.mega-open .mega-menu {
    display: flex;
}


/* LEFT SIDE */

.mega-left {
    width: 24%;
    background: #fafafa;
    padding: 14px;
    border-right: 1px solid #eee;
    overflow-y: auto;
}

.course-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    margin-bottom: 4px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    color: #444;

    transition:
        background .15s ease,
        color .15s ease;
}

.course-menu-item:hover,
.course-menu-item.active {
    background: #f2e5ef;
    color: #8d1b68;
    font-weight: 600;
}

.course-menu-item span {
    font-size: 20px;
}


/* RIGHT SIDE */

.mega-right {
    width: 76%;
    padding: 22px;
    overflow-y: auto;
}

.course-content {
    display: none;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.course-content.active {
    display: grid;
}

.mega-column {
    min-width: 0;
}

.mega-column h4 {
    font-size: 12px;
    color: #a11d76;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.mega-column a {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
    color: #444;
}

.mega-column a:hover {
    color: #a11d76;
}


/* IMAGE CARDS */

.menu-image-card {
    position: relative;
    display: block;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #eee;
    box-shadow:
        0 5px 15px
        rgba(0,0,0,.10);
}

.menu-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform .25s ease;
}

.menu-image-card:hover img {
    transform: scale(1.05);
}

.menu-image-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 25px 12px 10px;

    color: #fff;

    font-size: 13px;

    font-weight: 700;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.75)
        );
}


/* FEATURED IMAGE STRIP */

.menu-featured-images {
    grid-column: 1 / -1;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 5px;
}

.menu-featured-card {
    position: relative;

    height: 200px;

    border-radius: 9px;

    overflow: hidden;

    background: #eee;
}

.menu-featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .25s ease;
}

.menu-featured-card:hover img {
    transform: scale(1.06);
}

.menu-featured-card span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 22px 10px 8px;

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.78)
        );
}


/* MORE MEGA MENU */

.more-mega-menu {
    height: 560px;
}

.more-mega-content {
    display: block;
    width: 100%;
}

.more-mega-content .menu-featured-images {
    margin-bottom: 25px;
}

.more-links-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.more-links-column {
    min-width: 0;
}

.more-links-column h4 {
    font-size: 12px;
    color: #a11d76;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.more-links-column a {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 13px;
    color: #444;
}

.more-links-column a:hover {
    color: #a11d76;
}


/* HEADER SEARCH */

.header-search {
    width: 260px;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 22px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: #fafafa;
}

.header-search input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 13px;
}

.login-btn {
    padding: 10px 18px;
    border: 1px solid #8d1b68;
    color: #8d1b68;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
}

.signup-btn {
    padding: 11px 18px;
    background: #8d1b68;
    color: #fff;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
}

/* RESPONSIVE */

@media (max-width: 1200px) {

    .header-inner {
        gap: 10px;
    }

    .nav-link {
        padding-left: 9px;
        padding-right: 9px;
    }

    .header-search {
        width: 210px;
    }

    .more-links-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}

@media (max-width: 1000px) {

    .header-search {
        display: none;
    }

    .college-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .mega-menu {
        width: 95vw;
    }

}

@media (max-width: 768px) {

    .header-inner {
        gap: 10px;
    }

    .nav {
        display: none;
    }

    .login-btn {
        display: none;
    }

    .hero {
        min-height: 450px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
    }

    .main-search {
        flex-direction: column;
        background: transparent;
        gap: 10px;
    }

    .main-search input {
        background: #fff;
        border-radius: 10px;
    }

    .search-button {
        height: 52px;
    }

    .filters {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

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

    .mega-menu {
        position: fixed;
        top: 80px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
        transform: none;
        height: 80vh;
        flex-direction: column;
    }

    .mega-left {
        width: 100%;
        height: 220px;
        display: grid;
        grid-template-columns:
            repeat(2, 1fr);
    }

    .mega-right {
        width: 100%;
    }

    .course-content.active {
        grid-template-columns: 1fr;
    }

    .menu-featured-images {
        grid-template-columns: 1fr;
    }

    .more-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

}