@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Padauk:wght@400;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito Sans" ;
}

body{
    background-image: url("../assets/master/backgroundimage.png");
}

nav{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    padding: 0px 30px;
    position: fixed;
    top: 0px;
    z-index: 9999 !important;
    background-color: white;
}
.logo-section{
    height: 55px;
}
.logo-section>img{
    height: 100%;
}
.menu-section{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}
.menu-section .search-bar{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    background-color: #FCFCFC;
    padding: 5px;
    width: 300px;
}
.menu-section .search-bar>img{
    height: 20px;
}
.menu-section .search-bar>input{
    background-color: transparent;
    border: none;
    outline: none;
}
.round-button{
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
}
.round-button>img{
    height: 20px;
}
.signup-button {
    background-color: #A10404;
    margin-left: 30px;
    border-radius: 8px;
    color: white;
    padding: 13px 39px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 1px solid #D9D9D9;

}
.signup-wrapper {
    position: relative;
    display: inline-block;
    z-index: 99999 !important; 
}

.signup-dropdown {
    position: absolute;
    top: 60px;
    left: 0;
    background: white;
    padding: 10px;
    list-style: none;
    border-radius: 6px;
    width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999999 !important;
}
.signup-dropdown li {
    padding: 10px 16px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    transition: 0.2s;
    border-bottom: 1px solid #D9D9D9;

}
.signup-dropdown li:hover {
    color: #A10404;
    background: #EFDFDF;
    border-radius: 4px;
}
.signup-wrapper:hover .signup-dropdown,
.signup-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* container for the whole mobile menu */
#mobile-menu {
  display: none; /* keep as you already had for desktop */
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  overflow-y: auto;
  max-height: calc(100vh - 60px);
  z-index: 9999;
  padding-bottom: 80px;
}

/* dropdown item wrapper */
.mobile-dropdown {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: transparent;
}

/* header that user clicks */
.dropdown-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 12px 16px;
  cursor: pointer;
}

/* arrow transition/rotation */
.arrow {
  transition: transform 0.25s ease;
}

/* collapsed submenu (hidden) */
/* remove display:flex here — use block so height controls work reliably */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease, opacity 0.25s ease;
  margin: 0;
  list-style: none;
  background-color: #F6F6F6;
  opacity: 0;
  pointer-events: none;      /* prevent focus/click when closed */
}

.mobile-submenu>li:hover{
    background-color: #EFDFDF;
}

/* items inside submenu */
.mobile-submenu > li {
  padding: 10px 20px;
  color: #3F3F3F;
  font-weight: 400;
}

/* opened state */
.mobile-dropdown.open .dropdown-header{
    background-color: #a1040411;
}
.mobile-dropdown.open .mobile-submenu {
  max-height: 600px; /* enough to show content, a large value works for animation */
  opacity: 1;
  pointer-events: auto;
  width: 100%;
  border-radius: 4px;
}


