/* ========================== General settings ========================== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

:root {
  --primary-color: #fdb264;
  --primary-color-dark: #2e2a40;
  --text-dark: #221e36;
  --text-light: #767268;
  --extra-light: #f1f2ff;
  --white: #ffffff;
  --light-color: #666;
  --light-bg: #eee;
  --green-color: #91d956;
  --max-width: 1200px;
  --font-primary: "Roboto", serif;
  --font-secondary: "Montserrat", serif;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --border: 1px solid rgba(0, 0, 0, 0.3);
}
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none !important;
  list-style: none !important;
  text-transform: capitalize;
  transition: all 0.2s linear;
}

body {
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;

  &::-webkit-scrollbar {
    width: 1rem;
  }

  &::-webkit-scrollbar-track {
    background: transparent;
  }
  &::-webkit-scrollbar-thumb {
    background: var(--light-color);
  }
}

/* ========================== Section ========================== */
section {
  padding: 5rem 10%;
}

.heading {
  font-size: 3.56rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  position: relative;
  text-align: center;
  margin-bottom: 5rem;
  margin-top: -5px;
}
.heading::after {
  content: "";
  display: block;
  width: 10%;
  height: 3px;
  background-color: var(--green-color);
  margin: 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
}

/* ========================== Product ========================== */

/* General container styling for the popular products */
.popular_product {
  display: flex;
  flex-direction: column;
  margin: 0px auto;
  padding: 60px 0px 20px 0px;
  border-radius: 20px;
  background-color: #ecf7ee;
  border: 1px solid #f3f3f3;
  margin: 30px !important;
}

/* Product grid layout */
.product_container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 20px;
  grid-gap: 30px;
}

/* Styling for the product section heading */
.product_heading h2 {
  font-size: 3.56rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  position: relative;
}

.product_heading h2::after {
  content: "";
  display: block;
  width: 50%;
  height: 3px;
  background-color: var(--green-color);
  margin: 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
}

