/* =============================================
   IAI Redesign — buildbig.com aesthetic clone
   ============================================= */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 25px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* === CSS VARIABLES === */
:root {
  --drk-blue:    #061a33;
  --mid-blue:    #212c42;
  --green:       #0db14b;
  --light-blue:  #aae1ff;
  --dim-grey:    #505e78;
  --cornflower:  #8298c0;
  --white:       #ffffff;
  --whitesmoke:  whitesmoke;
  --black:       #1d1d1d;
  --max-w:       1200px;
}

/* ===========================
   GLOBAL NAVIGATION
   =========================== */
.glonav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  transition: background 0.3s ease;
}
.glonav.transparent {
  background-color: transparent;
  background-image: linear-gradient(rgba(0,24,51,0.8), rgba(0,24,51,0));
}
.glonav.scrolled {
  background-color: var(--drk-blue);
  background-image: none;
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav-left {
  width: 33.333%;
  padding: 20px 40px;
}
.nav-center {
  width: 33.333%;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.nav-center img {
  height: 50px;
  width: auto;
}
.nav-right {
  width: 33.333%;
  display: flex;
  justify-content: flex-end;
  padding: 20px 40px;
}

/* Hamburger Button */
.hamburg-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 50px;
  height: 50px;
  padding: 0;
  position: relative;
  z-index: 10001;
}
.hamburg-btn .line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  border-radius: 1px;
}
.hamburg-btn .line-2 { width: 18px; }
.hamburg-btn:hover .line-2 { width: 24px; }
.hamburg-btn.active .line-1 {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburg-btn.active .line-2 {
  opacity: 0;
  width: 0;
}
.hamburg-btn.active .line-3 {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   FULLSCREEN NAV OVERLAY
   =========================== */
.primarynav {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--drk-blue);
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.primarynav.open {
  opacity: 1;
  visibility: visible;
}
.nav-overlay-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, #212c42 21%, rgba(5,8,14,0.52) 78%, rgba(33,44,66,0));
}
.nav-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
}
.nav-links-col {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
}
.nav-featured-col {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px;
}
.prinavlink {
  display: block;
  font-family: 'Exo', sans-serif;
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 400;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.3;
  padding: 10px 20px;
  transition: color 0.2s ease-in-out;
  letter-spacing: 3px;
}
.prinavlink:hover { color: var(--green); }

/* Nav featured project card */
.nav-featured {
  width: 100%;
  max-width: 400px;
}
.nav-featured-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.nav-featured-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 16px;
}
.nav-featured-name {
  font-family: 'Exo', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.nav-featured-loc {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: var(--cornflower);
  margin-top: 4px;
}

/* ===========================
   HERO SECTION
   =========================== */
.home-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 12s ease-out;
}
.hero-bg-img.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle farthest-corner at 50% 50%, transparent, var(--drk-blue) 89%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px;
  width: 100%;
  height: 100%;
}
.hero-heading {
  font-family: 'Exo', sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 3px;
  margin-bottom: 24px;
}
.hero-subhead {
  font-family: 'Lato', sans-serif;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  text-transform: uppercase;
  max-width: 700px;
  letter-spacing: 3px;
}

/* ===========================
   FEATURED PROJECTS SLIDER
   =========================== */
