/* General Styles */
:root {
  --pastel-green: #c5fcca;
  --pastel-yellow: rgba(255, 249, 176, 0.1) ;
  --pastel-orange: #FFD3B6;
  --dark-green:#14532d;
}
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: rgba(255, 249, 176, 0.3) !important;
  scroll-behavior: smooth;
}

.top-bar {
  background-color: var(--pastel-yellow);
  font-size: 0.95rem;
}

@media (max-width: 767.98px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }

  .top-bar div {
    width: 100%;
  }
}


.navbar-nav .nav-link {
  position: relative;
  overflow: hidden;
  display: inline-block;
  color: #333;
  transition: color 0.3s ease;
}
ul.navbar-nav > li > a.nav-link {
  padding: 0.5rem !important;
}

/* Hide Bootstrap's default dropdown caret */
.navbar-nav .dropdown-toggle::after {
  display: none !important;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background:rgba(255, 214, 165, 0.5);
  border-radius: 16px;
  transition: all 0.5s ease;
  z-index: 0;
}

.navbar-nav .nav-link:hover::before {
  left: 0;
}
.dropdown-icon{
  padding-left: 5px;
}
.navbar-nav .nav-link .dropdown-icon{
  position: relative;
  z-index: 1;
}

.navbar-nav .nav-link span{
  position: relative;
  z-index: 1;
}
.nav-item{
  padding-left: 10px;
}
/* Dropdown Styling */
.dropdown-menu {
  border: 1px solid white !important;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Dropdown Items */
.dropdown-menu .dropdown-item {
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: rgba(255, 214, 165, 0.5);
  padding-left: 1.25rem;
  color: #333;
}
.dropdown-menu {
  max-width: 90vw;
  overflow-x: auto;
}

/* Hover Dropdown only for Desktop */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeInDropdown 0.3s ease-in-out;
  }
}
@media (min-width: 992px) {
  .dropdown-fix-end .dropdown-menu {
    right: 0;
    left: auto;
    transform: translateX(0);
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
  }
}

/* Dropdown Animation */
@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Section Styling */
section {
  animation: fadeInUp 1s ease;
}

.main-section {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
}
.text-white-h2{
  width:26ch;
  color: rgb(253, 253, 146);
  text-wrap:nowrap;
  overflow: hidden;
  animation:typing 2s steps(26) infinite alternate-reverse;
}
@keyframes typing{
  from{
    width:0ch;
  }
}
@media (max-width: 768px) {
  .right{
    margin-top: 10px !important;
  }
  .main-section{
    height: auto;
  }
  .carousel-item-1 img {
    height: 220px; /* Let height adapt to image */
  }

  .carousel-caption {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-20%);
    width: 90%;
    align-items: center !important;
    text-align: center;
  }

  .text-white-h2 {
    font-size: 1.1rem;
    white-space: normal;
    text-wrap:nowrap;
    overflow: hidden;
    animation:typing 2s steps(26) infinite alternate-reverse;
    color: rgb(253, 253, 146);
    text-align: center;
  }
  @keyframes typing{
    from{
      width:0ch;
    }
  }
  .carousel-caption button {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
  }
}
/* modal*/
/* Animate the modal scale in */
@keyframes scaleIn {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.about-section {
  background-color: white !important;
}

.section-label {
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  /* font-size: 0.9rem; */
  letter-spacing: 0.05em;
}

.text-highlight {
  color: #1b5e20; /* pastel blue or match your brand */
}

.about-img {
  max-width: 75%;
  height: 500px;
}

/* Responsive Lottie Animations */
.about-section dotlottie-player {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Stack columns on smaller screens */
@media (max-width: 768px) {
  .about-section .row {
    flex-direction: column;
  }

  .about-section .col-md-6 {
    text-align: center;
  }

  .about-section h2 {
    font-size: 1.75rem;
  }

  

  .about-section dotlottie-player {
    width: 100% !important;
    height: 500px !important;
    max-height: 300px;
  }
}

.animate-scale {
  animation: scaleIn 0.3s ease-in-out;
}

/* Elegant modal container */
.elegant-modal {
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  overflow: hidden;
  padding: 10px 15px;
}

/* Remove form field borders, use smooth highlights */
.clean-input {
  border: none;
  border-bottom: 2px solid rgb(20, 83, 45,0.6);
  border-radius: 0;
  transition: all 0.3s ease;
  background-color: transparent;
  box-shadow: none;
}

.clean-input:focus {
  border-color: #14532d; /* dark green */
  box-shadow: 0 1px 0 #14532d;
  background-color: transparent;
}

/* Submit Button Styling */
.submit-btn {
  background-color: #14532d; /* Dark Green */
  color: white;
  padding: 10px 5px;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.submit-btn:hover {
  background-color: #198754; /* Lighter green on hover */
}

/* Floating label adjustment */
.form-floating > label {
  color: #555;
  font-weight: 500;
}
/* alert css */
.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 18px;
  color: white;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
  pointer-events: none;
}

.custom-alert.show {
  opacity: 1;
  transform: translateY(0);
}

.alert-success {
  background-color: #198754;
}

.alert-danger {
  background-color: rgb(250, 153, 88);
}

/*about-section */
.about-section {
  background-color: var(--pastel-orange);
}
.container {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
}


.middle,
.right {
  flex: 1;
  min-width: 300px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(115, 121, 27, 0.1);
}
.middle {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin: 0 50px;
}

.right {
  margin:0 50px;
  background: white;
  padding: 20px;
  border-radius: 8px;
}
.right h3{
  margin-top: 20px;
}
/* Section Styling */
.sabSectionHead {
  font-size: 2.5rem;
  text-align: center;
  margin: 20px 0;
  color: var(--dark-green);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.sabSectionHead:hover {
  color: rgb(20, 83, 45,0.8);
}

.sabSectionPara {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

/* Carousel Card Layout */
.carousel-inner-2 {
  display: flex;
  align-items: center;
  padding: 4rem;
}

.carousel-item-2 {
  
  display: flex;
  justify-content: center;
  /* transition: transform 0.5s ease; */
  align-items: stretch;
}

/* Service Card Style */
.bg-white-text{
  margin-top: 30px;
  padding-top: 80px;
}
.card {
  background: #f9ffe6; /* pastel green */
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 2rem;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(27, 121, 58, 0.1);
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
  min-height: 600px;
}



.card h2 {
  font-size: 2rem;
  color: var(--dark-green);
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
}

/* Checkbox List */
.card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.card ul li {
  margin-bottom: 0.5rem;
}

.card ul li label {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
}

.card input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.1);
}

/* Add Button Styling */
.add-btn {
  background-color: rgb(20, 83, 45,0.1);
  border: 2px solid var(--dark-green);
  color: var(--dark-green);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

.add-btn:hover {
  background-color: var(--dark-green);
  color: white;
  transform: scale(1.05);
}

/* Carousel Button Customization */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--dark-green);
  border-radius: 50%;
  padding: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  padding: 1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Allow subtitle to grow vertically */
  border: 1px solid rgba(20, 83, 45, 0.5);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  position: relative;
  background-color: rgba(20, 83, 45, 0.1);
  font-family: Arial, sans-serif;
  gap: 12px;
  flex-wrap: wrap;
}
.cart-item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-right: 12px;
}