/* Individual product box styling */
.product_box {
  width: 100%;
  margin-top: 50px;
  border: 1px solid #eee;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

/* Product image styling */
.product_box img {
  width: 90%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  margin: auto;
}

/* Product name styling */
.product_box strong {
  color: var(--green-color);
  font-size: 2rem;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 10px;
}

/* Product quantity styling */
.product_box .quantity {
  color: var(--light-color);
  font-size: 1.3rem;
  margin-top: 10px;
  font-weight: bolder;
  letter-spacing: 1px;
}

/* Product price styling */
.product_box .price {
  margin-top: 10px;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Add-to-cart button styling */
.product_box .cart_btn {
  width: 100%;
  height: 40px;
  background-color: #ecf7ee;
  color: var(--green-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  font-size: 1.5rem;
  border-radius: 10px;
}

/* Icon styling for add-to-cart button */
.product_box .cart_btn i {
  margin-right: 10px;
  font-size: 2rem;
}

/* Hover effect for add-to-cart button */
.product_box .cart_btn:hover {
  background-color: var(--green-color);
  color: white;
  transition: all ease 0.3s;
}
/* ========================== Track Button ========================== */

.Track_btn {
  background: var(--green-color);
  border-radius: 5px !important;
  color: white !important;
  padding: 10px 20px !important;
  margin-left: 15px !important;
}

/* From Uiverse.io by abrahamcalsin */
button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: var(--green-color);
  box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  cursor: pointer;
  border: none;
}

button:after {
  content: " ";
  width: 0%;
  height: 100%;
  background: var(--primary-color-dark);
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
}

button:hover::after {
  right: auto;
  left: 0;
  width: 100%;
}

button span {
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: 12px 20px;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  z-index: 20;
  transition: all 0.3s ease-in-out;
}

button:hover span {
  color: white;
  animation: scaleUp 0.3s ease-in-out;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

/* ========================== Header ========================== */

/* General header styles */
.header {
  background-color: rgb(225, 223, 223); /* Light gray background */
  position: fixed; /* Fixed position at the top */
  top: 0;
  left: 0;
  right: 0;
  display: flex; /* Flexbox for alignment */
  align-items: center; /* Centers content vertically */
  justify-content: space-between; /* Distributes space between elements */
  z-index: 1000; /* Keeps the header on top of other elements */
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; /* Adds shadow to the header */
  padding: 0 4%; /* Horizontal padding for spacing */
  /* height: 15%; */ /* Optional: Set height for the header (commented out) */
}

/* Styling for the logo image */
.header .logo img {
  width: 100px; /* Sets width for the logo */
}

/* Navbar link styles */
.header .navbar a {
  font-size: 1.5rem; /* Font size for the links */
  font-weight: 500; /* Font weight for normal emphasis */
  color: black; /* Default text color */
  padding: 10px; /* Padding for better click area */
  margin: 2px; /* Small margin between links */
}

/* Navbar link styles */
.navbar a {
  font-size: 2rem; /* Larger font size */
  color: var(--primary-color-dark); /* Dark primary color */
  text-transform: capitalize; /* Capitalizes the text */
  margin: 0 1rem; /* Horizontal margin between links */
  padding: 5px 10px; /* Adds padding around links */
  border-radius: 2px; /* Rounded corners */
}

/* Navbar link hover effect */
.navbar a:hover {
  background: var(--light-color); /* Background color change on hover */
  color: var(--white); /* Text color change on hover */
}

/* Styles for the menu button (for mobile responsiveness) */
#menu-btn {
  margin-left: 0.3rem; /* Small left margin */
  height: 5rem; /* Height of the button */
  width: 5rem; /* Width of the button */
  line-height: 5rem; /* Centers the icon vertically */
  font-size: 3rem; /* Icon size */
  color: var(--text-dark); /* Dark text color */
  cursor: pointer; /* Pointer cursor to indicate clickability */
  text-align: center; /* Centers the text inside */
  display: none; /* Hides the button by default */
}

/* ========================== Home ========================== */

/* Home section styling */
.home {
  padding: 0;
  margin: 30px !important;
  margin-top: 115px !important;
}

/* Slider container styling */
 .home .slide {
  border-radius: 21px; /* Rounded corners for the slide */
  /* min-height: 55rem;               Minimum height of the slide */
  display: flex; /* Flexbox for alignment */
  align-items: center; /* Centers content vertically */
  position: relative; /* For absolute positioning of overlay */
  background-size: cover !important; /* Ensures background image covers the slide */
  background-position: center !important; /* Centers the background image */
}

/* Overlay effect on the slide */
.home .slide::before {
  content: "";
  position: absolute; /* Positions the overlay absolutely */
  top: 0;
  left: 0;
  height: 100%; /* Full height of the slide */
  width: 100%; /* Full width of the slide */
  background: linear-gradient(
    50deg,
    var(--white),
    transparent
  ); /* Gradient overlay */
}

/* Content area inside the slide */
.home .slide .content {
  width: 50rem; 
  position: relative; /* Relative positioning for content elements */
}

/* Heading styling inside the slide */
.home .slide .content h3 {
  font-size: 6rem; /* Large font size for heading */
  color: var(--primary-color-dark); /* Dark primary color for the heading */
  text-transform: uppercase; /* Uppercase text */
  margin-top: 5rem; /* Spacing from the top */
}

/* Paragraph styling inside the slide */
.home .slide .content p {
  padding: 1rem 0; /* Vertical padding */
  font-size: 1.5rem; /* Font size for paragraph */
  color: black; /* Text color */
  line-height: 2; /* Line height for better readability */
  margin-bottom: 15px; /* Spacing at the bottom */
}

/* ========================== Banner ========================== */
.banner {
  padding-top: 0;
}
.box-container {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;

  .box {
    text-align: center;
    background: rgb(215, 211, 211);
    padding: 1rem 2rem;

    i {
      font-size: 3rem;
    }
    p {
      font-size: 1.5rem;
      padding: 1rem 0;
    }
  }
}

/* ============ About ================= */

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 150px;
  gap: 10px;
  padding: 10px;
  /* background-color: #fff; */
}

.grid-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Specific image placements */
.small-image:nth-child(1) {
  grid-column: span 1;
  grid-row: span 1;
}

.tall-image:nth-child(2) {
  grid-column: span 2;
  grid-row: span 2;
}

.large-image:nth-child(3) {
  grid-column: span 1;
  grid-row: span 1;
}

/* ============== About ============= */
.about {
  /* background-color: var(--extra-light); */
  .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
  }
  .grid-container {
    flex: 1 1 41rem;

    img {
      width: 100%;
    }
  }
  .content {
    flex: 1 1 41rem;

    h3 {
      font-size: 3.5rem;
      color: var(--primary-color-dark);
      text-transform: capitalize;
      margin-bottom: 15px;
    }
    p {
      font-size: 1.5rem;
      padding: 1rem 0;
      margin-bottom: 20px;
      letter-spacing: 1px;
      line-height: 1.5;
    }
  }
}

