@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

body,
html {
  font-family: "Poppins", sans-serif;
  max-width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

/* Nav top */
#nav-top {
  display: flex;
  width: 100%;
  background-color: #557c00;
}

.nav-top-container p {
  color: #fff;
}

.nav-top-container svg {
  fill: #fff;
}

.nav-top-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;

  padding: 20px 20px;
  border-right: 1px solid #fff;
}

.nav-top-container svg {
  height: 1em;
  width: 1em;
}

.nav-top-container a {
  text-decoration: none;
  color: #fff;
}

/* Nav top End*/

/* Nav_logo */
#nav-logo-tex {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 20px 5%;
}

#nav-logo-tex img {
  width: 250px;
}

#nav-logo-tex h2 {
  font-size: 1.5rem;
  color: #e76f1f;
  font-weight: 700;
}

/* Nav_logo */
/* Nav Social */
#Social-icons ul {
  gap: 1rem;
  display: flex;
  padding-top: 18px;
  padding-bottom: 18px;
}

#Social-icons ul li {
  list-style: none;
}

#Social-icons a svg {
  height: 1.5em;
  width: 1.5em;
  fill: #557c00;
}

/* Nav Social */
/* Nav Menus */
#nav-menus {
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #d1d1d1;
  border-bottom: 1px solid #d1d1d1;
}

#nav-links ul {
  display: flex;
  gap: 1rem;
}

#nav-links ul li {
  list-style: none;
}

#nav-links ul li a {
  text-decoration: none;
  color: black;
  font-family: Poppins, Sans-serif;
  font-size: 16px;
  font-weight: 500;
}

#get-in-touch {
  font-family: Poppins, Sans-serif;
  font-size: 17px;
  font-weight: 500;
  border-radius: 0;
  padding: 18px;
  background-color: #557c00;
  border: none;
  display: flex;
  justify-content: center;
  align-self: center;
  color: #fff;
  cursor: pointer;
}

#social-touch {
  display: flex;
  gap: 3rem;
}

/* Swiper */
#crousel {
  padding: 0;
}

.swiper {
  width: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-wrapper {
  height: fit-content !important;
}

.swiper-pagination-bullet-active {
  background: #557c00 !important;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: fit-content;
  object-fit: cover;
}

/* Swiper */

/* Our Products */
#Our-Products {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.products-header {
  text-align: left;
  margin-bottom: 50px;
}

.products-header h1 {
  font-size: 3rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
}

.products-header p {
  font-size: 1.1rem;
  color: #666;
  font-weight: 400;
  margin: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 100%;
}

.product-category-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/3;
}

.product-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 30px 20px 20px;
  color: white;
}

.category-overlay h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

/* Footer Contact */
#footer-contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 5% 10%;
  gap: 2rem;
  background-color: black;
}

#footer-contact h2 {
  font-size: 3rem;
  color: white;
}

#footer-contact p {
  text-align: center;
  font-size: 1.2rem;
  color: white;
  line-height: 150%;
  margin-bottom: 1rem;
}

#footer-contact a {
  padding: 6px 24px;
  background-color: #fff;
  border: 2px solid;
  color: #557c00;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease-in-out;
}

#footer-contact a:hover {
  padding: 6px 24px;
  background-color: #557c00;
  border: 2px solid #fff;
  color: #fff;
}

#social-footer ul {
  display: flex;
  gap: 0.5rem;
}

#social-footer li {
  list-style: none;
}

#social-footer svg {
  height: 1.5rem;
  width: 1.5rem;
  fill: #5d7b11;
}

#Company-detail {
  width: 85%;
}

#Company-detail p {
  text-align: justify;
  padding-top: 10px;
  font-weight: 400;
  padding-bottom: 10px;
}

#Company-detail img {
  max-width: 100%;
}

#Company-detail a,
#Company-detail a,
#footer a {
  text-decoration: none;
  color: #000;
}

#social-footer {
  color: #000;
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

#footer {
  display: grid;
  grid-template-columns: 33% repeat(3, 1fr);
  padding: 20px 5%;
  gap: 2rem;
}

#footer {
  font-weight: 500;
  border-top: 8px;
  border-top-style: solid;
  border-top-color: #557c00;
}

#reach-us {
  display: flex;
  flex-direction: column;
}

#reach-us ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#reach-us li,
#reach-us li a {
  display: flex;
  gap: 1rem;
}

#reach-us li,
#quick-links li,
#products li {
  list-style: none;
}

