/*
  Project: Legacy Brain Professional Academy Website
  File: style.css
  Developer: William Vincent Harmon | Front-end Developer
  Company: Legacy Brain Professionals Academy
  Contact: WhatsApp +231 776 803 476 | Email: michael.harmon76@gmail.com
  Year: 2026
*/

/* ---------- Base Reset ---------- */
@font-face {
  font-family: "Anydore";
  src: url("fonts/anydore-regular.woff2") format("woff2"),
       url("fonts/anydore-regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

/* ---------- Body & Global ---------- */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #e9ecf0; /* outer background */
}

a {
  color: #4682B4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Floating Boxed Layout ---------- */
.site-wrapper {
  max-width: 1200px;
  margin: 20px auto;
  min-height: 100vh;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

/* ---------- TOP HEADER BAR ---------- */
.top-header {
  background: #145214;
  color: #ffffff;
  font-size: 0.85rem;
}

.top-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.top-header span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-header i {
  color: #ffd54f;
}

.social-icons-top a {
  color: #ffffff;
  margin-left: 6px;
  font-size: 0.9rem;
}

.social-icons-top a:hover {
  color: #ffd54f;
}

/* ---------- LOGO HEADER ---------- */
.logo-header {
  background: #ffffff;
  border-bottom: 1px solid #0f3c10;
  background: linear-gradient(135deg, #108f1a, #73e777); /* soft light greens */
}

.logo-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
}

/* Three-column flex layout with centered logo */
.logo-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

.header-left {
  flex: 1 1 0;
}

.header-center {
  flex: 0 0 auto;
  justify-content: center;
}

.header-right {
  flex: 1 1 0;
  justify-content: flex-end;
  flex-direction: column;
  align-items: flex-end;
}

.header-left h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #ffffff;
  font-family: "Anydore", Arial, sans-serif;
  letter-spacing: 0.03rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.animated-services {
  font-size: 0.9rem;
  color: #555;
  margin-top: 4px;
}

/* Logo size and link */
.header-center .logo {
  height: 90px;
  width: auto;
}

.logo-link {
  display: inline-block;
}

.header-right p {
  margin: 0;
  font-size: 0.95rem;
  color: #007791;
}

/* Motto: bigger + animated */
.header-right .motto {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #024a5a;
  font-weight: 600;
  text-align: right;
  animation: motto-pulse 3s ease-in-out infinite;
}

@media (min-width: 992px) {
  .header-right .motto {
    font-size: 1.15rem;
  }
}

@keyframes motto-pulse {
  0% {
    transform: translateY(0);
    opacity: 0.7;
  }
  20% {
    transform: translateY(-2px);
    opacity: 1;
  }
  50% {
    transform: translateY(0);
    opacity: 0.9;
  }
  80% {
    transform: translateY(-1px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
}

/* Social icons in header-right */
.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-social a {
  color: #145214;
  font-size: 1rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(20, 82, 20, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-social a:hover {
  background: #145214;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Mobile adjustments so columns stack nicely and logo remains centered */
@media (max-width: 767px) {
  .logo-header .container {
    padding: 10px 10px;
  }
}

/* ================================
   MAIN NAVIGATION HEADER
   ================================ */
.site-header {
  background: #145214;
  color: #ffffff;
}

/* Center nav content horizontally */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* align nav to right */
}

/* ----- MAIN NAV CONTAINER ----- */
.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

/* ----- MOBILE TOGGLE BUTTON (hamburger) ----- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

/* ----- DESKTOP MAIN MENU (buttons) ----- */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

/* Top-level links as classic buttons */
.nav-item > a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;           /* pill button */
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

/* Hover state */
.nav-item > a:hover {
  background: #ffd54f;
  color: #145214;
  border-color: #ffd54f;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

/* Active (current page) */
.nav-item.active > a {
  background: #ffd54f;
  color: #145214;
  border-color: #ffd54f;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* ----- SUBMENUS (DESKTOP) ----- */
.has-submenu {
  position: relative;
}

/* Container for dropdown */
.has-submenu > .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  list-style: none;
  padding: 6px 0;
  margin: 6px 0 0;
  min-width: 210px;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  z-index: 50;

  /* Hidden state for smooth animation */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.22s ease-out,
    transform 0.22s ease-out,
    visibility 0.22s ease-out;
}

/* Show submenu on hover (desktop) */
.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Submenu links (simple classic) */
.submenu li a {
  display: block;
  padding: 9px 16px;
  font-size: 0.85rem;
  color: #145214;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

/* Submenu hover */
.submenu li a:hover {
  background: #145214;
  color: #ffd54f;
}

/* Top border accent on dropdown */
.submenu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #145214;
  border-radius: 4px 4px 0 0;
}

/* ================================
   NAV SEARCH
   ================================ */
.nav-search {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-search-input {
  height: 32px;
  padding: 0 8px;
  border-radius: 4px;
  border: none;
  outline: none;
  font-size: 0.85rem;
  min-width: 140px;
  max-width: 200px;
}

.nav-search-input::placeholder {
  color: #777;
}

.nav-search-btn {
  height: 32px;
  width: 34px;
  border-radius: 4px;
  border: none;
  background: #ffd54f;
  color: #145214;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-search-btn:hover {
  background: #f0c53b;
  transform: translateY(-1px);
}

.nav-search-btn i {
  font-size: 0.9rem;
}

/* ================================
   MOBILE NAV (single clean block)
   ================================ */
@media (max-width: 767px) {
  .site-wrapper {
    margin: 0;
    border-radius: 0;
    max-width: 100%;
  }

  .header-inner {
    padding: 8px 10px;
    justify-content: space-between;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    position: relative;
  }

  /* Show hamburger */
  .nav-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 32px;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
  }

  /* Hide menu by default on mobile */
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin: 0;
    padding: 6px 0 10px;
    background: #145214;
    flex-direction: column;
    gap: 0;
    display: none; /* hidden by default */
    z-index: 100;
  }

  /* Shown when JS adds .open */
  .nav-menu.open {
    display: flex;
  }

  .nav-menu > li {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-item > a {
    display: block;
    width: 100%;
    border-radius: 0;
    border: none;
    background: transparent;
    padding: 10px 16px;
  }

  .nav-item > a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffd54f;
    box-shadow: none;
    transform: none;
  }

  .nav-item.active > a {
    background: rgba(255, 255, 255, 0.18);
    color: #ffd54f;
  }

  /* Mobile submenu container – collapsible, JS toggles .open */
  .has-submenu > .submenu {
    position: static;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: #0f3c10;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none; /* hidden until JS adds .open */
  }

  .has-submenu > .submenu.open {
    display: block;
  }

  .submenu::before {
    content: none;
  }

  .submenu li a {
    padding: 8px 20px;
    background: #0f3c10;
    color: #ffffff;
    font-size: 0.85rem;
  }

  .submenu li a:hover {
    background: #1b5e20;
    color: #ffd54f;
  }

  /* Keep search aligned to right */
  .nav-search {
    margin-left: auto;
  }

  .nav-search-input {
    min-width: 120px;
    max-width: 160px;
  }
}


/* ================================
   SWAPPING SLIDER (Modern)
   ================================ */

.swapping-slider {
  position: relative;
  margin-bottom: 24px;
}

.swapping-slider .slider-inner {
  position: relative;
  width: 100%;
  height: 430px; /* desktop height */
  overflow: hidden;
  border-radius: 6px;
}

/* Individual slide */
.swapping-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02); /* slight zoom for inactive */
  transition:
    opacity 0.9s ease-in-out,
    visibility 0.9s ease-in-out,
    transform 6s ease-out; /* slow background zoom when active */
}

/* Active slide is visible and slightly zooms */
.swapping-slider .slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.06);
}

/* Dark + gradient overlay for text readability */
.swapping-slider .slide-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.02), transparent),
              linear-gradient(to bottom right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.35));
  mix-blend-mode: multiply;
}

