/* ====== CSS RESET & VARIABLES ====== */
:root {
  --primary: #2C5F2D;
  /* Deep Earthy Green */
  --primary-light: #97BC62;
  /* Soft Leaf Green */
  --secondary: #8B5A2B;
  /* Cocopeat Brown */
  --accent: #E8D8C4;
  /* Soothing Beige Background */
  --dark: #1E1E1E;
  --gray: #666666;
  --light-gray: #F5F7F5;
  --white: #FFFFFF;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 50px rgba(44, 95, 45, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

/* ====== UTILITY & TYPOGRAPHY ====== */
h1,
h2,
h3,
h4,
.logo {
  font-family: var(--font-heading);
  color: var(--dark);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--light-gray);
  background-image: url('assets/images/tropical_leaf_pattern_1772290918518.png');
  background-size: 400px;
  background-repeat: repeat;
}

.center {
  text-align: center;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(44, 95, 45, 0.2);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 95, 45, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 15px 35px;
}

.w-100 {
  width: 100%;
}

/* ====== ANTI-GRAVITY ANIMATIONS ====== */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes float-slow {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

.float-animation-delayed {
  animation: float 6s ease-in-out infinite;
  animation-delay: 1.5s;
}

.float-animation-slow {
  animation: float-slow 8s ease-in-out infinite;
}

/* Scroll reveal classes */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* ====== FLOATING WIDGET ====== */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: float-slow 4s ease-in-out infinite;
}

.whatsapp-widget:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #1EBE5D;
}

/* ====== NAVIGATION ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
}

.logo span {
  font-weight: 400;
  color: var(--secondary);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links .nav-btn {
  color: var(--white);
}

.nav-btn-outline {
  padding: 8px 18px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.nav-btn-outline:hover {
  background: var(--primary);
  color: var(--white) !important;
}

.language-selector {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--light-gray);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.language-selector:hover {
  border-color: var(--primary-light);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* ====== HERO SECTION ====== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: var(--accent);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-cta {
  display: flex;
  gap: 20px;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* ====== ABOUT SECTION ====== */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-image-wrapper {
  position: relative;
  height: 500px;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
}

.about-godown-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  text-align: center;
  z-index: 2;
}

.experience-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.experience-text {
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-description {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.features-list {
  list-style: none;
  margin-top: 30px;
}

.features-list li {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-list i {
  color: var(--primary-light);
  font-size: 1.2rem;
}

/* ====== PRODUCTS SECTION ====== */
.section-header {
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  background: var(--white);
  border-radius: 24px;
  padding: 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

.product-img-wrapper {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--light-gray);
  border-radius: 16px;
  overflow: hidden;
}

.product-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.product-info p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 12px;
}

/* ====== FACILITIES / REAL PHOTOS ====== */
.facilities .section-title {
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  grid-auto-rows: 250px;
}

/* Making the first two images span larger if possible for a bit of masonry feel */
.gallery-grid .gallery-item:nth-child(1),
.gallery-grid .gallery-item:nth-child(5) {
  grid-column: span 2;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

/* ====== MANUFACTURING PROCESS ====== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.process-step {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.process-step:hover {
  transform: translateY(-10px);
  border-color: var(--primary-light);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.step-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px dashed var(--primary-light);
  animation: spin 10s linear infinite;
  z-index: -1;
}

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

.step-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ====== FOOTER & CONTACT ====== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 100px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-logo {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo-img {
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
}

.footer-logo span {
  color: var(--primary-light);
}

.footer-desc {
  color: #AAAAAA;
  margin-bottom: 30px;
  max-width: 400px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: #CCCCCC;
}

.contact-item i {
  color: var(--primary-light);
  margin-top: 5px;
}

.contact-item a {
  color: #CCCCCC;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Form Styles */
.footer-form-container {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.footer-form-container h3 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #CCCCCC;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #888888;
  font-size: 0.9rem;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    margin: 0 auto 30px;
  }

  .hero-cta {
    justify-content: center;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .experience-badge {
    right: 0;
    transform: scale(0.8);
  }

  /* Reset masonry grid on tablets for safety */
  .gallery-grid .gallery-item:nth-child(1),
  .gallery-grid .gallery-item:nth-child(5) {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-form-container {
    padding: 20px;
  }
}

/* ====== IMAGE MODAL LIGHTBOX ====== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.modal-content {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  user-select: none;
  -webkit-user-drag: none;
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 8vw;
  font-weight: 800;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 4px;
  pointer-events: none;
  /* Allows clicking through it if necessary */
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
  z-index: 10;
  white-space: nowrap;
  user-select: none;
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10000;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
}

/* Allow click cursor on gallery images */
.gallery-img {
  cursor: zoom-in;
  -webkit-user-drag: none;
}

/* ====== PRODUCT SPECIFICATIONS ====== */
.specifications {
  background-color: var(--white);
}

.germination-banner {
  margin-top: 25px;
  display: inline-block;
  background: linear-gradient(135deg, rgba(44, 95, 45, 0.05), rgba(151, 188, 98, 0.15));
  padding: 12px 30px;
  border-radius: 50px;
  border: 1px solid rgba(151, 188, 98, 0.3);
  box-shadow: 0 8px 20px rgba(44, 95, 45, 0.08);
  transition: var(--transition);
}

.germination-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(44, 95, 45, 0.12);
}

.germination-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.germination-text i {
  color: var(--primary-light);
  font-size: 1.5rem;
}

.germination-text .fw-regular {
  font-weight: 500;
  color: var(--gray);
}


.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.spec-card {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.spec-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-hover);
}

.spec-icon {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.spec-card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.spec-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.spec-card strong {
  color: var(--primary);
}

.best-use-box {
  background: linear-gradient(135deg, rgba(44, 95, 45, 0.05), rgba(151, 188, 98, 0.1));
  border: 1px solid rgba(44, 95, 45, 0.1);
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
}

.best-use-box h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.best-use-box ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.best-use-box ul li {
  position: relative;
  padding-left: 30px;
  color: var(--dark);
  font-weight: 500;
}

.best-use-box ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-light);
}