/* Site fonts */
:root {
  --font-primary: 'Jost', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
}
h1, h2, h3, h4,
.hero-content,
.btn {
  font-family: var(--font-primary);
  font-weight: 600;
}
.main-nav a,
.site-header {
  font-family: var(--font-secondary);
  font-weight: 300;
}
body,
p,
li,
.footer,
.site-footer {
  font-family: var(--font-secondary);
  font-weight: 400;
}
html, body {
  overflow-x: hidden;
}
/* Offset all pages for fixed header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;

}

/* Prevent oversized images from breaking layout */
.about-image img,
.about-unit img {
  max-width: 80%;
  height: auto;
  display: block;
}

/* Navigation refinement */
.main-nav a {
  letter-spacing: 0.12em;
}

/* Button refinement */
.btn {
  letter-spacing: 0.1em;
}

/* Headline refinement */
.hero-content {
  letter-spacing: 0.02em;
}

/* ===============================
   HEADER BASE (MATCH OLD SITE)
================================ */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.25s ease, padding 0.25s ease;
  padding-top: 20px;
}
.site-header.scrolled {
  background: #0147BA; /* match your blue */
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1400px;
  margin: auto;
  padding: 0 48px;          /* horizontal padding only */
  height: 75px;             /* MATCH logo height */
  display: flex;
  align-items: center;      /* vertical centering */
  justify-content: space-between;
}


.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
/* REMOVE DEFAULT BODY MARGINS */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}
/* ===============================
   FULL-BLEED HERO (FINAL)
================================ */
.hero-video {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;

  min-height: 100vh;
  padding-top: 0px; /* header height */
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}

.header-inner {
  max-width: 1400px;
  margin: auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO FIX */
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-video {
  padding-top: 0px; /* match header height */
}
.site-header.scrolled {
  background: #0b66d1;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);	
}


/* STOP LOGO FROM STRETCHING FULL WIDTH */
a.logo {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  max-width: fit-content !important;
}

/* LOCK IMAGE SIZE */
a.logo img {
  max-height: 42px !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
}
/* FORCE HEADER LOGO SIZE — FINAL */
.site-header .logo {
  display: inline-flex !important;
  align-items: center;
  height: 48px !important;
  width: auto !important;
  max-width: unset !important;
}

.site-header .logo img {
  height: 100% !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}
/* STOP FLEX FROM STRETCHING LOGO */
.site-header .logo {
  flex: 0 0 auto !important;
}
/* ================================
   HEADER LOGO (SMALL)
================================ */
.site-header .logo {
  flex: 0 0 auto;
}

.site-header .logo img {
  height: 42px;
  width: auto;
  max-width: none;
  display: block;
}

/* ================================
   FOOTER LOGO (MEDIUM)
================================ */
.site-footer img {
  max-width: 220px;
  height: auto;
}

/* ================================
   HERO LOGO (LARGE, CONTROLLED)
================================ */
.hero-content img {
  max-width: 520px;
  width: 100%;
  height: auto;
}
/* ===============================
   HEADER LOGO (FINAL)
================================ */
.site-header .site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.site-header .logo-wrap {
  height: 75px;
  display: flex;
  align-items: center;
}


.site-header .logo-wrap img {
  height: 75px;
  width: auto;
  display: block;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;

  height: 100%;          /* fill header */
  display: flex;
  align-items: center;   /* center logo + nav together */
  justify-content: space-between;
}

.site-header {
  transition: background 0.25s ease, padding 0.25s ease;
}
.site-header.scrolled {
  background: #0b66d1;
}


.site-header.scrolled .header-inner {
  padding: 12px 48px;
}
.hero-content img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  justify-content: center;
}
/* ===============================
   HERO BUTTONS (FINAL)
================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 13px;
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;

  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;

  transition: all 0.25s ease;
}

/* Hover = filled style */
.btn:hover {
  background: #ffffff;
  color: #0b66d1; /* brand blue */
}

.main-nav ul {
  position: relative;
}
/* Hide dropdowns */
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0b66d1; /* same as header blue */
  padding: 12px 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 999;
}
/* Show dropdown on hover */
.main-nav li.menu-item-has-children:hover > .sub-menu {
  display: block;
}
.main-nav .sub-menu li {
  padding: 0;
}