.mobile-dropdown.open .arrow {
    transform: rotate(180deg);
}
.welcome-main-section{
    background-image: url("../assets/master/backgroundimage.png");
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: #a1040413;
}
.welcome-text-section{
    display: flex;
    flex-direction: column;
}
.welcome-text-section>span{
    color: black;
    font-size: 18px;
    font-weight: 600;
}
.welcome-text-section>a{
    color: #A10404;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
.main-bottom-section{
    background-color: #f7f7f7;
}
.sub-section{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
}
.sub-section>span{
    color: #3F3F3F;
    font-size: 18px;
    font-weight: 600;
}
.mobile-nav-menu{
    margin-top: 10px;
    background-color: white;
    list-style: none;
    border-radius: 5px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mobile-nav-menu.not-logged-in{
    background-color: #D9D9D9;
}
.mobile-nav-menu.not-logged-in .mobile-icon{
    background-color: #8E8989;
}
.mobile-nav-menu.not-logged-in .mobile-icon>img{
    mix-blend-mode: multiply;
    opacity: 0.8;
}
.mobile-nav-menu>li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.mobile-icon-main{
    display: flex;
    align-items: center;
    gap: 10px;
}
.mobile-nav-menu .mobile-icon{
    background-color: #EFDFDF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;

}
.mobile-icon-main>span{
    font-size: 16px;
    font-weight: 500;
    color: #3F3F3F;
}
/* Level 1 submenu */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-dropdown.open > .mobile-submenu {
    max-height: 1000px;
}

/* Level 2 submenu */
.mobile-dropdown-sub{
    display: flex;
    flex-direction: column;
}
.mobile-dropdown-sub>span{
    padding: 10px;
    padding-left: 0px;
}
.mobile-dropdown-sub > ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 15px;
    list-style: none;
    background-color: white;
}
.mobile-dropdown-sub.open-sub > ul {
    max-height: 600px;
}
.mobile-dropdown-sub > ul>li{
    padding: 10px;
    color: #A10404;
    font-weight: 500;
}





/* Banner Section */

.featured-brands{
    background: white;
}
.carousel-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-top: 75px;
}

.carousel-slide {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.2); /* 20% black */

}

.carousel-slide img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
    filter: brightness(0.6);
    z-index: 1;
}

/* Dots below the image */
.dots {
    width: 100%;
    text-align: center;
    padding-top: 15px;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #D9D9D9;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    margin: 0 5px;
}

.dot.active {
    background-color: #A10404;
}



/* Banner section Content */

.middle-nav-bar {
    position: absolute;
    z-index: 100;
    left: 50%;
    top: 100px;
    transform: translate(-50%);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 5px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    /* Glass effect */
    background: rgba(255, 255, 255, 0.034);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-item {
    position: relative;
    padding: 10px 0;
    font-size: 16px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    font-family: Padauk;
    text-wrap: nowrap;
}

/* SUBMENU (Initially hidden) */
.dropdown {
    position: absolute;
    top: 55px;
    left: -100px;
    background: white;
    padding: 12px 0;
    list-style: none;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); 
    transition: all 0.25s ease;
    z-index: 9999;
    padding: 10px 10px;
    display: flex;
    flex-wrap: wrap;
    height: max-content;
    gap: 10px;
    width: max-content;
}

.dropdown>li {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #3F3F3F;
    gap: 8px;
    font-weight: 500;
}
.submenu-dropdown-main{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    padding: 10px 15px;
}
.submenu-dropdown-main>li{
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
    padding: 5px 10px;  
}



.submenu-dropdown-main>li:hover{
    color: #A10404;
    background: #EFDFDF;
    border-radius: 4px;
}

