/* =========================================================
   INDEX PAGE — CONTENT ONLY
   (NO HN BAR / NO VN BAR / NO FOOTER / NO LAYOUT)
========================================================= */

/* ===============================
   CONTENT AREA
================================ */
.content {
  margin-top: 0;
  padding: 0;
}

/* ===============================
   TICL MOVING SLIDER
================================ */
.ticl-slider {
  position: relative;
  z-index: 4000;
  margin-top: 35px;
}

/* ===============================
   FIXED SLIDER OVERLAY TEXT
================================ */
.slider-overlay-text {
  position: absolute;
  top: 20px;
  left: 35px;
  max-width: 550px;
  padding: 22px 26px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(48px);
  color: var(--white);
  border-radius: 14px;
  z-index: 7000;
  pointer-events: none;
}

/* ===============================
   OVERLAY ANIMATION
================================ */
.animate-overlay {
  opacity: 0;
  transform: translateY(14px);
  animation: overlayFadeSlide 0.9s ease-out forwards;
}

@keyframes overlayFadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   OVERLAY CTA BUTTONS
================================ */
.overlay-cta {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  pointer-events: auto;
}

.overlay-cta .btn {
  display: inline-block;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 22px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
  pointer-events: auto;
}

.overlay-cta .btn.primary {
  background: var(--primary);
  color: var(--white);
}

.overlay-cta .btn.secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.overlay-cta .btn:hover {
  transform: translateY(-2px);
}

.overlay-cta .btn.primary:hover {
  background: var(--primary-dark, #163a6e);
  box-shadow: 0 6px 14px rgba(29, 143, 203, 0.45);
}

.overlay-cta .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: var(--white);
}

.overlay-cta .btn:active {
  transform: translateY(0);
}

/* Overlay text styles */
.slider-overlay-text h1 {
  margin: 0 0 12px 0;
  font-size: 26px;
  line-height: 1.25;
  color: var(--primary, #1D8FCB);
}

.slider-overlay-text p {
  margin: 0 0 10px 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-light, #e0e0e0);
}

.slider-overlay-text .overlay-note {
  margin-top: 8px;
  font-size: 13.5px;
  font-style: italic;
  color: var(--text-soft, #cccccc);
}

/* ===============================
   SLIDER TRACK
================================ */
.slider-track {
  display: flex;
  width: max-content;
  padding-top: 25px;
  gap: 20px;
}

/* ===============================
   SLIDE ITEM
================================ */
.slide-item {
  width: 420px;
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius-md, 12px);
  background: transparent;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md, 12px);
}

.slide-item.active {
  box-shadow: var(--shadow-slide, 0 8px 24px rgba(0, 0, 0, 0.2));
  z-index: 10;
}

.slide-item.is-selected {
  transform: translateY(-20px) scale(1.03);
  z-index: 5000;
}

.ticl-slider.faded .slide-item:not(.is-selected) {
  opacity: 0.25;
  filter: grayscale(70%);
}

.ticl-slider.faded .slide-item.is-selected {
  opacity: 1 !important;
  filter: none !important;
  z-index: 6001;
}

.slider-dim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 3000;
  display: none;
}

.slider-dim.active {
  display: block;
}

/* ===============================
   SLIDER ARROWS
================================ */
.slider-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.next {
  left: 25px;
}

.slider-arrow.prev {
  right: 12px;
}


/* ===============================
   HOME PAGE HERO
================================ */
.page-hero {
  background-color: var(--primary, #1D8FCB);
  color: #ffffff;
  padding: 55px 30px;
  border-radius: 12px;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.home-hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.6);
  letter-spacing: 0.2px;
}

.btn-hero-primary:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