.main-nav .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.main-nav .sub-menu a:hover {
  background: rgba(255,255,255,0.12);
}
.main-nav li {
  position: relative;
}
.main-nav li.menu-item-has-children > a::after {
  content: "▾";
  font-size: 10px;
  margin-left: 6px;
  opacity: 0.7;
}
/* ===============================
   MOBILE NAV BASE
================================ */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

/* Hide nav on mobile */
@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0b66d1;
    display: none;
    flex-direction: column;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 12px 0;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    padding: 14px 24px;
    width: 100%;
    display: block;
  }
}
@media (max-width: 1024px) {
  .main-nav .sub-menu {
    position: static;
    background: none;
    box-shadow: none;
    display: none;
  }

  .main-nav li.open > .sub-menu {
    display: block;
  }

  .main-nav .sub-menu a {
    padding-left: 42px;
    font-size: 12px;
    opacity: 0.9;
  }
}
/* ===============================
   WE'VE GOT YOU COVERED
================================ */

.coverage-section {
  padding: 100px 24px;
  background: #ffffff;
}

.coverage-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.coverage-header {
  max-width: 820px;
  margin: 0 auto 80px;
}

.coverage-logo {
  height: 60px;
  margin-bottom: 30px;
}

.coverage-header h2 {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 42px;
  color: #6fd46f; /* soft green accent */
  margin-bottom: 24px;
}