/* Slide content – positioned lower, towards bottom-left */
.swapping-slider .slide-content {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
  z-index: 2;
  max-width: 60%;
  pointer-events: none; /* so arrows/dots are easier to click around */
}

/* Title – vivid, bold */
.swapping-slider .slide-content h2 {
  margin: 0 0 6px;
  font-size: 2.35rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7);
}

/* Subtitle closer to button */
.swapping-slider .slide-content p {
  margin: 0 0 10px;
  font-size: 1rem;
  max-width: 90%;
  color: #f1f5f9;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Button */
.swapping-slider .slide-btn {
  display: inline-block;
  padding: 9px 20px;
  background: #ffd54f;
  color: #145214;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.swapping-slider .slide-btn:hover {
  background: #f0c53b;
  color: #145214;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

/* Text entrance animation states */
.swapping-slider .slide-content {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease-out 0.15s,
    transform 0.6s ease-out 0.15s;
}

.swapping-slider .slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

/* Optional staggered effect for title / paragraph / button */
.swapping-slider .slide-content h2,
.swapping-slider .slide-content p,
.swapping-slider .slide-content .slide-btn {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}

.swapping-slider .slide.active .slide-content h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.swapping-slider .slide.active .slide-content p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.24s;
}

.swapping-slider .slide.active .slide-content .slide-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.36s;
}

/* Arrows */
.swapping-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  padding: 9px 11px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.2rem;
  z-index: 3;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.swapping-slider .slider-arrow.prev {
  left: 14px;
}

.swapping-slider .slider-arrow.next {
  right: 14px;
}

.swapping-slider .slider-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Dots */
.swapping-slider .slider-dots {
  position: absolute;
  bottom: 16px;
  left: 32px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.swapping-slider .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.25);
  padding: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    width 0.2s ease;
}

.swapping-slider .dot.active {
  background: #ffd54f;
  border-color: #ffd54f;
  width: 18px; /* elongate active dot for a more modern look */
}

/* Tablet */
@media (max-width: 991px) {
  .swapping-slider .slider-inner {
    height: 360px;
  }

  .swapping-slider .slide-content {
    max-width: 70%;
    left: 22px;
    right: 22px;
    bottom: 34px;
  }

  .swapping-slider .slide-content h2 {
    font-size: 1.9rem;
  }

  .swapping-slider .slide-content p {
    font-size: 0.96rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .swapping-slider .slider-inner {
    height: 260px;
  }

  .swapping-slider .slide-content {
    max-width: 100%;
    left: 14px;
    right: 14px;
    bottom: 26px;
  }

  .swapping-slider .slide-content h2 {
    font-size: 1.4rem;
  }

  .swapping-slider .slide-content p {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .swapping-slider .slide-btn {
    padding: 7px 16px;
    font-size: 0.86rem;
  }

  .swapping-slider .slider-arrow {
    padding: 6px 8px;
    font-size: 1rem;
  }

  .swapping-slider .slider-dots {
    bottom: 10px;
    left: 14px;
  }
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
  margin: 40px auto;
}

.hero-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8f5e9, #ffffff);
  border: 1px solid #d7e8db;
  min-height: 320px;
}

/* Left column */
.hero-text {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  margin: 0 0 10px;
  font-size: 2.1rem;
  line-height: 1.2;
  color: #145214;
}

.hero-subtitle {
  margin: 0 0 14px;
  font-size: 0.98rem;
  color: #333;
  max-width: 620px;
}

.hero-highlights {
  margin: 0 0 16px 16px;
  padding: 0;
  list-style: disc;
  font-size: 0.94rem;
  color: #333;
}

.hero-highlights li {
  margin-bottom: 4px;
}

/* Buttons */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.hero-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn.primary {
  background: #145214;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(20, 82, 20, 0.35);
}

.hero-btn.primary:hover {
  background: #176a1e;
  transform: translateY(-1px);
}

.hero-btn.secondary {
  background: transparent;
  color: #145214;
  border: 1px solid #145214;
}

.hero-btn.secondary:hover {
  background: #145214;
  color: #ffffff;
}

/* Small supporting note */
.hero-note {
  margin: 0;
  margin-top: 4px;
  font-size: 0.88rem;
  color: #555;
}

/* Right column */
.hero-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* Image area (use real image) */
.hero-image-placeholder {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d7e8db;
  background: #ddeee0;
}

.hero-image-placeholder img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
}

/* Tags / chips under image */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 14px;
  background: #145214;
  color: #ffffff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ================================
   HERO RESPONSIVENESS
   ================================ */

/* Tablet */
@media (max-width: 991px) {
  .hero-inner {
    flex-direction: column;
    padding: 20px 16px 22px;
  }

  .hero-text {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 0.96rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero {
    margin: 10px 0 6px;
  }

  .hero-inner {
    padding: 16px 12px 18px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-highlights {
    font-size: 0.88rem;
    margin-left: 16px;
  }

  .hero-ctas {
    flex-direction: row;
  }

  .hero-image-placeholder img {
    max-height: 220px;
  }
}


/* ================================
   PROGRAMS LANDING PAGE
   ================================ */

.hero.programs-hero {
  margin: 30px auto 16px;
}

/* Link style inside program cards on programs.html */
.program-link {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #145214;
  text-decoration: none;
}

.program-link:hover {
  text-decoration: underline;
}

/* ================================
   ADVISOR PAGE
   ================================ */

.hero.advisor-hero {
  margin: 30px auto 16px;
}

.advisor-section {
  margin: 0 0 24px;
}

.advisor-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.advisor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 22px;
}

/* Left side */
.advisor-info h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: #145214;
}

