/* CSS Variables & Theme Setup */
:root {
  --primary-dark: #1a3d1a;
  --primary-mid: #2d6a2d;
  --accent-lime: #7ec61d;
  --accent-lime-hover: #6cb016;
  --white: #ffffff;
  --card-bg: #f5fff5;
  --text-dark: #2a3a2a;
  --text-muted: #5a6e5a;
  --text-light: #e0eee0;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 10px 30px rgba(26, 61, 26, 0.05);
  --shadow-medium: 0 15px 40px rgba(26, 61, 26, 0.1);
  --shadow-glow: 0 15px 30px rgba(126, 198, 29, 0.3);
  --border-radius-card: 24px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 130px; /* Offset to prevent fixed header from covering scrolled sections */
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, .logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f8f1;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-mid);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Floating Decorative Leaf Blobs */
.floating-blobs-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.blob {
  position: absolute;
  background: radial-gradient(circle, rgba(126, 198, 29, 0.15) 0%, rgba(45, 106, 45, 0.05) 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: float-animation 20s infinite ease-in-out;
}

.blob-1 {
  width: 300px;
  height: 300px;
  top: 15%;
  left: -100px;
  animation-duration: 25s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  top: 40%;
  right: -150px;
  animation-duration: 30s;
  animation-delay: -5s;
}

.blob-3 {
  width: 250px;
  height: 250px;
  bottom: 20%;
  left: 10%;
  animation-duration: 22s;
  animation-delay: -2s;
}

.blob-4 {
  width: 350px;
  height: 350px;
  bottom: 5%;
  right: 15%;
  animation-duration: 28s;
  animation-delay: -10s;
}

@keyframes float-animation {
  0%, 100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-40px) scale(1.1) rotate(15deg);
  }
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
}

.btn-pill {
  border-radius: 50px;
}

.btn-lime {
  background-color: var(--accent-lime);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(126, 198, 29, 0.25);
}

.btn-lime:hover {
  background-color: var(--accent-lime-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

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

.btn-green-dark {
  background-color: var(--primary-dark);
  color: var(--white);
}

.btn-green-dark:hover {
  background-color: var(--primary-mid);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
}

.header.scrolled {
  background-color: rgba(26, 61, 26, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  max-height: 95px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}

.logo:hover .header-logo-img {
  transform: scale(1.05);
}

/* Navigation Links */
.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--accent-lime);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-lime);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-lime);
}

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

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: rgba(26, 61, 26, 0.98);
  backdrop-filter: blur(15px);
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transform: translateY(-150%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.mobile-nav.open {
  display: flex;
  transform: translateY(0);
}

.mobile-nav-link {
  color: var(--white);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.mobile-nav-link:hover {
  color: var(--accent-lime);
}

/* Hero Section Style */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 40%, var(--accent-lime) 100%);
  padding: 10rem 2rem 6rem 2rem;
  color: var(--white);
  overflow: hidden;
  z-index: 2;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-lime);
  width: fit-content;
}

.badge-line {
  width: 12px;
  height: 2px;
  background-color: var(--accent-lime);
  display: inline-block;
}

.hero-headline {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-subtext {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 550px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Capsule Image Frame (Fluid/Oval) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.oval-frame-container {
  position: relative;
  width: 320px;
  height: 480px;
  z-index: 2;
}

.oval-frame-bg {
  position: absolute;
  top: 15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border-radius: 160px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.oval-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 160px;
  z-index: 2;
  position: relative;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-smooth);
}

.oval-frame-container:hover .oval-frame-img,
.oval-frame-container:hover .oval-frame-bg-light {
  transform: translateY(-10px) scale(1.02);
}

/* Hexagonal Hero Image Frame */
.hex-frame-container {
  position: relative;
  width: 380px;
  height: 420px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-frame-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-lime);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
  transition: var(--transition-smooth);
}

.hex-image-wrapper {
  position: relative;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  background-color: var(--primary-mid);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.hex-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18); /* Zoom in to crop out the white corners from the cropped screenshot */
  transition: var(--transition-smooth);
}

.hex-frame-container:hover .hex-frame-img {
  transform: scale(1.28); /* Further scale on hover */
}

.hex-frame-container:hover .hex-frame-bg {
  transform: scale(1.03);
  background-color: var(--accent-lime-hover);
}

/* Wave Divider Components */
.wave-container {
  position: relative;
  width: 100%;
  line-height: 0;
  z-index: 3;
}

.wave-container svg {
  display: block;
  width: 100%;
  height: 80px;
}

.wave-hero-to-about {
  background: var(--white);
  margin-top: -1px;
}