.slider-section {
  position: relative;
  background-color: var(--mid-blue);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.slider-viewport {
  position: relative;
  width: 100%;
  min-height: 100vh;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 55%, transparent 10%, rgba(0,24,51,0.5) 75%);
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.slide-heading {
  font-family: 'Exo', sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.25rem);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 3px;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-address {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 4px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.slide.active .slide-heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}
.slide.active .slide-address {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}
@media (prefers-reduced-motion: reduce) {
  .slide-heading,
  .slide-address {
    transition: opacity 0.3s ease;
    transform: none;
  }
  .slide.active .slide-heading,
  .slide.active .slide-address {
    transition-delay: 0s;
  }
}
.slide-link {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  border: 2px solid var(--whitesmoke);
  border-radius: 50%;
  background: rgba(6,26,51,0.4);
  color: var(--white);
  font-size: 2.5rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.slide-link:hover {
  background: var(--drk-blue);
  padding-left: 8px;
}
.slide-link::after {
  content: '\2192';
}

/* Slider Tabs */
.slider-tabs {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.slider-tab {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  padding: 20px 10px;
  margin: 0 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  color: rgba(255,255,255,0.7);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  transition: opacity 0.2s ease, color 0.2s ease;
  -webkit-user-select: none;
  user-select: none;
}
.slider-tab.active {
  opacity: 1;
  color: var(--white);
}
.slider-tab:hover { opacity: 0.8; }
.load-bar-base {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.15);
}
.load-bar {
  width: 0%;
  height: 100%;
  background: var(--green);
}
.slider-tab.active .load-bar {
  animation: loadProgress 6s linear forwards;
}
@keyframes loadProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* View All button */
.view-all-wrap {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 40px;
}
.view-all-link {
  border: 1px solid var(--green);
  background: var(--drk-blue);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 40px;
  line-height: 1;
  transition: all 0.25s ease;
  box-shadow: 0 5px 7px 3px rgba(0,0,0,0.2);
  display: inline-block;
}
.view-all-link:hover {
  background: var(--green);
  color: var(--white);
}

/* ===========================
   SECTION SHARED STYLES
   =========================== */
.section { padding: 120px 15px 60px; }
.container-full {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 15px;
}
.align-center { text-align: center; margin: 0 auto; width: 70%; }
.headline {
  font-family: 'Exo', sans-serif;
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--mid-blue);
  line-height: 1.15;
  letter-spacing: 1.5px;
}
.headline-white { color: var(--white); }
.hr-green {
  background: var(--green);
  width: 100%;
  max-width: 550px;
  height: 2px;
  margin: 30px auto;
  border: none;
}
.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.body-text {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  color: var(--dim-grey);
}
.body-text.center { text-align: center; }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 12px 30px;
  border: 1px solid var(--green);
  transition: background-color 0.4s, color 0.4s;
  cursor: pointer;
  line-height: 1;
  font-size: 13px;
}
.btn.dark-line {
  background: transparent;
  color: var(--mid-blue);
}
.btn.dark-line:hover {
  background: var(--drk-blue);
  color: var(--white);
}
.btn.white-line {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn.white-line:hover {
  background: var(--white);
  color: var(--mid-blue);
}

/* Slide-fill CTA button */
.cta-btn-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: 1px solid var(--green);
  background: var(--drk-blue);
  padding: 15px 30px;
  cursor: pointer;
  text-decoration: none;
}
.cta-btn-text {
  position: relative;
  z-index: 2;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.4s;
}
.cta-btn-fill {
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: translateX(-101%);
  transition: transform 0.4s ease;
}
.cta-btn-wrap:hover .cta-btn-fill { transform: translateX(0); }

/* ===========================
   ABOUT / WELCOME SECTION
   =========================== */
#welcome-about {
  padding: 120px 15px 80px;
}
#welcome-about .align-center {
  max-width: 800px;
}

/* ===========================
   PORTFOLIO GRID (Home)
   =========================== */
.home-projects {
  background: var(--white);
  padding: 100px 0 60px;
}
.section-header {
  max-width: var(--max-w);
  margin: 0 auto 52px;
  padding: 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.portfolio-row {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.portfolio-card-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 5px;
  background: var(--mid-blue);
}
.portfolio-card-link .portfolio-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio-card-link:hover .portfolio-image {
  transform: scale(1.06);
}
.portfolio-hover {
  position: absolute;
  inset: 0;
  margin: 20px;
  background: rgba(6,26,51,0.88);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.portfolio-card-link:hover .portfolio-hover { opacity: 1; }
.portfolio-heading {
  font-family: 'Exo', sans-serif;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 14px;
  transform: translateY(20px);
  transition: transform 0.35s ease;
}
.portfolio-card-link:hover .portfolio-heading { transform: translateY(0); }
.portfolio-class {
  display: inline-block;
  border: 1px solid var(--green);
  padding: 8px 22px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  transform: translateY(20px);
  transition: transform 0.35s ease 0.05s;
}
.portfolio-card-link:hover .portfolio-class { transform: translateY(0); }

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  background: #111d35;
  padding: 100px 20px;
  text-align: center;
}
.cta-heading {
  font-family: 'Exo', sans-serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 36px;
}

/* ===========================
   CLIENT LOGOS
   =========================== */
.clients-section {
  background: var(--white);
  padding: 60px 0;
}
.clients-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.client-cell {
  width: 33.333%;
  height: 120px;
  border: 1px solid #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 30px;
}
.client-cell span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c0c0c0;
  transition: color 0.3s;
  text-align: center;
}
.client-cell img {
  max-height: 55px;
  max-width: 160px;
  object-fit: contain;
  filter: none;
}