#quick-links li,
#products li {
  padding-bottom: 5px;
}

#reach-us svg {
  height: 1rem;
  width: 1rem;
}

#reach-us-svg {
  margin-top: 1rem;
  width: 4rem !important;
}

#reach-us li :hover,
#quick-links li :hover,
#products li :hover {
  color: #557c00;
}

#reach-us h2,
#quick-links h2,
#products h2 {
  padding-bottom: 15px;
}

/* Dropdown */
.dropdown {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-color);
}

.dropdown svg {
  width: 1em;
  height: 1em;
  margin-bottom: -3px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.dropdown:hover svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  flex-direction: column;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  padding: 10px 0;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.dropdown-menu li {
  padding: 8px 20px;
  white-space: nowrap;
}

.dropdown-menu li a {
  color: var(--text-color);
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.dropdown-menu li a:hover {
  color: var(--accent-color);
}

.dropdown:hover .dropdown-menu {
  display: flex;
  opacity: 1;
  visibility: visible;
}

/* Responsive Nav */

#copyright-section {
  background-color: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 20px 50px;
}

#responsive-nav {
  display: none;
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: popIn 0.2s;
  display: flex;
  flex-direction: column;
}

@keyframes popIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-header {
  background: #577e01;
  color: #fff;
  padding: 24px 32px 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.modal-close {
  font-size: 2.5rem;
  cursor: pointer;
  color: #fff;
  padding: 0 12px;
  line-height: 1;
}

.modal-body {
  display: flex;
  flex-direction: row;
  padding: 32px;
  gap: 32px;
}

.modal-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #eee;
  padding-right: 32px;
  text-align: center;
}

.modal-left h3 {
  text-align: center;
  color: #e76f1f;
  margin: 16px 0 8px 0;
}

.modal-form {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.modal-form textarea {
  min-height: 60px;
  resize: vertical;
}

.captcha-box {
  background: #a08c4a;
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.1rem;
}

.modal-submit {
  background: #577e01;
  color: #fff;
  border: none;
  padding: 16px;
  font-size: 1.2rem;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  border: 1px solid #577e01;
  transition: background 0.2s;
}

.modal-submit:hover {
  background: white;
  border: 1px solid #557c00;
  color: #557c00;
}

.sm-nav-toggle {
  display: none;
}

#sm-nav-toggle svg {
  width: 300px;
}

@media screen and (max-width: 768px) {

  /* Responsive Navigation Styles */
  #nav-logo-tex {
    border-bottom: 1px solid #d1d1d1;
  }

  #responsive-nav {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 20px;
    overflow-y: auto;
  }

  #responsive-nav.active {
    right: 0;
  }

  #responsive-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    margin-right: 20px;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 8px;
  }

  #responsive-nav-close svg {
    width: 24px;
    height: 24px;
    fill: #333;
  }

  .responsive-dropdown {
    display: none;
    padding-left: 20px;
  }

  .responsive-dropdown.active {
    display: block;
  }

  .products-toggle,
  .services-toggle,
  .certifications-toggle {
    position: relative;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .products-toggle svg,
  .services-toggle svg,
  .certifications-toggle svg {
    width: 18px;
    height: 18px;
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
    fill: #333;
  }

  .products-toggle.active svg,
  .services-toggle.active svg,
  .certifications-toggle.active svg {
    transform: rotate(180deg);
  }

  .sm-nav-toggle {
    display: none;
    cursor: pointer;
  }

  .sm-nav-toggle button {
    background: transparent;
    border: none;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .sm-nav-toggle button span {
    width: 25px;
    height: 2px;
    background: #000;
    transition: 0.3s;
  }

  .sm-nav-toggle {
    display: block;
    margin-left: auto;
    right: 0;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 8px;
  }

  #nav-links ul {
    display: none;
  }

  #responsive-nav ul {
    list-style: none;
    padding: 0;
  }

  #responsive-nav li {
    margin: 1rem 0;
  }

  #responsive-nav a {
    color: #000;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
  }

  .responsive-dropdown {
    margin-left: 1rem;
  }

  .responsive-dropdown a {
    font-size: 1rem;
    color: #666;
  }

  #responsive-nav-close {
    margin-left: auto;
    right: 0;
  }

  #responsive-nav-close svg {
    width: 25px;
  }
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media screen and (max-width: 768px) {
  #footer-contact h2 {
    text-align: center;
    font-size: 2.5rem;
  }

  .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    padding-left: 20px;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
  }

  .dropdown-menu li {
    padding: 5px 0;
  }

  .dropdown::after {
    display: none;
  }

  /* Menu */
  #nav-top {
    display: none;
  }

  /* Our Products */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .products-header h1 {
    font-size: 2.5rem;
  }

  .products-header {
    text-align: center;
    margin-bottom: 40px;
  }

  #Our-Products {
    padding: 60px 0;
  }

  #footer {
    grid-template-columns: 1fr;
    /* First stack everything */
    gap: 3rem;
  }

  /* Company details section takes full width */
  #Company-detail {
    grid-column: 1 / -1;
    text-align: center;
  }

  /* Rest of the sections in two columns */
  #reach-us,
  #quick-links,
  #products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0rem;
  }

  #reach-us h2,
  #quick-links h2,
  #products h2 {
    padding-bottom: 0px;
  }

  /* Adjust headings to take full width */
  #reach-us h2,
  #quick-links h2,
  #products h2 {
    grid-column: 1 / -1;
  }

  #reach-us ul,
  #quick-links ul,
  #products ul {
    margin-top: 1rem;
  }

  #social-footer ul {
    align-items: center;
    justify-content: center;
  }

  #nav-menus {
    display: none;
  }

  #Company-detail {
    width: 100%;
  }

  /* Pop Up */
  .modal-body {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
  }

  .modal-left {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-right: 0;
    padding-bottom: 16px;
  }

  .modal-content {
    max-height: 98vh;
    width: 98vw;
  }
}

