/* Main Content */
.main-content {
  display: flex;
  flex: 1;
  justify-content: center;
}

.content-container {
  display: flex;
  flex-direction: column;
  max-width: 960px;
  flex: 1;
}

.tagline{
  font-size: 20px;
  color: black;
  font-weight: 300;
  text-align: center;
  margin:0;
  padding: 0 10px;
}

/* SECOND SECTION */
/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 0px;
    padding-bottom: 80px;
}

.product-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 12px;
    max-width: 300px; /* Match the image max-width */
    margin: 0 auto; /* Center the entire product item */
}
/* Carousel Styles */
.carousel-wrapper {
  width: 100vw;
  overflow: hidden;
  background-color: var(--A-pink-pr);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 100px;
  position: relative;
}

.carousel-track {
  display: flex;
  width: fit-content;
  height: 100%;
  animation: scroll-left 60s linear infinite;
  will-change: transform;
}

.marquee-content {
  display: flex;
  gap: 40px;
  flex-shrink: 0;
  padding-right: 40px;
}

.carousel-slide {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: var(--A-pink-pr);
  color: white;
  padding: 0 10px;
}

.slide-title {
  margin: 0;
  white-space: nowrap;
  font-family: host grotesk, sans-serif;
  font-size: 25px;
  font-weight: 400;
  text-transform: uppercase;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* THIRD SECTION*/
.protein-section {
  padding: 70px 0px;
}

.protein-section-header {
  text-align: center;
}

.protein-section-title {
  font-size: 60px;
  margin: 0;
  padding-bottom: 24px;
  color: var(--A-green-pr);
  line-height: 1.2;
  font-family: host grotesk, prompt, sans-serif;
  font-weight: 500;
}


/* FOURTH SECTION */
/* =============================================================================
   INGREDIENTS & QUALITY SECTION
   ============================================================================= */


.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 60px;
  color: var(--A-green-pr);
  font-family: host grotesk, prompt, sans-serif;
  font-weight: 500;
  text-align: center;
  max-width: 1000px;
  width: 100%;
  padding: 18px 0;
  box-sizing: border-box;
  margin: 0 auto;
  line-height: 1.2;
}

.ingredients-wrapper {
  width: 100%;
  padding: 24px;
  box-sizing: border-box;
}

.ingredients-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.ingredients-image {
  width: 100%;
}

.rounded-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.ingredients-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ingredient-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-wrapper {
  padding: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.icon-wrapper.green {
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--C-green-light-s);
}

.icon-wrapper.orange {
  background-color: rgba(251, 146, 60, 0.1);
  color: var(--C-red-s);
}

.icon-wrapper.blue {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--C-orange-s);
}

.icon-wrapper.purple {
  background-color: rgba(168, 85, 247, 0.1);
  color: var(--C-purple-s);
}

.ingredient-info {
  flex: 1;
}

.ingredient-title {
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 8px;
  color: black;
}

.ingredient-description {
  font-family: creato display, prompt, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: black;
  line-height: 1.6;
  margin: 0;
}

/* =============================================================================
  ICONS  */

/* If using Font Awesome, map these classes */
.icon-leaf::before { content: "\f06c"; }
.icon-heart::before { content: "\f004"; }
.icon-shield::before { content: "\f132"; }
.icon-award::before { content: "\f559"; }

