/* ==========================================================================
   Apex Core Enterprises — Complete Theme Stylesheet (Laravel CMS)
   Faithful to apexcore.pk Design System (Mulish + Inter + DM Sans)
   ========================================================================== */

:root {
  --brand-green: #45B848;
  --brand-lime: #8AC63F;
  --forest-teal: #002925;
  --slate-teal: #355F5B;
  --heading-dark: #121212;
  --charcoal: #232323;
  --body-text: #383838;
  --muted-gray: #6B7280;
  --border-gray: #C2C2C2;
  --input-gray: #E0E0E0;
  --soft-bg: #F2F2F2;
  --white: #FFFFFF;
  --container-max: 1280px;
  --font-heading: 'Mulish', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--body-text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--body-text); text-decoration: none; transition: color .25s ease, background .25s ease, transform .25s ease; }
a:hover { color: var(--brand-green); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading-dark);
  margin-top: 0;
  line-height: 1.22;
}
h1 { font-size: 48px; font-weight: 800; }
h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.4px; }
h3 { font-size: 24px; font-weight: 700; }
h4 { font-size: 20px; font-weight: 600; }
h5 { font-size: 18px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--brand-green); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-soft { background: #F7FAF7; }
.section-gray { background: var(--soft-bg); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--brand-green);
  margin-bottom: 10px;
}
.section-head { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-head p { color: #555; margin: 10px 0 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(180deg, var(--brand-green) 0%, var(--brand-lime) 100%);
  color: var(--white);
}
.btn-primary:hover {
  background: linear-gradient(0deg, var(--brand-green) 0%, var(--brand-lime) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(69,184,72,0.3);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1EB858;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--heading-dark);
}
.btn-outline-green {
  background: transparent;
  color: var(--brand-green);
  border: 1.5px solid var(--brand-green);
}
.btn-outline-green:hover {
  background: var(--brand-green);
  color: var(--white);
}
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover { background: var(--forest-teal); color: var(--white); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ==========================================================================
   Header & Navigation (80px White Bar + Working Dropdowns & Mobile Drawer)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 0 10px rgba(0,0,0,0.14);
  height: 80px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  padding: 28px 11px;
  position: relative;
}
.main-nav > li > a::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 18px;
  height: 2px;
  background: var(--brand-green);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav > li:hover > a,
.main-nav > li > a.active {
  color: var(--brand-green);
}
.main-nav > li:hover > a::after,
.main-nav > li > a.active::after {
  transform: scaleX(1);
}
.nav-caret { font-size: 10px; opacity: 0.7; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-top: 3px solid var(--brand-green);
  box-shadow: 0 14px 35px rgba(0,0,0,0.14);
  border-radius: 0 0 6px 6px;
  padding: 10px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .22s ease;
  z-index: 1001;
}
.dropdown-menu.mega-grid {
  min-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 12px;
  gap: 4px;
}
.main-nav > li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 4px;
}
.dropdown-menu li a:hover {
  background: #F0FAF0;
  color: var(--brand-green);
}

.mobile-toggle {
  display: none;
  background: var(--brand-green);
  color: var(--white);
  border: none;
  width: 42px;
  height: 42px;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.mobile-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 16px 20px 40px;
  border-top: 1px solid #EAEAEA;
}
.mobile-drawer.open { display: block; }
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer > ul > li { border-bottom: 1px solid #EFEFEF; }
.mobile-drawer a {
  display: block;
  padding: 13px 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--charcoal);
}
.mobile-sub { padding-left: 16px; background: #F9FBF9; border-radius: 6px; margin-bottom: 8px; }
.mobile-sub a { font-size: 14px; font-weight: 500; padding: 9px 10px; }

/* ==========================================================================
   Homepage Hero (Green Diagonal Gradient matching apexcore.pk)
   ========================================================================== */
.home-hero {
  background: linear-gradient(318deg, rgba(100, 202, 103, 0.90) 0%, rgba(146, 209, 68, 0.88) 100%);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--heading-dark);
  color: var(--brand-green);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  padding: 5px 14px 6px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.home-hero h1 {
  font-size: 51px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1px;
  color: var(--heading-dark);
  margin-bottom: 18px;
}
.home-hero .hero-desc {
  font-size: 16.5px;
  color: #1A2E1A;
  margin-bottom: 26px;
  max-width: 580px;
}
.hero-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.hero-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.92);
  padding: 10px 16px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.hero-contact-pill i { color: var(--brand-green); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero-media {
  position: relative;
}
.home-hero-media img.hero-main-img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 41, 37, 0.25);
  border: 4px solid rgba(255,255,255,0.65);
  object-fit: cover;
  aspect-ratio: 16 / 11;
}
.hero-wa-float {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: #25D366;
  color: var(--white);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 10px 26px rgba(37,211,102,0.45);
  border: 4px solid var(--white);
  animation: pulseGrow 2.4s infinite ease-in-out;
}
@keyframes pulseGrow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ==========================================================================
   Subpage Dark Hero Banner (Frame-10 style Overlay)
   ========================================================================== */
