/* Navbar Section */

/* Default (mobile view) - header normal hoga */
.site-header {
  position: relative;
}

/* Desktop view (freeze header on scroll) */
@media (min-width: 769px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  body {
    padding-top: 110px; /* header ki height ke equal adjust karo */
  }
}

/* === BASE STYLES === */

.hamburger-menu {
  display: block;
  font-size: 24px;
  cursor: pointer;
}

.mobile-row {
  display: none;
  width: 100%;
  padding: 0 1rem;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: white;
  padding: 10px 20px;
  border-top: 1px solid #ccc;
}

.mobile-nav a {
  padding: 10px 0;
  text-decoration: none;
  font-weight: bolder;
  color: black;
  border-bottom: 1px solid #eee;
  font-family: Poppins;
  font-size: 16px;
}
.mobile-nav a:hover {
  color: #F57C00;
}

/* === MOBILE STYLES === */
@media (max-width: 768px) {
  .mobile-row {
    display: flex;
  }

  .logo-container {
    display: none;
  }

  .desktop-enquire,
  .nav-links.desktop-nav {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .mobile-nav {
    display: flex;
  }
   .mobile-sub-dropdown-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-sub-dropdown-content a {
    display: block;
    width: 100%;
    white-space: normal;
    line-height: 1.8;
  }
}

@media (min-width: 769px) {
  .mobile-row {
    display: none;
  }

  .hamburger-menu {
    display: none;
  }

  .mobile-nav {
    display: none;
  }
}

/* === DESKTOP NAVIGATION === */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
  padding: 10px;
  display: inline-block;
  font-weight: 600;
}

.dropbtn::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropbtn::after {
  content: '▼';
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #d0e9f8;
  min-width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 3;
  top: 100%;
  left: 0;
}

.dropdown:hover .dropdown-content {
  display: block;
  font-size: 15px;
}

.sub-dropdown {
  position: relative;
  background-color: white;
}

/* Only show arrow if .sub-dropdown-content exists */
.sub-dropdown > .has-arrow::after {
  content: '';
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.sub-dropdown:hover > .has-arrow::after {
  content: '▶';
  color: #333;
  font-size: 13px;
}

.sub-dropdown-content {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  min-width: 270px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 3;
  margin-left: 2px;
  font-size: 15px;
}

.sub-dropdown:hover .sub-dropdown-content {
  display: block;
}

.dropdown-content a, .sub-dropdown-content a {
  color: #333;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover, .sub-dropdown-content a:hover {
  background-color: #f1f1f1;
  color: #0594ec;
}

/* === MOBILE DROPDOWN === */
.mobile-dropbtn {
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-family: Poppins;
}

.mobile-dropdown-content {
  display: flex;
  flex-direction: column;
  padding-left: 15px;
  font-weight: bold;
}

.mobile-subbtn {
  padding: 8px 0;
  cursor: pointer;

  border-bottom: 1px solid #f0f0f0;
  font-family: Poppins;
}

.mobile-sub-dropdown-content {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
}

.mobile-sub-dropdown-content a {
  padding: 6px 0;
  text-decoration: none;
  color: black;
  border-bottom: 1px solid #eee;
}

.mobile-sub-dropdown-content a:hover {
  color: #0594ec;
}



/* Bullet Points for Sub-items (Desktop + Mobile) */
.sub-dropdown-content a::before,
.mobile-sub-dropdown-content a::before {
  content: '•';
  color: black;
  display: inline-block;
  width: 1em;
  margin-left: -0.5em;
  margin-right: 1px;
  font-size: 18px;
}

/* === TOP BAR === */
.top-bar {
  background-color: #1F2A44;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 2.9rem;
  color: white;
  font-size: 16px;
  flex-wrap: wrap;
}

.contact-info span {
  margin-right: 20px;
  display: inline-block;
  word-break: break-word;
}

.social-icons {
  display: flex;
  align-items: center;
}

.social-icons a i {
  color: white;
  margin-left: 10px;
  cursor: pointer;
  font-size: 18px;
}

/* Responsive Top Bar */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    height: auto;
  }

  .contact-info {
    margin-bottom: 6px;
    font-size: 14px;
  }

  .contact-info span {
    display: block;
    margin-bottom: 2px;
    margin-right: 0;
  }

  .social-icons {
    justify-content: flex-start;
  }
}