.wave-hero-to-about svg {
  fill: var(--accent-lime);
}

.wave-about-to-products {
  background: var(--primary-dark);
  margin-top: -1px;
}

.wave-about-to-products svg {
  fill: var(--white);
}

.wave-products-to-why {
  background: var(--white);
  margin-top: -1px;
}

.wave-products-to-why svg {
  fill: var(--primary-dark);
}

.wave-cert-to-footer {
  margin-top: -1px;
}

.wave-cert-to-footer svg {
  fill: var(--white);
}

/* About Section Style */
.about {
  padding: 6rem 2rem;
  background-color: var(--white);
  position: relative;
  z-index: 2;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.text-left::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--accent-lime);
  border-radius: 2px;
}

.text-white {
  color: var(--white);
}

.about-paragraph {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.about-frame {
  width: 320px;
  height: 480px;
  margin: 0 auto;
}

.oval-frame-bg-light {
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  border-radius: 168px;
  border: 2px solid var(--accent-lime);
  background-color: transparent;
  z-index: 1;
  transition: var(--transition-smooth);
}

/* About Section Cards */
.about-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-card {
  background-color: var(--card-bg);
  border: 1px solid rgba(126, 198, 29, 0.15);
  border-radius: var(--border-radius-card);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition-smooth);
}

.about-card-icon {
  background-color: var(--white);
  color: var(--primary-mid);
  width: 60px;
  height: 60px;
  border-radius: 50% 50% 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(126, 198, 29, 0.1);
}

.about-card h3 {
  font-size: 1.35rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-link {
  color: var(--primary-mid);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  transition: var(--transition-smooth);
}

.card-link:hover {
  color: var(--accent-lime-hover);
  gap: 0.75rem;
}

.card-hover-effect:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(126, 198, 29, 0.3);
}

/* Products Section Style */
.products {
  background-color: var(--primary-dark);
  padding: 6rem 2rem;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
}

.products-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-tagline {
  color: var(--accent-lime);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.section-desc {
  max-width: 600px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.text-light {
  color: var(--text-light);
}

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

/* Product Cards */
.product-card {
  background-color: var(--white);
  border-radius: var(--border-radius-card);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.product-card-featured {
  background: linear-gradient(135deg, #2d6a2d 0%, #1a3d1a 100%);
  color: var(--white);
}

.product-icon {
  font-size: 3rem;
  line-height: 1;
}

.product-title {
  font-size: 1.4rem;
  line-height: 1.3;
}

.product-card-featured .product-title {
  color: var(--white);
}

.product-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.product-card-featured .product-description {
  color: var(--text-light);
}

.btn-enquire {
  background-color: var(--card-bg);
  border: 1px solid rgba(126, 198, 29, 0.2);
  color: var(--primary-dark);
  width: 100%;
}

.btn-enquire:hover {
  background-color: var(--accent-lime);
  color: var(--primary-dark);
  border-color: var(--accent-lime);
  transform: translateY(-2px);
}

/* Why Choose Us Section Style */
.why-choose-us {
  padding: 6rem 2rem;
  background-color: var(--white);
  position: relative;
  z-index: 2;
}

.why-container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.why-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Hexagonal Icon Cards (Row List) */
.why-hex-card {
  background-color: var(--card-bg);
  border: 1px solid rgba(126, 198, 29, 0.12);
  border-radius: var(--border-radius-card);
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.why-hex-card:hover {
  transform: translateX(10px);
  border-color: var(--accent-lime);
  box-shadow: var(--shadow-soft);
}

.hex-outer-container {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

/* Hexagon CSS Clip-Path */
.hex-icon-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  background-color: var(--accent-lime);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.why-hex-card:hover .hex-icon-wrapper {
  transform: rotate(360deg);
  background-color: var(--primary-dark);
  color: var(--white);
}

.hex-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hex-content h3 {
  font-size: 1.35rem;
}

.hex-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Certifications Section Style */
.certifications {
  padding: 6rem 2rem;
  background-color: #f7faf7;
  position: relative;
  z-index: 2;
}

.cert-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cert-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Inline PDF Viewer Styles */
.pdf-inline-viewer {
  background-color: var(--white);
  border: 1px solid rgba(45, 106, 45, 0.15);
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  margin-bottom: 3rem;
}

.pdf-viewer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background-color: var(--primary-dark);
  color: var(--white);
}

.pdf-doc-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
}

.pdf-doc-title i {
  color: var(--accent-lime);
  font-size: 1.3rem;
}

.btn-download-toolbar {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  box-shadow: none;
}

.pdf-display-area {
  background-color: #e8efe8; /* Sage green desk background */
  padding: 3rem 2rem;
  max-height: 800px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  scrollbar-width: thin;
}

/* Loading spinner */
.pdf-loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 5rem 0;
  width: 100%;
}

.pdf-loading-spinner .spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(45, 106, 45, 0.1);
  border-top-color: var(--accent-lime);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

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

.pdf-loading-spinner p {
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 1.1rem;
}

.pdf-iframe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 pages per row */
  gap: 2.5rem;
  width: 100%;
  max-width: 1200px;
}

.pdf-page-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.pdf-iframe-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  border: 1px solid rgba(45, 106, 45, 0.15);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(26, 61, 26, 0.08);
  background-color: var(--white);
  overflow: hidden;
}

.pdf-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 20px); /* Push browser native PDF scrollbars out of visible overflow area */
  height: 100%;
  border: none;
  pointer-events: none;
}