.subpage-hero {
  position: relative;
  background-color: #000000;
  color: var(--white);
  padding: 72px 0;
  overflow: hidden;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--brand-green);
  background-image: var(--hero-bg-url, url('/uploads/photos/hero-bg-banner.jpg'));
  background-size: cover;
  background-position: center;
  opacity: 0.30;
  filter: saturate(25%);
  z-index: 0;
}
.subpage-hero .container { position: relative; z-index: 1; }
.subpage-hero .eyebrow { color: var(--brand-lime); }
.subpage-hero h1 {
  color: var(--white);
  font-size: 44px;
  margin-bottom: 14px;
  max-width: 900px;
}
.subpage-hero p.lead {
  color: #E5ECE5;
  font-size: 17px;
  max-width: 760px;
  margin: 0 0 24px;
}
.breadcrumbs {
  font-size: 13.5px;
  color: #C7D9C7;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs a { color: var(--brand-lime); }

/* ==========================================================================
   Homepage 9-Service Icon Grid
   ========================================================================== */
.service-icon-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
}
.service-icon-card {
  background: rgba(242, 242, 242, 0.55);
  border: 1px dotted var(--input-gray);
  border-radius: 6px;
  padding: 18px 8px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all .25s ease;
}
.service-icon-card:hover {
  background: var(--white);
  border-color: var(--brand-green);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(69,184,72,0.14);
}
.service-icon-card img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}
.service-icon-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: var(--heading-dark);
}

/* ==========================================================================
   Split Content, Counters & Progress Bars
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  object-fit: cover;
}
.counters-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0;
  padding: 18px 0;
  border-top: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
}
.counter-box {
  padding-right: 12px;
  border-right: 1px solid var(--border-gray);
}
.counter-box:last-child { border-right: none; }
.counter-num {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--brand-lime);
  line-height: 1.1;
}
.counter-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body-text);
  margin-top: 4px;
}

.progress-item { margin-bottom: 22px; }
.progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--heading-dark);
}
.progress-pill {
  background: var(--body-text);
  color: var(--white);
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 4px;
}
.progress-track {
  height: 8px;
  background: var(--input-gray);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-lime));
  border-radius: 99px;
}

/* ==========================================================================
   Dark Parallax CTA Banner & Green Difference Banner
   ========================================================================== */