@media screen and (max-width: 480px) {

  #reach-us,
  #quick-links,
  #products {
    grid-template-columns: 1fr;
    /* Stack everything on very small screens */
  }
}

/* Certification Page Styles */
#certication {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.certification-container {
  max-width: 1200px;
  margin: 0 auto;
}

.certification-header {
  text-align: center;
  margin-bottom: 50px;
}

.certification-header h1 {
  font-size: 2.5rem;
  color: #557c00;
  margin-bottom: 15px;
  font-weight: 700;
}

.certification-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.certificate-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.certificate-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.05);
}

.certificate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(85, 124, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.certificate-card:hover .certificate-overlay {
  opacity: 1;
}

.zoom-icon {
  width: 40px;
  height: 40px;
  fill: #fff;
}

.certificate-info {
  padding: 25px;
}

.certificate-info h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
}

.certificate-info p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.certificate-date {
  display: inline-block;
  background: #557c00;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

#lightboxImage {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-caption {
  padding: 20px;
  background: #fff;
  text-align: center;
}

.lightbox-caption h3 {
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .certification-header h1 {
    font-size: 2rem;
  }

  .certification-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .certificate-card {
    margin: 0 10px;
  }

  .certificate-image {
    height: 200px;
  }

  .lightbox-content {
    max-width: 95%;
    max-height: 95%;
  }

  #lightboxImage {
    max-height: 70vh;
  }
}

@media (max-width: 480px) {
  #certication {
    padding: 40px 15px;
  }

  .certification-header h1 {
    font-size: 1.8rem;
  }

  .certification-header p {
    font-size: 1rem;
  }

  .certificate-info {
    padding: 20px;
  }

  .certificate-info h3 {
    font-size: 1.1rem;
  }
}

/* Placeholder certificate styles */
.placeholder-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: #f8f9fa;
  color: #6c757d;
}

.placeholder-cert p {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Additional enhancements */
.certification-header h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #557c00, #7ba428);
  margin: 15px auto;
  border-radius: 2px;
}

.certificate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #557c00, #7ba428);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.certificate-card:hover::before {
  transform: scaleX(1);
}

/* Loading animation for images */
.certificate-image::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #557c00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
}

.certificate-image img[src=""]+.certificate-image::after,
.certificate-image img:not([src])+.certificate-image::after {
  opacity: 1;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Smooth transitions for lightbox */
.lightbox-overlay {
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* About Us Section */
#about-us {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-header h2 {
  font-size: 3rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  position: relative;
}

.about-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #557c00, #7ba428);
  margin: 15px auto;
  border-radius: 2px;
}

.about-content {

  margin: 0 auto;
  text-align: justify;
}

.about-content p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
  font-weight: 400;
}

/* Mission Vision Section */
#mission-vision {
  background-color: #fff;
  padding: 80px 0;
}

.mission-vision-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.mission,
.vision {
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mission::before,
.vision::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #557c00, #7ba428);
}

