/* ============================================================
   AgriBio Solutions — style.css
   Colors from logo: Dark Green #1B6B35 | Light Green #8DC63F
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --dg:     #1B6B35;
  --dg-dk:  #134d27;
  --dg-lt:  #247a40;
  --lg:     #8DC63F;
  --lg-dk:  #72a630;
  --lg-lt:  #a8d95f;
  --white:  #ffffff;
  --off:    #f5f8f3;
  --gray:   #666666;
  --dark:   #1a1a1a;
  --border: #e0ecd8;
  --shadow: 0 4px 24px rgba(27,107,53,.12);
  --r:      8px;
  --r-lg:   16px;
  --trans:  .3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5 { font-family: 'Montserrat', sans-serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--gray); }
p:last-child { margin-bottom: 0; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 64px 0; }
.section-sm { padding: 36px 0; }
.bg-off     { background: var(--off); }
.bg-dg      { background: var(--dg); }
.bg-dark    { background: var(--dark); }
.text-white { color: var(--white) !important; }
.text-white > p,
.text-white .section-sub { color: rgba(255,255,255,.85) !important; }
/* Dept card bodies sit inside a .text-white section — protect their text */
.dept-card-body p { color: var(--gray) !important; }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lg);
  margin-bottom: 10px;
}
.section-title { margin-bottom: 16px; }
.section-sub   { font-size: 1.05rem; color: var(--gray); max-width: 620px; }
.section-sub.mx-auto { margin: 0 auto; }
.divider {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 40px;
}
.divider .line { flex: 1; height: 2px; background: var(--border); }
.divider .dot  { width: 10px; height: 10px; border-radius: 50%; background: var(--lg); flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  transition: var(--trans);
  letter-spacing: .03em;
}
.btn-primary   { background: var(--lg); color: var(--white); }
.btn-primary:hover { background: var(--lg-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(141,198,63,.4); }
.btn-outline   { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dg); }
.btn-dg        { background: var(--dg); color: var(--white); }
.btn-dg:hover  { background: var(--dg-dk); transform: translateY(-2px); }
.btn-sm        { padding: 10px 22px; font-size: .82rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: var(--trans);
  padding: 0;
}
#navbar.transparent { background: transparent; }
#navbar.solid { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,.1); }
#navbar.solid .nav-logo-text span:first-child { color: var(--dg); }
#navbar.solid .nav-links a            { color: var(--dark); }
#navbar.solid .nav-links a:hover      { color: var(--dg); }
#navbar.solid .hamburger span         { background: var(--dark); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 24px; max-width: 1200px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 48px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text span:first-child {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 1.2rem; color: var(--white);
}
.nav-logo-text span:last-child  {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lg);
}
#navbar.solid .nav-logo-text span:first-child { color: var(--dg); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  display: block; padding: 8px 14px;
  font-family: 'Montserrat', sans-serif; font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.92);
  border-radius: 6px;
  transition: var(--trans);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--lg); background: rgba(141,198,63,.1); }

/* Dropdown */
.nav-dropdown { position: relative; }
/* Invisible bridge fills any gap between link and dropdown */
.nav-dropdown::after {
  content: ''; position: absolute;
  top: 100%; left: 0; right: 0; height: 8px;
  background: transparent;
}
.nav-dropdown > a::after {
  content: '▾'; margin-left: 4px; font-size: .7rem;
}
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 220px;
  background: var(--white); border-radius: 0 0 var(--r) var(--r);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  border: 1px solid var(--border);
  border-top: 3px solid var(--lg);
  opacity: 0; pointer-events: none; transform: translateY(0);
  transition: opacity .2s ease, visibility .2s ease;
  visibility: hidden;
  z-index: 100;
  /* padding-top bridges any sub-pixel gap */
  padding-top: 0;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; pointer-events: all; visibility: visible;
}
.dropdown-menu a {
  display: block; padding: 10px 18px;
  color: var(--dark) !important; background: none !important;
  font-size: .82rem; font-weight: 600;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--off) !important; color: var(--dg) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999;
  overflow-y: auto; padding: 24px;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .95rem;
  color: var(--dark); border-radius: var(--r);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--dg); background: var(--off); }
.mobile-menu .mob-sub { padding-left: 32px; font-size: .88rem; color: var(--gray); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
#hero {
  position: relative; width: 100%; height: 100vh;
  min-height: 600px; overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .8s ease;
  z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }

.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(19,77,39,.82) 0%, rgba(27,107,53,.55) 60%, rgba(0,0,0,.3) 100%);
}
.slide-content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  padding: 0 24px; max-width: 880px;
  animation: slideUp .7s ease both;
}
@keyframes slideUp {
  from { opacity:0; transform: translateY(30px); }
  to   { opacity:1; transform: translateY(0); }
}
.slide.active .slide-content { animation: slideUp .7s ease .2s both; }
.slide-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--lg); color: var(--white);
  border-radius: 50px; font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 20px;
}
.slide-content h1 { text-shadow: 0 2px 12px rgba(0,0,0,.3); margin-bottom: 20px; }
.slide-content p  { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-bottom: 32px; }
.slide-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Slider Controls */
.slider-arrow {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,.4); color: var(--white);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.slider-arrow:hover { background: var(--lg); border-color: var(--lg); transform: translateY(-50%) scale(1.1); }
#prevSlide { left: 24px; }
#nextSlide { right: 24px; }

.slider-dots {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 10px; align-items: center;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.45); border: 2px solid transparent;
  transition: var(--trans); cursor: pointer;
}
.dot.active { background: var(--lg); width: 28px; border-radius: 5px; }

/* Progress bar */
#sliderProgress {
  position: absolute; bottom: 0; left: 0; z-index: 10;
  height: 4px; background: var(--lg);
  width: 0%; transition: width 5s linear;
}

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.7); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
}
.scroll-cue .chevrons { display: flex; flex-direction: column; gap: 2px; }
.scroll-cue .chevrons span {
  display: block; width: 16px; height: 8px;
  border-left: 2px solid rgba(255,255,255,.6); border-bottom: 2px solid rgba(255,255,255,.6);
  transform: rotate(-45deg);
  animation: bounce 1.5s infinite;
}
.scroll-cue .chevrons span:nth-child(2) { animation-delay: .2s; }
@keyframes bounce {
  0%,100% { opacity:.3; transform:rotate(-45deg) translateY(0); }
  50%      { opacity:1;  transform:rotate(-45deg) translateY(4px); }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--dg-dk) 0%, var(--dg) 50%, var(--dg-lt) 100%);
  color: var(--white); text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto 24px; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.7);
}
.breadcrumb a { color: var(--lg); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--dg); padding: 44px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.1);
}
.stat-item {
  background: var(--dg); text-align: center; padding: 36px 24px;
  position: relative;
}
.stat-item::before {
  content: ''; position: absolute; top: 20%; bottom: 20%; right: 0;
  width: 1px; background: rgba(255,255,255,.15);
}
.stat-item:last-child::before { display: none; }
.stat-num {
  font-family: 'Montserrat', sans-serif; font-size: 2.8rem; font-weight: 800;
  color: var(--lg); line-height: 1;
}
.stat-suffix { font-size: 1.6rem; }
.stat-label  { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: 6px; letter-spacing: .05em; text-transform: uppercase; }

/* ============================================================
   ABOUT STRIP (homepage)
   ============================================================ */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-wrap {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--lg); color: var(--white);
  border-radius: var(--r-lg); padding: 24px 28px; text-align: center;
  box-shadow: 0 8px 32px rgba(141,198,63,.4);
}
.about-badge strong { display: block; font-size: 2.2rem; font-family: 'Montserrat', sans-serif; font-weight: 800; }
.about-badge span   { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.feat-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--dark); }
.feat-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--off); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.srv-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 36px 28px;
  transition: var(--trans); position: relative; overflow: hidden;
}
.srv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--dg), var(--lg));
  transform: scaleX(0); transform-origin: left; transition: var(--trans);
}
.srv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.srv-card:hover::before { transform: scaleX(1); }
.srv-icon {
  width: 64px; height: 64px; border-radius: var(--r);
  background: linear-gradient(135deg, var(--dg), var(--dg-lt));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 20px; color: var(--white);
}
.srv-card h3 { margin-bottom: 12px; }
.srv-card p  { font-size: .9rem; }
.srv-link { color: var(--dg); font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; transition: var(--trans); }
.srv-link:hover { color: var(--lg); gap: 10px; }

