* {
  font-family: 'Roboto', sans-serif;
}


html {
  scroll-behavior: smooth;

}
section {
  scroll-margin-top: 110px; /* Adjust this value if your header is taller/shorter */
}
.fa-spinner{
    animation: animate 1s ease infinite;
  
  }
  @keyframes animate {
    0%{transform: rotate(0turn);
  }
  100%{
    transform: rotate(1turn)
  }
  
  }
  
/* Ensure main content doesn't scroll on X */
main {
  overflow-x: hidden;
  padding: 10px;
}

body {
      margin: 0;
      font-family: Arial, sans-serif;
      padding-top: 60px; /* Space for fixed header */
      background-color: #ffffff;
       
      max-width: 100%;
      margin: 0;
      padding: 5px;
    }

    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height:80px;
      background-color: #ffffff;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 30px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
      z-index: 1000;
      text-align: center;
      
      

    }

    .header-left,
    .header-right {
      flex: 1;
      display: flex;
      align-items: center;
     
    }

    .header-center {
      flex: 1;
      text-align: center;
      font-size: 20px;
      font-weight: bold;
      color:#2a7c32;
      text-align: center;
      align-items: center;
      position: relative;
     
      
    }

    .header-right {
      justify-content: flex-end;
      gap: 20px;
      padding-right: 65px;
       color:#4e8754

    }

    .header a {

       color:#4e8754;
      text-decoration: none;
      font-size: 1em;
    }

    .header a:hover {
      color: #467b47;
    }

    .cart-icon {
      font-size: 1.2em;
      cursor: pointer;
      
    }

.custom-divider {
  width: 80%;
  height: 2px;
  background-color: #f0a500;
  margin: 20px auto;
  border-radius: 1px;
}

.hero {
      position: relative;
      width: 100%;
      height: 400px; /* or any height you prefer */
      background-image:url("../images/organic.jpg"); /* Replace with your image URL */
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-align: center;
    }

    .hero-content {
      background-color: rgba(255, 255, 255, 0.15); /* optional dark background for readability */
      padding: 20px 30px;
      border-radius: 10px;
      max-width: 800px;
    }

    .hero-content h1 {
      font-size: 2.5rem;
      margin-bottom: 15px;
    }

    .hero-content p {
      font-size: 1.2rem;
      line-height: 1.6;
    }


    
    @media (max-width: 600px) {
      .hero-text {
        font-size: 1.5rem;
        padding: 10px 20px;
      }
    }

/*----------------------------------section tiltle --------------------------*/
    .section-title {
      text-align: center;
      font-size: 2.2rem;
      margin-bottom: 0.3rem;
    }

    .section-subtitle {
      text-align: center;
      font-size: 1.1rem;
      color: #666;
      margin-bottom: 2rem;
    }
