* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Segoe UI, Arial;
}

body {
    background: #f8f9fa;
}

/* NAVBAR */

.navbar {
    background: white;
    padding: 15px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #7d2ae8;
}

/* HAMBURGER */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* ANIMATION */

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* SEARCH */

.search-bar {
    position: relative;
}

.search-bar input {
    padding: 8px 15px;
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

/* NAV LINKS */

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    text-decoration: none;
    /* list-style-type: none; */
}

.login-btn {
    background: #7d2ae8;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 5px;
}

/* SIDEBAR (MOBILE) */

@media(max-width:1024px) {

    .menu-toggle {
        display: flex;
    }

    /* SLIDE MENU */

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 80px;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    /* ACTIVE SLIDE IN */

    .nav-links.active {
        right: 0;
    }

    /* SEARCH ICON */

    .search-bar input {
        display: none;
        position: absolute;
        top: 40px;
        right: 0;
        width: 200px;
        background: white;
    }

    .search-bar.active input {
        display: block;
    }

}

/* SEARCH SUGGESTIONS */

.suggestions-box {
    position: absolute;
    top: 40px;
    background: rgb(238, 208, 208);
    width: 100%;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* BANNER */

.main-banner {
    text-align: center;
    padding: 80px;
    background: linear-gradient(135deg, #7d2ae8, #00d4ff);
    color: white;
}

/* CARDS */

.parent-grid {
    max-width: 1200px;
    margin: -50px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.hub-card {
    background: rgb(245, 236, 236);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    /* text-decoration: none; */
}

.hub-card:hover {
    transform: translateY(-10px);
}

.hub-link {
    color: #7d2ae8;
    border: 2px solid #7d2ae8;
    padding: 8px 18px;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
}

.hub-link:hover {
    background: #7d2ae8;
    color: white;
}

.main-footer {
    text-align: center;
    padding: 40px;
    color: #888;
}