.advisor-info p {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #333;
}

.advisor-info ul {
  margin: 0 0 10px 18px;
  padding: 0;
  font-size: 0.94rem;
  color: #333;
}

.advisor-info li {
  margin-bottom: 4px;
}

/* Contact snippet */
.advisor-contact-snippet {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f4fbf5;
  border: 1px solid #c7e2cd;
}

.advisor-contact-snippet h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  color: #145214;
}

.advisor-contact-snippet p {
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.advisor-contact-snippet ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
}

/* Right side: form */
.advisor-form-wrapper h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  color: #145214;
}

.advisor-form-intro {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #444;
}

/* Use same look as contact form */
.advisor-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.advisor-form .form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.advisor-form .form-group {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.advisor-form label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #145214;
}

.advisor-form input,
.advisor-form select,
.advisor-form textarea {
  border-radius: 4px;
  border: 1px solid #ccd9cf;
  padding: 8px 9px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.advisor-form textarea {
  resize: vertical;
  min-height: 120px;
}

.advisor-form input:focus,
.advisor-form select:focus,
.advisor-form textarea:focus {
  border-color: #145214;
  box-shadow: 0 0 0 2px rgba(20, 82, 20, 0.12);
}

/* Button */
.advisor-btn {
  align-self: flex-start;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  background: #145214;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(20, 82, 20, 0.35);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.advisor-btn:hover {
  background: #176a1e;
  transform: translateY(-1px);
}

.advisor-note {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: #555;
}

/* Responsive */
@media (max-width: 991px) {
  .hero.programs-hero,
  .hero.advisor-hero {
    margin: 24px auto 12px;
  }

  .advisor-inner {
    padding: 20px 16px 22px;
  }

  .advisor-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero.programs-hero,
  .hero.advisor-hero {
    margin: 16px 0 10px;
  }

  .advisor-inner {
    padding: 16px 12px 18px;
  }

  .advisor-form .form-row {
    flex-direction: column;
  }

  .advisor-btn {
    width: 100%;
    text-align: center;
  }
}


/* ================================
   ABOUT CONSULTANCY SECTION
   ================================ */

.about-consultancy {
  margin: 0 auto;
}

.about-consultancy .about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8f5e9, #ffffff); 
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  min-height: 320px;
}

/* Left: image */
.about-consultancy .about-image {
  flex: 1 1 280px;
  min-width: 260px;
}

.about-consultancy .about-image img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 6px;
}

/* Right: content */
.about-consultancy .about-content {
  flex: 1.5 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-consultancy .about-title {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: #145214;
}

.about-consultancy .about-subtitle {
  margin: 0 0 10px;
  font-size: 0.98rem;
  color: #555;
}

.about-consultancy .about-text {
  margin: 0 0 14px;
  font-size: 0.94rem;
  color: #333;
}

/* Highlights */
.about-consultancy .about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.about-consultancy .highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 4px;
  background: #f4fbf5;
  border: 1px solid #d7e8db;
  font-size: 0.9rem;
  color: #145214;
}

.about-consultancy .highlight i {
  color: #ffd54f;
  font-size: 1rem;
}

/* Button */
.about-consultancy .about-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  background: #145214;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 8px rgba(20, 82, 20, 0.35);
}

.about-consultancy .about-btn:hover {
  background: #176a1e;
  transform: translateY(-1px);
}

/* ================================
   RESPONSIVE - ABOUT CONSULTANCY
   ================================ */

@media (max-width: 991px) {
  .about-consultancy .about-container {
    padding: 18px 16px 20px;
  }
}

@media (max-width: 767px) {
  .about-consultancy .about-container {
    flex-direction: column;
    padding: 16px 12px 18px;
  }

  .about-consultancy .about-image img {
    max-height: 220px;
  }

  .about-consultancy .about-title {
    font-size: 1.4rem;
  }

  .about-consultancy .about-subtitle {
    font-size: 0.9rem;
  }

  .about-consultancy .about-text {
    font-size: 0.9rem;
  }

  .about-consultancy .about-highlights {
    grid-template-columns: 1fr;
  }
}

/* ================================
   PROGRAMS PAGES
   (Online Learning, Courses, Training)
   ================================ */

/* Hero spacing per page */
.hero.online-learning-hero,
.hero.courses-hero,
.hero.training-hero {
  margin: 30px auto 16px;
}

/* Shared wrapper */
.programs-section {
  margin: 0 0 24px;
}

.programs-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Grid for program cards */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

/* Card */
.program-card {
  background: #f7faf8;
  border-radius: 6px;
  border: 1px solid #d7e8db;
  padding: 14px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: #145214;
}

/* Icon */
.program-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #145214;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.program-icon i {
  color: #ffd54f;
  font-size: 1.1rem;
}

/* Text */
.program-card h3 {
  margin: 6px 0 2px;
  font-size: 1rem;
  color: #145214;
}

.program-card p {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: #333;
}

.program-card ul {
  margin: 0 0 4px 18px;
  padding: 0;
  font-size: 0.88rem;
  color: #333;
}

.program-card li {
  margin-bottom: 3px;
}

/* CTA block */
.programs-cta {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid #e3efe5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.programs-cta p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
  max-width: 70%;
}

.programs-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #145214;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(20, 82, 20, 0.35);
  transition: background 0.2s ease, transform 0.15s ease;
}