/* === MAIN NAV BAR === */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background-color: white;
  border-bottom: 1px solid #ccc;
}

.logo img {
  height: 50px;
  width: 80px;
  margin-left: 10px;
}

.logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-text {
  font-size: 13px;
  margin-top: 2px;
  color: #0594ec;
  font-family: Arial, sans-serif;
  margin-left: 10px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
  font-family: Poppins;
  font-size: 18px;
  color: #1A1A1A;
}

.nav-links a {
  text-decoration: none;
  color: #1A1A1A;
  font-weight: 600;
}

.nav-links a:hover {
  color: #F57C00;
}

.enquire-btn {
  border: 1px solid #F57C00;
  background: transparent;
  color: #F57C00;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
}

.enquire-btn:hover {
  background-color: #F57C00;
  color: white;
}

.f-circle {
  position: absolute;
  top: 2px;
  right: 1px;
  width: 18px;
  height: 18px;
  background-color: #a80505;
  color: white;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  z-index: 2;
}


/* About Section */
.about-section {
  background: #F4F6F8 url('Images/O7OFWS0.jpg');
  padding: 60px 20px;
  text-align: center;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  font-family: Poppins;
  margin-top: -2px;
}

.about-subtitle {
  color: white;
  font-size: 20px;
  margin-bottom: 2px;
  font-weight: 200;
  font-family: Roboto;
}

/* Biofertilizer Section */
.biofertilizer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 20px;
  background-color: white;

  /* Optional scroll-based animation */
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.biofertilizer-left {
  flex: 1 1 100%;
  text-align: center;
  margin-bottom: 20px;
}

.biofertilizer-left img {
  width: 90%;
  max-width: 400px;
  height: auto;
  padding-top: 20px;
}

.biofertilizer-right {
  flex: 1 1 100%;
  padding: 10px;
  text-align: left;
}

.biofertilizer-right h2 {
  font-size: 40px;
  font-weight: bold;
  color: #1F2A44;
  margin-bottom: 10px;
  font-family: Poppins;
}

.biofertilizer-right p {
  font-size: 17px;
  color: #1A1A1A;
  margin-bottom: 16px;
  font-family: Roboto;
}

.biofertilizer-right a {
  text-decoration: none;
}

/* Responsive for Desktop */
@media screen and (min-width: 768px) {
  .biofertilizer-container {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .biofertilizer-left, .biofertilizer-right {
    flex: 1 1 50%;
  }

  .biofertilizer-right {
    padding: 40px 20px;
  }

  .biofertilizer-right p {
    font-size: 19px;
  }

  .biofertilizer-left img {
    width: 60vh;
    height: auto;
    padding-top: 40px;
  }
}

/* Table Section */
.company-info-section {
  padding: 10px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.company-info-section h2 {
  font-size: 44px;
  color: #1F2A44;
  margin-bottom: 40px;
  font-family: Poppins;
}

@media (max-width: 576px) {
  .company-info-section h2 {
    font-size: 28px;
  }
}

.info-image-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  align-items: flex-start;
}

.scrollable-tables {
  flex: 1 1 600px;
  max-height: 500px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollable-tables::-webkit-scrollbar {
  display: none;
}

.scroll-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-table {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  padding: 20px;
  min-width: 300px;
}

.info-table h3 {
  text-align: center;
  margin-bottom: 15px;
  color: #1F2A44;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
  font-family: Poppins;
}

.info-table table {
  width: 100%;
  border-collapse: collapse;
}

.info-table td {
  padding: 10px 0;
  vertical-align: top;
  font-family: Roboto;
  font-size: 18px;
}

.info-table .label {
  font-weight: 600;
  color: #4a5568;
  width: 50%;
  padding-right: 10px;
  text-align: left;
}

.info-table .value {
  color: #2d3748;
  text-align: left;
}

@media (max-width: 768px) {
  .info-image-layout {
    flex-direction: column-reverse;
    align-items: center;
  }

  .scrollable-tables {
    max-height: none;
    overflow: visible;
  }
}


/* Why Choose Section */

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #333;
}

.features-container {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.features-container h2 {
  font-family: Poppins;
  font-size: 44px;
  color: #1F2A44;
}

@media (max-width: 576px) {
  .features-container h2 {
    font-size: 30px;
  }

  .features-container h3 {
    font-size: 20px;
  }
}

.features-container h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #1F2A44;
  font-family: Roboto;
}

.features-container p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #4a5568;
  font-family: Roboto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: #e5ebeb;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  padding: 20px;
  text-align: center;
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
  font-size: 36px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 18px;
  color: #1a202c;
  margin-bottom: 10px;
  font-family: Poppins;
}