/* ===========================
   FOOTER
   =========================== */
.bottom-footer {
  border-top: 1px solid var(--light-blue);
  background: var(--drk-blue);
  padding: 30px 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.ft-third {
  width: 33.333%;
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ft-third:first-child { justify-content: flex-start; }
.ft-third:last-child { justify-content: flex-end; }
.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e4ecf6;
  border-radius: 50%;
  margin: 0 5px;
  opacity: 0.55;
  transition: opacity 0.3s;
  color: #e4ecf6;
  font-size: 16px;
}
.social-icon:hover { opacity: 1; }
.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.ft-logo img {
  height: 55px;
  width: auto;
  opacity: 0.9;
}
.copyright {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  line-height: 26px;
  color: rgba(255,255,255,0.55);
  text-align: right;
}
.copyright a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.copyright a:hover { color: var(--white); }

/* ===========================
   INNER PAGE HERO
   =========================== */
.page-hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 0.8s ease;
}
.page-hero-bg.loaded { transform: scale(1); }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,26,51,0.92) 0%, rgba(6,26,51,0.45) 55%, rgba(6,26,51,0.28) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 64px 64px;
  width: 100%;
}
.page-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.page-title {
  font-family: 'Exo', sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.page-location {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===========================
   PROJECT PAGES
   =========================== */
.project-intro {
  padding: 80px 0;
  background: var(--white);
}
.project-intro-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px;
}
.project-description {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--dim-grey);
}
.project-sections { padding-bottom: 100px; }
.project-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 72px;
}
.project-section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}
.project-img-full {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}
.project-two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 3px;
}
.project-two-up img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.project-nav {
  background: #f4f6f9;
  padding: 48px 0;
}
.project-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.project-nav-link {
  font-family: 'Exo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--drk-blue);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.project-nav-link:hover { color: var(--green); }

/* ===========================
   ABOUT PAGE
   =========================== */
.about-intro-section {
  background: var(--drk-blue);
  padding: 140px 40px 88px;
}
.about-intro-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.about-quote {
  font-family: 'Exo', sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: 2px;
  max-width: 900px;
  margin-bottom: 40px;
}
.about-quote span { color: var(--green); }
.about-body-text {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.68);
  line-height: 1.85;
  max-width: 720px;
}
.about-stats-row {
  display: flex;
  gap: 60px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.about-stat .stat-num {
  font-family: 'Exo', sans-serif;
  font-size: 56px;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
}
.about-stat .stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
}

/* Team Section */
.team-section {
  background: var(--white);
  padding: 100px 0;
}
.team-section .section-header {
  max-width: var(--max-w);
  margin: 0 auto 52px;
  padding: 0 40px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.team-card {
  position: relative;
  overflow: hidden;
  background: var(--mid-blue);
}
.team-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s ease;
  filter: grayscale(15%);
}
.team-card:hover .team-card-img {
  transform: scale(1.04);
  filter: grayscale(0%);
}
.team-card-meta {
  padding: 16px;
  background: var(--white);
  border-left: 3px solid var(--green);
}
.team-card-name {
  font-family: 'Exo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--drk-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.team-card-role {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: var(--dim-grey);
  margin-top: 3px;
}

/* About Clients */
.about-clients {
  background: var(--drk-blue);
  padding: 100px 0;
}
.about-clients .container-full { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.about-clients .section-label { color: var(--green); }
.about-clients .headline { color: var(--white); }
.clients-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}
.client-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(13,177,75,0.08);
  border: 1px solid var(--green);
  padding: 12px 22px;
  transition: all 0.3s ease;
}

/* ===========================
   WHAT WE DO PAGE
   =========================== */
.wwd-section { padding: 88px 0; }
.wwd-section:nth-child(even) { background: #f4f6f9; }
.wwd-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.wwd-inner.reverse { direction: rtl; }
.wwd-inner.reverse > * { direction: ltr; }
.wwd-img { width: 100%; height: 440px; object-fit: cover; display: block; }
.wwd-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.wwd-title {
  font-family: 'Exo', sans-serif;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  color: var(--drk-blue);
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1.5px;
}
.wwd-body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--dim-grey);
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
  background: var(--white);
  padding: 80px 0;
}
.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 40px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dim-grey);
}
.form-input, .form-textarea {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: var(--black);
  background: #f4f6f9;
  border: none;
  border-bottom: 2px solid #ddd;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-input:focus, .form-textarea:focus {
  border-bottom-color: var(--green);
  background: var(--white);
}
.form-textarea { resize: vertical; min-height: 140px; }