.programs-btn:hover {
  background: #176a1e;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 991px) {
  .programs-inner {
    padding: 20px 16px 22px;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .programs-cta p {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .hero.online-learning-hero,
  .hero.courses-hero,
  .hero.training-hero {
    margin: 16px 0 10px;
  }

  .programs-inner {
    padding: 16px 12px 18px;
  }

  .program-card {
    padding: 12px 10px 12px;
  }

  .programs-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ================================
   IT SOLUTION DETAIL PAGES
   (Networking, Digital Media, Consultancy)
   ================================ */

/* Slight hero spacing tweak per page */
.hero.networking-hero,
.hero.digital-media-hero,
.hero.consultancy-hero {
  margin: 30px auto 16px;
}

/* Shared section wrapper */
.it-solution-section {
  margin: 0 0 24px;
}

.it-solution-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Grid of offering cards */
.it-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

/* Individual card */
.it-solution-card {
  background: #f7faf8;
  border-radius: 6px;
  border: 1px solid #d7e8db;
  padding: 14px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.it-solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: #145214;
}

/* Icon circle */
.it-solution-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #145214;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.it-solution-icon i {
  color: #ffd54f;
  font-size: 1.1rem;
}

/* Text inside card */
.it-solution-card h3 {
  margin: 6px 0 2px;
  font-size: 1rem;
  color: #145214;
}

.it-solution-card p {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: #333;
}

.it-solution-card ul {
  margin: 0 0 4px 18px;
  padding: 0;
  font-size: 0.88rem;
  color: #333;
}

.it-solution-card li {
  margin-bottom: 3px;
}

/* CTA block at bottom */
.it-solution-cta {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid #e3efe5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.it-solution-cta p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
  max-width: 70%;
}

.it-solution-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #145214;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(20, 82, 20, 0.35);
  transition: background 0.2s ease, transform 0.15s ease;
}

.it-solution-btn:hover {
  background: #176a1e;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 991px) {
  .it-solution-inner {
    padding: 20px 16px 22px;
  }

  .it-solution-grid {
    grid-template-columns: 1fr;
  }

  .it-solution-cta p {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .hero.networking-hero,
  .hero.digital-media-hero,
  .hero.consultancy-hero {
    margin: 16px 0 10px;
  }

  .it-solution-inner {
    padding: 16px 12px 18px;
  }

  .it-solution-card {
    padding: 12px 10px 12px;
  }

  .it-solution-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ================================
   IT SERVICES SECTION
   ================================ */

.services {
  margin: 24px 0 16px;
}

.services-inner {
  /* Fits inside .site-wrapper like hero/about */
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Titles */
.services .section-title {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: #145214;
  text-align: left;
}

.services .section-subtitle {
  margin: 0 0 18px;
  font-size: 0.96rem;
  color: #555;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Individual service card */
.service-item {
  background: #f7faf8;
  border-radius: 6px;
  padding: 16px 14px 18px;
  border: 1px solid #d7e8db;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: #145214;
}

/* Icon */
.service-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #145214;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.service-icon i {
  color: #ffd54f;
  font-size: 1.1rem;
}

/* Text */
.service-item h3 {
  margin: 0;
  font-size: 1rem;
  color: #145214;
}

.service-item p {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: #333;
}

/* Learn more link */
.service-link {
  margin-top: auto;
  font-size: 0.86rem;
  color: #145214;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link i {
  font-size: 0.8rem;
}

.service-link:hover {
  text-decoration: underline;
}

/* Optional simple fade-in effect (can be triggered when JS is added) */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ================================
   RESPONSIVE - IT SERVICES
   ================================ */

/* Tablet */
@media (max-width: 991px) {
  .services-inner {
    padding: 20px 16px 22px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 767px) {
  .services {
    margin: 18px 0 12px;
  }

  .services-inner {
    padding: 16px 12px 18px;
  }

  .services .section-title {
    font-size: 1.4rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    padding: 14px 12px 16px;
  }
}


/* ================================
   CASE STUDIES SECTION
   ================================ */

.case-studies {
  margin: 24px 0 20px;
}

.case-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Titles */
.case-title {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: #145214;
}

.case-subtitle {
  margin: 0 0 18px;
  font-size: 0.96rem;
  color: #555;
}

/* Slider wrapper */
.case-slider-wrapper {
  position: relative;
  overflow: hidden;
}

/* Slider track */
.case-slider {
  display: flex;
  transition: transform 0.4s ease;
}

/* Individual slide */
.case-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 14px 10px 16px;
  display: flex;
  gap: 14px;
}

/* Image */
.case-image {
  flex: 1 1 40%;
  max-width: 40%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d7e8db;
  background: #ddeee0;
}

.case-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
}

/* Content */
.case-content {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-content h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #145214;
}

.case-content p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #333;
}

/* Meta: tag + metric */
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.case-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 14px;
  background: #145214;
  color: #ffffff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-metric {
  font-size: 0.8rem;
  color: #145214;
  background: #e8f5e9;
  border-radius: 12px;
  padding: 3px 10px;
}

/* Link */
.case-link {
  margin-top: auto;
  font-size: 0.86rem;
  color: #145214;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.case-link i {
  font-size: 0.8rem;
}

.case-link:hover {
  text-decoration: underline;
}

/* Navigation arrows */
.case-prev,
.case-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.case-prev {
  left: 8px;
}

.case-next {
  right: 8px;
}

.case-prev:hover,
.case-next:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-50%) scale(1.05);
}

/* Dots */
.case-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.case-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #145214;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.case-dots button.active {
  background: #ffd54f;
  border-color: #ffd54f;
}

/* ================================
   RESPONSIVE - CASE STUDIES
   ================================ */

@media (max-width: 991px) {
  .case-item {
    flex-direction: column;
  }

  .case-image {
    max-width: 100%;
  }

  .case-image img {
    max-height: 220px;
  }
}

@media (max-width: 767px) {
  .case-inner {
    padding: 16px 12px 18px;
  }

  .case-title {
    font-size: 1.4rem;
  }

  .case-item {
    padding: 10px 4px 12px;
  }

  .case-prev,
  .case-next {
    padding: 4px 6px;
    font-size: 0.9rem;
  }
}

/* ================================
   SINGLE CASE STUDY PAGES
   ================================ */

/* Slight spacing tweak for detail pages that reuse case layout */
.hero.case-detail-hero {
  margin: 30px auto 16px;
}

.single-case-section .case-card {
  margin-top: 0;
}

/* ================================
   GLOBAL BUTTON BAR
   ================================ */

.button-bar {
  margin: 0 0 24px;
}

.button-bar-inner {
  padding: 20px 20px 22px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.button-bar-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: #145214;
}

.button-bar-text {
  margin: 0 0 12px;
  font-size: 0.94rem;
  color: #333;
}

.button-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Reuse existing hero buttons */
.button-bar .hero-btn {
  min-width: 180px;
  text-align: center;
}

@media (max-width: 767px) {
  .button-bar-inner {
    padding: 16px 12px 18px;
  }

  .button-bar .hero-btn {
    width: 100%;
  }
}

/* ================================
   INDUSTRIES SERVED SECTION
   ================================ */

.industries-section {
  margin: 24px 0 20px;
}

.industries-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Titles (reuse your section style, but scoped here) */
.industries-inner .section-title {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: #145214;
}

.industries-inner .section-subtitle {
  margin: 0 0 18px;
  font-size: 0.96rem;
  color: #555;
}

/* Grid layout */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Individual industry card */
.industry-card {
  background: #f7faf8;
  border-radius: 6px;
  border: 1px solid #d7e8db;
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: #145214;
}