/* SHOW submenu on hover */
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.banner-main-content{
    position: absolute;
    z-index: 99;
    top: 260px;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.banner-heading{
    font-size: 30px;
    color: white;
    font-weight: 500;
    max-width: 500px;
    width: 100%;
    text-align: center;
}
.line{
    border: 1px solid white;
    width: 700px;
}
.small-para{
    color: white;
    font-size: 16px;
    max-width: 600px;
    text-align: center;
}
.banner-explore-btn{
    margin-top: 15px;
}
.banner-explore-btn>button{
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.034);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

/* Featured Brands */
.featured-brands{
    padding-top: 20px;
    background-color: transparent;
}
.heading-tag-for-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.heading-tag-for-section>div{
    font-size: 24px;
    font-weight: 600;
}
.heading-tag-for-section .heading-line{
    border: 1px solid #A10404;
    width: 185px;
}
:root{
  --logo-size:64px;
  --gap:36px;
  --speed-px-per-sec:50;
}


/* wrapper */
.logo-marquee-wrap{
    padding:20px 0px; 
    display:flex; 
    justify-content:center; 
    background: transparent;
}

/* viewport (visible area) */
.logo-marquee{
    width:100%; 
    background-color: transparent;
}
.marquee-viewport{
    overflow:hidden; 
    width:100%;
}

/* content row (will be duplicated) */
.marquee-content{
  display:flex;
  gap:var(--gap);
  align-items:center;
  flex-wrap:nowrap;
  animation-name: marquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

/* each logo item */
.marquee-item{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  min-width:100px;
  user-select:none;
}

.marquee-item img{
  width:var(--logo-size);
  height:var(--logo-size);
  object-fit:cover;
  display:block;
  margin-bottom:8px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,0.12);
  cursor: pointer;
}

.brand-name{
    font-size:12px;
    color:#444;
    white-space:nowrap
}

.logo-marquee:hover .marquee-content,
.logo-marquee:focus-within .marquee-content{
  animation-play-state:paused;
}


/* keyframes - translate by CSS variable --move px which JS sets */
@keyframes marquee{
  from{transform:translateX(0)}
  to{transform:translateX(calc(var(--move) * -1))}
}

@media (max-width:1068px) {
    .submenu-dropdown-main>li{
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media (max-width:835px) {
    .dropdown{
        left: -80px;
    }
    .nav-item{
        font-size: 14px;
    }
}

@media (max-width:815px) {

    /* Nav Bar */
    .menu-section .search-bar{
        width: 200px;
    }
    .signup-button{
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Banner Section */
    .nav-menu{
        gap: 15px;
    }

    .banner-main-content{
        top: 200px;
    }
    .carousel-container { 
        height: 400px;
        width: 100%; 
    }
    .banner-heading{
        font-size: 24px;
        max-width: 400px;
    }
    .line{
        width: 500px;
    }
    .small-para{
        font-size: 14px;
        max-width: 400px;
    }
    .banner-explore-btn>button{
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width:790px) {
    .dropdown{
        left: -100px;
    }
}

@media (max-width:751px) {
    .dropdown{
        font-size: 14px;
    }
    .submenu-dropdown-main{
        padding: 5px;
    }
    .submenu-dropdown-main>li{
        font-size: 12px;
    }
}

@media (max-width:730px) {
    .nav-menu{
        gap: 10px;
    }
}
@media (max-width:698px) {
    .dropdown{
        left: -80px;
    }
    .submenu-dropdown-main{
        padding: 5px;
    }
    .submenu-dropdown-main>li{
        font-size: 10px;
    }
}

@media (max-width:660px) {
    /* Nav Bar */
    nav{
        height: 60px;
    }
    .middle-nav-bar{
        top: 80px;
    }
     .nav-menu{
        gap: 10px;
        padding: 5px 10px;
    }

    .logo-section{
        height: 45px;
    }
    .signup-button{
        margin-left: 0px;
    }
    /* Banner Section */
    .banner-heading{
        font-size: 20px;    
    }
    .carousel-container { 
        margin-top: 60px;
        height: 300px;
        width: 100%;
    }
    .banner-main-content{
        top: 150px;
        gap: 10px;
    }
    .dropdown{
        left: -50px;
        font-size: 12px;
    }
}
@media (max-width:595px) {
    /* .middle-nav-bar, .menu-section .search-bar, .round-button, .signup-button{
        display: none;
    }
    #hamburger-menu{
        display: block; 
    }
    .line{
        width: 300px;
    } */
}


/* ----------------------- */
/* HAMBURGER MENU */
/* ----------------------- */

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
}

.hamburger-menu span {
    height: 4px;
    width: 100%;
    background-color: #A10404;
    border-radius: 4px;
}

@media (max-width: 595px) {

    .middle-nav-bar{
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .menu-section {
        display: none;
    }

    #mobile-menu{
        display: none;
    }

    /* Show menu when active */
    .menu-open {
        display: flex !important;
        flex-direction: column;
    }

    .signup-wrapper {
        width: 100%;
    }

    .signup-dropdown {
        position: relative;
        width: 100%;
    }
    .line{
        width: 250px;
    }

    .heading-tag-for-section>div{
        font-size: 18px;
    }
}