.coverage-header p {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

/* GRID */

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.coverage-card img {
  width: 100%;
  height: auto;
  display: block;
}

.coverage-card h3 {
  margin-top: 28px;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 20px;
  color: #000;
}

.coverage-card p {
  margin: 14px 0 24px;
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* BUTTON */

.coverage-btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: #6fd46f;
  border: 2px solid #6fd46f;
  text-decoration: none;

  transition: all 0.25s ease;
}

.coverage-btn:hover {
  background: #6fd46f;
  color: #ffffff;
}

/* RESPONSIVE */

@media (max-width: 900px) {
	.coverage-grid {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 60px;
		align-items: start;
	}
	.coverage-header h2 {
        font-size: 34px;
    }
	.coverage-inner {
	    max-width: 1200px;
	    margin: 0 auto;
	    padding: 0 24px;
	}
	.coverage-card {
  		float: none !important;
}

}
.testimonial-slide {
  display: none;
}
.testimonials-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 120px 24px;

  background-image: url('https://ndc-realty.com/wp-content/uploads/2026/01/AdobeStock_449083702-scaled.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #ffffff;
}
/* ===============================
   TESTIMONIALS SECTION
================================ */

.testimonials-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 120px 24px;

  background-image: url('https://ndc-realty.com/wp-content/uploads/2026/01/AdobeStock_449083702-scaled.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #ffffff;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.testimonials-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

/* LEFT */

.testimonials-left h2 {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 42px;
  margin-bottom: 16px;
}

.stars {
  font-size: 22px;
  letter-spacing: 6px;
  margin-bottom: 30px;
}

.testimonial-nav {
  font-family: var(--font-secondary);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testimonial-nav button {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* RIGHT */

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-text {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  font-family: var(--font-secondary);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
}

/* MOBILE */

@media (max-width: 900px) {
  .testimonials-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* ===============================
   TEAM SECTION
================================ */

.team-section {
  padding: 80px 0 100px;
  text-align: center;
  background: #fff;
}

.section-title {
  font-family: 'Jost', sans-serif;
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 40px;
}

/* Hero image */
.team-hero img {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 60px;
  display: block;
  border-radius: 6px;
}

/* OUTER WRAPPER — hides overflow */
.team-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden; /* 🔑 THIS WAS MISSING */
  padding: 0 80px;
}

/* TRACK */
.team-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  will-change: transform;
  width: 100%;
}


.team-slide {
  flex: 0 0 calc((100% - 48px) / 3); /* 3 cards, 2 gaps */
  max-width: calc((100% - 48px) / 3);
}



/* Photo container */
.team-photo {
  position: relative;
  width: 100%;
  height: 460px;    /* 👈 locks height */
  overflow: hidden;
  background: #eee;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover overlay */
.team-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 90, 160, 0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.team-photo:hover .team-overlay {
  opacity: 1;
}

.team-overlay p {
  margin: 6px 0;
  font-size: 14px;
}

.btn-outline {
  margin-top: 14px;
  padding: 10px 18px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Name + title */
.team-info {
  background: #eaf4ff;
  padding: 16px 10px;
}

.team-info h4 {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
}

.team-info span {
  font-size: 13px;
  color: #6f7d8c;
  font-family: 'Montserrat', sans-serif;
}

/* Arrows */
.team-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 2px solid #4cd964;
  background: #fff;
  color: #4cd964;
  font-size: 26px;
  line-height: 40px;
  cursor: pointer;
  z-index: 10;
}

.team-prev {
  left: 10px;
}

.team-next {
  right: 10px;
}
/* CONSTRAIN AFFILIATIONS TO TEAM WIDTH */
.affiliations-section {
  background: #fff;
  max-width: 1200px;   /* SAME AS TEAM */
  margin: 0 auto;      /* CENTER IT */
  padding: 30px 0;
}


.affiliations-wrapper {
  max-width: 1250px;   /* 🔑 SAME AS TEAM */
  margin: 0 auto;
  overflow: hidden;
  padding: 0 40px;     /* matches team spacing */
}


.affiliations-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scrollAffiliations 40s linear infinite;
  justify-content: center;
  gap: 40px;
}

.affiliation-item {
  flex: 0 0 auto;
  padding: 0 80px;
  position: relative;
  display: flex;
  align-items: center;
}

.affiliation-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  width: 2px;
  background: #6ddc6d;
}

/* FORCE COLOR */
.affiliation-item img {
  max-height: 70px;
  max-width: 160px;
  object-fit: contain;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
}

/* Pause on hover */
.affiliations-track:hover {
  animation-play-state: paused;
}

@keyframes scrollAffiliations {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.ndc-family-section {
  position: relative;
  padding: 0px 0;
  overflow: hidden;
}

/* BLUE BLOCK */
.ndc-family-bg {
  position: absolute;
  left: 0;
  transform: translateY(-50%);
  width: 48%;
  height: 200%;
  background: #0d66d0;
  z-index: 1;
}


/* FULL-WIDTH FLEX CONTAINER */

.ndc-family-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  z-index: 2;
}

/* CARD (LOCKED WIDTH) */
.ndc-family-card {
  margin-left: calc((100vw - 1200px) / 2);
  background: #eef6ff;
  padding: 48px;
  max-width: 460px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  z-index: 3;
}

/* IMAGE (FREE TO FILL SPACE) */
.ndc-family-image {
  flex: 1;
  margin-left: -80px;
}

.ndc-family-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* BUTTON */
.btn-green {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 28px;
  background: #3ad14b;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 900px) {
  .ndc-family-inner {
    flex-direction: column;
  }

  .ndc-family-bg {
    width: 100%;
    height: 50%;
  }

  .ndc-family-card {
    margin: 0 20px;
    max-width: 100%;
  }

  .ndc-family-image {
    margin: 40px 0 0;
  }
}
/* CTA SECTION */
.cta-section {
  position: relative;
  height: 520px;
  background-image: url("https://ndc-realty.com/wp-content/uploads/2026/01/7-1.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0px;
}

/* subtle dark overlay */
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 0 0px;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* CTA button */
.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cta-btn:hover {
  background: #ffffff;
  color: #000;
}
/* ======================================
   CLEAN FOOTER (FROM SCRATCH)
====================================== */

.ndc-footer {
  background: #002654;
  color: #ffffff;
  width: 100%;
}

/* TOP */
.ndc-footer-top {
  padding: 60px 0 50px;
}

.ndc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.ndc-footer-logo img {
  max-width: 180px;
  height: auto;
}

/* TEXT */
.ndc-footer h4 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ndc-footer p,
.ndc-footer a {
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.6;
}

.ndc-footer a:hover {
  text-decoration: underline;
}

/* BOTTOM */
.ndc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.35);
  padding: 28px 24px 32px;
  text-align: center;
}

.ndc-footer-nav {
  margin-bottom: 14px;
}

.ndc-footer-nav a {
  margin: 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ndc-footer-copy {
  font-size: 12px;
  opacity: 0.85;
}

/* MOBILE */
@media (max-width: 900px) {
  .ndc-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .ndc-footer-nav a {
    display: inline-block;
    margin: 6px 10px;
  }
}
/* ===============================
   ABOUT HERO (FIXED HEADER SAFE)
================================ */

.about-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -100px;
}


.about-hero-bg {
  position: relative;
  height: 420px;
  padding-top: 80px; /* MATCH FIXED HEADER HEIGHT */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: center;
}

.about-hero-content h1 {
  font-family: 'Jost', sans-serif;
  font-size: 48px;
  font-weight: 600;
}
.about-split {
  padding: 80px 0;
}

.about-split-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-split.reverse .about-split-inner {
  flex-direction: row-reverse;
}

.about-text,
.about-image {
  flex: 1;
}
/* =========================
   GLOBAL FIXES FOR FIXED HEADER
========================= */

/* About page only */
.page-template-about-us section {
  position: relative;
  z-index: 1;
}

/* =========================
   ABOUT HERO
========================= */

.about-hero {
  height: 60vh;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  margin: 0;
}

/* =========================
   SPLIT SECTIONS
========================= */

.about-split {
  padding: 80px 20px;
  background: #fff;
}

.about-split-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-split.reverse .about-split-inner {
  direction: rtl;
}

.about-split.reverse .about-text,
.about-split.reverse .about-image {
  direction: ltr;
}

.about-text h2 {
  margin-top: 0;
}

.about-image img {
  width: 100%;
  height: auto;
  max-width: 520px;
  display: block;
}

/* =========================
   BUSINESS UNITS
========================= */

.about-units {
  padding: 80px 20px;
  background: #fff;
}

.about-units-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.about-unit img {
  max-width: 360px;
  width: 100%;
  height: auto;
  display: block;
}

.btn-outline-green {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  border: 2px solid #2ecc71;
  color: #2ecc71;
  text-decoration: none;
  font-weight: 600;
}

/* =========================
   TESTIMONIALS
========================= */

.testimonials-section {
  position: relative;
  padding: 100px 20px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.testimonials-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

/* =========================
   CTA
========================= */

.cta-section {
  position: relative;
  padding: 120px 20px;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .about-split-inner,
  .about-units-inner,
  .testimonials-inner {
    grid-template-columns: 1fr;
  }

  body {
    padding-top: 70px;
  }
}
/* ===============================
   PAGE HEADER (INNER PAGES)
================================ */

.site-header--page {
  position: relative;
  background: #0b66d1; /* MAIN BRAND BLUE */
  box-shadow: none;
}

/* Make it taller */
.site-header--page .header-inner {
  padding: 28px 28px;   /* 👈 increases height */
  min-height: 80px;    /* 👈 gives it presence */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header--page .logo img {
  height: 60px !important;
  width: auto !important;
  max-height: none !important;
  max-width: none !important;
  object-fit: contain;
}
/* ============================
   TEAM MEMBER SINGLE
============================ */

.team-single-hero {
  background: #0b66d1;
  padding: 140px 24px 80px;
  text-align: center;
  color: #fff;
}

.team-single-hero h1 {
  font-size: 48px;
  font-weight: 500;
}

.team-single-content {
  padding: 100px 24px;
}

.team-single-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
}

.team-single-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.team-single-details h2 {
  margin-bottom: 30px;
}

.team-single-details p {
  margin-bottom: 16px;
  font-size: 15px;
}

.team-single-socials {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}

.team-single-socials a {
  border: 1px solid #3ad14b;
  color: #3ad14b;
  padding: 10px 14px;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
}

.team-single-bio {
  padding: 100px 24px;
  background: #fff;
}

.team-single-bio-inner {
  max-width: 900px;
  margin: 0 auto;
}
/* ======================================
   OUR TEAM PAGE
====================================== */

.team-page {
  padding: 120px 24px 100px;
  background: #ffffff;
}

.team-hero {
  text-align: center;
  margin-bottom: 70px;
}

.team-hero h1 {
  font-size: 48px;
  font-weight: 500;
  margin: 0;
}

/* ===== GRID ===== */

.team-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ===== CARD ===== */

.team-card {
  background: #fff;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.team-photo {
  width: 100%;
  height: 440px;
  overflow: hidden;
  background: #eee;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== INFO ===== */

.team-info {
  padding: 22px 22px 26px;
  text-align: left;
  border-top: 3px solid #0b66d1;
  background: #fff;
}

.team-info h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.team-title {
  font-size: 12px;
  color: #6f7d8c;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 18px;
}

/* ===== CARD FOOTER ===== */

.team-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-card-socials {
  display: flex;
  gap: 10px;
  align-items: center;
}

.team-card-socials a {
  color: #0b66d1;
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.team-card-socials a:hover {
  color: #05a9c6;
}

/* ===== BUTTON ===== */

.btn-outline {
  display: inline-block;
  padding: 9px 20px;
  background: none;
  color: #0b66d1;
  font-size: 11px;
  font-family: var(--font-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.2s ease;
  border: none;
  padding-left: 0;
}

.btn-outline:hover {
  color: #05a9c6;
}

/* ======================================
   TEAM MODAL
====================================== */

.team-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.team-modal.active {
  display: block;
}

.team-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.team-modal-content {
  position: relative;
  max-width: 1100px;
  margin: 60px auto;
  background: #ffffff;
  padding: 60px;
  z-index: 2;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2);
  border-radius: 4px;
  max-height: 90vh;
  overflow-y: auto;
}

.team-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  transition: color 0.2s ease;
}

.team-modal-close:hover {
  color: #0b66d1;
}

.team-modal-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

.team-modal-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-modal-photo {
  width: 100%;
}

.team-modal-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.team-modal-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}

.team-modal-contact li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.team-modal-contact li:first-child {
  border-top: 1px solid #f0f0f0;
}

.team-modal-contact a {
  color: #0b66d1;
  text-decoration: none;
}

.team-modal-contact a:hover {
  text-decoration: underline;
}

.team-modal-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-modal-socials a {
  font-size: 11px;
  font-family: var(--font-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: #0b66d1;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.team-modal-socials a:hover {
  background: #3ad14b;
}

.team-modal-text {
  padding-top: 8px;
}

.team-modal-name {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.team-modal-title {
  font-size: 13px;
  color: #6f7d8c;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-modal-bio {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}

/* ======================================
   RESPONSIVE
====================================== */

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-photo {
    height: 380px;
  }

  .team-modal-inner {
    grid-template-columns: 1fr;
  }

  .team-modal-content {
    margin: 40px 20px;
    padding: 40px;
  }
}
.team-single-bio h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

/* MOBILE */
@media (max-width: 900px) {
  .team-single-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .team-single-hero h1 {
    font-size: 36px;
  }
}
.team-page {
  padding: 80px 24px;
}

.team-hero {
  text-align: center;
  margin-bottom: 60px;
}

.team-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}


/* ======================================
   TESTIMONIALS PAGE
====================================== */

.testimonials-page {
  padding: 80px 24px 100px;
  background: #fff;
}

.testimonials-hero {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-hero h1 {
  font-size: 48px;
  font-weight: 500;
  margin: 0;
}

.testimonials-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid {
  columns: 3;
  column-gap: 28px;
}

.testimonial-card {
  break-inside: avoid;
  margin-bottom: 28px;
}

.testimonial-card {
  background: #fff;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #e4e8ee;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
}



.testimonial-card-stars {
  display: flex;
  gap: 3px;
}

.star {
  font-size: 18px;
}

.star--filled {
  color: #05a9c6;
}

.star--empty {
  color: #dde1e7;
}

.testimonial-card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  font-style: italic;
  flex: 1;
}

.testimonial-card-text::before {
  content: "\201C";
  font-size: 40px;
  line-height: 0;
  vertical-align: -14px;
  color: #0b66d1;
  margin-right: 4px;
  font-style: normal;
}

.testimonial-card-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0b66d1;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}



.testimonial-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.testimonials-empty {
  text-align: center;
  color: #6f7d8c;
  grid-column: 1 / -1;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    columns: 2;
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    columns: 1;
  }

  .testimonials-hero h1 {
    font-size: 36px;
  }
}