.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

    .product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .product-card {
      background-color: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      transition: transform 0.2s ease;
      display: flex;
      flex-direction: column;
    }

    .product-card:hover {
      transform: translateY(-4px);
    }

    .image-container {
      width: 100%;
      height: 180px;
      background-color: #90693a;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .product-image {
      max-height: 100%;
      max-width: 100%;
      object-fit: contain;
    }

    .product-name {
      font-size: 1rem;
      font-weight: bold;
      margin: 15px 15px 5px;
    }

    .product-description {
      font-size: 0.9rem;
      color: #666;
      margin: 0 15px 10px;
    }

    .product-rating {
      font-size: 0.85rem;
      color: #f4b400;
      margin: 0 15px 10px;
    }

    .product-price {
      font-size: 1.1rem;
      font-weight: bold;
      margin: 0 15px 15px;
    }

    .add-to-bag {
      background-color:#ffffff;
      color: #498a41;
      padding: 10px 0;
      margin: 0 15px 15px;
      border: 1px solid #5bca4f;
      border-radius: 10px;
      font-size: 5x;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    .add-to-bag:hover {
      background-color: #11823e;
      color:#ffffff
    }


/*---------------------------------------------------------------- */
  .two-column-row {
      display: flex;
      flex-direction: row;
      border: 2px solid #ccc;
      border-radius: 10px;
      overflow: hidden;
      width: 100%;
      max-width: 1000px;
      margin: 30px auto;
      background-color: #fff;
      height: 250px; /* fixed height to enforce one row */
    }

    .column-text {
      flex: 1;
      padding: 25px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .column-text h3 {
      margin: 0 0 10px;
      font-size: 1.6rem;
    }

    .column-text p {
      font-size: 1rem;
      color: #555;
      margin-bottom: 15px;
    }

    .column-text .price {
      font-weight: bold;
      margin-bottom: 10px;
      color: #333;
    }

    .column-text button {
      background-color: #347d3a;
      color: #fff;
      padding: 10px 20px;
      border: none;
      border-radius: 20px;
      cursor: pointer;
      width: fit-content;
    }

    .column-image {
      width: 300px;
      height: 100%;
      object-fit: cover;
    }
/*---------------------contact section---------------------------------- */
.contact-wrapper {
  max-width: 900px;
  margin: 60px auto;
  padding: 30px 20px;              /* Smaller padding on sides */
  border: 4px solid #ccc;
  border-radius: 16px;
  background-color: #fafafa;
  box-sizing: border-box;          /* Ensures padding doesn’t overflow */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  width: 100%;                     /* Makes it responsive */
}

@media (max-width: 600px) {
  .contact-wrapper {
    padding: 20px 15px;            /* Even smaller padding on small screens */
    border-width: 2px;             /* Optional: thinner border for mobile */
  }
}

.contact-section {
  text-align: center;
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.contact-form button {
  background-color: #111;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #444;
}
/*--------------------foooter----------------------*/
/* Footer styles */
/* Make body take full height and allow flex layout */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* Content area (everything except footer) grows to fill space */
main {
    flex: 1;
}

/* Footer styles */
.footer {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 20px 0;
  width: 100%;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer .footer-links ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer .footer-links ul li a:hover {
  color: #f39c12;
}

.footer .social-icons {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer .social-icons li a {
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .social-icons li a:hover {
  color: #f39c12;
}

.footer p {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: #ccc;
}


  /*----------------------------------------popup section-----------------------------------------------*/
  .cart-popup {
  position: fixed;
  right: 0;
  top: 0;
  width: 700px;
  max-width: 100%;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10009;
  display: flex;
  flex-direction: column;
  max-height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.cart-popup.open {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  display: none;
}

.cart-overlay.show {
  display: block;
}

.cart-header,
.cart-footer {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.cart-header h3 {
  margin: 0;
  font-size: 1.2rem;
  display: inline-block;
}

.close-cart {
  float: right;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-items {
  max-height: 300px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 10px;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.cart-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 4px;
  background-color: #fafafa;
}

.cart-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart-title {
  font-weight: bold;
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.cart-controls button {
  width: 36px;
  height: 30px;
  border: 1px solid #ccc;
  background: #ffffff;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
}

.cart-controls input {
  width: 60px;
  text-align: center;
  border: 1px solid #85855e;
  border-radius: 4px;
  height: 26px;
  font-size: 14px;
  background: #fff;
}

.cart-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cart-delete {
  background: none;
  border: none;
  font-size: 20px;
  color: #d33;
  cursor: pointer;
}

.cart-price {
  font-weight: bold;
  font-size: 0.95rem;
}

.cart-footer {
  border-top: 1px solid #eee;
  padding: 15px;
}

.checkout-btn {
  width: 100%;
  padding: 10px;
  background: #498a41;
  color: white;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

/*------------------------------------------- */
.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #ff3333;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  line-height: 1;
}


.add-to-bag-btn.added {
  background-color: #ccc;
  cursor: not-allowed;
}




/*--------------------------------------------------787---------------
/* Responsive styles */
@media (max-width: 500px) {
  .header {
    flex-wrap: wrap;
  }



  .header-right .skincare {
    flex-direction: column;
    width: 100%;
    display: none;
    margin-top: 10px;
    text-align: center;
  }

  .header-right a {
    margin: 10px 0;
  }

  .header-right.show {
    display: flex;
  }

  .header-center {
    order: -1;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 15px;
     white-space: nowrap;
     align-items: center;
     text-align: center;
    padding-top:10px;
  }

.hero-content h1{
  font-size:20px;


}


.hero-content p{
  font-size:15px;

}

.two-column-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  
  }

  .column-image {
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
  }

  .column-text button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-top: 15px;
  }

#skincare h2{
  font-size: 20px;
}
#skincare p{
  font-size: 15px;
}

.product-card{
  padding:10px
}
.contact-section .contact-title{
  font-size: 20px;
}

/*-----------------------------------cart pop up *-----------------*/
 
.cart-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  max-height: 100vh;
  background: white;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.4);
}

.cart-footer {
  position: relative;  /* Ensures it's not being overlapped */
  z-index: 1002;
  padding: 10px 0;
  background: white;
}

.checkout-btn {
  position: relative;
  z-index: 1003;  /* Ensure it's on top */
  font-size: 1rem;
  padding: 10px 20px;
  background-color: #000;
  color: white;
  border: none;
  cursor: pointer;
}


}
@media (max-width: 340px) {
  .cart-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .cart-center {
    align-items: center;
  }

  .cart-controls {
    justify-content: center;
    flex-wrap: wrap;
  }
}


