/* ================= THEME ================= */
:root {
  --primary-blue: #001D87;
  --accent-blue: #0173FF;
  --light-bg: #F5F7FB;
  --dark-text: #0A0A0A;
 
}



/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background: var(--light-bg);
  color: var(--dark-text);
  scroll-behavior: smooth;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  padding: 0 60px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(245, 247, 251, 0.96);
  backdrop-filter: blur(6px);

  transition: all 0.35s ease;
  z-index: 1000;
}

.navbar.scrolled {
  height: 65px;
}

/* LOGO */
.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo {
  height: 58px;
  width: auto;
  transition: height 0.3s ease;
}

.navbar.scrolled .site-logo {
  height: 42px;
}

/* BRAND TEXT */
.brand-text h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.1;
  color: var(--primary-blue);
}

.inn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--accent-blue);
}

/* NAV LINKS */
nav a {
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  color: var(--primary-blue);
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* BUTTONS */
.cta-btn,
.primary-btn,
.secondary-btn {
  padding: 12px 26px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: var(--accent-blue);
  color: white;
  transition: all 0.3s ease;
}

.cta-btn:hover,
.primary-btn:hover,
.secondary-btn:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

/* ================= HERO ================= */
/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;              /* IMPORTANT */
  display: flex;
  align-items: center;

  padding: 0 80px;                /* horizontal only */
  padding-top: 90px;              /* navbar height offset */

  color: #ffffff;
  overflow: hidden;
}

/* BACKGROUND LAYERS (CROSSFADE) */
.hero-bg {
  position: absolute;
  inset: 0;

  background-size: cover;         /* CRITICAL */
  background-position: center;    /* CRITICAL */
  background-repeat: no-repeat;

  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  z-index: 1;
}

.hero-bg.active {
  opacity: 1;
}

/* NEUTRAL OVERLAY */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 26px;
}



/* ================= SPLIT ================= */
.split-section {
  display: flex;
  min-height: 80vh;
}

/* LEFT IMAGE — SMALLER */
.image-box {
  background: url("images/why-bg.jpg") center / cover no-repeat;
}
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT TEXT — LARGER */
.text-box {
  flex: 1.6;                 /* 👈 dominant section */
  padding: 100px 120px;
}

/* ================= CARDS ================= */
.cards-section {
  padding: 120px 80px 60px; /* less bottom space */
  text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: white;
  width: 280px;
  height: 320px;
  border-radius: 20px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  font-size: 20px;
  border-bottom: 4px solid var(--primary-blue);
}

/* ================= WHY US ================= */
.why-us {
  padding: 120px 80px;
  background: #EEF2FF;
}

.features {
  display: flex;
  gap: 30px;
  margin-top: 50px;
}

.feature {
  background: white;
  padding: 40px;
  border-radius: 20px;
  flex: 1;
  border-left: 4px solid var(--accent-blue);
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--primary-blue);
  color: #DCE3FF;
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 0 80px 60px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
}

.footer-col p,
.footer-col ul li a {
  font-size: 14px;
  color: #DCE3FF;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  text-align: center;
  font-size: 13px;
}

/* ================= HOVER EFFECT ================= */
.hover-pop {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-pop:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.fade-hidden {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
}

.fade-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}


.cards {
  display: flex;
  gap: 20px;
}
.cards {
  display: flex;
  gap: 25px;
}

.card {
  position: relative;
   width: 380px;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #000; /* fallback while image loads */
}

/* Image fills entire card 100% */
.card img {
  position: absolute;
  inset: 0;               /* TOP FIX */
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Dark gradient for text readability */
/* REMOVE BLUE OVERLAY FROM CARDS */
.card::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.2),
    transparent
  );
}

/* Text on image */
.card-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hover-pop {
  transition: transform 0.3s ease;
}

.hover-pop:hover {
  transform: translateY(-8px);
}

.hover-pop:hover img {
  transform: scale(1.08);
}
/* ================= CAPABILITIES ================= */

.capabilities {
  padding: 40px 80px 120px; /* pull it up */
}

