/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Poppins", sans-serif;
  background-color: #ffffff;
  color: #1e2a2e;
  line-height: 1.5;
  scroll-behavior: smooth;
}

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

section {
  padding: 5rem 0;
  border-bottom: 1px solid #f0f0ed;
}

section:last-child {
  border-bottom: none;
}

.bg-soft {
  background-color: #fefaf5;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2c5e3a;
  border-left: 5px solid #3a7b4b;
  padding-left: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #2c3e2f;
}

.text-muted {
  color: #4a5b5e;
  font-weight: 400;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #2c6e3c;
  color: white;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 6px rgba(44, 110, 60, 0.2);
  max-width: 300px;
}

.btn-primary:hover {
  background-color: #1e562c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 110, 60, 0.25);
}

/* ========== NAVBAR ========== */
.navbar {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #ecece6;
  gap: 1rem;
  min-height: 100px;
  animation: navbarSlideDown 0.5s ease-out;
}

@keyframes navbarSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 120px;
  width: auto;
  max-width: 300px;
  display: block;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.logo:hover .logo-img {
  filter: brightness(0.95);
}

.logo-text-fallback {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e2a2e;
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.logo:hover .logo-text-fallback {
  color: #2c6e3c;
}

.logo-text-fallback span {
  color: #2c6e3c;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #2d3e40;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2c6e3c;
  transition: width 0.3s ease;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: #2c6e3c;
  transform: translateY(-2px);
}

/* ========== DROPDOWN MENU ========== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown > a i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.dropdown:hover > a i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1000;
  border: 1px solid #e8e3d8;
  margin-top: 0.75rem;
  overflow-y: auto;
  max-height: 350px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.5rem;
  color: #2d3e40;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
  border-bottom: 1px solid #f5f3f0;
  text-decoration: none;
  font-weight: 400;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: #2c6e3c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.dropdown-menu a:hover::before,
.dropdown-menu a.active::before {
  transform: scaleX(1);
}

.dropdown-menu a:hover {
  background-color: #fefbf8;
  color: #2c6e3c;
  padding-left: 1.8rem;
}

.dropdown-menu a.active {
  background-color: #f9f6f3;
  color: #2c6e3c;
  padding-left: 1.8rem;
  font-weight: 500;
}

/* ========== PAGE HEADER ========== */
.page-header {
  background-color: #fefaf5;
  padding: 3rem 0 2.5rem 0;
  border-bottom: 1px solid #f0ede5;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e2a2e;
  margin-bottom: 0.5rem;
}

.page-header .subhead {
  font-size: 1.1rem;
  color: #4a6a5a;
  max-width: 720px;
  line-height: 1.4;
}

/* ========== HERO SECTION ========== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.hero-content {
  flex: 1.2;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1e2a2e;
  margin-bottom: 1rem;
}

.hero-highlight {
  color: #2c6e3c;
  border-bottom: 2px solid #e2e8dd;
}

.hero-sub {
  font-size: 1.2rem;
  color: #3f5e4b;
  margin: 1rem 0 1.8rem 0;
  font-weight: 500;
}

.hero-image {
  flex: 1;
  background: #f3f7ef;
  border-radius: 32px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.03);
}

.hero-image img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  background: linear-gradient(145deg, #eef3e6, #fff6ea);
  border-radius: 28px;
  padding: 2rem 1rem;
  font-size: 6rem;
  text-align: center;
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.service-card {
  background: white;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.02),
    0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0ede7;
  transition: transform 0.2s ease;
}

.service-card i {
  font-size: 2.5rem;
  color: #2c6e3c;
  margin-bottom: 1.2rem;
}

/* ========== DETAILED SERVICE BLOCKS ========== */
.services-detailed {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-block {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background: white;
  border-radius: 28px;
  border: 1px solid #f0ede7;
  padding: 2rem 2rem;
  transition: all 0.2s ease;
}

.service-icon {
  flex: 0 0 70px;
}

.service-icon i {
  font-size: 2.8rem;
  color: #2c6e3c;
  background: #eef4ea;
  padding: 0.8rem;
  border-radius: 20px;
}

.service-content {
  flex: 1;
}

.service-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #2c5e3a;
}

.service-content p {
  color: #3f544b;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.service-content p:last-of-type {
  margin-bottom: 0;
}

/* ========== PROCESS STEPS ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}

.process-step {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  border: 1px solid #efe9df;
  transition: transform 0.2s;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 48px;
  height: 48px;
  background: #2c6e3c;
  color: white;
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  margin: 0 auto 1.2rem auto;
}

.process-step h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #2c5e3a;
}

.process-step p {
  font-size: 0.9rem;
  color: #4a5b5e;
  line-height: 1.5;
}

/* ========== WHY CHOOSE US ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fefcf9;
  padding: 1rem 1.2rem;
  border-radius: 60px;
  border: 1px solid #ede5d8;
}

.why-item i {
  font-size: 1.4rem;
  color: #2c6e3c;
  width: 2rem;
}

.why-item span {
  font-weight: 500;
  color: #2a3b36;
}

/* ========== PRODUCTS ========== */
.products-category {
  margin-bottom: 2.8rem;
}

.cat-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #3a5a3e;
  margin: 1.8rem 0 1rem 0;
  border-left: 3px solid #d4c5a9;
  padding-left: 1rem;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.product-badge {
  background: #f8f6f2;
  padding: 0.6rem 1.4rem;
  border-radius: 60px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #2a4232;
  border: 1px solid #e9e2d6;
}

.product-badge strong {
  font-weight: 600;
  color: #2c5e3a;
}

/* ========== PRODUCT CARDS ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.product-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #f0ede7;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.08);
  border-color: #e2dacf;
}

.product-img {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f8f6f2 0%, #fefaf5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #2c6e3c;
  border-bottom: 1px solid #f0ede7;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  max-width: 100%;
  max-height: 100%;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: #2c5e3a;
  font-weight: 600;
}

.product-info p {
  color: #4a5b5e;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ========== CATEGORIES GRID ========== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.category-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #f0ede7;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 36px -12px rgba(0, 0, 0, 0.12);
  border-color: #e2dacf;
}

.card-inner {
  padding: 2rem 1.8rem;
  text-align: center;
}

.card-icon {
  font-size: 3.5rem;
  color: #2c6e3c;
  margin-bottom: 1.2rem;
}

.category-card h3 {
  font-size: 1.6rem;
  color: #2c5e3a;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.category-card p {
  color: #4a5b5e;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2c6e3c;
  font-weight: 500;
  font-size: 0.9rem;
  transition: gap 0.2s;
}

.category-card:hover .arrow-link {
  gap: 0.8rem;
}

.arrow-link i {
  font-size: 0.8rem;
}

/* ========== CERTIFICATIONS ========== */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  background: #fefcf7;
  padding: 1.8rem 2rem;
  border-radius: 28px;
  margin-top: 1rem;
  border: 1px solid #efe7db;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
}