.pdf-page-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Trust Badge Row */
.trust-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--white);
  border: 1px solid rgba(45, 106, 45, 0.15);
  box-shadow: var(--shadow-soft);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.trust-badge i {
  color: var(--accent-lime);
  font-size: 1.1rem;
}

/* Footer Section Style */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo-img {
  max-height: 95px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.05);
}

.footer-tagline {
  font-size: 1rem;
  color: var(--accent-lime);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-banner-text {
  font-size: 0.9rem;
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  width: fit-content;
  border-left: 3px solid var(--accent-lime);
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-socials a {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-socials a:hover {
  background-color: var(--accent-lime);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-lime);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.footer-links ul li a:hover {
  color: var(--accent-lime);
  padding-left: 0.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact p {
  color: var(--text-light);
  font-size: 0.95rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  line-height: 1.5;
}

.footer-contact p i {
  color: var(--accent-lime);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Modals Overlay (Modal System) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 61, 26, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--white);
  border-radius: var(--border-radius-card);
  width: 100%;
  max-width: 900px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 90vh;
  border: 1px solid rgba(126, 198, 29, 0.2);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--white);
  font-size: 1.3rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--accent-lime);
  transform: scale(1.1);
}

.modal-body {
  padding: 2.5rem;
  overflow-y: auto;
  flex-grow: 1;
}

/* Certificate Modal Specifics Removed */

/* Form Modal Specifics */
.form-modal-container {
  max-width: 600px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(45, 106, 45, 0.2);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-lime);
  box-shadow: 0 0 0 3px rgba(126, 198, 29, 0.15);
}

.btn-submit {
  width: 100%;
}

.success-message {
  display: none;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
}

.success-message i {
  color: var(--accent-lime);
  font-size: 4rem;
}

.success-message h4 {
  font-size: 1.5rem;
}

.success-message p {
  color: var(--text-muted);
}

/* Media Queries (Responsive Styling) */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 2.8rem;
  }
  
  .hero-container {
    gap: 2rem;
  }

  .oval-frame-container {
    width: 280px;
    height: 420px;
  }

  .hex-frame-container {
    width: 320px;
    height: 360px;
  }

  .about-grid {
    gap: 3rem;
  }

  .cert-grid {
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-contact {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .header-container {
    padding: 0 1.5rem;
  }

  .nav, .header .btn-contact-us {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    padding: 8rem 1.5rem 4rem 1.5rem;
  }

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

  .hero-content {
    align-items: center;
  }

  .hero-subtext {
    margin: 0 auto;
  }

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

  .hero-visual {
    margin-top: 2rem;
  }

  .hex-frame-container {
    width: 280px;
    height: 310px;
  }

  .about {
    padding: 4rem 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-content {
    text-align: center;
    align-items: center;
  }

  .text-left::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-card {
    align-items: center;
    text-align: center;
  }

  .products {
    padding: 4rem 1.5rem;
  }

  .why-choose-us {
    padding: 4rem 1.5rem;
  }

  .hex-outer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .why-hex-card {
    padding: 2rem;
  }

  .certifications {
    padding: 4rem 1.5rem;
  }

  .pdf-viewer-toolbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    text-align: center;
  }
  
  .pdf-display-area {
    padding: 2rem 1rem;
    gap: 2rem;
    max-height: 600px;
  }

  .pdf-iframe-grid {
    grid-template-columns: 1fr; /* Stack pages on mobile */
    gap: 1.5rem;
  }

  .pdf-iframe-wrapper {
    height: 450px;
  }

  .trust-badge-row {
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-contact {
    grid-column: span 1;
  }
}