/* ============== Contact us ============= */
.contact_container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 30px;
}

/* Contact information styling */
.contact_container .contactInfo {
  width: 50%;
  display: flex;
  flex-direction: column;
  background: var(--primary-color-dark);
  border-radius: 10px;
  padding: 94px 24px;
}

.contact_container .contactInfo .box {
  position: relative;
  padding: 20px;
  display: flex;
  cursor: pointer;
  gap: 20px;
}

.contact_container .contactInfo .box .icon {
  position: relative;
  min-width: 60px;
  height: 60px;
  background: repeating-conic-gradient(
    from 30deg,
    var(--green-color) 0%,
    var(--green-color) 10%,
    transparent 10%,
    transparent 50%
  );
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact_container .contactInfo .box .icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(
    from 117.5deg,
    var(--green-color) 0%,
    var(--green-color) 10%,
    transparent 10%,
    transparent 50%
  );
}

.contact_container .contactInfo .box .icon::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #222;
}

.contact_container .contactInfo .box .icon b {
  position: absolute;
  inset: 8px;
  background: var(--green-color);
  z-index: 2;
}

.contact_container .contactInfo .box .icon i {
  position: relative;
  z-index: 100;
  font-size: 2rem;
  color: white;
}

.text h3 {
  margin: 0;
  font-size: 18px;
  color: var(--green-color);
}

.text p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #e0e0e0;
}

/* form */
/* From Uiverse.io by gharsh11032000 */
.form-container {
  /* width: 50%; */
  /* background: linear-gradient(#212121, #212121) padding-box,
              linear-gradient(145deg, transparent 35%,#e81cff, #40c9ff) border-box; */
  /* background: var(--primary-color-dark);
  border: 2px solid transparent;
  padding: 32px 24px;
  font-size: 14px;
  font-family: inherit;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 16px; */

  width: 50%;
  /* background: linear-gradient(#212121, #212121) padding-box, linear-gradient(145deg, transparent 35%, #e81cff, #40c9ff) border-box; */
  background: var(--primary-color-dark);
  border: 2px solid transparent;
  /* padding: 2px; */
  font-size: 14px;
  font-family: inherit;
  color: white;
  display: flex
;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 10px;
  height: 480px;
}

.form-container button:active {
  scale: 0.95;
}

.form-container .form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* .form-container .form-group label {
  display: block;
  margin-bottom: 5px;
  color: white;
  font-weight: 600;
  font-size: 12px;
}

.form-container .form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  background-color: transparent !important;
  border: 1px solid #414141;
  text-transform: lowercase;
}

.form-container .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  resize: none;
  color: #fff;
  height: 96px;
  border: 1px solid #414141;
  background-color: transparent;
  font-family: inherit;
} */



.form-container .form-submit-btn {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: flex-start;
  font-family: inherit;
  color: #717171;
  font-weight: 600;
  width: 40%;
  background: #313131;
  border: 1px solid #414141;
  padding: 12px 16px;
  font-size: inherit;
  gap: 8px;
  margin-top: 8px;
  cursor: pointer;
  border-radius: 6px;
}

.form-container .form-submit-btn:hover {
  background-color: black !important;
  border-color: #fff;
}

form {
  flex: 1 1 41rem;
  background: var(--white);
  padding: 2rem;
border-radius:10px;
  h3 {
    font-size: 2.5rem;
    color: var(--primary-color-dark);
    text-transform: capitalize;
    /* padding-bottom: 1rem; */
  }
  .box {
    width: 100%;
    padding: 1.2rem 1.4rem;
    /* background: var(--extra-light); */
    border-bottom: var(--border);
    margin: 0.7rem 0;
    font-size: 1.6rem;
    color: black;

    &:focus {
      border-color: var(--green-color);
      background:white !important;
    }
  }
  textarea {
    height: 9rem;
    resize: none;
  }
}

/* ========================== Certificate Section ========================== */

