@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

body {
    max-width: fit-content;
    overflow-x: hidden;
}

.nav {
    background: linear-gradient(to bottom, rgb(34, 57, 107) 0%, rgba(23, 22, 128, 0) 100%);
    color: white;
    padding: 20px 0;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    margin: 0;
    box-sizing: border-box;
}

.logo {
    height: 70px;
    margin-left: 40px;
}

.nav ul {
    list-style: none;
    padding: 0 0;
    margin: 0 40px 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    max-width: none;
    box-sizing: border-box;
}

.nav li {
    margin: 0 15px;
    font-weight: 600;
    stroke-width: 1.5;
}

.nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav a:hover {
    color: #ff4081;
}

.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.hero-section {
    background: #304C89;
    width: 100vw;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
}

.heroGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* left: image, right: text/button */
    grid-template-rows: auto auto;
    /* top row for text, bottom row for button */
    width: 100%;
    max-width: 1420px;
    min-height: 400px;
    align-items: center;
    gap: 32px;
}

.heroImageCol {
    grid-column: 1;
    /* always in left column */
    grid-row: 1 / span 2;
    /* span both rows (makes it taller/bigger) */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.heroImage {
    width: 100%;
    /* fill the available column */
    height: auto;
    max-width: 1000px;
    /* adjust this size as you like */
    object-fit: contain;
    border-radius: 18px;
}

.heroTextCol {
    grid-column: 2;
    grid-row: 1;
    /* top-right */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    gap: 10px;
    position: relative;
    height: 100%;
}

.heroLogo {
    height: 150px;
    /* margin: -120px 0 -75px 0; */
}


.heroTitle {
    font-size: 4.8rem;
    font-weight: 800;
    color: #ffbe82;
    margin-bottom: 0;
    text-align: center;
}

.heroSubtitle {
    font-size: 1.3rem;
    color: #f6f6f6;
    text-align: justify;
    margin-bottom: 0;
}

/* .heroHeader {
    background-image: url('loginBanner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    min-height: 100vh;
    margin-top: 0;
    margin-bottom: 18px;
    padding-top: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    z-index: 1;
} */


#userDropdownMenu {
    display: none;
    position: absolute;
    right: 0;
    top: 36px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
    border-radius: 8px;
    min-width: 140px;
    padding: 0px 0;
    z-index: 9999;
    list-style: none;
    margin: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
}

#userDropdownMenu.dropdown-anim-show {
    opacity: 1;
    transform: translateY(0);
}

#userDropdownMenu li a {
    display: block;
    padding: 10px 22px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

#userDropdownMenu li a:hover {
    background: #f0f0f7;
    color: #7c5fe6;
}

/* Navbar search bar styles */
.search-nav-item {
    position: relative;
}

.navbar-search-bar {
    display: none;
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    transition: width 0.3s, padding 0.3s, background 0.3s, box-shadow 0.3s;
    padding: 0;
    border-radius: 26px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.5);
    color: #222;
    font-size: 1rem;
    z-index: 1001;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(4px);
    text-align: left;
    direction: ltr;
}

.navbar-search-bar.expanded {
    display: block;
    width: 180px;
    padding: 6px 12px;
}

/* footer */

.footer {
    background: rgba(32, 32, 32, 0.7);
    color: white;
    padding: 12px 0;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.shop-now-btn {
    justify-content: center;
    background: #F4AE71;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.4rem;
    padding: 16px 48px;
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(48, 76, 137, 0.10);
    transition: background 0.2s;
    display: inline-block;
    border: none;
}

.shop-now-btn:hover {
    background: #c78b56;
    color: #fff;
}

.shopNow {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    margin-top: 16px;
}