.dark-cta-band {
  position: relative;
  background: var(--charcoal);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 78px 0;
  overflow: hidden;
}
.dark-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(35,35,35,0.72) 0%, rgba(18,18,18,0.92) 100%);
}
.dark-cta-band .container { position: relative; z-index: 1; }
.dark-cta-band h2 { color: var(--white); max-width: 780px; margin-bottom: 14px; }
.dark-cta-band p { color: #DCDCDC; max-width: 680px; margin-bottom: 24px; }

.difference-cta {
  background: linear-gradient(221deg, rgba(174, 224, 112, 0.92) 0%, #42D346 100%);
  padding: 54px 28px;
  border-radius: 10px;
  text-align: center;
  color: var(--heading-dark);
  margin: 48px 0;
}
.difference-cta h2 { color: var(--heading-dark); margin-bottom: 12px; }
.difference-cta p { max-width: 680px; margin: 0 auto 24px; color: #162B16; }

/* ==========================================================================
   6-Service Photo Cards Grid & Generic 3-Column Cards
   ========================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-photo-card {
  background: var(--white);
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.11);
}
.service-photo-card .card-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.service-photo-card .card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-photo-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-photo-card p { font-size: 14.5px; color: #555; flex: 1; margin: 0 0 18px; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   3D Flip Boxes (Our Value / Vision / Mission)
   ========================================================================== */
.flip-card {
  perspective: 1000px;
  height: 250px;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .65s cubic-bezier(.4,.2,.2,1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 8px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.09);
}
.flip-front {
  background: var(--soft-bg);
}
.flip-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.flip-back {
  background: var(--forest-teal);
  color: var(--white);
  transform: rotateY(180deg);
}
.flip-back h3 { color: var(--brand-lime); margin-bottom: 10px; }
.flip-back p { color: #E2ECE8; font-size: 14.5px; margin: 0; }

/* ==========================================================================
   Client Logo Carousel & Testimonial Cards
   ========================================================================== */
.client-logo-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.client-logo-slide img {
  width: 100%;
  max-width: 230px;
  height: 86px;
  border-radius: 8px;
  object-fit: contain;
}
.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.07);
  border: 1px solid #EFEFEF;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-stars { color: #F59E0B; margin-bottom: 12px; font-size: 15px; }
.testimonial-quote { font-size: 15px; color: #444; flex: 1; margin: 0 0 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong { display: block; color: var(--heading-dark); font-family: var(--font-heading); }
.testimonial-author span { font-size: 13px; color: var(--brand-green); font-weight: 600; }

/* ==========================================================================
   Info / Process / FAQ Accordions / Tables
   ========================================================================== */
.info-card {
  background: var(--white);
  border: 1px solid #E6EAE6;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}
.info-card .step-badge {
  display: inline-block;
  background: #EAF7EA;
  color: var(--brand-green);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 10px;
}

.faq-item {
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--heading-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-item.open .faq-question {
  background: #F2FAF2;
  color: var(--brand-green);
}
.faq-answer {
  display: none;
  padding: 16px 24px 20px;
  border-top: 1px solid #EEF2EE;
  color: #444;
  font-size: 15px;
}
.faq-item.open .faq-answer { display: block; }

.styled-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06);
  margin: 20px 0;
}
.styled-table th {
  background: var(--forest-teal);
  color: var(--white);
  text-align: left;
  padding: 14px 18px;
  font-family: var(--font-heading);
  font-size: 14.5px;
}
.styled-table td {
  padding: 13px 18px;
  border-bottom: 1px solid #ECECEC;
  font-size: 14.5px;
}
.styled-table tr:nth-child(even) td { background: #F9FBF9; }

/* ==========================================================================
   Blog Archive & Single Post (Fixed H1 Clipping!)
   ========================================================================== */
.blog-card {
  background: var(--white);
  border: 1px dotted var(--border-gray);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.blog-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.10); transform: translateY(-3px); }
.blog-thumb-wrap { position: relative; padding: 14px 14px 0; }
.blog-thumb-wrap img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.blog-cat-ribbon {
  position: absolute;
  top: 26px;
  left: 6px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 3px;
}
.blog-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 20px; margin-bottom: 10px; }
.blog-card-body h3 a { color: var(--brand-green); }
.blog-card-body h3 a:hover { color: var(--forest-teal); }
.blog-card-body p { font-size: 14.5px; color: #555; flex: 1; margin: 0 0 14px; }

.blog-single-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 36px;
  align-items: start;
}
.blog-sidebar-card {
  background: var(--white);
  border-top: 5px solid var(--body-text);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 5px 16px rgba(0,0,0,0.10);
  padding: 24px;
  margin-bottom: 24px;
}
.single-hero-accent {
  border-left: 8px solid var(--brand-lime);
  padding-left: 24px;
}
.prose h2 { font-size: 28px; margin-top: 28px; margin-bottom: 12px; }
.prose h3 { font-size: 22px; margin-top: 22px; margin-bottom: 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin-bottom: 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.prose table th { background: var(--forest-teal); color: var(--white); padding: 12px 14px; text-align: left; }
.prose table td { padding: 11px 14px; border: 1px solid #E5E7EB; }

/* ==========================================================================
   Contact Form Card (Exact .elementor-208 Specs)
   ========================================================================== */
.contact-card {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.10);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--heading-dark);
}
.form-control {
  width: 100%;
  background: #ECECEC;
  border: 1px solid var(--input-gray);
  border-radius: 3px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--heading-dark);
  transition: all .2s ease;
}
.form-control:focus {
  outline: none;
  background: var(--white);
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(69,184,72,0.18);
}

/* ==========================================================================
   Footer (#232323 Exact 70% / 30% Layout + Gradient Newsletter/Contact Box)
   ========================================================================== */
.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 56px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 0.85fr 1.2fr;
  gap: 32px;
  align-items: start;
}
.footer-brand img { height: 54px; margin-bottom: 16px; }
.footer-brand p { color: #CCCCCC; font-size: 14px; line-height: 1.6; }
.site-footer h5 { color: var(--white); font-size: 18px; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: #FFFFFF;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a i { color: var(--brand-green); font-size: 11px; }
.footer-links a:hover { color: var(--brand-green); transform: translateX(3px); }

.footer-newsletter-card {
  padding: 26px;
  border: 1px solid rgba(194, 194, 194, 0.48);
  border-radius: 6px;
  background: linear-gradient(180deg, #232323 17%, rgba(138, 198, 63, 0.62) 100%);
}
.footer-newsletter-card h4 { color: var(--white); margin-bottom: 14px; font-size: 20px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.footer-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #F3F4F6;
  margin-bottom: 10px;
}
.footer-contact-list li i { color: var(--brand-lime); margin-top: 4px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-socials a:hover { background: var(--brand-green); }

.footer-bottom {
  border-top: 1px solid rgba(194, 194, 194, 0.50);
  margin-top: 38px;
  padding-top: 20px;
  padding-right: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-accent);
  font-size: 14px;
  color: #D4D4D4;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 990;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
}
.floating-whatsapp:hover { color: var(--white); transform: scale(1.08); }

/* ==========================================================================
   Founder & CEO Executive Showcase
   ========================================================================== */
.ceo-showcase-card {
  background: var(--white);
  border: 1px solid #E2ECE2;
  border-radius: 14px;
  padding: 38px;
  box-shadow: 0 14px 40px rgba(0, 41, 37, 0.08);
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 42px;
  align-items: start;
}
.ceo-portrait-wrap {
  position: relative;
}
.ceo-portrait-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 4px solid var(--white);
  box-shadow: 0 12px 30px rgba(0, 41, 37, 0.18);
}
.ceo-portrait-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(0, 41, 37, 0.90);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.ceo-portrait-badge i { color: var(--brand-lime); font-size: 14px; }
.ceo-portrait-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(0, 41, 37, 0.92);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 4px solid var(--brand-lime);
  backdrop-filter: blur(6px);
}
.ceo-portrait-tag strong { display: block; font-family: var(--font-heading); font-size: 15px; }
.ceo-portrait-tag span { font-size: 12px; color: var(--brand-lime); font-weight: 600; }
.ceo-quote-box {
  background: #F4FAF4;
  border-left: 4px solid var(--brand-green);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  font-size: 15.5px;
  font-style: italic;
  color: var(--forest-teal);
  margin: 18px 0 16px;
  line-height: 1.6;
}
.ceo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.ceo-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #EEF7EE;
  color: var(--forest-teal);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 99px;
  border: 1px solid #D6EAD6;
}
.ceo-badge-pill i { color: var(--brand-green); }

/* Formal Corporate Credential Chip */
.ceo-formal-credential-chip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F8FAF8;
  border: 1px solid #D9EADB;
  border-left: 4px solid var(--brand-green);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0 24px;
  box-shadow: 0 4px 14px rgba(0, 41, 37, 0.04);
}
.ceo-formal-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2.5px solid var(--brand-green);
  box-shadow: 0 4px 12px rgba(0, 41, 37, 0.14);
  flex-shrink: 0;
}
.ceo-formal-info {
  flex: 1;
}
.ceo-formal-badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-green);
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}
.ceo-formal-info strong {
  display: block;
  font-size: 14.5px;
  color: var(--forest-teal);
  font-family: var(--font-heading);
}
.ceo-formal-info small {
  display: block;
  font-size: 12.5px;
  color: #4B6358;
  margin-top: 1px;
}