/* ===========================
   404 PAGE
   =========================== */
.not-found {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--drk-blue);
  text-align: center;
  padding: 40px;
}
.not-found-num {
  font-family: 'Exo', sans-serif;
  font-size: 180px;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: -40px;
}
.not-found-msg {
  font-family: 'Exo', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.not-found-sub {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.fade-in.in { opacity: 1; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ===========================
   WHY IAI (Home)
   =========================== */
.why-iai {
  background: var(--white);
  padding: 100px 0 60px;
}
.why-iai .section-header {
  max-width: var(--max-w);
  margin: 0 auto 52px;
  padding: 0 40px;
}
.why-iai-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.why-iai-card {
  padding: 0;
}
.why-iai-icon {
  width: 52px;
  height: 52px;
  color: var(--green);
  margin-bottom: 24px;
}
.why-iai-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.why-iai-title {
  font-family: 'Exo', sans-serif;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 600;
  color: var(--drk-blue);
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.why-iai-body {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--dim-grey);
}

/* ===========================
   STATS BAND (Home)
   =========================== */
.stats-band {
  background: var(--drk-blue);
  padding: 80px 40px;
}
.stats-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-tile {
  text-align: center;
  padding: 0 10px;
}
.stat-num {
  font-family: 'Exo', sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 500;
  color: var(--green);
  line-height: 1;
  letter-spacing: 1px;
}
.stat-num-sm {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 2px;
  vertical-align: top;
  position: relative;
  top: 0.1em;
}
.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
}

/* ===========================
   SERVICE CATEGORIES GRID (Home)
   =========================== */
.services-home {
  background: var(--white);
  padding: 100px 0 60px;
}
.services-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.service-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 5px;
  background: var(--mid-blue);
}
.service-card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img {
  transform: scale(1.06);
}
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,26,51,0.92) 0%, rgba(6,26,51,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: background 0.35s ease;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(6,26,51,0.95) 0%, rgba(6,26,51,0.5) 60%, rgba(6,26,51,0.2) 100%);
}
.service-card-title {
  font-family: 'Exo', sans-serif;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.service-card-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===========================
   SLIDER DOTS (replaces tabs)
   =========================== */
.slider-dots {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 0 40px;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.slider-dot.active {
  background: var(--green);
  border-color: var(--green);
}
.slider-dot:hover {
  border-color: var(--white);
}

/* ===========================
   OUR TEAM PAGE (Centre Style)
   =========================== */
.team-intro {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 40px 0;
  text-align: center;
}
.team-intro .body-text {
  margin-top: 20px;
}
.team-clean-section {
  background: var(--white);
  padding: 80px 0 100px;
}
.team-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.team-solo-center {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 40px;
}
.team-solo-center .team-clean-card {
  grid-column: 2;
}
.team-clean-card {
  text-align: center;
}
.team-clean-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 4px;
}
.team-clean-name {
  font-family: 'Exo', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--drk-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 18px;
}
.team-clean-role {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: var(--dim-grey);
  margin-top: 4px;
}
.team-clean-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.team-clean-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 50%;
  color: var(--dim-grey);
  transition: all 0.2s;
}
.team-clean-links a:hover {
  border-color: var(--green);
  color: var(--green);
}
.team-clean-links svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.team-group-label {
  max-width: var(--max-w);
  margin: 0 auto 30px;
  padding: 0 40px;
}
.team-group-label h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
}

/* ===========================
   GALLERY PAGE
   =========================== */
.gallery-filters {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 40px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.gallery-filter-btn {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim-grey);
  background: transparent;
  border: 1px solid #ddd;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: var(--drk-blue);
  color: var(--white);
  border-color: var(--drk-blue);
}
.gallery-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 30px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-grid.gallery-grid-few {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.gallery-grid.gallery-grid-few .gallery-item {
  width: 33.333%;
  flex-shrink: 0;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--mid-blue);
}
.gallery-item {
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(6,26,51,0.8) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
/* Lightbox */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
  padding: 40px;
}
.gallery-lightbox.active {
  display: flex;
}
.gallery-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
}
.gallery-lightbox-close:hover {
  color: var(--green);
}

.gallery-item-cat {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
}

/* ===========================
   TEAM MEMBER BIO PAGE
   =========================== */