.cart-info {
  flex: 1;
  min-width: 200px;
}

.cart-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--dark-green);
  margin-bottom: 6px;
}

.cart-subtitle {
  font-size: 14px;
  color: rgba(20, 83, 45, 0.7);
  word-wrap: break-word;
  line-height: 1.4;
}

/* Quantity control box fixed to top-right */
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(20, 83, 45, 0.4);
  border-radius: 8px;
  overflow: hidden;
  height: 32px;
  white-space: nowrap;
}

.qty-control button {
  background-color: white;
  border: none;
  color: rgba(20, 83, 45, 0.7);
  font-size: 18px;
  padding: 4px 10px;
  cursor: pointer;
}

.qty {
  padding: 0 10px;
  font-weight: bold;
  color: var(--dark-green);
}

.remove-btn {
  position: absolute;
  top: 6px;
  left: 6px;
  background-color: white;
  color: var(--dark-green);
  border: 1px solid rgba(20, 83, 45, 0.6);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  line-height: 20px;
  text-align: center;
}


.cart-empty {
  text-align: center;
  padding: 40px 20px;
  background-color: rgb(20, 83, 45,0.1);
  border-radius: 12px;
  color: #333;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.cart-empty-icon {
  font-size: 40px;
  color: #198754;
  margin-bottom: 16px;
}

.cart-empty-icon i,
.cart-empty-icon .material-icons {
  font-size: 40px;
  color: #198754;
}

.cart-empty h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cart-empty p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}


form input,
form button {
  width: 95%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background: var(--accent);
  color: white;
  font-weight: bold;
  border: none;
}