.mission:hover,
.vision:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission h3,
.vision h3 {
  font-size: 2rem;
  color: #557c00;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
}

.mission p,
.vision p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  text-align: justify;
}

/* Why Choose Us Section */
#why-choose-us {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.why-choose-header {
  text-align: center;
  margin-bottom: 50px;
}

.why-choose-header h2 {
  font-size: 3rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  position: relative;
}

.why-choose-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #557c00, #7ba428);
  margin: 15px auto;
  border-radius: 2px;
}

.why-choose-content {
  max-width: 1000px;
  margin: 0 auto;
}

.why-choose-content p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
  font-weight: 400;
}

/* Product Range Section */
#product-range {
  background-color: #fff;
  padding: 80px 0;
}

.product-range-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-range-header {
  text-align: center;
  margin-bottom: 50px;
}

.product-range-header h2 {
  font-size: 3rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  position: relative;
}

.product-range-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #557c00, #7ba428);
  margin: 15px auto;
  border-radius: 2px;
}

.product-range-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.product-range-content {
  max-width: 1000px;
  margin: 0 auto;
}

.product-category {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 30px;
  margin-bottom: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #557c00, #7ba428);
}

.product-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.product-category h4 {
  font-size: 1.3rem;
  color: #557c00;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
}

.product-category p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.product-range-content>p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-top: 30px;
  text-align: justify;
  font-weight: 400;
}

/* Services Section */
#services {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-header h2 {
  font-size: 3rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  position: relative;
}

.services-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #557c00, #7ba428);
  margin: 15px auto;
  border-radius: 2px;
}

.services-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-content {
  max-width: 1000px;
  margin: 0 auto;
}

.service-item {
  background: #fff;
  padding: 30px;
  margin-bottom: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #557c00, #7ba428);
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.service-item h4 {
  font-size: 1.3rem;
  color: #557c00;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
}

.service-item p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.services-content>p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-top: 30px;
  text-align: justify;
  font-weight: 400;
}

/* Achievements Section */
#achievements {
  background-color: #fff;
  padding: 80px 0;
}

.achievements-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.achievements-header {
  text-align: center;
  margin-bottom: 50px;
}

.achievements-header h2 {
  font-size: 3rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  position: relative;
}

.achievements-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #557c00, #7ba428);
  margin: 15px auto;
  border-radius: 2px;
}

.achievements-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: justify;
}

.achievements-content p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
  font-weight: 400;
}

/* Testimonials Section */
#testimonials {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-header h2 {
  font-size: 3rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  position: relative;
}

.testimonials-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #557c00, #7ba428);
  margin: 15px auto;
  border-radius: 2px;
}

.testimonials-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #557c00, #7ba428);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
}

.testimonial p::before {
  content: '"';
  font-size: 4rem;
  color: #557c00;
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: serif;
  opacity: 0.3;
}

.testimonial cite {
  font-size: 1rem;
  color: #557c00;
  font-weight: 600;
  font-style: normal;
}

/* Responsive Design for New Sections */
@media screen and (max-width: 768px) {

  .about-header h2,
  .why-choose-header h2,
  .product-range-header h2,
  .services-header h2,
  .achievements-header h2,
  .testimonials-header h2 {
    font-size: 2.5rem;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mission,
  .vision {
    padding: 30px;
  }

  .mission h3,
  .vision h3 {
    font-size: 1.8rem;
  }

  .testimonials-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial {
    padding: 30px;
  }

  .product-category,
  .service-item {
    padding: 25px;
  }

  #about-us,
  #mission-vision,
  #why-choose-us,
  #product-range,
  #services,
  #achievements,
  #testimonials {
    padding: 60px 0;
  }
}

@media screen and (max-width: 480px) {

  .about-header h2,
  .why-choose-header h2,
  .product-range-header h2,
  .services-header h2,
  .achievements-header h2,
  .testimonials-header h2 {
    font-size: 2rem;
  }

  .mission h3,
  .vision h3 {
    font-size: 1.5rem;
  }

  .mission,
  .vision,
  .product-category,
  .service-item,
  .testimonial {
    padding: 20px;
  }

  .testimonials-content {
    grid-template-columns: 1fr;
  }

  .testimonial {
    min-width: auto;
  }

  #about-us,
  #mission-vision,
  #why-choose-us,
  #product-range,
  #services,
  #achievements,
  #testimonials {
    padding: 40px 0;
  }
}