/* Icon circle */
.industry-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #145214;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.industry-icon i {
  color: #ffd54f;
  font-size: 1.2rem;
}

/* Text */
.industry-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #145214;
}

.industry-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

/* Tag */
.industry-tag {
  margin-top: 4px;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 14px;
  background: #145214;
  color: #ffffff;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ================================
   RESPONSIVE - INDUSTRIES
   ================================ */

@media (max-width: 991px) {
  .industries-inner {
    padding: 20px 16px 22px;
  }

  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .industries-section {
    margin: 18px 0 12px;
  }

  .industries-inner {
    padding: 16px 12px 18px;
  }

  .industries-inner .section-title {
    font-size: 1.4rem;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    padding: 14px 12px 16px;
  }
}

/* ================================
   TECHNOLOGY STACK SECTION
   ================================ */

.tech-stack {
  margin: 24px 0 20px;
}

.tech-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Titles (reuse your section style, but scoped here) */
.tech-inner .section-title {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: #145214;
}

.tech-inner .section-subtitle {
  margin: 0 0 18px;
  font-size: 0.96rem;
  color: #555;
}

/* Slider wrapper */
.tech-slider-wrapper {
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #d7e8db;
  background: #f7faf8;
  padding: 10px 0;
}

/* Slider track */
.tech-slider {
  display: flex;
  align-items: center;
  gap: 36px;
  animation: tech-scroll 25s linear infinite;
}

/* Individual logo cell */
.tech-logo {
  flex: 0 0 auto;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(0.2);
  opacity: 0.9;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.tech-logo img {
  display: block;
  max-height: 42px;
  width: auto;
}

/* Hover effect */
.tech-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

/* Infinite scroll animation */
@keyframes tech-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ================================
   RESPONSIVE - TECH STACK
   ================================ */

@media (max-width: 991px) {
  .tech-inner {
    padding: 20px 16px 22px;
  }

  .tech-slider {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .tech-stack {
    margin: 18px 0 12px;
  }

  .tech-inner {
    padding: 16px 12px 18px;
  }

  .tech-inner .section-title {
    font-size: 1.4rem;
  }

  .tech-logo img {
    max-height: 34px;
  }
}


/* ================================
   INSIGHTS / BLOG SECTION
   ================================ */

.insights-section {
  margin: 24px 0 20px;
}

.insights-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Titles */
.insights-inner .section-title {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: #145214;
}

.insights-inner .section-subtitle {
  margin: 0 0 18px;
  font-size: 0.96rem;
  color: #555;
}

/* Grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Card */
.insight-card {
  background: #f7faf8;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d7e8db;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: #145214;
}

/* Image + overlay */
.insight-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.insight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.35)
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.insight-card:hover .insight-overlay {
  opacity: 1;
}

/* Content */
.insight-content {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
}

/* ================================
   BLOG POST LAYOUT
   ================================ */

.blog-article {
  max-width: 900px;
  margin: 20px auto 10px;
}

/* Hero area */
.blog-hero {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d7e8db;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.blog-hero-image {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
}

.blog-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-hero-content {
  padding: 18px 18px 20px;
}

/* Meta info */
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: #555;
  margin-bottom: 6px;
}

.blog-category {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #145214;
}

.blog-dot {
  color: #aaa;
}

.blog-date,
.blog-readtime {
  color: #666;
}

/* Title and excerpt */
.blog-title {
  margin: 2px 0 6px;
  font-size: 1.8rem;
  line-height: 1.3;
  color: #145214;
}

.blog-excerpt {
  margin: 0;
  font-size: 0.96rem;
  color: #444;
}

/* Main layout: content + sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 18px;
}

/* Main content */
.blog-main {
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #d7e8db;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.blog-content {
  padding: 18px 18px 20px;
  font-size: 0.96rem;
  color: #333;
  line-height: 1.7;
}

.blog-content h2 {
  margin: 16px 0 6px;
  font-size: 1.3rem;
  color: #145214;
}

.blog-content p {
  margin: 0 0 10px;
}

.blog-content ul {
  margin: 0 0 12px 18px;
  padding: 0;
}

.blog-content li {
  margin-bottom: 4px;
}

/* Callout box inside content */
.blog-callout {
  margin: 16px 0 8px;
  padding: 12px 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8f5e9, #ffffff);
  border: 1px solid #c7e2cd;
}

.blog-callout h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: #145214;
}

.blog-callout p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #444;
}

.blog-cta-btn {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #145214;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(20, 82, 20, 0.35);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-cta-btn:hover {
  background: #176a1e;
  transform: translateY(-1px);
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-sidebar-card {
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #d7e8db;
  padding: 12px 14px 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.blog-sidebar-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #145214;
}

.blog-sidebar-card p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #555;
}

.blog-sidebar-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-sidebar-card ul li {
  margin-bottom: 4px;
}

.blog-sidebar-card ul li a {
  font-size: 0.9rem;
  color: #145214;
  text-decoration: none;
}

.blog-sidebar-card ul li a:hover {
  text-decoration: underline;
}

.blog-sidebar-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #145214;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.blog-sidebar-btn:hover {
  background: #176a1e;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 991px) {
  .blog-article {
    margin: 14px auto 8px;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .blog-sidebar-card {
    flex: 1 1 220px;
  }
}

@media (max-width: 767px) {
  .blog-hero-image {
    max-height: 220px;
  }

  .blog-hero-content {
    padding: 14px 12px 16px;
  }

  .blog-title {
    font-size: 1.5rem;
  }

  .blog-content {
    padding: 14px 12px 16px;
    font-size: 0.94rem;
  }

  .blog-layout {
    gap: 14px;
  }
}



/* ================================
   MEET OUR TECHNICAL TEAM - SLIDER
   ================================ */

.team-slider-section {
  margin: 24px 0 20px;
}

.team-slider-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Headings (consistent with other sections) */
.team-slider-section .section-title {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: #145214;
}

.team-slider-section .section-subtitle {
  margin: 0 0 18px;
  font-size: 0.96rem;
  color: #555;
}

/* Track wrapper */
.team-track-wrapper {
  overflow: hidden;
  position: relative;
}

/* Horizontal sliding track */
.team-track {
  display: flex;
  gap: 22px;
  padding: 6px 0;
  animation: team-scroll 40s linear infinite;
}

/* Pause on hover – CSS part (JS will also help) */
.team-track:hover {
  animation-play-state: paused;
}

/* Team card */
.team-card {
  flex: 0 0 auto;
  width: 230px;              /* smaller like your original */
  background: #f7faf8;
  border-radius: 8px;
  border: 1px solid #d7e8db;
  padding: 14px 12px 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 82, 20, 0.06),
    rgba(255, 213, 79, 0.06)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  border-color: #145214;
}

