* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

.active {
  background: linear-gradient(90deg, #ffa500, #ff7b00);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
  transition: all 0.3s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.hero-gradient {
  position: relative;
  background: url("/Img/Banner\ 2.webp") center/cover no-repeat;
  overflow: hidden;
}

.hero-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  /* use same background */
  filter: brightness(0.5) blur(2px);
  /* decrease brightness + blur */
  z-index: 0;
}

.hero-gradient > * {
  position: relative;
  z-index: 1;
  /* keep text, buttons above */
}

/*
.hero-gradient {
    background-image: url('./Img/Banner\ 2.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(70%) blur(1px); 
}
*/

/* .quality-background{
    background-image: url(./Img/Harvesting\ Turmeric.jpg);
} */

.section-gradient {
  background: linear-gradient(to bottom, #fffbeb, #ffffff);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.nav-shadow {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

.certification-badge {
  transition: transform 0.3s ease;
}

.certification-badge:hover {
  transform: scale(1.1) rotate(5deg);
}

@media (max-width: 768px) {
  .hero-text {
    font-size: 2rem;
  }
}

/* ios support  */
/* Additional styles for mobile header fix */
@media (max-width: 767px) {
  /* Ensure header stays on top with solid background */
  nav {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: none !important;
  }

  /* Prevent content from hiding behind header */
  .hero-section {
    padding-top: 5.5rem !important;
  }

  /* Mobile menu styling */
  #mobileMenu {
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
}

/* Fix for iOS Safari backdrop-filter */
@supports (-webkit-touch-callout: none) {
  nav {
    -webkit-backdrop-filter: blur(10px);
  }
}

.dropdown {
  opacity: 0;
  visibility: hidden;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease-out;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: linear-gradient(to right, #f59e0b, #f97316);
  color: white;
}

.dropdown-item:hover i {
  color: white;
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  /* display: none; */
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  /* display: none; */
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  /* display: none; */
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