.cert-icon {
  font-size: 2rem;
}

/* ========== ABOUT SECTION ========== */
.about-section {
  padding: 4rem 0;
  border-bottom: 1px solid #f0ede5;
}

.about-section:last-child {
  border-bottom: none;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-title i {
  font-size: 2rem;
  color: #2c6e3c;
  background: #eef4ea;
  padding: 0.6rem;
  border-radius: 16px;
}

.section-title h2 {
  font-size: 1.9rem;
  font-weight: 600;
  color: #2c5e3a;
  margin: 0;
  border-left: 4px solid #3a7b4b;
  padding-left: 1rem;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 900px;
  color: #2a3b36;
}

.support-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #f0f6eb;
  padding: 0.6rem 1.4rem;
  border-radius: 60px;
  font-weight: 500;
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: #2a5a3a;
}

/* ========== TWO COLUMNS ========== */
.two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 1rem;
}

.col {
  flex: 1;
  min-width: 240px;
}

.info-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 1.8rem;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.02),
    0 1px 3px rgba(0, 0, 0, 0.03);
  border: 1px solid #efe9df;
  height: 100%;
}

.info-card i {
  font-size: 2rem;
  color: #2c6e3c;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c5e3a;
}

/* ========== STRENGTHS ========== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.strength-item {
  background: #fefcf9;
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #ede5d8;
}

.strength-item i {
  font-size: 1.7rem;
  color: #2c6e3c;
}

.strength-item span {
  font-weight: 500;
  color: #1f3832;
}

/* ========== HIGHLIGHT BOX ========== */
.highlight-box {
  background: #fefaf5;
  border-radius: 28px;
  padding: 2rem 2rem;
  border: 1px solid #f0e7db;
  margin-top: 0.5rem;
}