/* Tabs */
.cap-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.cap-btn {
  padding: 12px 28px;
  border-radius: 30px;
  border: 2px solid var(--accent-blue);
  background: transparent;
  color: var(--primary-blue);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cap-btn.active,
.cap-btn:hover {
  background: var(--accent-blue);
  color: white;
}

/* Panels */
.cap-content {
  max-width: 1200px;
  margin: auto;
}

.cap-panel {
  display: none;
  animation: fadeSlide 0.6s ease;
}

.cap-panel.active {
  display: block;
}

/* Text */
.cap-text {
  max-width: 600px;
  margin-bottom: 40px;
}

.cap-text h3 {
  font-size: 28px;
  margin-bottom: 14px;
  color: var(--primary-blue);
}

.cap-text p {
  font-size: 16px;
  line-height: 1.7;
}

/* Images */
.cap-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cap-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}

/* Animation */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================= CONTACT POPUP ================= */

.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

.contact-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.contact-popup {
  background: white;
  width: 380px;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.contact-overlay.active .contact-popup {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.contact-popup h3 {
  margin-bottom: 25px;
  color: var(--primary-blue);
}

/* Icons */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 30px;
}

.contact-icons .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-icons .icon:hover {
  transform: translateY(-4px);
}

/* Phone */
.contact-phone p {
  font-size: 14px;
  color: #555;
}

.contact-phone a {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
}

/* ================= ABOUT PAGE ================= */
/* paste the About CSS here, at the very bottom */
/* ================= ABOUT PAGE ================= */

.about-section {
  padding: 140px 80px 120px;
  background: #ffffff;
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-header h1 {
  font-size: 42px;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.about-tagline {
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
}

.about-content {
  max-width: 900px;
  margin: auto;
}

.about-intro {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 50px;
  color: #333;
}

.about-block {
  margin-bottom: 50px;
}

.about-block h2 {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--primary-blue);
}

.about-block p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
  color: #444;
}

.about-points {
  list-style: none;
  padding-left: 0;
}

.about-points li {
  padding-left: 24px;
  margin-bottom: 12px;
  position: relative;
  font-size: 16px;
  color: #333;
}

.about-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

.about-closing {
  font-size: 17px;
  line-height: 1.8;
  font-weight: 500;
  color: #222;
  margin-top: 40px;
}

/* ================= IMAGE ZOOM & POPUP ================= */

/* Hover zoom */
.cap-images img {
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cap-images img:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Popup overlay */
.image-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 3000;
}

.image-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Popup image */
.image-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  animation: zoomIn 0.3s ease;
}

/* Animation */
@keyframes zoomIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* ================= CLIENT LOGOS (NAME + LOGO) ================= */

.client-logos {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 45px;
}

.client-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 26px;
  text-align: center;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Client name */
.client-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 18px;
  line-height: 1.4;
}

/* LOGO – BIGGER & FULL COLOR */
.client-item img {
  max-width: 200px;     /* BIGGER */
  max-height: 90px;     /* BIGGER */
  width: auto;
  height: auto;
  object-fit: contain;

  filter: none;         /* ❌ NO BLACK & WHITE */
  opacity: 1;

  transition: transform 0.3s ease;
}

/* Subtle hover (no gimmicks) */
.client-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.client-item:hover img {
  transform: scale(1.05);
}

/* Mobile tuning */
@media (max-width: 768px) {
  .client-item img {
    max-width: 170px;
    max-height: 80px;
  }
}
/* ================= LEADERSHIP TEAM ================= */

.about-subtitle {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 40px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.leader-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 34px 30px;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.leader-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 6px;
}

.leader-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 18px;
}

.leader-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}
/* =========================================================
   GLOBAL MICRO-POLISH
   ========================================================= */

body {
  background: linear-gradient(
    180deg,
    #f6f8ff 0%,
    #ffffff 35%,
    #f6f8ff 100%
  );
}

/* Smooth font rendering */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   HERO ENHANCEMENTS
   ========================================================= */

.hero h1 {
  animation: heroFadeUp 1s ease forwards;
}

.hero p {
  animation: heroFadeUp 1.2s ease forwards;
}

