
/* Refined CSS */
.container {
    max-width: none !important;
    padding: 0 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #1F1F1F;
    line-height: 1.6;
}

.landing-container {
    background: #1F1F1F;
    margin-top: 0;
    padding-top: 0;
    width: 100vw !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: visible;
    margin-top: 0;
    flex-direction: column;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 99.5%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 1rem;
    color: white;
    margin: auto;
    margin-top: 10rem;
    margin-bottom: 5rem;
    backdrop-filter: blur(20px);
}

.svg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.svg-overlay svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* @media (max-width: 440px) {
    .hero-video  {
        height: 105.5%;
    }
}

@media (max-width: 400px) {
    .hero-video  {
        height: 104.5%;
    }
}

@media (max-width: 330px) {
    .hero-video  {
        height: 104%;
    }
}

@media (max-width: 300px) {
    .hero-video  {
        height: 103.7%;
    }
}

@media (max-width: 270px) {
    .hero-video  {
        height: 103.2%;
    }
}

@media (min-width: 600px) {
    .introduction {
        margin-top: 10px;
    }
}
@media (min-width: 700px) {
    .introduction {
        margin-top: 20px;
    }
}
@media (min-width: 800px) {
    .introduction {
        margin-top: 30px;
    }
}
@media (min-width: 900px) {
    .introduction {
        margin-top: 35px;
    }
}
@media (min-width: 1000px) {
    .introduction {
        margin-top: 45px;
    }
}
@media (min-width: 1200px) {
    .introduction {
        margin-top: 50px;
    }
}

@media (max-width: 650px) {
    .hero-overlay {
        margin-top: 10rem;
    }
}
 */