.team-card:hover::before {
  opacity: 1;
}

/* Photo */
.team-photo-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 3px solid #145214;
  overflow: hidden;
  background: #ddeee0;
}

.team-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.team-card:hover .team-photo-wrapper img {
  transform: scale(1.06);
}

/* Text */
.team-name {
  margin: 4px 0 2px;
  font-size: 1rem;
  font-weight: 600;
  color: #145214;
}

.team-role {
  margin: 0 0 8px;
  font-size: 0.86rem;
  color: #555;
}

/* Social icons row */
.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateY(0);
}

/* Individual icon */
.team-social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #145214;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffd54f;
  font-size: 0.78rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.team-social a:hover {
  background: #ffd54f;
  color: #145214;
  transform: translateY(-1px);
}

/* Scrolling animation */
@keyframes team-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* move left by half the track width because we duplicated cards */
    transform: translateX(-50%);
  }
}

/* ================================
   TEAM PAGE (GRID LAYOUT)
   ================================ */

.hero.team-hero {
  margin: 30px auto 16px;
}

.team-page-section {
  margin: 0 0 24px;
}

.team-page-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Grid layout for team cards */
.team-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

/* Card */
.team-page-card {
  background: #f7faf8;
  border-radius: 8px;
  border: 1px solid #d7e8db;
  padding: 14px 12px 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.team-page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 82, 20, 0.06),
    rgba(255, 213, 79, 0.06)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.team-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  border-color: #145214;
}

.team-page-card:hover::before {
  opacity: 1;
}

/* Photo */
.team-page-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 3px solid #145214;
  overflow: hidden;
  background: #ddeee0;
}

.team-page-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.team-page-card:hover .team-page-photo img {
  transform: scale(1.06);
}

/* Text */
.team-page-name {
  margin: 4px 0 2px;
  font-size: 1rem;
  font-weight: 600;
  color: #145214;
}

.team-page-role {
  margin: 0 0 8px;
  font-size: 0.86rem;
  color: #555;
}

.team-page-bio {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #333;
}

/* Social icons */
.team-page-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.team-page-social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #145214;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffd54f;
  font-size: 0.78rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.team-page-social a:hover {
  background: #ffd54f;
  color: #145214;
  transform: translateY(-1px);
}

/* Note text under grid */
.team-page-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive */
@media (max-width: 991px) {
  .team-page-inner {
    padding: 20px 16px 22px;
  }

  .team-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hero.team-hero {
    margin: 16px 0 10px;
  }

  .team-page-inner {
    padding: 16px 12px 18px;
  }

  .team-page-grid {
    grid-template-columns: 1fr;
  }

  .team-page-card {
    padding: 12px 10px 10px;
  }

  .team-page-photo {
    width: 100px;
    height: 100px;
  }
}

/* ================================
   FAQS PAGE + ACCORDION
   ================================ */

.hero.faqs-hero {
  margin: 30px auto 16px;
}

.faqs-section {
  margin: 0 0 24px;
}

.faqs-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Category titles */
.faqs-category-title {
  margin: 10px 0 6px;
  font-size: 1.2rem;
  color: #145214;
  border-left: 3px solid #145214;
  padding-left: 8px;
}

/* Accordion container */
.faqs-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Single item */
.faqs-item {
  border-radius: 6px;
  border: 1px solid #d7e8db;
  overflow: hidden;
  background: #f7faf8;
}

/* Header button */
.faqs-header {
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: none;
  background: #f0f7f1;
  color: #145214;
  font-size: 0.96rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.faqs-header span {
  flex: 1;
}

.faqs-icon {
  margin-left: 10px;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

/* Open header */
.faqs-item.open .faqs-header {
  background: #145214;
  color: #ffffff;
}

.faqs-item.open .faqs-icon {
  transform: rotate(180deg);
}

/* Body (collapsible) */
.faqs-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 12px;
  background: #ffffff;
  transition: max-height 0.25s ease, padding-top 0.25s ease, padding-bottom 0.25s ease;
}

.faqs-item.open .faqs-body {
  padding-top: 8px;
  padding-bottom: 10px;
}

/* Content inside body */
.faqs-body p {
  margin: 0 0 8px;
  font-size: 0.94rem;
  color: #333;
}

.faqs-body ul {
  margin: 0 0 8px 18px;
  padding: 0;
  font-size: 0.94rem;
  color: #333;
}

.faqs-body li {
  margin-bottom: 4px;
}

/* Closing note */
.faqs-closing-note {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f4fbf5;
  border: 1px solid #c7e2cd;
  font-size: 0.9rem;
  color: #333;
}

.faqs-closing-note a {
  color: #145214;
  font-weight: 600;
  text-decoration: none;
}

.faqs-closing-note a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .faqs-inner {
    padding: 20px 16px 22px;
  }

  .faqs-header {
    font-size: 0.94rem;
  }
}

@media (max-width: 767px) {
  .hero.faqs-hero {
    margin: 16px 0 10px;
  }

  .faqs-inner {
    padding: 16px 12px 18px;
  }

  .faqs-header {
    padding: 8px 10px;
  }

  .faqs-body p,
  .faqs-body ul {
    font-size: 0.9rem;
  }
}


/* ================================
   RESPONSIVE - TEAM SLIDER
   ================================ */

@media (max-width: 991px) {
  .team-slider-inner {
    padding: 20px 16px 22px;
  }

  .team-track {
    gap: 18px;
    animation-duration: 35s;
  }

  .team-card {
    width: 210px;
  }
}

@media (max-width: 767px) {
  .team-slider-section {
    margin: 18px 0 12px;
  }

  .team-slider-inner {
    padding: 16px 12px 18px;
  }

  .team-slider-section .section-title {
    font-size: 1.4rem;
  }

  .team-track {
    gap: 14px;
    animation-duration: 30s;
  }

  .team-card {
    width: 190px;
    padding: 12px 10px 10px;
  }

  .team-photo-wrapper {
    width: 100px;
    height: 100px;
  }
}


/* ================================
   CONTACT SECTION
   ================================ */

.contact-section {
  margin: 24px 0 20px;
}

.contact-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Headings */
.contact-section .section-title {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: #145214;
}

.contact-section .section-subtitle {
  margin: 0 0 18px;
  font-size: 0.96rem;
  color: #555;
}

/* Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
}

/* Form */
.contact-form {
  background: #f7faf8;
  border-radius: 6px;
  border: 1px solid #d7e8db;
  padding: 16px 14px 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #145214;
}