.hero .primary-btn {
  animation: heroFadeUp 1.4s ease forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* subtle floating background */
.hero-bg {
  animation: slowZoom 18s linear infinite;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* =========================================================
   SPLIT SECTION POLISH
   ========================================================= */

/* CLEAN SPLIT SECTION – NO BLUE */
.split-section {
  background: #ffffff;
}

.image-box {
  background-image: url("your-image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.text-box::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--accent-blue),
    var(--primary-blue)
  );
  border-radius: 4px;
}

/* =========================================================
   SERVICE CARDS – PREMIUM EFFECT
   ========================================================= */

.card {
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.card::after {
  background: linear-gradient(
    to top,
    rgba(0,29,135,0.7),
    rgba(1,115,255,0.25),
    transparent
  );
}

.card-text {
  text-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

/* =========================================================
   CAPABILITY TABS – ENTERPRISE FEEL
   ========================================================= */

.cap-tabs {
  position: static;   /* default */
  margin-bottom: 30px;
}

.cap-btn {
  position: static;
}

.cap-btn:hover {
  box-shadow: inset 0 -3px 0 0 var(--accent-blue);
}

/* =========================================================
   CAPABILITY IMAGES – DEPTH
   ========================================================= */

.cap-images img {
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
  border-radius: 18px;
}

/* =========================================================
   FOOTER SOFT DEPTH
   ========================================================= */

.site-footer {
  background: linear-gradient(
    135deg,
    #00134f,
    #001d87
  );
}
/* ================= CRAZY 3D SERVICE CARDS ================= */

.cards {
  perspective: 1200px;
}

.card {
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.15),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  box-shadow: 0 40px 80px rgba(0,0,0,0.35);
}
/* ================= HEADING ANIMATIONS ================= */

/* Base heading animation */
h1, h2 {
  position: relative;
  overflow: hidden;
}

/* Initial state */
h1 span,
h2 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: headingReveal 0.8s ease forwards;
}

/* Stagger delay for words */
h1 span:nth-child(n),
h2 span:nth-child(n) {
  animation-delay: calc(var(--i) * 0.08s);
}

/* Reveal animation */
@keyframes headingReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animated underline for h2 */
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0%;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--accent-blue),
    var(--primary-blue)
  );
  animation: underlineGrow 0.8s ease forwards;
  animation-delay: 0.6s;
}

@keyframes underlineGrow {
  to {
    width: 80px;
  }
}
* {
  font-family: "Manrope", sans-serif;
}
nav a.active {
  color: #0173FF;
  font-weight: 700;
}

nav a.active::after {
  width: 100%;
}
.why-text {
  max-width: 620px;
}

.why-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #001D87;
}

.why-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
}

.why-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 32px;
}

.why-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 18px;
  font-size: 15.5px;
  line-height: 1.7;
}

.why-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0173FF;
  font-weight: 600;
}

.why-footer {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 34px;
}
/* SHARED SECTION HEADING */
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #001D87;
  margin-bottom: 16px;
  text-align: center;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  text-align: center;
}
/* PROJECT IMAGE SLIDESHOW (WHY SECTION) */
/* WHY SECTION IMAGE SLIDESHOW */
/* WHY SECTION IMAGE SLIDESHOW — FIXED */
.image-box {
  position: relative;
  width: 100%;
  min-height: 460px; /* THIS IS THE MAIN FIX */
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.project-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 6s ease;
}

/* Active slide */
.project-bg.active {
  opacity: 1;
  transform: scale(1.04); /* subtle cinematic zoom */
}

/* WHY SECTION IMAGE BOX */
.split-section .image-box {
  position: relative;
  flex: 0.9;              /* smaller than text */
  min-height: 380px;      /* 🔽 reduced from big height */
  max-height: 420px;
  overflow: hidden;
  border-radius: 18px;
}
/* WHY SECTION IMAGE POSITION */
.split-section .image-box {
  margin-top: 250px;        /* 🔽 pushes image lower */
  align-self: flex-start; /* keeps text aligned nicely */
}
/* REMOVE BLUE DIVIDER LINE */
.split-section .image-box::before,
.split-section .image-box::after,
.split-section::before,
.split-section::after {
  display: none !important;
}

.split-section .image-box {
  border: none !important;
}
/* IMAGE BOX SIZE – 4:3 RATIO */
.split-section .image-box {
  position: relative;
  width: 100%;
  max-width: 750px;        /* controls image width */
  aspect-ratio: 4 / 4;    /* ✅ 4:3 ratio */
  margin-top:250px;       /* pushes image down */
  overflow: hidden;
  border-radius: 18px;
}

/* PROJECT SLIDES */
.project-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.project-bg.active {
  opacity: 1;
}
/* FORCE REMOVE ANY BLUE LINE / DIVIDER */
.split-section,
.split-section * {
  border-left: none !important;
  border-right: none !important;
}

.split-section::before,
.split-section::after,
.image-box::before,
.image-box::after,
.text-box::before,
.text-box::after {
  display: none !important;
  content: none !important;
}
.project-bg {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}
/* ================= PROJECT GALLERY ================= */