/* Services detail (services.html) */
.srv-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.srv-detail.reverse { direction: rtl; }
.srv-detail.reverse > * { direction: ltr; }
.srv-detail-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.srv-detail-img img { width: 100%; height: 340px; object-fit: cover; }
.srv-detail ul { list-style: none; margin: 16px 0; }
.srv-detail ul li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: .9rem; }
.srv-detail ul li::before { content: '✓'; color: var(--lg); font-weight: 800; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   DEPARTMENTS
   ============================================================ */
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dept-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: var(--trans);
}
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dept-card-top {
  padding: 32px 28px 24px;
  background: linear-gradient(135deg, var(--dg), var(--dg-lt));
  color: var(--white); text-align: center;
}
.dept-icon { font-size: 2.8rem; margin-bottom: 12px; }
.dept-card-top h3 { color: var(--white); font-size: 1.15rem; }
.dept-card-body { padding: 24px 28px; }
.dept-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dept-tag {
  padding: 4px 12px; border-radius: 50px;
  background: var(--off); color: var(--dg);
  font-size: .75rem; font-weight: 600;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.f-tab {
  padding: 10px 24px; border-radius: 50px;
  border: 2px solid var(--border);
  font-family: 'Montserrat', sans-serif; font-size: .82rem; font-weight: 700;
  color: var(--gray); transition: var(--trans);
}
.f-tab.active, .f-tab:hover { background: var(--dg); color: var(--white); border-color: var(--dg); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); transition: var(--trans);
}
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.proj-img { height: 200px; overflow: hidden; position: relative; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj-card:hover .proj-img img { transform: scale(1.06); }
.proj-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 12px; border-radius: 50px;
  background: var(--lg); color: var(--white);
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
}
.proj-body { padding: 24px; }
.proj-body h3 { font-size: 1rem; margin-bottom: 8px; }
.proj-meta { display: flex; gap: 16px; margin-top: 14px; font-size: .78rem; color: var(--gray); }
.proj-meta span { display: flex; align-items: center; gap: 5px; }
.proj-status {
  display: inline-block; padding: 3px 10px; border-radius: 50px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
}
.status-ongoing   { background: rgba(141,198,63,.15); color: var(--lg-dk); }
.status-completed { background: rgba(27,107,53,.12); color: var(--dg); }
.status-upcoming  { background: rgba(255,160,0,.12); color: #b06000; }

/* ============================================================
   TIMELINE (about page)
   ============================================================ */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: var(--border); transform: translateX(-50%);
}
.tl-item {
  display: grid; grid-template-columns: 1fr 60px 1fr; gap: 0; margin-bottom: 40px; align-items: center;
}
.tl-item:nth-child(odd)  .tl-content { grid-column: 1; text-align: right; padding-right: 40px; }
.tl-item:nth-child(odd)  .tl-dot     { grid-column: 2; }
.tl-item:nth-child(odd)  .tl-empty   { grid-column: 3; }
.tl-item:nth-child(even) .tl-empty   { grid-column: 1; }
.tl-item:nth-child(even) .tl-dot     { grid-column: 2; }
.tl-item:nth-child(even) .tl-content { grid-column: 3; text-align: left; padding-left: 40px; }
.tl-dot {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--dg); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-size: .8rem; font-weight: 800;
  margin: 0 auto; border: 4px solid var(--white); box-shadow: 0 0 0 3px var(--dg);
  z-index: 1; position: relative;
}
.tl-content { padding: 20px; background: var(--off); border-radius: var(--r); }
.tl-content h4 { color: var(--dg); margin-bottom: 6px; }
.tl-content p { font-size: .88rem; margin: 0; }