form button:hover {
  background: var(--primary);
}
/* alert */
.custom-alert-2 {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgb(250, 153, 88,0.8);
  color: white;
  border: 1px solid #fca4a4;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 9999;
  display: none;
  animation: fadeInOut 3s ease-in-out;
}
@keyframes fadeInOut {
  0% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  10% { opacity: 1; transform: translateX(-50%) translateY(0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}
 /* Responsive Media Queries */
@media (max-width: 1024px) {
  .carousel-inner-2 {
    padding: 2rem;
  }

  .middle,
  .right {
    margin: 0 20px;
  }

  .card {
    padding: 1.5rem;
    min-height: 550px;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .middle,
  .right {
    margin: 0 10px;
  }

  .card {
    padding: 1rem;
    min-height: 500px;
  }

  .sabSectionHead {
    font-size: 2rem;
  }
  .custom-main{
    margin-bottom: 10px !important;
  }
}

@media (max-width: 480px) {
  .sabSectionHead {
    font-size: 1.7rem;
  }

  .sabSectionPara {
    font-size: 1rem;
  }

  .card h2 {
    font-size: 1.5rem;
  }

  .card p,
  .card ul li label {
    font-size: 0.9rem;
  }

  .add-btn {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .carousel-inner-2 {
    padding: 1rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }
}
.custom-main{

  margin-bottom: 60px;
}
.custom-card {
  position: relative;
  background-color: rgba(255, 249, 176, 0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 20px 14px;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.custom-icon {
  width: 48px;
      height: 48px;
      background-color: rgb(25, 135, 84,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      margin-bottom: 15px;
      font-size: 24px;
      color: #198754;
margin-left: 40%;
}

.custom-card:hover .custom-icon {
  transform: scale(1.1);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-text {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 30px;
}

.hover-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #e8f5e9;
  padding: 28px;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.3s ease;
  z-index: 2;
}

.custom-card:hover .hover-content {
  opacity: 1;
  transform: translateY(0);
}

.custom-btn {
  background: none;
  border: none;
  color: rgb(53, 53, 53);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0;
}

.custom-btn:hover {
  color: black;
  text-decoration: underline;
}
/* our services section */

.hero-section {
  padding-left: 4rem;
  padding-bottom: 120px;
  position: relative;
  width: 100%;
  height: 80vh;
  background: url('images/Untitled\ design\ \(1\).jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  text-align: left;
  color: #1f1f1f;
}
  
.overlay-content {
  background: transparent;
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 550px;
  width: 90%;
  position: relative;
  z-index: 2;
}

.overlay-content h2 {
  font-size: 3rem;
  margin-bottom: 5rem;
  color: rgb(46, 46, 46);
}

.service-slide {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.service-slide.active {
  display: flex;
}

.service-title {
  font-size: 2rem;
  font-weight: bold;
  color: #1b5e20;
}

.service-desc {
  font-size: 1.1rem;
  color: rgb(100, 100, 100);
}
.know-more {
  background-color: #218838;
  border: none;
  width: 20vw;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  border-radius: 25px;
  color: white;
  transition: background 0.3s ease;
}

.know-more:hover {
  background-color: #28a745;
}
@media (max-width: 768px) {
  .hero-section{
    height: 50vw;
    padding-left: 2rem;
    padding-top: 8rem;
  }
  .overlay-content {
    padding: 5px;
  }

  .overlay-content h2 {
    font-size: 6vw;
    margin-bottom: 30px !important;
  }

  .service-title {
    font-size: 5vw;
  }

  .service-desc {
    font-size: 3vw;
  }
  .know-more {
    font-size: 3vw;
    padding: 0.6rem 1.4rem;
    width: 30vw;
  }
}

@media (max-width: 480px) {
  .hero-section{
    height: 50vw;
    padding-left: 2rem;
    padding-top: 8rem;
  }
  .overlay-content {
    padding: 5px;
   
  }

  .overlay-content h2 {
    font-size: 6vw;
    margin-bottom: 30px !important;

  }

  .service-title {
    font-size: 5vw;
  }

  .service-desc {
    font-size: 3vw;
    display: none;
    background: transparent !important;
  }
  .know-more {
    font-size: 3vw;
    padding: 0.6rem 1.4rem;
    width: 30vw;
  }
}
/*why section */
.product-section {
  padding: 60px 0;
  background: #fffde7;
}

.product-title {
  font-size: 2.5rem;
  font-weight: bold;
}
.card-wrapper {
  position: relative;
  min-width: 350px;
  min-height: 340px;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid rgb(243, 243, 243);
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); */
  overflow: hidden;
  /* transition: box-shadow 0.3s ease; */
}



.card-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 25px 20px;
  transition: all 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card-face.front {
  z-index: 2;
}

.card-face.back {
  opacity: 0;
  transform: translateX(100%);
  z-index: 1;
  background-color: #e8f5e9; /* light green */
  color: #1b5e20;
}

.card-wrapper:hover .card-face.front {
  opacity: 0;
  transform: translateX(-100%);
}

.card-wrapper:hover .card-face.back {
  opacity: 1;
  transform: translateX(0);
}

.card-face h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.card-face img {
  height: 60px;
  margin-bottom: 15px;
}

.card-face ul {
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
  font-size: 0.95rem;
}

.card-face ul li::before {
  content: "➤ ";
  color: #388e3c;
}
.card-face h4{
  margin-bottom: 15px;
}
.card-face ul li {
  margin-bottom: 6px; /* or any value you prefer, like 10px or 12px */
}

.arrow-icon {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.25rem;
  color: rgb(0, 0, 0);
}

.services-section {
  background-color: var(--pastel-green);
}
.services-section h4 {
  margin-top: 20px;
}

.footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}