.certificate-container {
  display: flex;
  gap: 20px;
  overflow-x: auto; /* Enables horizontal scrolling */
  scroll-snap-type: x mandatory; /* Enables snapping */
  padding: 20px;
  background-color: #fff;
  flex-wrap: nowrap; /* Keeps items on a single row */
  margin-top: 20px;
}

.certificate-container::-webkit-scrollbar {
  display: none; /* Hides scrollbar for Webkit browsers */
}

.certificate-card {
  flex: 0 0 calc(50% - 10px); /* Two cards visible at a time */
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.certificate-card img {
  display: block;
  width: 100%;
  height: auto;
}

.certificate-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* ========================== Footer ========================== */

.footer {
  padding: 3rem 6%; /* Adds spacing around the footer */
  background: rgb(225, 223, 223); /* Light gray background */
  color: #f6f6f6; /* Text color */
  border-top: 2px solid var(--main-color); /* Top border with main color */
  margin-top: 1rem; /* Adds spacing above the footer */
}

/* Footer container layout */
.footer-container {
  display: flex; /* Creates a flexbox layout */
  justify-content: space-between; /* Distributes content evenly */
  gap: 1rem; /* Adds spacing between child elements */
}

/* Paragraph styling in the footer */
.footer_para {
  margin-top: -9px; /* Adjusts vertical positioning */
  margin-left: 10px; /* Adds left margin */
}

/* Footer logo styling */
.footer-container .logo img {
  width: 150px; /* Sets the logo width */
  margin-bottom: -28px; /* Adjusts bottom spacing */
  margin-top: -40px; /* Adjusts top spacing */
}

/* Footer box layout */
.footer-container .footer-box {
  display: flex; /* Flexbox for organizing content */
  flex-direction: column; /* Stacks content vertically */
}

/* Social media links styling */
.social {
  display: flex; /* Flexbox for horizontal alignment */
  align-items: center; /* Centers items vertically */
  margin-left: 8px; /* Adds left margin */
}

/* Individual social media icons */
.social a i {
  font-size: 2rem; /* Icon size */
  color: black; /* Default icon color */
  margin-right: 1rem; /* Spacing between icons */
}

/* Hover effect for social media icons */
.social a i:hover {
  color: var(--main-color); /* Changes color on hover */
}

/* Footer heading styling */
.footer-box h3 {
  font-size: 2rem; /* Heading font size */
  font-weight: bold; /* Makes the text bold */
  margin-bottom: 2.5rem; /* Adds spacing below the heading */
  color: black; /* Heading color */
  position: relative; /* Enables pseudo-element positioning */
}

/* Decorative line under footer heading */
.footer-box h3::after {
  content: "";
  display: block;
  width: 50%;
  height: 3px;
  background-color: var(--green-color);
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
}

/* Links and paragraphs in the footer box */
.footer-box a,
.footer-box p {
  font-size: 1.3rem;
  color: #818181;
  font-weight: 400;
  margin-bottom: 15px;
}

/* Hover effect for footer links */
.footer-box a:hover {
  color: var(--green-color);
}

/* Copyright section styling */
.copyright {
  padding: 20px;
  text-align: center;
  color: var(--bg-color);
  background: var(--text-color);
  border: 1px solid;
  font-size: 1.3rem;
}

/* ========================== Testimonial ========================== */


/* ========================== WhatsApp Floating Button ========================== */

.whatsapp_float {
  position: fixed;
  bottom: 90px;
  right: 12px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: white;
  opacity: 1;
  text-decoration: none;
  transition: all 0.4s;
  z-index: 999;
}



/* ================ Blog ================ */
.blog {
  .slide {
    text-align: center;

    &:hover .image img {
      transform: scale(1.1);
    }
    .image {
      height: 25rem;
      width: 90%;
      overflow: hidden;
      /* margin-bottom: -3rem !important; */
      margin: 0 auto;

      img {
        height: 100%;
        width: 100%;
        object-fit: cover;
      }
    }
    .content {
      padding: 2rem;
      /* padding-top: 4rem; */
      background: var(--light-bg);
      box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.2);
    }
    h3 {
      margin-top: 10px;
      font-size: 2rem;
      color: var(--primary-color-dark);
      text-transform: capitalize;
    }
    p {
      padding: 1rem 0;
      font-size: 1.4rem;
      color: var(--text-light);
      line-height: 1.5;
    }
  }
}