/* Alternative: If you prefer custom SVG icons */
.icon-leaf,
.icon-shield,
.icon-award {
  width: 26px;
  height: 26px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.icon-heart {
  width: 40px;
  height: 40px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* FOURTH SECTION*/
.why-us-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; /* This vertically centers children */
  gap: 80px;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.why-us-title {
  display: flex;
  align-items: center; /* Center the <h2> vertically inside */
}

.why-us-title h2 {
  font-size: 80px;
  font-weight: 500;
  color: #1D4F25;
  margin: 0;
}

.text-column {
  flex: 1 1 400px;
  color: #1D4F25;
}

.text-column p {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  margin: 10px 0;
}

.text-column ul {
  font-family: Host grotesk, prompt, sans-serif;;
  font-size: 20px;
  font-weight: 300;
  list-style-type: disc;
  padding-left: 20px;
  margin: 5px 0 20px 20px;
}

.image-column {
  flex: 1 1 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.image-wrapper {
  width: 100%;
  height: 300px; /* Half of 430px, with a bit of spacing allowance */
  border-radius: 40px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.ampersand {
  position: absolute;
  top: 35%;
  font-size: 150px;
  font-weight: 300;
  color: #1D4F25;
  pointer-events: none;
}


/* FIFTH SECTION */
.m-container {
  display: grid;
  grid-template-columns: 450px 1fr; /* Increased to accommodate form width */
  gap: 60px;
  align-items: center; /* Changed from start to center for better alignment */
  padding: 100px 0;
}

.form-container {
  background: #ffffff;
  padding: 25px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  width: 430px;
}

.contact-form {
  width: 100%;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-group {
  margin-bottom: 10px;
}

.input-group label {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: #1D4F25;
}

.input-group input,
.input-group textarea {
  box-sizing: border-box;
  width: 100%;
  background-color: #d9d6d3;
  border: none;
  border-radius: 12px;
  padding: 16px 0px;
  font-size: 16px;
  font-family: inherit;
  color: #333;
  outline: none;
  transition: background-color 0.2s ease;
  margin-bottom: 8px;
  padding: 10px 10px;
}

.input-group input:focus,
.input-group textarea:focus {
  background-color: #d0ccc8;
}

.input-group textarea {
  height: 140px;
  resize: vertical;
  padding: 10px 10px;
}

.submit-button {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline-offset: 4px;
  transition: filter 250ms;
  user-select: none;
  touch-action: manipulation;
  margin-top: 8px;
  margin-left: auto;
  display: block;
}

.submit-button .shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: hsl(0deg 0% 0% / 0.25);
  will-change: transform;
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
}

.submit-button .edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(
      to left,
      #CC7A5A 0%,
      #E6956F 8%,
      #E6956F 92%,
      #CC7A5A 100%
  );
}

.submit-button .front {
  display: block;
  position: relative;
  padding: 12px 27px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 400;
  color: white;
  background: #FFBBA6;
  will-change: transform;
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
  font-family: host grotesk, prompt, sans-serif;
}

.submit-button:hover {
  filter: brightness(110%);
}

.submit-button:hover .front {
  transform: translateY(-6px);
  transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.submit-button:active .front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.submit-button:hover .shadow {
  transform: translateY(4px);
  transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.submit-button:active .shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.submit-button:focus:not(:focus-visible) {
  outline: none;
}

.info-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%; /* Take full height of the grid cell */
  gap: 20px;
}

.main-heading {
  font-size: 70px;
  font-weight: 500;
  color: #1D4F25;
  line-height: 1.1;
  margin-bottom: 40px;
  margin: 0;
}

.contact-details p {
  font-size: 25px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 4px;
  margin: 0;
}

.phone-number {
  font-size: 20px;
  font-weight: 500;
  color: #333;
}

.phone-number a {
  text-decoration: none;
  color: inherit;
}

.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    font-size: 16px;
}

.spinner {
    display: inline-block;
    margin-left: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}



/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */
@media (max-width: 1280px) {
  /* secition 5*/
  .section-header {
    margin-bottom: 30px;
  }
  .ingredients-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    gap: 32px;
  }

  .ingredients-image {
    order: -1; /* Image goes on top */
    width: 50%;
  }

  .ingredient-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .ingredient-title {
    font-size: 20px;
    margin: 0;
  }

  .ingredient-description {
    font-size: 16px;
  }
}
@media (max-width: 1200px) {
  /*Why Us Section */
  .why-us-section {
    flex-direction: column;
    gap: 32px;
    padding: 0 16px;
  }

  .why-us-title {
    width: 100%;
    justify-content: center;
  }

  .why-us-title h2 {
    font-size: 70px;
  }
  .text-column {
    max-width: 800px;
  }
  .text-column p{
    font-size: 20px;
  }
  .text-column ul{
    font-size: 16px;
  }
}
@media (max-width: 1024px) {
  /*section 4*/
  .ingredients-section{
    padding: 0px 0px;
  }
  .section-description {
    font-size: 16px;
  }
  .ingredients-list {
    max-width: 760px;
  }

  /* why us section */
  .why-us-title h2 {
    font-size: 50px;
  }
  .text-column {
    max-width: 760px;
  }
  .text-column p ul{
    font-size: 20px;
  }

  /* question section */
  .m-container {
      margin: 0 20px;
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      gap: 40px;
      padding: 40px 0;
  }
  .info-container {
      order: -1;
      height: auto;
      gap: 0px;
  }
  .form-container {
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
      padding: 20px;
      border-radius: 20px;
  }
  .main-heading {
      font-size: 50px;
      margin-bottom: 20px;
  }
  .contact-details p {
      font-size: 20px;
  }
  .phone-number {
      font-size: 16px;
  }
  .input-group label {
      font-size: 15px;
  }
  .input-group input,
  .input-group textarea {
      font-size: 14px;
      padding: 12px 10px;
  }
  .input-group textarea {
      height: 120px;
  }
  .name-row {
      gap: 12px;
  }
  .submit-button .front {
      font-size: 16px;
      padding: 10px 22px;
  }

}
@media (max-width: 800px) {
  /*section 4*/
  .section-title {
    font-size: 48px;
  }
  .section-description {
    font-size: 16px;
  }  
  .ingredients-list {
    max-width: 680px;
  }
  .ingredient-title{
    font-size: 20px;
  }
  .ingredient-description {
    font-size: 16px;
  }

  /* why us section */
  .why-us-title h2 {
    font-size: 45px;
  }
  .text-column {
    max-width: 680px;
  }
  .text-column p{
    font-size: 20px;
  }
  .text-column ul{
    font-size: 16px;
  }
}
@media (max-width:700px) {
  .section-description{
    max-width: 480px;
  }
  .section-title {
    max-width: 400px;
    text-align: center;
  }
  .ingredients-list{
    max-width: 600px;
  }
  /* why us section */
  .text-column {
    max-width: 600px;
  }
}
@media (max-width: 621px) {
  /*Section 4 */
  .ingredients-image {
    width: 400px;
  }
  .ingredients-list {
    max-width: 500px;
  }
  .ingredient-title {
    font-size: 18px;
  }
  .ingredient-description {
    font-size: 14px;
  }
  /* why us section */
  .text-column {
    max-width: 500px;
  }
  .text-column p{
    font-size: 18px;
  }
  .text-column ul{
    font-size: 14px;
  }
}
@media (max-width: 550px) {
  .ingredients-list {
    max-width: 400px;
  }
  /* why us section */
  .why-us-title h2 {
    font-size: 45px;
  }
  .text-column {
    max-width: 450px;
  }
  .text-column p{
    font-size: 18px;
  }
  .text-column ul{
    font-size: 14px;
  }
}
@media (max-width: 500px){
  /* Section 4 */
  .section-title {
    max-width: 300px;
    padding: 0 0;
  }
  .section-description {
    max-width: 300px;
    padding: 0 20px;
  }

  /* why us section */
  .why-us-title h2 {
    font-size: 45px;
  }
  .text-column {
    max-width: 400px;
  }
  .text-column p{
    font-size: 18px;
  }
  .text-column ul{
    font-size: 14px;
  }

  /* question section */
  .m-container {
      margin: 0 10px;
  }

  .form-container {
      padding: 15px;
      max-width: 300px;
  }

  .main-heading {
      font-size: 32px;
  }

  .contact-details p {
      font-size: 15px;
  }

  .phone-number {
      font-size: 14px;
  }

  .input-group input,
  .input-group textarea {
      padding: 8px 6px;
  }

  .submit-button .front {
      font-size: 14px;
      padding: 8px 18px;
  }
}
@media (max-width: 450px) {
  /*section 4*/
  .section-header {
    margin-bottom: 15px;
  }
  .section-description {
    font-size: 10px;
  }
  .ingredients-image {
    width: 300px;
  }
  .ingredients-list {
    max-width: 300px;
  }
  .ingredient-title {
    font-size: 16px;
  }
  .ingredient-description {
    font-size: 10px;
  }

    /* why us section */
  .why-us-title h2 {
    font-size: 30px;
  }
  .text-column {
    max-width: 320px;
  }
  .text-column p{
    font-size: 16px;
  }
  .text-column ul{
    font-size: 16px;
  }
}


/* Tablet Styles */
@media (max-width: 1280px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }
}

/* Switch to single column when hamburger menu appears */
@media (max-width: 990px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-title {
        font-size: 25px;
    }
}
/* Small Tablet Styles */

/* Mobile Styles */
@media (max-width: 480px) {
    .product-grid {
        gap: 20px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .product-grid {
        gap: 12px;
    }
}