/**************************/
/* HEADER */
/**************************/
/* Modern Floating Header */
.header {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 126rem;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0.8rem 3.6rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);

  z-index: 9999;
}
/* Add this to your main CSS file */

.header.sticky {
  /* Enables a smooth transition for the transform property */
  transition: transform 0.4s ease-in-out;
}

.header--hidden {
  /* Hides the header by moving it up outside the viewport */
  transform: translateY(-200%);
}
.logo-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  margin-left: 4rem; /* Space between logo and brand name */
  /* Set the height to fit the navbar's original size */
  height: 6rem; 
  
  /* Scale the logo to be visually larger (1.5 = 150% size) */
  transform: scale(2.4); 

  /* (Optional) Add a transition for smooth hover effects if needed */
  transition: transform 0.3s ease;
}

/* (Optional) Example of a hover effect */
.logo:hover {
  transform: scale(2.5);
}

.logo-footer {
  height: 12rem;
  margin-bottom: 2rem;
}

.brand-name {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000000ff;
}

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

.main-nav-link {
  font-size: 1.7rem;
  font-weight: 500;
  color: #000000ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.main-nav-link:hover {
  color:  #e67e22;
}

.main-nav-link.nav-cta {
  padding: 0.8rem 1.6rem;
  border-radius: 25px;
  background: linear-gradient(135deg, #ff512f, #dd2476);
  color: #000000ff;
  font-weight: 600;
}

.main-nav-link.nav-cta:hover {
  background: linear-gradient(135deg, #dd2476, #ff512f);
  color: #fff;
}

/* Mobile */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 3rem;
  width: 3rem;
  color: #2db3d8ff;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/**************************/
/* HERO SECTION */
/**************************/

.section-hero {
  margin-top: 14rem;
  /* background-color: #fdf2e9; */
  background-color:#fff
  padding: 4.8rem 0 9.6rem 0;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9.6rem;
  align-items: center;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.hero-img {
  width: 100%;
  margin-top:12rem;
}

.delivered-images {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 8rem;
}

.delivered-imgs {
  display: flex;
}

.delivered-imgs img {
  height: 4.8rem;
  width: 4.8rem;
  border-radius: 50%;
  margin-right: -1.6rem;
  border: 3px solid #fdf2e9;
}

.delivered-imgs img:last-child {
  margin: 0;
}

.delivered-text {
  font-size: 2rem;
  font-weight: 600;
}

.delivered-text span {
  color: #cf711f;
  font-weight: 700;
}
/* img customers */
.animated-tooltip-group {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wrapper for each avatar and its tooltip */
.avatar-wrapper {
  position: relative;
  /* Use a negative margin to create the cool stacking effect */
  margin-left: -1rem;
  transition: transform 0.3s ease-in-out;
}

/* We don't want the first item to have a negative margin */
.avatar-wrapper:first-child {
  margin-left: 0;
}

/* The avatar image itself */
.avatar-image {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #1f2937; /* Darker border */
  background-color: #4b5563; /* Fallback color */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* The tooltip element */
.tooltip {
  /* Positioning the tooltip above the avatar */
  position: absolute;
  bottom: 125%; /* A little more space from the top of the avatar */
  left: 50%;
  
  /* Initially hidden */
  opacity: 0;
  visibility: hidden;
  
  /* Animation setup */
  transform: translateX(-50%) translateY(20px) scale(1.4);
  transition: all 0.3s ease-in-out;
  
  /* Styling */
  background-color: #fff;
  color: #1f2937;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  width: max-content; /* Ensure the tooltip fits the content */
  z-index: 10;
  pointer-events: none; /* Tooltip shouldn't interfere with hover */
}

.tooltip-name {
  font-weight: 700;
  text-align: center;
}

.tooltip-designation {
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
}

/* --- THE HOVER ANIMATION --- */

/* When hovering over the entire group, slightly separate the avatars */
.animated-tooltip-group:hover .avatar-wrapper {
  transform: translateX(-0.25rem);
}

/* When hovering a specific avatar wrapper... */
.avatar-wrapper:hover {
  /* ...bring it to the front and scale it up */
  transform: scale(1.1) translateY(-5px);
  z-index: 5;
}

/* When hovering a wrapper, show its tooltip */
.avatar-wrapper:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/**************************/
/* HOW IT WORKS SECTION */
/**************************/

.section-how {
  padding: 9.6rem 0;
}

.step-number {
  font-size: 8.6rem;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 1.2rem;
}

.step-description {
  font-size: 1.8rem;
  line-height: 1.8;
}

.step-img-box {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.step-img-box::before,
.step-img-box::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.step-img-box::before {
  width: 60%;
  /* height: 60%; */

  /* 60% of parent's width */
  padding-bottom: 60%;

  background-color: #fdf2e9;
  z-index: -2;
}

.step-img-box::after {
  width: 45%;
  padding-bottom: 45%;
  background-color: #fae5d3;
  z-index: -1;
}

.step-img {
  width: 35%;
  /* z-index: 10; */
}

/**************************/
/* ABOUT SECTION */
/**************************/

.section-about {
  padding: 9.6rem 0;
}

.about-header {
  text-align: center;
  margin-bottom: 8rem;
}

/* Main Content Grid */
.about-content {
  gap: 8rem;
}

/* Image Column */
.about-image-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Wrapper creates the layered effect */
.about-image-wrapper {
  position: relative;
  width: 85%;
}

.about-image-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color:  #22a9f2ff;
  border-radius: 12px;
  top: -2rem;
  left: -2rem;
  z-index: 1;
  transition: all 0.4s ease;
}

.about-image-wrapper img {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

/* Hover effects for a dynamic feel */
.about-image-col:hover .about-image-wrapper::before {
  transform: translate(0.8rem, 0.8rem);
}
.about-image-col:hover img {
  transform: translate(-0.8rem, -0.8rem);
}

/* Text Column */
.about-intro {
  font-size: 1.8rem;
  line-height: 1.7;
  color: #343a40;
  margin-bottom: 3.2rem;
}

.about-intro strong {
  color: #e67e22;
}

/* Integrated Mission/Features List */
.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  margin-bottom: 4.8rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 1.7rem;
  line-height: 1.6;
  color: #495057;
}

.feature-icons {
  background-color: #fdf2e9;
  padding: 1.6rem;
  border-radius: 50%;
  height: 3rem;
  width: 3rem;
  font-size: 2.4rem;
  color: #e8590c;
  flex-shrink: 0; /* Prevents icon from shrinking */
}
/* ///
.about-cta .btn {
  font-size: 1.8rem;
  padding: 1.4rem 3.2rem;
  border-radius: 9px;
  background-color: #e8590c;
  transition: all 0.3s ease;
}
.about-cta .btn:hover {
  background-color: #cf4d09;
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}
/// */
/* Responsive Design */
@media (max-width: 992px) { /* Tablet size */
  .about-content {
    gap: 4.8rem;
  }
}

@media (max-width: 768px) { /* Mobile size */
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image-col {
    grid-row: 1; /* Image appears first on mobile */
    margin-bottom: 4.8rem;
  }
  .about-features li {
    text-align: left; /* Keep feature text left-aligned for readability */
  }
}
/**************************/
/* MODULE SECTION */
/**************************/

.section-modules {
  padding: 9.6rem 0;
}

.module {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
  border-radius: 11px;
  overflow: hidden;
  transition: all 0.4s;
}

.module:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.06);
}

.module-content {
  padding: 3.2rem 4.8rem 4.8rem 4.8rem;
}

.module-tags {
  margin-bottom: 1.2rem;
  display: flex;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #333;
  border-radius: 100px;
  font-weight: 600;
}

.tag--green {
  background-color: #51cf66;
}
.tag--lgreen {
  background-color: #94d82d;
}
.tag--yellow {
  background-color: #ffd43b;
}

.module-title {
  font-size: 2.4rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 3.2rem;
}

.module-attributes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.module-attribute {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.module-icon {
  height: 2.4rem;
  width: 2.4rem;
  color: #e67e22;
}

.module-img {
  width: 100%;
}

.all-recipes {
  text-align: center;
  font-size: 1.8rem;
}



/**************************/
/* WHY US SECTION */
/**************************/

.section-why {
  padding: 9.6rem 0;
}

.feature-icon {
  color: #e68422ff;
  height: 3.2rem;
  width: 3.2rem;
  background-color: #fdf2e9;
  margin-bottom: 3.2rem;
  padding: 1.6rem;
  border-radius: 50%;
}

.feature-title {
  font-size: 2.4rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.feature-text {
  font-size: 1.8rem;
  line-height: 1.8;
}

/**************************/
/* CTA SECTION */
/**************************/

.section-cta {
  padding: 4.8rem 0 12.8rem;
}

.cta {
  display: grid;
  grid-template-columns: 2fr 1fr;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  border-radius: 11px;
  background-image: linear-gradient(to right bottom, #eb984e, #e67e22);
  overflow: hidden;
}

.cta-text-box {
  padding: 4.8rem 6.4rem 6.4rem 6.4rem;
  color: #45260a;
}

.cta .heading-secondary {
  /* color: #45260a; */
  color: inherit;
  margin-bottom: 3.2rem;
}

.cta-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}

.cta-img-box {
  background-image: linear-gradient(
      to right bottom,
      rgba(235, 151, 78, 0.35),
      rgba(230, 125, 34, 0.35)
    ),
    url("../img/cta.png");
  background-size: cover;
  background-position: center;
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 2.4rem;
}

.cta-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.cta-form input,
.cta-form select {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  color: inherit;
  border: none;
  background-color: #fdf2e9;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-form input::placeholder {
  color: #aaa;
}

.cta *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(253, 242, 233, 0.5);
}

/**************************/
/* FOOTER */
/**************************/

.footer {
  padding: 12.8rem 0;
  border-top: 1px solid #eee;
}

.grid--footer {
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  /* margin-bottom: 3.2rem; */
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #767676;
  margin-top: auto;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #767676;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}
/* //////// */
.hero-parallax-container {
  height: 250vh; /* This height determines how long the scroll animation lasts */
  position: relative;
  /* This creates the 3D space for child elements */
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* Sticky header that stays in the center while scrolling */
.hero-header {
  position: sticky;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* keeps them vertically centered */
  align-items: flex-start;   /* moves content to the left */
  text-align: left;          /* ensures text aligns left */
  padding: 0 2rem;
  z-index: 10;
  padding-left: 6rem; 
}

.hero-title {

  font-size: 5.2rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 1.4rem;
  max-width: 600px;
  color: #9a9da2ff;
  line-height: 1.6;
}

/* Wrapper for all the moving product rows */
.parallax-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* This transform will be controlled by JS */
  transform: var(--wrapper-transform);
  transition: transform 0.2s linear;
}

/* Styling for each row of products */
.parallax-row {
  display: flex;
  width: max-content;
  margin-bottom: 2rem;
  /* This transform will be controlled by JS for horizontal movement */
  transform: var(--row-transform);
  transition: transform 0.2s linear;
}

/* Individual product card */
.product-card {
  width: 50rem;
  height: 38rem; /* 96 in tailwind is 24rem */
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  margin: 0 0.75rem;
  flex-shrink: 0;
}

.product-card a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* Hover overlay */
.product-overlay {
  position: absolute;
  inset: 0;
  background-color: #000;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.product-card:hover .product-overlay {
  opacity: 0.6;
}

.product-title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card:hover .product-title {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .product-card {
    width: 20rem;
    height: 16rem;
  }
}


/* ==============================================
  Styles from the original ScrollFloat.css
==============================================
*/

/* The container must hide the overflow for the yPercent animation */
.scroll-float {
  overflow: hidden;

  /* Add some vertical margin for better spacing */
  margin: 0 0;
}

.scroll-float-text {
  display: inline-block;
  font-size: clamp(1.6rem, 7vw, 8.6rem);
  font-weight: 900;
  text-align: center;
  line-height: 1.5;
}
.char {
  display: inline-block;
}

/////////////////////////
/* text float scroll */
////////////////////////

.scroll-reveal {
  padding: 0 1rem;
}

.scroll-reveal-text {
  font-size: clamp(1.6rem, 4vw, 1.8rem);
  line-height: 1.8;
}