.project-block {
  margin-bottom: 60px;
}

.project-block h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-block p {
  font-size: 15px;
  color: #555;
  margin-bottom: 18px;
}

/* Gallery row */
.project-gallery {
  display: flex;
  gap: 18px;
}

/* Images */
.project-gallery img {
  width: calc(33.333% - 12px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;

  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Hover popup animation */
.project-gallery img:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
/* ================= LIGHTBOX ================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 2000;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 14px;
  animation: zoomIn 0.35s ease;
}

.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

@keyframes zoomIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* ================= LEADERSHIP CARDS ================= */
/* ================= LEADERSHIP SECTION ================= */
/* ================= LEADERSHIP SECTION ================= */

/* Header: photo + name */
.leader-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

/* FORCE 200px SQUARE CROP */
.leader-photo {
  width: 200px;
  height: 200px;

  min-width: 200px;
  min-height: 200px;

  object-fit: cover;        /* crops image */
  object-position: center; /* keeps face centered */

  border-radius: 8px;      /* square with soft edges */
  border: 2px solid #e6e6e6;
}

/* Name */
.leader-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

/* Role */
.leader-role {
  margin-top: 6px;
  font-size: 15px;
  color: #555;
}
/* ================= MOBILE NAVBAR ================= */
@media (max-width: 900px) {

  .navbar {
    padding: 0 20px;
    height: 70px;
  }

  nav {
    display: none; /* hide desktop nav */
  }

  .cta-btn {
    padding: 10px 14px;
    font-size: 14px;
  }

  .site-logo {
    height: 42px;
  }
}
@media (max-width: 900px) {

  .hero {
    min-height: auto;
    padding: 120px 20px 80px;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 15px;
  }

  .primary-btn {
    width: 100%;
    margin-top: 16px;
  }
}
@media (max-width: 900px) {

  .split-section {
    flex-direction: column;
  }

  .image-box {
    height: 240px;
  }

  .text-box {
    padding: 30px 20px;
  }
}
@media (max-width: 900px) {

  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    height: 260px;
  }
}
@media (max-width: 900px) {

  .cap-panel {
    flex-direction: column;
  }

  .cap-images {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .cap-images img {
    width: 100%;
  }
}
@media (max-width: 900px) {

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-logo img {
    height: 90px;
  }
}
/* =========================================================
   GLOBAL VISUAL POLISH (NO LOGIC CHANGE)
   ========================================================= */

body {
  line-height: 1.65;
}

section {
  position: relative;
}

/* =========================================================
   HERO — CLEANER, MORE PREMIUM
   ========================================================= */

.hero {
  min-height: 100vh;
  padding: 140px 80px 80px;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
}

.hero p {
  font-size: 16px;
  max-width: 620px;
}

/* =========================================================
   WHY SECTION — FIX IMAGE + BALANCE
   ========================================================= */

.split-section {
  gap: 80px;
  padding: 120px 80px;
  align-items: center;
}

.split-section .image-box {
  flex: 1;
  min-height: 420px;
  max-height: 420px;
  margin-top: 0;
  border-radius: 20px;
}

.project-bg {
  border-radius: 20px;
}

.text-box {
  flex: 1.2;
  padding: 0;
}

.why-title {
  font-size: 34px;
}

.why-list li {
  font-size: 15px;
}

/* =========================================================
   CORE CAPABILITY CARDS — BALANCED SIZE
   ========================================================= */

.cards {
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  width: 340px;
  height: 240px;
}

.card-text {
  font-size: 20px;
}

/* =========================================================
   CAPABILITIES — LESS EMPTY SPACE
   ========================================================= */

.capabilities {
  padding-top: 80px;
}

.cap-text h3 {
  font-size: 26px;
}

.cap-images img {
  height: 200px;
}

/* =========================================================
   PROJECT GALLERY — CLEAN GRID
   ========================================================= */

.project-gallery {
  margin-top: 18px;
  flex-wrap: wrap;
}

.project-gallery img {
  width: 220px;
  height: 150px;
}

/* =========================================================
   FOOTER — BETTER BREATHING SPACE
   ========================================================= */

.site-footer {
  margin-top: 120px;
}

.footer-top {
  gap: 40px;
}

/* =========================================================
   MOBILE RESPONSIVENESS (CRITICAL)
   ========================================================= */

@media (max-width: 900px) {

  /* NAVBAR */
  .navbar {
    padding: 0 20px;
    height: 70px;
  }

  nav {
    display: none;
  }

  /* HERO */
  .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 26px;
  }

  /* WHY SECTION */
  .split-section {
    flex-direction: column;
    padding: 80px 20px;
  }

  .split-section .image-box {
    width: 100%;
    min-height: 260px;
    max-height: 260px;
  }

  /* CARDS */
  .cards {
    flex-direction: column;
  }

  .card {
    width: 100%;
    height: 220px;
  }

  /* CAPABILITIES */
  .cap-images {
    grid-template-columns: 1fr;
  }

  .cap-images img {
    height: 220px;
  }

  /* PROJECT GALLERY */
  .project-gallery {
    gap: 12px;
  }

  .project-gallery img {
    width: 100%;
    height: auto;
  }

  /* FOOTER */
  .footer-top {
    grid-template-columns: 1fr;
    padding: 0 20px 40px;
  }
}

/* =========================================
   FIX EXTRA SPACE ABOVE CORE CAPABILITIES
   ========================================= */

/* Reduce top padding of cards section */
.cards-section {
  padding-top: 60px !important;   /* was too large */
}

/* Reduce bottom spacing of WHY section */
.split-section {
  padding-bottom: 60px !important;
}

/* Remove extra margin from section heading */
.cards-section .section-title,
.cards-section h2 {
  margin-top: 0 !important;
}
@media (max-width: 900px) {
  .cards-section {
    padding-top: 40px !important;
  }

  .split-section {
    padding-bottom: 40px !important;
  }
}
/* =========================================
   FIX EXTRA SPACE BELOW LAST 3 IMAGES
   ========================================= */

/* Remove extra bottom margin from capability panels */
.cap-panel {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Tighten image grid spacing */
.cap-images {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Reduce gap after capabilities section */
.capabilities {
  padding-bottom: 60px !important;
}
@media (max-width: 900px) {
  .capabilities {
    padding-bottom: 40px !important;
  }

  .cap-images {
    gap: 18px !important;
  }
}
/* =========================================
   MOBILE NAVIGATION
   ========================================= */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 26px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 3px;
  transition: 0.3s;
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;

  box-shadow: 0 15px 40px rgba(0,0,0,0.15);

  transform: translateY(-120%);
  transition: transform 0.35s ease;
  z-index: 999;
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav a {
  padding: 14px 0;
  width: 100%;
  text-align: center;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* ================= MOBILE BREAKPOINT ================= */

@media (max-width: 900px) {

  nav {
    display: none; /* hide desktop nav */
  }

  .mobile-menu-btn {
    display: flex;
  }
}
/* ================= MOBILE FIX: LEADERSHIP CARDS ================= */
@media (max-width: 768px) {

  /* Stack image above text */
  .leader-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  /* Reduce image size for mobile */
  .leader-photo {
    width: 150px;
    height: 150px;
  }

  /* Prevent text overflow */
  .leader-header > div {
    width: 100%;
    min-width: 0;
  }

  /* Ensure text wraps properly */
  .leader-card h3,
  .leader-role,
  .leader-desc {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Add breathing room inside card */
  .leader-card {
    padding: 24px 20px;
  }
}
/* ================= MOBILE LEADERSHIP CENTER FIX ================= */
@media (max-width: 768px) {

  /* Center the whole card */
  .leader-card {
    text-align: center;
  }

  /* Stack image + name vertically */
  .leader-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Image spacing */
  .leader-photo {
    margin-bottom: 16px;
  }

  /* Name */
  .leader-card h3 {
    text-align: center;
  }

  /* Role */
  .leader-role {
    text-align: center;
  }

  /* Description text */
  .leader-desc {
    text-align: center;
  }
}/* ================= HARD MOBILE CENTER FIX ================= */
@media (max-width: 768px) {

  /* Force about section to be centered */
  .about-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* THIS is the main fix */
  .about-content {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Leadership grid */
  .leadership-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Leadership card */
  .leader-card {
    width: 100%;
    max-width: 360px;
    text-align: center;
  }

  /* Stack header properly */
  .leader-header {
    flex-direction: column;
    align-items: center;
  }

  /* Center image */
  .leader-photo {
    display: block;
    margin: 0 auto 16px auto;
  }

  /* Center all text */
  .leader-card h3,
  .leader-role,
  .leader-desc {
    text-align: center;
  }
}


@keyframes heroTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