/* Dual Executive Showcase (About Us) */
.ceo-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 28px;
}
.ceo-dual-card {
  background: var(--white);
  border: 1px solid #E2ECE2;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 41, 37, 0.06);
  display: flex;
  flex-direction: column;
}
.ceo-dual-photo-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 20px;
}
.ceo-dual-photo-wrap {
  position: relative;
}
.ceo-dual-photo-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 3px solid var(--white);
  box-shadow: 0 8px 22px rgba(0, 41, 37, 0.14);
}
.ceo-dual-pill {
  position: absolute;
  bottom: 8px;
  left: 6px;
  right: 6px;
  background: rgba(0, 41, 37, 0.88);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 99px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.ceo-dual-meta h3 {
  margin: 0 0 4px;
  font-size: 20px;
  color: var(--forest-teal);
}
.ceo-dual-subtitle {
  font-size: 13.5px;
  color: var(--brand-green);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}
.ceo-dual-card p {
  font-size: 14.5px;
  color: #444;
  line-height: 1.65;
  margin: 0 0 16px;
}
.ceo-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.ceo-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.5;
}
.ceo-checklist li i {
  color: var(--brand-green);
  margin-top: 3px;
  flex-shrink: 0;
}
.ceo-checklist li div {
  flex: 1;
}