/* MPYA — Bright White background, Brand colour text */
.btn-hero-secondary {
  display: inline-block;
  background: #ffffff;
  color: var(--primary, #1D8FCB);
  border: 1.5px solid #ffffff;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-hero-secondary:hover {
  background: var(--gold-light, #F0C06A);
  color: var(--primary, #1D8FCB);
  border-color: var(--gold-light, #F0C06A);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(240, 192, 106, 0.4);
}

/* ===============================
   STATS BAR
================================ */
/*
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border-bottom: 3px solid #000000;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
}

.stat {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid rgba(11, 37, 69, 0.12);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary, #1D8FCB);
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: #5a6378;
  margin-top: 4px;
  letter-spacing: 0.3px;
}
  */


/* ===============================
   HOME SECTIONS
================================ */
.home-section {
  padding: 40px 0 30px;
}

.home-section-alt {
  background: var(--light-bg, #f4f8fb);
  padding: 40px 0 40px;
  /* ← left/right padding sifuri kama .home-section */
  border-radius: 12px;
  margin-top: 10px;
}

/* ===============================
   HOME SECTION LABEL
================================ */
.home-section-label,
.home-section .home-section-label,
.home-section-alt .home-section-label,
.page-hero .home-section-label {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--dark, #003366);
  margin-bottom: 10px;
  line-height: 1.3;
}

.section-sub {
  font-size: 15px;
  color: #5a6378;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 8px;
}


/* ===============================
   SERVICES GRID
================================ */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.home-svc-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(11, 37, 69, 0.12);
  padding: 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.home-svc-card:hover {
  border-color: var(--gold, #C9922A);
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.10);
}

.svc-icon-wrap {
  font-size: 28px;
  margin-bottom: 14px;
}

.svc-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--dark, #003366);
  margin-bottom: 12px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.home-svc-card:hover .svc-title {
  color: var(--primary, #1D8FCB);
}

.svc-desc {
  font-size: 0.95em;
  color: var(--text-main);
  line-height: 1.6;
}

.svc-desc {
  font-size: 0.95em;
  color: var(--text-main, #5a6378);
  line-height: 1.6;
}

/* =========================================================
   WHY US — CARD GRID (matches home-services-grid style)
========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.why-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(11, 37, 69, 0.12);
  padding: 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.why-card:hover {
  border-color: var(--gold, #C9922A);
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.10);
}

.why-card-img-wrap {
  width: 90px;
  height: 90px;
  min-width: 90px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0;
  background: rgba(201, 146, 42, 0.10);
  flex-shrink: 0;
}

.why-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.why-card:hover .why-card-img {
  transform: scale(1.08);
}

.why-card h4 {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--dark, #003366);
  margin-bottom: 12px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.why-card:hover h4 {
  color: var(--primary, #1D8FCB);
}

.why-card p {
  font-size: 0.95em;
  color: var(--text-main);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 700px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   CTA BAND
================================ */
.cta-band {
  background-color: var(--primary, #1D8FCB);
  padding: 52px 2rem;
  text-align: center;
  border-radius: 12px;
  margin-top: 20px;
  margin-bottom: 25px;
}

.cta-band h2 {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-band p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: #ffffff;
  color: var(--primary, #1D8FCB);
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--light-bg, #def1f9);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ===============================
   REVEAL ANIMATION (Home)
================================ */
body.home .reveal-up {
  opacity: 0;
  transform: translateY(55px);
  transition:
    opacity .9s ease,
    transform .9s ease;
}

body.home .reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

body.home .delay-1 {
  transition-delay: .1s;
}

body.home .delay-2 {
  transition-delay: .25s;
}

body.home .delay-3 {
  transition-delay: .4s;
}

body.home .delay-4 {
  transition-delay: .55s;
}

body.home .delay-5 {
  transition-delay: .7s;
}

/* =========================================================
   ACCESSIBILITY + MICRO-INTERACTIONS
========================================================= */
.overlay-cta .btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.overlay-cta .btn:focus:not(:focus-visible) {
  outline: none;
}

.overlay-cta .btn {
  position: relative;
  overflow: hidden;
}

.overlay-cta .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.overlay-cta .btn:active::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {

  .overlay-cta .btn,
  .animate-overlay,
  .slide-item,
  .slider-arrow {
    animation: none !important;
    transition: none !important;
  }
}


/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1000px) {
  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /*
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  } */
}

@media (max-width: 700px) {

  .ticl-slider {
    margin-top: 35px;
  }

  .slider-track {
    padding-top: 20px;
    gap: 14px;
  }

  .slide-item {
    width: 300px;
    height: 220px;
  }

  .slider-overlay-text {
    top: 20px;
    left: 20px;
    right: 20px;
    max-width: unset;
    padding: 18px;
  }

  .slider-overlay-text h1 {
    font-size: 20px;
  }

  .slider-overlay-text p {
    font-size: 13.5px;
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .home-services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .section-title {
    font-size: 24px;
  }

  .cta-band {
    padding: 36px 1.25rem;
  }

  .cta-band h2 {
    font-size: 24px;
  }
}

@media (hover: none) and (pointer: coarse) {

  .overlay-cta .btn:active,
  .slider-arrow:active {
    background-color: rgba(255, 255, 255, 0.2);
  }
}

/* ===============================
   SVC ICON LINK (Home Services Grid)
   — Wraps icon in <a> linking to services.php
================================ */

.svc-icon-wrap.svc-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: rgba(201, 146, 42, 0.1);
  border-radius: 10px;
  font-size: 24px;
  margin-bottom: 0;
  text-decoration: none;
  color: var(--dark, #003366);
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

.home-svc-card:hover .svc-icon-wrap.svc-icon-link {
  background: rgba(201, 146, 42, 0.22);
  color: var(--primary, #1D8FCB);
  transform: scale(1.08);
}

.svc-icon-wrap.svc-icon-link i {
  font-size: 40px;
  pointer-events: none;
}

/* ===============================
   BRAND MODEL HIGHLIGHT
   (KSAAB Model / PEQA Model)
================================ */
.brand-model {
  color: var(--primary, #1D8FCB);
  /* brand blue — visible on dark overlay */
  font-weight: 700;
  letter-spacing: 0.3px;
}

.slider-overlay-text .highlight-word {
  color: #ffffff;
  font-weight: 700;
}