.form-group input,
.form-group textarea {
  border-radius: 4px;
  border: 1px solid #ccd9cf;
  padding: 8px 9px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s ease,
              box-shadow 0.18s ease,
              background-color 0.18s ease;
  background: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #145214;
  box-shadow: 0 0 0 2px rgba(20, 82, 20, 0.12);
  background: #ffffff;
}

/* Button */
.contact-btn {
  margin-top: 10px;
  border: none;
  border-radius: 4px;
  padding: 9px 16px;
  background: #145214;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease,
              transform 0.15s ease,
              box-shadow 0.15s ease;
}

.contact-btn:hover {
  background: #0f3c10;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.contact-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.contact-note {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #555;
}

/* Right column: info + socials + map */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Info items */
.contact-info {
  border-radius: 6px;
  border: 1px solid #d7e8db;
  background: #f7faf8;
  padding: 12px 12px 10px;
}

.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
}

.contact-item + .contact-item {
  border-top: 1px solid #e3efe5;
  margin-top: 4px;
  padding-top: 10px;
}

.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #145214;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: #ffd54f;
  font-size: 0.9rem;
}

.contact-item h3 {
  margin: 0 0 2px;
  font-size: 0.9rem;
  color: #145214;
}

.contact-item p {
  margin: 0;
  font-size: 0.86rem;
  color: #333;
}

/* Social block */
.contact-social-block {
  border-radius: 6px;
  border: 1px solid #d7e8db;
  padding: 10px 12px 12px;
  background: #ffffff;
}

.contact-social-block h3 {
  margin: 0 0 4px;
  font-size: 0.96rem;
  color: #145214;
}

.contact-social-block p {
  margin: 0 0 8px;
  font-size: 0.86rem;
  color: #555;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #145214;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffd54f;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease,
              color 0.2s ease,
              transform 0.2s ease;
}

.contact-social a:hover {
  background: #ffd54f;
  color: #145214;
  transform: translateY(-1px);
}

/* Map placeholder */
.contact-map-placeholder {
  border-radius: 6px;
  border: 1px solid #d7e8db;
  padding: 10px 12px 12px;
  background: #f7faf8;
}

.contact-map-placeholder p {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: #145214;
  font-weight: 600;
}

.map-box {
  border-radius: 4px;
  border: 1px dashed #b7ccb9;
  padding: 16px;
  text-align: center;
  font-size: 0.86rem;
  color: #666;
  background: #ffffff;
}

.map-box iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 4px;
}

/* ================================
   RESPONSIVE - CONTACT
   ================================ */

@media (max-width: 991px) {
  .contact-inner {
    padding: 20px 16px 22px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-right {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
  }

  .contact-info,
  .contact-social-block,
  .contact-map-placeholder {
    flex: 1 1 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .contact-section {
    margin: 18px 0 12px;
  }

  .contact-inner {
    padding: 16px 12px 18px;
  }

  .contact-section .section-title {
    font-size: 1.4rem;
  }

  .contact-layout {
    gap: 16px;
  }

  .contact-right {
    flex-direction: column;
  }
}


/* ================================
   HISTORY PAGE
   ================================ */

/* Slight tweak so hero has a bit less margin on this page if you like */
.hero.history-hero {
  margin: 30px auto 16px;
}

/* History container */
.history-section {
  margin: 0 0 24px;
}

.history-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Individual content blocks */
.history-block {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #d7e8db;
}

.history-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.history-block h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  color: #145214;
}

.history-block p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #333;
}

.history-block ul {
  margin: 0 0 10px 18px;
  padding: 0;
  font-size: 0.95rem;
  color: #333;
}

.history-block li {
  margin-bottom: 4px;
}

/* Subtle highlight for final closing paragraph */
.history-closing {
  margin-top: 6px;
  padding: 10px 12px;
  border-left: 3px solid #145214;
  background: #f4fbf5;
  border-radius: 4px;
  font-weight: 500;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .history-inner {
    padding: 20px 16px 22px;
  }

  .history-block h2 {
    font-size: 1.35rem;
  }
}

@media (max-width: 767px) {
  .hero.history-hero {
    margin: 16px 0 10px;
  }

  .history-inner {
    padding: 16px 12px 18px;
  }

  .history-block h2 {
    font-size: 1.25rem;
  }

  .history-block p,
  .history-block ul {
    font-size: 0.92rem;
  }
}

/* ================================
   HISTORY PAGE + ACCORDION
   ================================ */

.hero.history-hero {
  margin: 30px auto 16px;
}

.history-section {
  margin: 0 0 24px;
}

.history-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Accordion container */
.history-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Single item */
.history-item {
  border-radius: 6px;
  border: 1px solid #d7e8db;
  overflow: hidden;
  background: #f7faf8;
}

/* Header button */
.history-header {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: none;
  background: #f0f7f1;
  color: #145214;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.history-header span {
  flex: 1;
}

.history-icon {
  margin-left: 10px;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

/* Open header */
.history-item.open .history-header {
  background: #145214;
  color: #ffffff;
}

.history-item.open .history-icon {
  transform: rotate(180deg);
}

/* Body (collapsible) */
.history-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  background: #ffffff;
  transition: max-height 0.25s ease, padding-top 0.25s ease, padding-bottom 0.25s ease;
}

.history-item.open .history-body {
  padding-top: 10px;
  padding-bottom: 12px;
}

/* Content inside body */
.history-body p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #333;
}

.history-body ul {
  margin: 0 0 10px 18px;
  padding: 0;
  font-size: 0.95rem;
  color: #333;
}

.history-body li {
  margin-bottom: 4px;
}

/* Closing highlight */
.history-closing {
  margin-top: 6px;
  padding: 10px 12px;
  border-left: 3px solid #145214;
  background: #f4fbf5;
  border-radius: 4px;
  font-weight: 500;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .history-inner {
    padding: 20px 16px 22px;
  }

  .history-header {
    font-size: 0.96rem;
  }
}

@media (max-width: 767px) {
  .hero.history-hero {
    margin: 16px 0 10px;
  }

  .history-inner {
    padding: 16px 12px 18px;
  }

  .history-header {
    padding: 9px 10px;
  }

  .history-body p,
  .history-body ul {
    font-size: 0.92rem;
  }
}

/* ================================
   MISSION PAGE + ACCORDION
   ================================ */

.hero.mission-hero {
  margin: 30px auto 16px;
}

.mission-section {
  margin: 0 0 24px;
}

.mission-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Accordion container */
.mission-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Single item */
.mission-item {
  border-radius: 6px;
  border: 1px solid #d7e8db;
  overflow: hidden;
  background: #f7faf8;
}