.business-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.badge-model {
  background: white;
  padding: 0.9rem 1.5rem;
  border-radius: 60px;
  font-weight: 600;
  color: #2c6e3c;
  border: 1px solid #dde6d5;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* ========== CONTACT SECTION ========== */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  background: white;
  border-radius: 32px;
  padding: 0.5rem 0;
}

.contact-details {
  flex: 1.2;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.contact-item i {
  width: 2rem;
  font-size: 1.5rem;
  color: #2c6e3c;
}

.contact-note {
  margin: 2rem 0 1.8rem 0;
  padding: 1rem 0;
  font-weight: 500;
  border-top: 1px solid #ece1d2;
}

/* ========== CONTACT PAGE SPECIFIC ========== */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-left {
  flex: 1;
  min-width: 260px;
}

.contact-right {
  flex: 1.2;
  min-width: 300px;
}

.contact-info-card {
  background: white;
  border-radius: 24px;
  padding: 1.8rem;
  border: 1px solid #f0ede7;
  margin-bottom: 1.5rem;
}

.business-note {
  background: #fefcf9;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid #ede5d8;
  margin-top: 1rem;
}

.business-note p {
  color: #4a5b5e;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.business-note i {
  color: #2c6e3c;
  margin-right: 0.5rem;
}

/* ========== FORM STYLING ========== */
.form-card {
  background: white;
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid #f0ede7;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #2c3e2f;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #e2dcd2;
  border-radius: 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  transition: all 0.2s;
  background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2c6e3c;
  box-shadow: 0 0 0 3px rgba(44, 110, 60, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.response-line {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6f8a7c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.response-line i {
  color: #2c6e3c;
}

/* Error Message Styling */
.error-message {
  display: none;
  color: #dc2626;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.4rem;
  padding: 0.5rem 0.75rem;
  background-color: #fee2e2;
  border-radius: 8px;
  border-left: 3px solid #dc2626;
  animation: slideInError 0.3s ease-out;
}

@keyframes slideInError {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Full-width form submit button */
.form-group .btn-primary {
  width: 100%;
  display: flex;
  max-width: none;
  justify-content: center;
}

/* ========== SPECIALTY NOTE ========== */
.specialty-note {
  background: #fefaf5;
  border-radius: 24px;
  padding: 1.8rem;
  text-align: center;
  border: 1px solid #efe7db;
  margin: 1rem 0;
}

.specialty-note p {
  color: #2c5e3a;
  font-weight: 500;
}

/* ========== CTA SECTION ========== */
.cta-box {
  background: #fefaf5;
  border-radius: 28px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid #efe7db;
  margin-top: 1rem;
}

.cta-box h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: #2c5e3a;
}

.cta-box p {
  color: #4a5b5e;
  margin-bottom: 1.5rem;
}

.cta-note {
  font-size: 0.85rem;
  color: #6f8a7c;
  margin-top: 1rem;
}

/* ========== CAPABILITY CARD ========== */
.capability-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem 2rem;
  text-align: center;
  border: 1px solid #e8e2d6;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
  max-width: 800px;
  margin: 0 auto;
}

.capability-card i {
  font-size: 2.8rem;
  color: #2c6e3c;
  margin-bottom: 1rem;
}

.capability-card h3 {
  font-size: 1.6rem;
  color: #2c5e3a;
  margin-bottom: 1rem;
}

.capability-card p {
  color: #4a5b5e;
  font-size: 1rem;
  line-height: 1.5;
}

/* ========== NOTE BOX ========== */
.note-box {
  text-align: center;
  margin: 1rem 0 0 0;
  padding: 1.2rem;
  background: #fefcf9;
  border-radius: 60px;
  display: inline-block;
  width: auto;
}

.note-wrapper {
  text-align: center;
  margin-top: 1rem;
}

.note-box p {
  color: #6f8a7c;
  font-size: 0.9rem;
  font-weight: 500;
}

.note-box i {
  color: #2c6e3c;
  margin-right: 0.5rem;
}

/* ========== FOOTER ========== */
footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #5c6e6b;
  border-top: 1px solid #f0ede5;
}

/* ========== RESPONSIVE DESIGN FOR MOBILE (max-width: 768px) ========== */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  section {
    padding: 3rem 0;
  }

  h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  /* Navbar Mobile */
  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 0.75rem 0;
    gap: 0.5rem;
    min-height: auto;
    flex-wrap: wrap;
  }

  .logo {
    justify-content: center;
    width: 100%;
    flex: 1 0 100%;
    order: 0;
  }

  .logo-img {
    height: 70px;
    max-width: 180px;
  }

  .nav-links {
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    width: auto;
    padding: 0;
    order: 2;
    flex: 1 1 auto;
  }

  .nav-links a {
    padding: 0.6rem 0.6rem;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .nav-links a::after {
    height: 2px;
  }

  /* Dropdown mobile */
  .dropdown {
    position: relative;
    width: auto;
    display: inline-block;
  }

  .dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-8px);
    display: block;
    margin-top: 0.4rem;
    width: 180px;
    border: 1px solid #e8e3d8;
    border-radius: 10px;
    background-color: white;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    padding: 0.4rem 0;
    transform: translateY(0);
  }

  .dropdown-menu a {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border: none;
    text-align: center;
    white-space: nowrap;
  }

  .dropdown-menu a::before {
    display: none;
  }

  .dropdown-menu a:hover {
    background-color: #f5f3f0;
    padding-left: 1.2rem;
  }

  .dropdown > a i {
    display: inline-block;
  }

  .dropdown-menu a {
    text-align: center;
    padding: 0.5rem 1rem;
  }

  /* Page Header Mobile */
  .page-header {
    padding: 2rem 0 1.5rem 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header .subhead {
    font-size: 1rem;
  }

  /* Hero Section Mobile */
  .hero {
    flex-direction: column;
    gap: 1.8rem;
  }

  .hero-content {
    text-align: center;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-sub {
    font-size: 1rem;
    margin: 0.75rem 0 1.5rem 0;
  }

  .hero-image {
    padding: 0.75rem;
    width: 100%;
  }

  /* Buttons Mobile */
  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    min-height: 48px;
  }

  /* Services Grid Mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }

  .service-icon {
    flex: auto;
  }

  .service-icon i {
    font-size: 2rem;
    padding: 0.6rem;
  }

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

  .service-content p {
    font-size: 0.95rem;
  }

  /* Process Grid Mobile */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .process-step {
    padding: 1.5rem;
  }

  .process-step h4 {
    font-size: 1.1rem;
  }

  /* Why Grid Mobile */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .why-item {
    padding: 0.8rem 1rem;
  }

  .why-item i {
    font-size: 1.2rem;
    width: 1.8rem;
  }

  .why-item span {
    font-size: 0.9rem;
  }

  /* Product Badges Mobile */
  .product-list {
    gap: 0.75rem;
  }

  .product-badge {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }

  .cat-title {
    font-size: 1.3rem;
    margin: 1.2rem 0 0.8rem 0;
  }

  /* Categories Grid Mobile */
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-inner {
    padding: 1.5rem;
  }

  .card-icon {
    font-size: 2.8rem;
  }

  .category-card h3 {
    font-size: 1.4rem;
  }

  .category-card p {
    font-size: 0.9rem;
  }

  /* Product Grid Mobile */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-img {
    height: 160px;
  }

  .product-info {
    padding: 1.2rem;
  }

  .product-info h3 {
    font-size: 1.2rem;
  }

  .product-info p {
    font-size: 0.85rem;
  }

  /* Certifications Mobile */
  .cert-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .cert-item {
    gap: 0.75rem;
  }

  .cert-icon {
    font-size: 1.6rem;
    min-width: 40px;
  }

  /* Two Columns Mobile */
  .two-columns {
    flex-direction: column;
    gap: 2rem;
  }

  .col {
    min-width: auto;
  }

  .info-card {
    padding: 1.5rem;
  }

  /* Strengths Mobile */
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* Contact Section Mobile */
  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-left {
    min-width: auto;
  }

  .contact-right {
    min-width: auto;
  }

  .contact-item {
    font-size: 0.95rem;
    align-items: flex-start;
  }

  .contact-item i {
    margin-top: 0.2rem;
    font-size: 1.3rem;
    min-width: 2rem;
  }

  .contact-note {
    margin: 1.5rem 0 1.5rem 0;
    font-size: 0.95rem;
  }

  .contact-details .btn-primary {
    width: auto;
    min-width: 200px;
  }

  .contact-info-card {
    padding: 1.5rem;
  }

  .contact-item {
    font-size: 0.95rem;
  }

  .contact-item i {
    width: 1.8rem;
    font-size: 1.2rem;
    padding: 0.5rem;
    flex-shrink: 0;
  }

  /* Form Mobile */
  .form-card {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .form-group label {
    font-size: 0.85rem;
  }

  .business-note {
    padding: 1.2rem;
  }

  /* Capability Card Mobile */
  .capability-card {
    padding: 1.5rem;
  }

  .capability-card h3 {
    font-size: 1.3rem;
  }

  .capability-card p {
    font-size: 0.9rem;
  }

  /* CTA Box Mobile */
  .cta-box {
    padding: 1.8rem;
  }

  .cta-box h3 {
    font-size: 1.5rem;
  }

  .cta-box p {
    font-size: 0.95rem;
  }

  .cta-note {
    font-size: 0.8rem;
  }

  /* Specialty Note Mobile */
  .specialty-note {
    padding: 1.2rem;
  }

  .specialty-note p {
    font-size: 0.9rem;
  }

  .note-box {
    padding: 1rem;
    border-radius: 40px;
  }

  .note-box p {
    font-size: 0.85rem;
  }

  .response-line {
    font-size: 0.8rem;
  }

  footer {
    padding: 1.5rem 0;
    font-size: 0.75rem;
  }

  footer p {
    line-height: 1.5;
  }
}

/* Extra small devices (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  section {
    padding: 2rem 0;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .page-header h1 {
    font-size: 1.7rem;
  }

  .page-header .subhead {
    font-size: 0.9rem;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.85rem;
    padding: 0.5rem 0.4rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .navbar {
    padding: 0.6rem 0;
    gap: 0.4rem;
  }

  .logo-img {
    height: 65px;
    max-width: 160px;
  }

  .nav-links {
    gap: 0.5rem;
  }

  /* Dropdown extra small screens */
  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 160px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    border: 1px solid #e8e3d8;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 0.3rem;
    transition: all 0.3s ease;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 280px;
    padding: 0.4rem 0;
  }

  .dropdown-menu a {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    border: none;
    white-space: nowrap;
    text-align: center;
  }

  .dropdown-menu a:hover {
    background-color: #f5f3f0;
  }

  .product-img {
    height: 140px;
  }

  .product-info {
    padding: 1rem;
  }

  .product-info h3 {
    font-size: 1.1rem;
  }

  .card-inner {
    padding: 1.2rem;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  .category-card h3 {
    font-size: 1.3rem;
  }

  .cta-box {
    padding: 1.5rem;
  }

  .cta-box h3 {
    font-size: 1.3rem;
  }

  .btn-primary {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  .contact-item {
    font-size: 0.9rem;
  }
}

/* ========== SCROLL TO TOP BUTTON ========== */
#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  background-color: #2c6e3c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(44, 110, 60, 0.3);
  transition: all 0.3s ease;
  padding: 0;
  line-height: 50px;
  text-align: center;
}

#scrollToTopBtn:hover {
  background-color: #1e562c;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 110, 60, 0.4);
}

#scrollToTopBtn.show {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile version of scroll to top */
@media (max-width: 768px) {
  #scrollToTopBtn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  #scrollToTopBtn {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}