.member-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px 100px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.member-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
}
.member-info .member-name {
  font-family: 'Exo', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  color: var(--drk-blue);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 1.5px;
}
.member-info .member-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 8px;
}
.member-bio {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--dim-grey);
  margin-top: 30px;
}
.member-contact {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.member-contact a {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: var(--dim-grey);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.member-contact a:hover { color: var(--green); }
.member-contact svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ===========================
   SERVICE CATEGORY SECTIONS (What We Do)
   =========================== */
.service-hero-section {
  position: relative;
  height: 50vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.service-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.service-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6,26,51,0.55);
}
.service-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px;
}
.service-hero-title {
  font-family: 'Exo', sans-serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.service-hero-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.service-desc-section {
  padding: 80px 40px;
  max-width: 900px;
  margin: 0 auto;
}
.service-desc-section p {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--dim-grey);
  text-align: center;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (min-width: 1440px) {
  .slide-heading { font-size: 7rem; }
  .portfolio-card-link .portfolio-image { height: 360px; }
}

@media (max-width: 991px) {
  .nav-featured-col { display: none; }
  .nav-links-col { width: 100%; padding: 80px 40px; align-items: center; text-align: center; }
  .prinavlink { font-size: 40px; }
  .portfolio-row { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stats-band { padding: 60px 30px; }
  .why-iai-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-clean-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 20px; }
  .wwd-inner, .wwd-inner.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .slider-tabs { flex-wrap: wrap; }
  .slider-tab { width: 160px; font-size: 12px; }
  .slide-heading { font-size: 3rem; }
  .slide-link { width: 80px; height: 80px; font-size: 1.8rem; }
  .bottom-footer { flex-direction: column; gap: 24px; padding: 40px 30px; }
  .ft-third { width: 100%; justify-content: center !important; min-height: auto; }
  .copyright { text-align: center; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .client-cell { width: 50%; }
  .about-stats-row { gap: 40px; }
  .page-hero-content { padding: 0 40px 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .member-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-hero-section { height: 40vh; min-height: 280px; }
}

@media (max-width: 767px) {
  .nav-left { display: none; }
  .nav-center { width: 50%; justify-content: flex-start; padding-left: 24px; }
  .nav-right { width: 50%; padding-right: 24px; }
  .nav-center img { height: 38px; }
  .portfolio-row { grid-template-columns: 1fr; padding: 0 20px; }
  .portfolio-card-link .portfolio-image { height: 260px; }
  .services-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .service-card-img { height: 240px; }
  .why-iai-grid { grid-template-columns: 1fr; padding: 0 20px 40px; gap: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
  .team-clean-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; padding: 0 20px; }
  .team-group-label { padding: 0 20px; }
  .slider-tabs { display: none; }
  .slider-viewport { min-height: 70vh; }
  .slide { padding: 0 24px; }
  .slide-link { width: 60px; height: 60px; font-size: 1.4rem; }
  .section-header { padding: 0 20px; }
  .section { padding: 80px 15px 40px; }
  .align-center { width: 90%; }
  .headline { font-size: clamp(32px, 7vw, 52px); }
  .cta-heading { font-size: clamp(28px, 5vw, 40px); }
  .client-cell { width: 50%; height: 90px; }
  .bottom-footer { padding: 30px 20px; }
  .project-two-up { grid-template-columns: 1fr; }
  .wwd-inner { padding: 0 24px; }
  .page-hero-content { padding: 0 24px 40px; }
  .about-intro-section { padding: 120px 24px 60px; }
  .about-stats-row { gap: 30px; }
  .about-stat .stat-num { font-size: 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); padding: 20px 20px 60px; }
  .gallery-filters { padding: 40px 20px 16px; }
  .gallery-item img { height: 220px; }
  .service-hero-section { height: 35vh; min-height: 240px; }
  .service-desc-section { padding: 50px 24px; }
  .team-intro { padding: 60px 24px 0; }
}

@media (max-width: 479px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-clean-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .stats-band-inner { grid-template-columns: 1fr; gap: 30px; }
  .stats-band { padding: 50px 24px; }
  .client-cell { width: 100%; }
  .prinavlink { font-size: 32px; }
  .hero-heading { font-size: clamp(40px, 10vw, 60px); }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 260px; }
  .services-grid { gap: 16px; }
  .service-card-img { height: 200px; }
  .slider-dots { gap: 10px; padding: 16px 0 30px; }
  .slider-dot { width: 10px; height: 10px; }
}