/* Header button */
.mission-header {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: none;
  background: #f0f7f1;
  color: #145214;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.mission-header span {
  flex: 1;
}

.mission-icon {
  margin-left: 10px;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

/* Open header */
.mission-item.open .mission-header {
  background: #145214;
  color: #ffffff;
}

.mission-item.open .mission-icon {
  transform: rotate(180deg);
}

/* Body (collapsible) */
.mission-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  background: #ffffff;
  transition: max-height 0.25s ease, padding-top 0.25s ease, padding-bottom 0.25s ease;
}

.mission-item.open .mission-body {
  padding-top: 10px;
  padding-bottom: 12px;
}

/* Content inside body */
.mission-body p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #333;
}

.mission-body ul {
  margin: 0 0 10px 18px;
  padding: 0;
  font-size: 0.95rem;
  color: #333;
}

.mission-body li {
  margin-bottom: 4px;
}

/* Closing highlight */
.mission-closing {
  margin-top: 6px;
  padding: 10px 12px;
  border-left: 3px solid #145214;
  background: #f4fbf5;
  border-radius: 4px;
  font-weight: 500;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .mission-inner {
    padding: 20px 16px 22px;
  }

  .mission-header {
    font-size: 0.96rem;
  }
}

@media (max-width: 767px) {
  .hero.mission-hero {
    margin: 16px 0 10px;
  }

  .mission-inner {
    padding: 16px 12px 18px;
  }

  .mission-header {
    padding: 9px 10px;
  }

  .mission-body p,
  .mission-body ul {
    font-size: 0.92rem;
  }
}

/* ================================
   VISION PAGE + ACCORDION
   ================================ */

.hero.vision-hero {
  margin: 30px auto 16px;
}

.vision-section {
  margin: 0 0 24px;
}

.vision-inner {
  padding: 24px 20px 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Accordion container */
.vision-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Single item */
.vision-item {
  border-radius: 6px;
  border: 1px solid #d7e8db;
  overflow: hidden;
  background: #f7faf8;
}

/* Header button */
.vision-header {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: none;
  background: #f0f7f1;
  color: #145214;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.vision-header span {
  flex: 1;
}

.vision-icon {
  margin-left: 10px;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

/* Open header */
.vision-item.open .vision-header {
  background: #145214;
  color: #ffffff;
}

.vision-item.open .vision-icon {
  transform: rotate(180deg);
}

/* Body (collapsible) */
.vision-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  background: #ffffff;
  transition: max-height 0.25s ease, padding-top 0.25s ease, padding-bottom 0.25s ease;
}

.vision-item.open .vision-body {
  padding-top: 10px;
  padding-bottom: 12px;
}

/* Content inside body */
.vision-body p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #333;
}

.vision-body ul {
  margin: 0 0 10px 18px;
  padding: 0;
  font-size: 0.95rem;
  color: #333;
}

.vision-body li {
  margin-bottom: 4px;
}

/* Closing highlight */
.vision-closing {
  margin-top: 6px;
  padding: 10px 12px;
  border-left: 3px solid #145214;
  background: #f4fbf5;
  border-radius: 4px;
  font-weight: 500;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .vision-inner {
    padding: 20px 16px 22px;
  }

  .vision-header {
    font-size: 0.96rem;
  }
}

@media (max-width: 767px) {
  .hero.vision-hero {
    margin: 16px 0 10px;
  }

  .vision-inner {
    padding: 16px 12px 18px;
  }

  .vision-header {
    padding: 9px 10px;
  }

  .vision-body p,
  .vision-body ul {
    font-size: 0.92rem;
  }
}


/* ================================
   FOOTER (LEGACY BRAIN)
   ================================ */
.site-footer {
  background: #0f3c10;
  color: #ffffff;
  position: relative;
  margin-top: 20px;
  border-top: 1px solid #1f4c1f;
}

.footer-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 20px;
}

/* Row 1 */
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-col {
  flex: 1 1 220px;
}

/* Company info */
.footer-logo-wrapper {
  margin-bottom: 8px;
}

.footer-logo {
  height: 50px;
  width: auto;
}

.company-info h3 {
  margin: 4px 0 8px;
  font-size: 1.1rem;
  color: #ffffff;
}

.company-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #dfe8df;
}

/* Links columns */
.footer-links h4,
.footer-newsletter h4 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffd54f;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 4px;
}

.footer-links ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

/* Newsletter */
.footer-newsletter p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #e0f2e9;
}

.footer-newsletter form {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 10px;
}

.footer-newsletter input[type="email"] {
  flex: 1;
  padding: 6px 8px;
  border-radius: 4px;
  border: none;
  outline: none;
  font-size: 0.9rem;
}

.footer-newsletter button {
  padding: 6px 12px;
  border-radius: 4px;
  border: none;
  background: #ffd54f;
  color: #145214;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.footer-newsletter button:hover {
  background: #f0c53b;
}

/* Footer social icons */
.footer-newsletter .social-icons {
  display: flex;
  gap: 8px;
}

.footer-newsletter .social-icons a {
  color: #ffffff;
  font-size: 0.9rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-newsletter .social-icons a:hover {
  background: #ffd54f;
  color: #145214;
  transform: translateY(-1px);
}

/* Row 2: bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #dfe8df;
}

.footer-bottom-links a {
  color: #ffd54f;
  text-decoration: none;
  margin-left: 10px;
  font-size: 0.86rem;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
}

/* Back to top button */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #145214;
  color: #ffffff;
  cursor: pointer;
  display: none; /* hidden by default, shown via JS when scrolling */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 100;
}

#backToTop i {
  font-size: 0.9rem;
}

/* Show button class (JS can toggle this) */
#backToTop.show {
  display: inline-flex;
}

/* Responsive footer */
@media (max-width: 767px) {
  .footer-box {
    padding: 18px 12px 16px;
  }

  .footer-row {
    gap: 18px;
  }

  .footer-newsletter form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-newsletter button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 0;
  }

  #backToTop {
    right: 12px;
    bottom: 12px;
  }
}

/* ================================
   GLOBAL BUTTON BAR
   ================================ */

.button-bar {
  margin: 0 0 24px;
}

.button-bar-inner {
  padding: 20px 20px 22px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d7e8db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.button-bar-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: #145214;
}

.button-bar-text {
  margin: 0 0 12px;
  font-size: 0.94rem;
  color: #333;
}

.button-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Reuse existing hero buttons */
.button-bar .hero-btn {
  min-width: 180px;
  text-align: center;
}

@media (max-width: 767px) {
  .button-bar-inner {
    padding: 16px 12px 18px;
  }

  .button-bar .hero-btn {
    width: 100%;
  }
}