/* Authorized Principal Officer Banner (Certifications Page) */
.officer-hero-card {
  background: linear-gradient(135deg, #F8FAF8 0%, #FFFFFF 100%);
  border: 1px solid #D4E6D6;
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 10px 30px rgba(0, 41, 37, 0.06);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}
.officer-hero-media {
  position: relative;
}
.officer-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 3px solid var(--white);
  box-shadow: 0 8px 24px rgba(0, 41, 37, 0.16);
}
.officer-hero-tag {
  position: absolute;
  bottom: 8px;
  left: 6px;
  right: 6px;
  background: rgba(0, 41, 37, 0.90);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 99px;
  text-align: center;
  letter-spacing: 0.3px;
}
.officer-hero-tag i { color: var(--brand-lime); }
.officer-hero-body .officer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-green);
  letter-spacing: 0.9px;
  margin-bottom: 4px;
}
.officer-hero-body h3 {
  margin: 0 0 2px;
  font-size: 22px;
  color: var(--forest-teal);
}
.officer-sub {
  font-size: 14px;
  color: #4B6358;
  font-weight: 600;
  margin-bottom: 10px;
}
.officer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.officer-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #EAF4EA;
  color: var(--forest-teal);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid #CDE3CD;
}
.officer-pill i { color: var(--brand-green); }

.ceo-mini-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #002925 0%, #144A39 100%);
  color: var(--white);
  padding: 18px 20px;
  border-radius: 10px;
  margin-top: 22px;
  box-shadow: 0 8px 24px rgba(0, 41, 37, 0.16);
}
.ceo-mini-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--brand-lime);
  flex-shrink: 0;
}

/* ==========================================================================
   Live Field Operations & Video Showcase
   ========================================================================== */
.video-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.video-card {
  background: var(--white);
  border: 1px solid #E2ECE2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 41, 37, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 41, 37, 0.12);
}
.video-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 41, 37, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}
.video-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.video-card-body h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--forest-teal);
  line-height: 1.4;
}
.video-card-body p {
  font-size: 13.5px;
  color: #4B6358;
  margin: 0 0 16px;
  line-height: 1.55;
  flex: 1;
}

/* Field Gallery Showcase */
.field-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}
.field-gallery-card {
  background: var(--white);
  border: 1px solid #E2ECE2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 41, 37, 0.06);
}
.field-gallery-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.field-gallery-body {
  padding: 22px 24px;
}
.field-gallery-body h3 {
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--forest-teal);
}
.field-gallery-body p {
  font-size: 14px;
  color: #4B6358;
  margin: 0;
  line-height: 1.55;
}

/* Downloadable Certificate Cards */
.doc-download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.doc-download-card {
  background: var(--white);
  border: 1px solid #DCEADC;
  border-left: 4px solid var(--brand-green);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 41, 37, 0.05);
  display: flex;
  flex-direction: column;
}
.doc-download-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #EAF5EA;
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.doc-download-card h4 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--forest-teal);
  line-height: 1.35;
}
.doc-download-card p {
  font-size: 13px;
  color: #4B6358;
  margin: 0 0 14px;
  line-height: 1.5;
  flex: 1;
}
.doc-download-card .doc-meta {
  font-size: 11.5px;
  color: #6B8074;
  margin-bottom: 16px;
  font-weight: 600;
}

/* ==========================================================================
   Responsive Breakpoints (<=1024px Tablet, <=767px Mobile)
   ========================================================================== */
@media (max-width: 1120px) {
  .main-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .service-icon-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-single-layout { grid-template-columns: 1fr; }
  .ceo-showcase-card { grid-template-columns: 280px 1fr; gap: 28px; padding: 26px; }
  .video-showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-download-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  body { font-size: 14.5px; }
  h1, .home-hero h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .section { padding: 48px 0; }
  .home-hero { padding: 36px 0 42px; }
  .home-hero-grid, .split-grid, .cards-grid-3, .cards-grid-2, .cards-grid-4, .footer-grid, .ceo-showcase-card, .ceo-dual-grid, .ceo-dual-photo-row, .officer-hero-card, .video-showcase-grid, .field-gallery-grid, .doc-download-grid {
    grid-template-columns: 1fr;
  }
  .ceo-showcase-card, .ceo-dual-card, .officer-hero-card { padding: 22px; }
  .ceo-formal-credential-chip { flex-direction: column; text-align: center; }
  .counters-row { grid-template-columns: 1fr; }
  .counter-box { border-right: none; border-bottom: 1px solid var(--border-gray); padding: 0 0 12px; }
  .counter-box:last-child { border-bottom: none; padding-bottom: 0; }
  .hero-wa-float { width: 58px; height: 58px; font-size: 26px; left: 10px; bottom: -14px; }
  .subpage-hero { padding: 48px 0; }
  .subpage-hero h1 { font-size: 30px; }
  .dark-cta-band { background-attachment: scroll; }
}