.feature-card p {
  font-size: 16px;
  color: #4a5568;
  font-family: Roboto;
}


/* Mission Vision and Goal Section */

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mission-section {
  background-color: #e5ebeb;
  padding: 50px 20px;
  text-align: center;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
  margin: 20px;
}

.section-title {
  color: #1F2A44;
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 40px;
  font-family: Poppins;
}

@media (max-width: 576px) {
  .section-title {
    font-size: 28px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background-color: #fff;
  padding: 30px 25px;
  width: 300px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.icon {
  color: #F57C00;
  font-size: 40px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  font-family: Poppins;
  color: #1F2A44;
}

.card p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  font-family: Roboto;
}


/* Certifications Section */

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
}

.certifications-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.certifications-section h2 {
  font-size: 44px;
  margin-bottom: 30px;
  color: #1F2A44;
  font-family: Poppins;
}

.shadow {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  border: 2px solid #d9d9d9;
}

.certifications-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.certifications-carousel::-webkit-scrollbar {
  display: none;
}

.certifications-carousel img {
  width: 230px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.certifications-carousel img:hover {
  transform: scale(1.05);
}


/* Video Section */

.video-section1 {
  padding: 40px 20px;
}

.video-section1 h2 {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  color: #1F2A44;
  margin-bottom: 30px;
  font-family: Poppins;
}

.video-grid10 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.video-card10 {
  flex: 1 1 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.video-card10:hover {
  transform: scale(1.02);
}

.video-element10 {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.video-title {
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Roboto';
  background: #f9f9f9;
  text-align: center;
}

.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.modal-video {
  width: 100%;
  max-height: 400px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.modal-title {
  margin: 10px 0;
  font-size: 18px;
  color: #1F2A44;
}

.modal-controls button {
  margin: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  background-color: #1F2A44;
  color: white;
  cursor: pointer;
}

.modal-controls button:hover {
  background-color: #3a4d73;
}

/* Tablet: 2 per row */
@media (max-width: 1023px) {
  .video-card10 {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }

  .modal-video {
    max-height: 300px;
  }
}

/* Mobile: 1 per row */
@media (max-width: 767px) {
  .video-card10 {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .video-section1 h2 {
    font-size: 24px;
  }

  .modal-controls button {
    padding: 6px 12px;
    font-size: 12px;
  }
}


/* Contact CTA Section */
.cta-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 40px;
  background-color: white;
  font-family: Poppins;
  gap: 20px;
}

.cta-left {
  flex: 1 1 100%;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.cta-left h2 {
  font-size: 46px;
  color: #1F2A44;
  margin-bottom: 15px;
  font-family: Poppins;
}

.cta-left p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #0c1c2b;
  font-family: Roboto;
}

.schbtn {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #ff5e00;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 20px;
}

.schbtn:hover {
  background-color: #ff5e00;
}

/* ✅ Responsive for mobile S, M, L */
@media (max-width: 992px) {
  .cta-container {
    padding: 40px 20px;
  }

  .cta-left h2 {
    font-size: 32px;
  }

  .cta-left p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .cta-left h2 {
    font-size: 26px;
  }

  .cta-left p {
    font-size: 14px;
  }

  .schbtn {
    font-size: 15px;
    padding: 10px 20px;
  }
}



/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  font-size: 18px;
  background-color: #F57C00;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  transition: background 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#scrollTopBtn:hover {
  background-color: #555;
  transform: scale(1.1);
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  #scrollTopBtn {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  #scrollTopBtn {
    width: 36px;
    height: 36px;
    font-size: 14px;
    bottom: 25px;
    right: 12px;
  }
}

@media (max-width: 360px) {
  #scrollTopBtn {
    width: 32px;
    height: 32px;
    font-size: 12px;
    bottom: 30px;
    right: 15px;
  }
}