.hero h1 {
    font-size: 42px;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-primary {
    background: #00aaff;
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

/* Hot Sellers Section */
.hot-sellers {
    background: inherit;
    padding: 2rem 0rem;
}

.hot-sellers h2 {
    color: #00aaff;
    font-size: 3rem;
    padding-left: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    font-weight: 700;
}

.sellers-content {
    display: flex;
    height: fit-content;
    flex-direction: column;
}

.card {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.feature-card {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.shades-content {
    text-align: start;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.shades-number {
    font-size: 4rem;
    font-weight: 700;
    margin: 1rem 0;
    background: linear-gradient(to right, rgba(2, 150, 255, 1), rgba(230, 230, 230, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.products-card {
    background: transparent;
    border: none;
    width: -webkit-fill-available;
    margin: 0 auto;
}


.product-features {
    list-style: none;
    margin-top: 1rem;
}

.product-features li {
    margin-bottom: 0.5rem;
    color: white;
}

.product-features-bold{
    font-weight: 600;
    background: linear-gradient(to bottom, #47b2ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-overlay.product-item .extra-text {
    display: none;
}

.card-overlay.product-item.expanded .extra-text {
    display: inline;
}

.card-overlay.product-item .read-more {
    color: #0081DD;
    cursor: pointer;
    font-weight: bold;
    margin: 0;
}

/* Unique Threads Section */
.unique-threads {
    background: #00aaff;
    padding: 4rem 2rem;
    color: white;
}

.unique-threads h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
    font-weight: 600;
}

.video-thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: scroll;
    height: 40vh;
    min-height: 350px;
}

.video-thumbnail {
    aspect-ratio: 16/9;
    border-radius: 0.5rem;
    display: grid;
    transition: transform 0.2s;
    width: 58vw;
    max-width: 400px;
    height: 230px;
}



.thread-video {
    width:100%;
    max-width: 100%;
    height: 100%;
    min-width: 75%;
    display: block;
    border-radius: 2rem;
    padding: 1rem;
  }

.video-info {
    color: white;
    text-align: left;
    padding: 1rem;
    font-weight: 500;
}

.video-info h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.video-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* News Section */
.news {
    padding: 3rem 2rem;
    background: inherit;
    display: flex;
    gap: 8px;
    flex-direction: column;
}


.news-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 500px;
    overflow-x: scroll;
}

.news-item {
    background: #f8f8f8;
    border-radius: 1rem;
    transition: transform 0.2s;
    min-width: 300px;
    min-height: 390px;
}


.news-thumbnail {
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
    background: #f0f0f0;
}

.news-info {
    padding: 1rem;
}

.read-more {
    color: #00aaff;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

/* Values Section */
.values-section, .our-values-section {
    background: inherit;
    padding: 2rem 0;
}

.values-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 2rem;
}

.value-item {
    padding: 1rem;
    border-radius: 1rem;
    background: transparent;
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.our-values-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.values-image {
    border-radius: 1rem;
    min-height: 300px;
    
}

.values-image img{
    width: 100%;
}

.values-list p {
    margin: 0;
}

.section-divider {
    border: none;
    border-top: 1px solid #9796969e;
    margin: 0;
}

.footer {
    background-color: #1F1F1F;
    padding: 4rem 0 0 0;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-bottom: 3.5rem;
  }
  
  .footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-logo {
    max-width: 150px;
    height: auto;
  }
  
  .footer-copyright {
    font-size: 1.1rem;
    color: white;
    margin-top: 1rem;
  }
  
  .footer-links-title,
  .footer-contact-title,
  .footer-social-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    justify-self: center;
    color:#00aaff;
  }
  
  .footer-links-list {
    list-style-type: none;
    padding: 0;
  }
  
  .footer-links-list li {
    margin-bottom: 1rem;
  }
  
  .footer-links-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-links-list a:hover {
    color: #00aaff;
  }
  
  .footer-contact-info p {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 1rem;
  }

  .footer-contact-info hr{
    border-top: 1px solid white;
  }
  
  .footer-contact-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-contact-info a:hover {
    color: #00aaff;
  }
  
  .footer-social-icons {
    display: flex;
    gap: 1rem;
    margin: 0.5rem;
  }
  
  .footer-social-icons a {
    display: inline-block;
    transition: opacity 0.3s;
  }
  
  .footer-social-icons a:hover {
    opacity: 0.7;
  }
  
  .footer-social-icons img {
    width: 3rem;
    height: 3rem;
  }

  .footer-input {
    background: transparent;
    border: 0;
    color: white;
  }

  .contact-us-btn {
    color: #fff;
    padding: 0.5rem 0rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    width: max-content;
    margin-top: 1rem;
    justify-self: end;
  }

  .contact-us-btn:hover {
    cursor: pointer;
  }


.login-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.hidden {
    display: none;
}

.login-popup-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-button {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close-button:hover {
    color: #333;
}

.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}

.tab-button {
    flex: 1;
    padding: 1rem;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #0081DD;
    border-bottom: 2px solid #0081DD;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #0081DD;
    outline: none;
}

.auth-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #0081DD;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

.auth-button:hover {
    background-color: #0066b0;
}

.form-footer {
    margin-top: 1rem;
    text-align: center;
}

.forgot-password {
    color: #0081DD;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}


@media (min-width: 1500px){

    .sellers-content{
        height: 800px;
    }
}

@media (min-width: 1200px){
    .product-item img{
        width: 70%;
        height: 90%;
    }
}

@media (max-width: 1200px){

}



@media (min-width: 930px){
    .product-item img{
        width: 95%;
        height: 95%;
    }
}

@media (min-width: 768px){
    .products-scroll{
        margin-top: 5rem;
    }
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .news {
        grid-template-columns: 1fr;
    }

    .long-arrow{
        display: none;
    }

    .extra-text{
        display:none;
    }

    .products-scroll{
        width: 475px;
        max-width: 100%;
        border-radius: 20px;
    }
}


@media (max-width: 600px) {
    .products-scroll{
        margin-left: 4vw;
    }
}


@media (max-width: 500px) {
    .thread-video{
        width: 386px;
        height: 240px;
    }

    .video-thumbnails{
        overflow-y:scroll;
        min-height: 300px;
        height: 35vh;
        display: grid;
        gap: 0.5rem;
    }

    .video-thumbnail{
        width: 85vw;
    }
    .unique-threads h3{
        font-size: 29px;
    }

    .hero-overlay{
        margin:auto;
        padding: 1.5rem;
        width: auto;
        font-size: 13px;
        border-radius: 50px;
    }

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

    .products-scroll{
        margin-left: 10px;
        border-radius: 53px;
        width: 95vw;
    }

    .product-item img{
        width: 50%;
        height: auto;
    }

    .product-item{
        width: 86vw;
    }
    .values-image img{
        width:80%;
    }
    .values-list{
        width: 80%;
        font-size: 14px;
    }
}

@media (max-width: 470px) {
    .product-item img {
        height: 180px;
        width: 70%;
    }
    .sellers-content {
        height: fit-content;
    }
}

@media (max-width: 400px) {
    .thread-video{
        width: 326px;
        height: 210px;
        padding: 0;
    }
    .video-thumbnail{
        width: 80vw;
        height: auto;
        
    }
    .hero h1{
        font-size:30px;
    }

    .product-item h3{
        font-size: 24px;
    }
    .product-item h4{
        font-size: 21px;
    }
    .shades-content{
        margin-top: 5rem;
    }
    .our-values{
        width: 80vw;
    }

    .highlight-text{
        font-size: 21px;
    }

}

@media (max-width: 340px) {
    .thread-video{
        width: 260px;
        height: 170px;
    }
    .hero h1{
        font-size:27px;
    }
    .product-item h3{
        font-size: 22px;
    }
    .product-item h4{
        font-size: 19px;
    }
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  width: -webkit-fill-available;
  margin: 20px 0;
  justify-content: center;
}

.carousel-container::before {
  content: "";
  position: absolute;
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Ensure perfect centering */
  left: 0;
  right: 0;
  height: 400px; /* Fixed height of 400px */
  background-image: url(/static/images/newhomepage/backdrop.png);
  background-position: center;
  background-size: cover;
  z-index: 0; /* Changed from -1 to 0 */
}
  
  .products-scroll {
    width: 95vw;
    overflow: hidden;
    border-radius: 10px;
    margin: 0 15px;
    max-width: 500px;
    z-index: 2;
    background-color:rgba(0, 0, 0, 0.61);;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    max-width: 500px;
  }
  
  /* Updated to ensure only one item is visible */
  .card-overlay.product-item {
    margin: 0 auto;
    flex-shrink: 0;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.5s ease;
    width: -webkit-fill-available;
  }
  
  /* Center the product image */
  .card-overlay.product-item img {
    display: block;
    margin: 0 auto;
    width: -webkit-fill-available;
    height: auto;
    padding: 1rem;
  }
  
  /* Ensure indicators are centered */
  .product-carousel-indicators {
    text-align: center;
    margin-top: 15px;
    width: 100%;
  }
  
  /* Navigation buttons */
  .carousel-button {
    position: absolute;
    z-index: 10;
    background: rgba(0, 129, 221, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .carousel-button:hover {
    background: rgba(0, 129, 221, 1);
  }
  
  .prev-button {
    left: 10px;
  }
  
  .next-button {
    right: 10px;
  }
  
.video-height {
    height: 120%;
}

@media (min-width: 480px) {
    .video-height {
        height: 200%;
    }
}

@media (min-width: 768px) {
    .video-height {
        height: 245%;
    }
}

@media (min-width: 800px) {
    .video-height {
        height: 300%;
    }
}

@media (min-width: 850px) {
    .video-height {
        height: 320%;
    }
}

@media (min-width: 900px) {
    .video-height {
        height: 340%;
    }
}
@media screen and (min-width: 768px) {
    .about-us-desktop {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        margin: 2rem 0;
    }

}


.bg-red {
    background-color: transparent;
    display: none;
    width: 0;
}

@media screen and (min-width: 1024px) {
    .shades-content{
        display:none;
    }

    .bg-red {
        display: block;
        width: 400px;
        min-width: 400px;
        height: 400px;
        position: relative;
        z-index: 1;
    }
    .desktop-shades-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: start;
        color: white;
        width: 100%;
        padding: 20px;
    }
}



@media (min-width: 240px) and (max-width: 269px) {
    .lip-translate {
        transform: translate(-15px, -23px);
    }
}
@media (min-width: 270px) and (max-width: 304px) {
    .lip-translate {
        transform: translate(-15px, -21px);
    }
}

@media (min-width: 305px) and (max-width: 330px) {
    .lip-translate {
        transform: translate(-15px, -23px);
    }
}

@media (min-width: 331px) and (max-width: 400px) {
  .lip-translate {
        transform: translate(-15px, -21px);
    }
}

@media (min-width: 401px) and (max-width: 440px) {
  .lip-translate {
        transform: translate(-15px, -18px);
    }
}

@media (min-width: 441px) and (max-width: 480px) {
  .lip-translate {
        transform: translate(-15px, -17px);
    }
}

@media (min-width: 481px) and (max-width: 520px) {
  .lip-translate {
        transform: translate(-15px, -17px);
    }
}

@media (min-width: 521px) and (max-width: 560px) {
  .lip-translate {
        transform: translate(-18px, -23.5px);
    }
}

@media (min-width: 561px) and (max-width: 600px) {
  .lip-translate {
        transform: translate(-18px, -27px);
    }
}

@media (min-width: 601px) and (max-width: 700px) {
  .lip-translate {
        transform: translate(-18px, -33px);
    }
}

@media (min-width: 701px) and (max-width: 800px) {
  .lip-translate {
        transform: translate(-18px, -55px);
    }
}

@media (min-width: 801px) and (max-width: 900px) {
  .lip-translate {
        transform: translate(-18px, -70px);
    }
}

@media (min-width: 901px) and (max-width: 1000px) {
  .lip-translate {
        transform: translate(-18px, -80px);
    }
}

@media (min-width: 1001px){
  .lip-translate {
        transform: translate(-18px, -90px);
    }
}


@media (min-width: 768px){
    .videos-mobile{
        display: none;
    }
    .videos-desktop{
        display: block;
        margin-right:2rem;
        margin-left:2rem;
    }
}

@media (min-width:1080px){
    .videos-desktop{
        display: block;
        max-width: 920px;
        margin: auto !important;
    }

    .about-us-desktop {
        margin: auto;
        max-width: 920px;
    }

    .our-values-section {
        max-width: 920px;
        margin: auto;
    }
}

@media (min-width:1440px){
    .videos-desktop{
        display: block;
        max-width: 1280px;
        margin: auto !important;
    }

    .about-us-desktop {
        margin: auto;
        max-width: 1280px;
    }

    .our-values-section {
        max-width: 1280px;
        margin: auto;
    }
}

@media (max-width: 767px){
    .videos-mobile{
        display: block;
    }
    .videos-desktop{
        display: none;
    }
    .card-overlay.product-item img {
        width: 100%;
        max-height: 490px;
    }


}

@media (min-width: 1024px) {
    .desktop-48{
        font-size:48px !important;
    }
    .desktop-42{
        font-size:42px !important;
    }
    .desktop-32{
        font-size:32px !important;
    }
    .desktop-29{
        font-size:29px !important;
    }
    .desktop-28{
        font-size:28px !important;
    }
    .desktop-20{
        font-size:20px !important;
    }

    .desktop-img{
        width: 44px !important;
        height: 44px !important;
    }
}

.hero-logo {
    width: 269px;
}

@media (max-width: 768px) {
    .hero-logo {
        width: 200px;
    }
}

@media (max-width: 330px) {
    .hero-logo {
        width: 180px;
    }
}