* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    background-color: #fff;
  }
  .container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
  }
  header {
    position: sticky;
    top: 0;
    background-color: white; /* Important to avoid transparent background when it sticks */
    z-index: 1000; /* Ensures it stays above other content */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Optional: soft shadow when sticky */
  }
  
  .logo{
    font-weight: bold;
    font-size: 1.5rem;
  }
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav .logo{
    flex: 1;
  }
  .nav nav {
    gap: 20px;
    margin-right: 20px;
  }
  
  
  nav button {
    background-color: transparent;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: black;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
  }
  nav button:not(.sign-up):hover {
    background: black;
    color: white;
  }

  .sign-up {
    background: black;
    color: white;
    margin-left: auto;
  }


  /*--------------------------------------------------------------
  # Image & Text Section
  --------------------------------------------------------------*/
  .hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f7f6; /* light grayish tone like in the image */
    padding: 60px 40px;
    border-radius: 40px; /* curved corners like the card */
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); /* subtle shadow for card effect */
  }
  
  .hero-text, .hero-img {
    width: 50%;
  }
  
  .hero-text {
    padding-right: 40px;
  }
  
  .hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
  }
  
  .hero strong {
    position: relative;
    font-weight: 900;
    z-index: 1;
  }
  
  .hero strong::before {
    padding: 16px;
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 120%;
    height: 0.6em;
    background: #EBD96B;
    z-index: -1;
    transform: rotate(-2deg);
    transform-origin: left center;
    border-radius: 2px;
  }
  
  
  .hero p {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 500;
  }
  
  .hero button { 
    background: black;
    color: white;
    padding: 12px 20px;
    border: none;
    margin-top: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
  }
  
  .hero-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px; /* optional: curve the image too */
  }
  
  /*--------------------------------------------------------------
  # Brand Section Scrolling Logos
  --------------------------------------------------------------*/
  .brands {
    background: #EBD96B;
    padding: 16px 60px;
  }

  .brand-logos-scroll {
    overflow: hidden;
    background-color: #ebd96b;
    padding: 1rem 0;
  }

  .logos-track {
    display: flex;
    animation: scroll-logos 5s linear infinite;
  }
  .brand-logos-scroll:hover .logos-track {
    animation-play-state: paused;
  }

  .logo-slide {
    display: flex;
    gap: 4rem;
    align-items: center;
  }

  .logo-slide img {
    width: 100px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0s;
  }

  .logo-slide img:hover {
    filter: grayscale(100%);
  }

  @keyframes scroll-logos {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-70%);
    }
  }

  
  /*--------------------------------------------------------------
  # New Arrivals
  --------------------------------------------------------------*/

  /* New Arrivals-2 Starts ---------------------------------->  */
  .new-arrivals-2 {
    padding: 4rem 2rem;
  }

  .arrivals-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    padding-left: 1rem;
  }

  .arrivals-title span {
    background: #ebd96b;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
  }

  .arrivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
  }

  .arrival-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;

    &:hover {
      transform: translateY(-10px);
    }
  }

  .arrival-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
  }

  .arrival-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }

  .arrival-info h3 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
  }

  .arrival-info p {
    font-size: 0.9rem;
    color: gray;
  }

  .arrival-info .arrow {
    font-size: 1.5rem;
    color: #111;
  }


  /*--------------------------------------------------------------
  # Payday
  --------------------------------------------------------------*/
  .payday {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #fbe46e, #f8cf3d); /* optional */
    padding: 60px 20px;
    gap: 40px;
    flex-wrap: wrap; /* makes it responsive */
  }

  .payday-img {
    max-width: 400px;
    width: 100%;
    height: auto;
  }

  .payday-text {
    max-width: 500px;
    color: #000;
  }

  .payday-text h2 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 900;
  }

  .payday-text span {
    background: #fff;
    padding: 4px 10px;
    display: inline-block;
    transform: rotate(-2deg);
    font-weight: 900;
  }

  .payday-text p {
    margin: 20px 0;
    font-size: 1.1rem;
  }

  .payday-text strong {
    font-weight: 700;
  }

  .payday button {
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
  }


  /*--------------------------------------------------------------
  # Young's Favourites
  --------------------------------------------------------------*/

  .favourite {
    padding: 4rem 2rem;
  }

  .favourite-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-align: center;
  }

  .favourite-title span {
    background: #ebd96b;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
  }

  .favourite-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .fav-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    &:hover {
      transform: translateY(-10px);
    }
  }

  .fav-card img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 100%;
  }

  .fav-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1rem;
    color: #000;
    background: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 1rem;
  }

  .fav-info h3 {
    font-weight: bold;
    margin-bottom: 0.25rem;
  }

  .fav-info p {
    font-size: 0.9rem;
    color: gray;
  }

  .fav-info::after {
    content: "→";
    font-size: 1.4rem;
    margin-left: auto;
    color: black;
  }


  /*--------------------------------------------------------------
  # Our Products
  --------------------------------------------------------------*/
  .products {
    padding: 60px 20px;
    text-align: center;
    color: #fff;
  }

  .products h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #E94560;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .products p {
    margin-bottom: 40px;
    color: #ccc;
    font-size: 1.2rem;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cards in a row */
    gap: 30px;
    margin-bottom: 40px;
  }

  .product-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
  }

  .product-card:hover {
    transform: translateY(-10px);
  }

  .product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 10px;
  }

  .product-card p {
    font-weight: 600;
    margin: 10px 0;
    color: #333;
  }

  .product-card span {
    font-size: 1.1rem;
    color: #E94560;
    font-weight: bold;
  }

  /* Heart Button */
  .heart-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    border-radius: 50%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }

  .heart-btn:hover {
    background: #ffe5e5;
  }

  /* Heart Icon */
  .heart-btn i {
    color: #b9b0b0;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
  }

  .heart-btn.active i {
    color: white;
    background-color: red;
    border-radius: 50%;
    padding: 5px;
  }



  .view-all {
    background: #E94560;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .view-all:hover {
    background: #d43450;
  }


  /*--------------------------------------------------------------
  # Pricing Section
  --------------------------------------------------------------*/

  .pricing {
    padding: 60px 20px;
    text-align: center;
  }

  .section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #333;
  }

  .section-title p {
    color: #666;
    margin-bottom: 40px;
    font-size: 18px;
  }

  .pricing-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .pricing-item {
    flex: 1 1 22%;
    max-width: 22%;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
  }

  .pricing-item:hover {
    transform: translateY(-5px);
  }

  .pricing-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .price {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin: 10px 0;
  }

  .price sup {
    font-size: 18px;
  }

  .price span {
    font-size: 16px;
    color: #777;
  }

  .icon {
    font-size: 2rem;
    margin: 1rem 0;
    text-align: center;
  }

  .pricing-item ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    color: #444;
  }

  .pricing-item ul li {
    padding: 6px 0;
  }

  .pricing-item ul li.na {
    color: #bbb;
    text-decoration: line-through;
  }

  .btn-buy {
    background-color: #000;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: auto;
    display: inline-block;
  }

  .btn-buy:hover {
    background-color: #0b5ed7;
  }

  /* Responsive for tablets */
  @media (max-width: 992px) {
    .pricing-item {
      flex: 1 1 45%;
      max-width: 45%;
    }
  }

  /* Responsive for mobiles */
  @media (max-width: 576px) {
    .pricing-item {
      flex: 1 1 100%;
      max-width: 100%;
    }
    .hero strong::before {
      padding: 12px;
      content: '';
      position: absolute;
      left: 0;
      top: 0.2em;
      width: 120%;
      height: 0.3em;
      background: #EBD96B;
      z-index: -1;
      transform: rotate(-2deg);
      transform-origin: left center;
      border-radius: 2px;
    }
  }


  /*--------------------------------------------------------------
  # Email Section
  --------------------------------------------------------------*/
  /* Newsletter Section Styling */
  .newsletter {
    background-color: #f0d158;
    padding: 60px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .newsletter h2 {
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
  }

  .newsletter p {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 30px;
  }

  .newsletter .email-container {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 500px;
    border-radius: 30px;
    overflow: hidden;
    background-color: white;
    border: 1px solid white;
  }

  .newsletter input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
  }

  .newsletter button {
    padding: 15px 40px;
    background-color: black;
    color: white;
    border: none;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .newsletter h2 {
      font-size: 2rem;
    }
    
    .newsletter .email-container {
      flex-direction: column;
      border-radius: 0;
    }
    
    .newsletter input[type="email"] {
      width: 100%;
      border-bottom: 1px solid #eee;
    }
    
    .newsletter button {
      width: 100%;
    }
  }


  /*--------------------------------------------------------------
  # Footer Section
  --------------------------------------------------------------*/
  footer {
    background-color: #000;
    padding: 40px 0;
    font-family: 'Arial', sans-serif;
  }

  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
  }

  /* Branding Section */
  .footer-branding {
    flex: 0 0 30%;
  }

  .footer-branding h1 {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-transform: uppercase;
  }

  .footer-branding p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 25px;
    line-height: 1.5;
  }

  .social-icons {
    display: flex;
    gap: 15px;
  }

  .social-icon img {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s;
  }

  .social-icon:hover img {
    opacity: 0.7;
  }

  /* Links Section */
  .footer-links {
    flex: 0 0 60%;
    display: flex;
    justify-content: space-between;
  }

  .footer-column {
    flex: 1;
    max-width: 200px;
  }

  .footer-column h4 {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    text-transform: capitalize;
  }

  .footer-column a {
    display: block;
    color: #666666;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 16px;
    transition: color 0.3s;
  }

  .footer-column a:hover {
    color: #000000;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
    }
    
    .footer-branding {
      margin-bottom: 30px;
    }
    
    .footer-links {
      flex-direction: column;
    }
    
    .footer-column {
      margin-bottom: 25px;
      max-width: 100%;
    }
  }


  /* === Responsive Media Queries === */

  /* Tablets */
  @media (max-width: 1024px) {
    .hero {
      flex-direction: column;
      text-align: center;
      padding: 40px 20px;
    }

    .hero-text, .hero-img {
      width: 100%;
      padding: 0;
    }

    .hero h1 {
      font-size: 3.5rem;
    }

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

    .brand-logos {
      flex-wrap: wrap;
      justify-content: center;
    }

    .nav nav {
      display: none;
    }
  }

  /* Mobile */
  @media (max-width: 768px) {
    .nav {
      flex-direction: column;
      gap: 10px;
    }

    .sign-up {
      width: 100%;
    }

    .hero h1 {
      font-size: 2.5rem;
    }

    .hero p {
      font-size: 1rem;
    }

    .hero button {
      width: 100%;
    }

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

    .payday-text h2 {
      font-size: 2rem;
    }

    .favourites h2,
    .products h3,
    .newsletter h2 {
      font-size: 2rem;
    }

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

    .newsletter .email-container {
      flex-direction: column;
      gap: 10px;
    }

    .newsletter input,
    .newsletter button {
      width: 100%;
      border-radius: 10px;
    }

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

    .footer-links {
      flex-direction: column;
      gap: 30px;
      margin-top: 20px;
    }

    .footer-column {
      align-items: center;
    }
  }

  /* Extra small phones */
  @media (max-width: 480px) {
    .hero h1 {
      font-size: 2rem;
    }

    .brand-logos img {
      width: 70px;
      height: 40px;
    }

    .view-all {
      width: 100%;
      font-size: 1rem;
    }
  }