/* ============================================================
   VALUES GRID
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.val-card {
  text-align: center; padding: 36px 24px;
  background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--border);
  transition: var(--trans);
}
.val-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--lg); }
.val-icon { font-size: 2.5rem; margin-bottom: 16px; }
.val-card h3 { margin-bottom: 12px; font-size: 1.1rem; color: var(--dg); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info-card {
  background: var(--dg); border-radius: var(--r-lg); padding: 48px 36px; color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,.8); margin-bottom: 36px; }
.c-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.c-info-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.c-info-item h5 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lg); margin-bottom: 4px; }
.c-info-item p  { font-size: .9rem; color: rgba(255,255,255,.85); margin: 0; }
.social-row { display: flex; gap: 12px; margin-top: 32px; }
.soc-btn {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: var(--white); transition: var(--trans);
}
.soc-btn:hover { background: var(--lg); }

.contact-form-wrap {
  background: var(--white); border-radius: var(--r-lg); padding: 48px 40px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.contact-form-wrap h3 { margin-bottom: 6px; }
.contact-form-wrap > p { margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 2px solid var(--border); border-radius: var(--r);
  font-family: 'Open Sans', sans-serif; font-size: .9rem; color: var(--dark);
  transition: var(--trans); background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--dg); box-shadow: 0 0 0 3px rgba(27,107,53,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none; text-align: center; padding: 20px;
  background: rgba(141,198,63,.1); border-radius: var(--r);
  color: var(--dg); font-weight: 600; font-size: .95rem;
}

.map-section { margin-top: 60px; }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); height: 400px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.why-card {
  text-align: center; padding: 36px 20px;
  border-radius: var(--r-lg); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12); transition: var(--trans);
}
.why-card:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
.why-icon { font-size: 2.4rem; margin-bottom: 16px; }
.why-card h4 { color: var(--white); margin-bottom: 10px; }
.why-card p  { color: rgba(255,255,255,.75); font-size: .88rem; margin: 0; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--dg-dk) 0%, var(--dg) 50%, var(--lg-dk) 100%);
  padding: 64px 0; text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 580px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #0f2d1a; color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-brand p { font-size: .88rem; line-height: 1.8; color: rgba(255,255,255,.65); }
.footer-col h5 {
  font-family: 'Montserrat', sans-serif; font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--lg); margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.65); transition: var(--trans); }
.footer-col ul li a:hover { color: var(--lg); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: .88rem; color: rgba(255,255,255,.65); }
.footer-contact-item span { flex-shrink: 0; color: var(--lg); font-size: 1rem; }
.footer-bottom {
  margin-top: 36px; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: var(--lg); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity .7s ease, transform .7s ease;
}
.reveal       { transform: translateY(30px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .dept-grid      { grid-template-columns: repeat(2, 1fr); }
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .srv-detail     { grid-template-columns: 1fr; gap: 32px; }
  .srv-detail.reverse { direction: ltr; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .about-split    { grid-template-columns: 1fr; gap: 40px; }
  .about-visual   { max-width: 480px; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid  { grid-template-columns: 1fr; }
  .dept-grid      { grid-template-columns: 1fr; }
  .proj-grid      { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr; }
  .timeline::before { left: 28px; }
  .tl-item { grid-template-columns: 56px 1fr; }
  .tl-item:nth-child(odd) .tl-content  { grid-column: 2; text-align: left; padding: 0 0 0 16px; }
  .tl-item:nth-child(odd) .tl-dot      { grid-column: 1; }
  .tl-item:nth-child(odd) .tl-empty    { display: none; }
  .tl-item:nth-child(even) .tl-empty   { display: none; }
  .tl-item:nth-child(even) .tl-dot     { grid-column: 1; }
  .tl-item:nth-child(even) .tl-content { grid-column: 2; padding: 0 0 0 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .slider-arrow { display: none; }
  .about-badge { bottom: -16px; right: 0; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item::before { display: none; }
  .cta-btns { flex-direction: column; align-items: center; }
  .slide-btns { flex-direction: column; align-items: center; }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-info-card  { padding: 32px 24px; }
}

/* ── Illustrated service/dept panels (replaces external images) ── */
.ill-panel {
  width: 100%; height: 340px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
}
.ill-panel svg { position: relative; z-index: 1; }
.ill-label {
  font-family: 'Montserrat', sans-serif; font-size: .85rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75);
  position: relative; z-index: 1;
}
.ip-1 { background: linear-gradient(135deg,#1B6B35,#4db86b); }
.ip-2 { background: linear-gradient(135deg,#0a2e16,#1B6B35); }
.ip-3 { background: linear-gradient(135deg,#134d27,#247a40); }
.ip-4 { background: linear-gradient(135deg,#1B6B35,#8DC63F); }
.ip-5 { background: linear-gradient(135deg,#0f2010,#1B6B35); }
.ip-6 { background: linear-gradient(135deg,#72a630,#8DC63F); }

/* About page visual */
.about-logo-visual {
  display: flex; align-items: center; justify-content: center;
  height: 420px;
}
.about-logo-ring {
  width: 340px; height: 340px; border-radius: 50%;
  background: var(--off); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.about-logo-ring img { width: 200px; height: auto; }
.about-logo-ring::before {
  content: ''; position: absolute; inset: -14px; border-radius: 50%;
  border: 2px dashed rgba(141,198,63,.4);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
