:root {
  --teal: #00998f;
  --teal-dark: #054541;
  --cream: #EAE6DE;
  --cream-alt: #f5f3f0;
  --text-dark: #2D2B2A;
  --text-light: #FFFFFF;
  --accent-red: #E6391F;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background-color: #000000;
  color: #ffffff;
}

::-moz-selection {
  background-color: #000000;
  color: #ffffff;
}

body {
  font-family: 'Inter', helvetica, sans-serif;
  background-color: var(--cream);
  color: var(--teal-dark);
  /* Paragraphs are now all Teal */
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
.heavy {
  font-family: 'Epilogue', helvetica, sans-serif;
  font-weight: bold;
  letter-spacing: -0.04em;
  line-height: 1;
}

.text-teal {
  color: var(--teal);
}

.bg-teal {
  background-color: var(--teal);
  color: var(--text-light);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.arrow-svg {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-left: 0.35em;
  vertical-align: middle;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  stroke: currentColor;
  stroke-width: 3.5px;
}

.btn:hover .arrow-svg,
.linkedin-link:hover .arrow-svg {
  transform: translate(2px, -2px);
}

.btn:hover {
  transform: scale(1.05);
}

.btn-white {
  background: var(--text-light);
  color: var(--teal);
  border: none;
  cursor: pointer;
}

.btn-teal {
  background: var(--teal);
  color: var(--text-light);
  border: none;
  cursor: pointer;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem max(4rem, calc((100% - 1440px) / 2));
  position: fixed;
  /* Changed to fixed */
  top: 0;
  width: 100%;
  z-index: 1001;
  background-color: var(--teal);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, padding 0.3s ease;
}

nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: max(4rem, calc((100% - 1440px) / 2));
  right: max(4rem, calc((100% - 1440px) / 2));
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  transition: left 0.3s ease, right 0.3s ease;
}

nav.nav--hidden {
  transform: translateY(-100%);
}

nav.nav--scrolled {
  background-color: var(--teal);
  padding: 1rem max(4rem, calc((100% - 1440px) / 2));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

nav.nav--scrolled::after {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: contents;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: opacity 0.2s;
  font-size: 0.95rem;
  font-weight: bold;
}

.nav-links a:hover {
  opacity: 0.8;
}

.nav-logo {
  width: 45px;
  height: 45px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-family: 'Epilogue', helvetica, sans-serif;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 101;
  position: relative;
  font-size: 1.2rem;
  letter-spacing: -1.5px;
  padding-right: 1.5px;
  /* Adjust centering for letter-spacing */
  background: rgba(255, 255, 255, 0.05);
}

.nav-logo:hover {
  background: #fff;
  color: var(--teal) !important;
  transform: scale(1.05);
  border-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.c-left {
  transform: translateY(-2px);
}

.c-right {
  transform: translateY(2px);
}

.contact-btn {
  color: var(--teal) !important;
  padding: 0.5rem 1.5rem !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 20px;
  z-index: 101;
  position: relative;
}

.hamburger span {
  width: 100%;
  height: 1.5px;
  background-color: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(234, 230, 222, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 120px 2rem 3rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0.5rem;
}

.mobile-menu-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(10, 122, 115, 0.15);
  color: var(--teal-dark);
  text-decoration: none;
  font-family: 'Epilogue', helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

.mobile-menu.is-open .mobile-menu-links a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu-links a:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu.is-open .mobile-menu-links a:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-menu.is-open .mobile-menu-links a:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-menu.is-open .mobile-menu-links a:nth-child(4) {
  transition-delay: 0.25s;
}

nav.menu-open {
  background-color: transparent !important;
  box-shadow: none !important;
}

nav.menu-open .nav-logo {
  color: var(--teal) !important;
  border-color: var(--teal) !important;
}

nav.menu-open .hamburger span {
  background-color: var(--teal) !important;
}

nav.menu-open::after {
  display: none;
}

/* Removed redundant overrides handled above */

nav.menu-open .hamburger span:nth-child(1) {
  transform: translateY(9.25px) rotate(45deg);
}

nav.menu-open .hamburger span:nth-child(2) {
  opacity: 0;
}

nav.menu-open .hamburger span:nth-child(3) {
  transform: translateY(-9.25px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 8rem max(4rem, calc((100% - 1440px) / 2)) 8rem;
  background-color: var(--teal);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
}

.hero-title-wrap {
  width: 100%;
  overflow: hidden;
  text-align: center;
  margin-top: -2.25rem;
  margin-bottom: 2rem;
}

.clipped-title-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-top: 0.75rem;
  margin-bottom: 2rem;
}

.clipped-title-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--teal);
  transition: width 3.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: width;
}

.bg-teal .clipped-title-wrap::before,
.hero .clipped-title-wrap::before,
.vision-mission .clipped-title-wrap::before,
.footer-cta .clipped-title-wrap::before {
  background-color: rgba(255, 255, 255, 0.3);
}

.clipped-title-wrap:has(.is-visible)::before {
  width: 100%;
}

.bg-teal .clipped-title-wrap h2,
.hero .clipped-title-wrap h2,
.vision-mission .clipped-title-wrap h2,
.footer-cta .clipped-title-wrap h2 {
  color: var(--text-light) !important;
}

.clipped-title-wrap h1 {
  margin-top: -0.15em !important;
  line-height: 0.85 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0.1em !important;
}

.clipped-title-wrap h2 {
  font-size: clamp(3.5rem, 8vw, 6rem) !important;
  color: var(--teal);
  line-height: 0.9 !important;
  /* margin-top: -0.1em !important; */
  margin-bottom: 0 !important;
  padding-bottom: 0.1em !important;
  max-width: 900px;
  letter-spacing: -0.04em;
  text-transform: none !important;
}

.split .clipped-title-wrap {
  grid-column: 1 / -1;
}

.hero-title {
  font-size: clamp(3.2rem, 7.5vw, 8rem);
  text-transform: uppercase;
  line-height: 0.85;
  display: inline-block;
  margin-top: 0em;
  /* clips the top of the letters */
  text-align: center;
  font-family: 'Epilogue', helvetica, sans-serif;
  font-weight: bold;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: 4rem;
}

.hero-left {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.badge {
  width: clamp(120px, 15vw, 180px);
  height: clamp(120px, 15vw, 180px);
  animation: rotate 12s linear infinite;
  flex-shrink: 0;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.animate-heading .fade-letter {
  opacity: 0;
  display: inline-block;
  transform: translateX(-20px);
}

.animate-heading.is-visible .fade-letter {
  animation: fadeSideIn 1.2s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes fadeSideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-right {
  max-width: 60%;
  flex-grow: 1;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 2rem;
  font-weight: 800;
  font-family: 'Epilogue', helvetica, sans-serif;
  letter-spacing: -0.02em;
  text-align: left;
}

.hero-image-wrap {
  margin-top: 5rem;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  border-radius: 225px 225px 0 0;
  /* Dome shape */
  overflow: hidden;
  position: relative;
}

.slideshow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 1;
  will-change: transform, opacity;
  transform: scale(1.05);
}

.slideshow-img.active {
  opacity: 1;
  z-index: 2;
}

.slideshow-img:nth-child(1).active {
  animation: kenburns-1 10s ease-out forwards;
}

.slideshow-img:nth-child(2).active {
  animation: kenburns-2 10s ease-out forwards;
}

.slideshow-img:nth-child(3).active {
  animation: kenburns-3 10s ease-out forwards;
}

@keyframes kenburns-1 {
  0% {
    transform: scale(1.05) translate(0, 0);
  }

  100% {
    transform: scale(1.22) translate(-3%, -2%);
  }
}

@keyframes kenburns-2 {
  0% {
    transform: scale(1.22) translate(2%, 3%);
  }

  100% {
    transform: scale(1.05) translate(0, 0);
  }
}

@keyframes kenburns-3 {
  0% {
    transform: scale(1.05) translate(-2%, 2%);
  }

  100% {
    transform: scale(1.22) translate(3%, -3%);
  }
}

.parallax-img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  position: absolute;
  top: -15%;
  left: 0;
}

/* Intro */
.intro {
  padding: 8rem max(4rem, calc((100% - 1440px) / 2));
  padding-bottom: 0;
}

.intro-inner {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-top: 0.75rem;
  display: flex;
  justify-content: flex-end;
}

.intro-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--teal);
  transition: width 3.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: width;
}

.intro-inner:has(.is-visible)::before {
  width: 100%;
}

.intro h2 {
  font-size: clamp(1.5rem, 2vw, 1.5rem);
  color: var(--teal);
  max-width: 900px;
  margin: 0;
  margin-top: -0.4em;
  text-align: left;
  letter-spacing: -0.05em;
  line-height: 1;
  opacity: 0;
  transform: translateY(-30px);
}

.intro h2.is-visible {
  animation: slideFadeDown 1.5s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes slideFadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Team */
.team {
  padding: 8rem max(4rem, calc((100% - 1440px) / 2));
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.team-header h2 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  color: var(--teal);
  margin-bottom: 0;
  line-height: 0.9;
  max-width: 900px;
  letter-spacing: -0.04em;
  margin-top: -0.1em !important;
  margin-left: -0.05em !important;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  line-height: 1.2rem;
  width: calc(33.333% - 3.34rem);
  /* 3 items per row with 5rem gap */
  min-width: 200px;
}

@media (min-width: 769px) {

  .team-member:nth-child(4),
  .team-member:nth-child(5) {
    margin-top: -4rem;
    /* Slip row 2 slightly into row 1 */
  }
}

/* Staggered look: second row centered under 3 items naturally */
@media (max-width: 768px) {
  .team-member {
    width: 100%;
    margin: 3rem 0;
  }

}

.photo-circle {
  width: 180px;
  height: 300px;
  border-radius: 200px;
  /* Capsule shape */
  overflow: hidden;
  margin: 0 auto 1.5rem;
  position: relative;
}

.team-member h4 {
  color: var(--teal);
  font-size: 1.1rem;
  line-height: 1.5rem;
  margin-top: 1rem;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.team-member p {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 500;
  margin-top: 0.4rem;
  margin-bottom: 0.5rem;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.linkedin-link {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.team-footer {
  max-width: 730px;
}

.team-footer p {
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 2rem;
  color: var(--teal);
  font-weight: bolder;
}

/* Vision & Mission */
.vision-mission {
  background-color: var(--teal);
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.vision-mission .split-text h2 {
  color: var(--text-light);
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1;
  margin-top: 0em !important;
}


.vision-p {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.vision-img-container {
  height: 700px;
  display: flex;
  justify-content: flex-end;
}

.vision-arch {
  border-radius: 400px 400px 0 0;
  width: 85%;
  position: relative;
  overflow: hidden;
}

/* Services */
.services {
  padding: 8rem max(4rem, calc((100% - 1440px) / 2));
  background-color: var(--cream-alt);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  position: relative;
  padding-top: 0.75rem;
}

.services-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--teal);
  transition: width 3.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: width;
}

.services-header:has(.is-visible)::before {
  width: 100%;
}

.services-header .clipped-title-wrap {
  width: auto;
  border-top: none;
  padding-top: 0;
  margin-bottom: 0;
  margin-top: -0.7rem;
}

.services-header .clipped-title-wrap::before {
  display: none !important;
}

.services-header h2 {
  font-size: 4rem;
  color: var(--teal);
  /* max-width: 500px; */
  /* margin-top: -0.2em !important; */
}

.services-header p {
  max-width: 300px;
  color: var(--teal);
  font-weight: 500;
  line-height: 1.5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-card h3 {
  color: var(--teal);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 0.5rem;
  min-height: 4.8rem;
  display: flex;
  align-items: flex-end;
}

.service-img {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
}

.service-card ul li {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  color: var(--teal);
}

/* Split Sections */
.split {
  padding: 8rem max(4rem, calc((100% - 1440px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: stretch;
  position: relative;
}

.split::before {
  content: '';
  position: absolute;
  top: 8rem;
  left: max(4rem, calc((100% - 1440px) / 2));
  right: max(4rem, calc((100% - 1440px) / 2));
  width: 0%;
  height: 1px;
  background-color: var(--teal);
  transition: width 3.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: width;
}

@media (max-width: 768px) {
  .split::before {
    top: 4rem;
  }
}

.bg-teal .split::before,
.vision-mission.split::before,
.footer-cta .split::before {
  background-color: white;
}

.split:has(.is-visible)::before {
  width: calc(100% - max(8rem, calc(100% - 1440px)));
}

#contact .split {
  grid-template-columns: 3fr 2fr;
}

.split-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.split-text-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 66%;
}

.footer-cta .split::before {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

.footer-cta .split:has(.is-visible)::before {
  width: 100% !important;
}

.split .clipped-title-wrap::before {
  display: none !important;
}

.split .clipped-title-wrap {
  padding-top: 0 !important;
}

.split-text h2 {
  font-size: 6rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.split-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--teal);
  margin-bottom: 2rem;
  font-weight: 500;
}

#contact p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.split-text ul {
  list-style: none;
  margin-bottom: 2rem;
}

p.vision-p {
  color: var(--text-light);
}

.split-text ul li {
  font-size: 1.1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(10, 122, 115, 0.2);
  color: var(--teal);
  font-weight: 500;
}

.split-image-container {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-top: 2rem;
  height: auto;
}

.arch-top {
  border-radius: 1000px 1000px 0 0;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.arch-bottom {
  border-radius: 0 0 300px 300px;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.pill-shape {
  border-radius: 500px;
  overflow: hidden;
  height: 100%;
  position: relative;
}

/* Testimonials */
.testimonials {
  padding: 8rem max(4rem, calc((100% - 1440px) / 2));
  background-color: var(--cream-alt);
  position: relative;
  overflow: hidden;
}

.testi-bg-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.testi-container {
  position: relative;
  z-index: 2;
}

.testimonials h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  color: var(--teal);
  margin-bottom: 2rem;
  line-height: 1;
}

.testi-divider {
  border: none;
  border-top: 1px solid rgba(10, 122, 115, 0.2);
  margin: 3rem 0;
}

.testi-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.testi-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testi-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.testi-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-card p {
  font-size: 1.15rem;
  color: var(--teal);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-author img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  filter: grayscale(100%);
}

.testi-author-info h5 {
  color: var(--teal-dark);
  font-size: 0.9rem;
}

.testi-author-info span {
  color: var(--teal);
  font-size: 0.8rem;
}

.testi-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
}

.testi-btn {
  background: none;
  border: none;
  color: var(--teal);
  font-family: 'Epilogue', helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.testi-btn:hover {
  opacity: 0.6;
}

.testi-pagination {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}

/* Footer CTA */
.footer-cta {
  padding: 8rem max(4rem, calc((100% - 1440px) / 2));
  background-color: var(--teal);
  color: var(--text-light);
}

.footer-cta .split {
  padding: 0;
  gap: 4rem;
}

.footer-cta h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 0.95;
  color: var(--text-light);
}

.footer-cta p.cta-sub {
  font-size: 1.5rem;
  margin-bottom: 4rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.btn-cta-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  border-radius: 100px;
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.btn-cta-large:hover {
  background: var(--text-light);
  color: var(--teal);
  transform: scale(1.02);
}

.btn-cta-large svg {
  width: 24px;
  height: 24px;
}

.footer-address {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-align: left;
}

.footer-address p {
  font-size: 0.85rem;
  font-family: 'Inter', helvetica, sans-serif;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.footer-address strong {
  display: block;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.65rem;
  color: var(--text-light);
  text-align: left;
  opacity: 0.8;
}

.footer-cta .split-image-container {
  height: 700px;
}

.footer-cta .arch-top {
  border-radius: 400px 400px 0 0;
  background-color: rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-right {
    margin-top: 3rem;
    max-width: 100%;
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  }

  .nav-links {
    display: flex;
    position: static;
    transform: none;
    gap: 2rem;
  }

  .team,
  .services-header,
  .split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .testi-slide {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-text h2 {
    font-size: 3.5rem;
  }

  .split-text-bottom {
    width: 100%;
  }

  .split:nth-of-type(even) .split-image-container {
    order: -1;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: space-between;
  }

  nav.nav--scrolled {
    padding: 1rem 1.5rem;
  }

  nav::after {
    left: 1.5rem;
    right: 1.5rem;
  }

  .nav-links,
  .contact-btn {
    display: none;
    /* Hidden on mobile, moved to hamburger */
  }

  .hamburger {
    display: flex;
  }

  .hero,
  .intro,
  .team,
  .services,
  .split,
  .testimonials,
  .footer-cta {
    padding: 4rem 1.75rem;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-title-wrap {
    margin-top: -3px;
  }

  .intro {
    padding-bottom: 0 !important;
  }

  .hero-left {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 15vw, 4.2rem);
    word-break: normal;
    overflow-wrap: break-word;
  }

  .badge {
    width: 60px;
    height: 60px;
  }

  .team-header h2,
  .services-header h2,
  .split-text h2,
  .testimonials h2,
  .footer-cta h2,
  .clipped-title-wrap h2 {
    font-size: clamp(2.4rem, 11vw, 5.2rem) !important;
    line-height: 0.95 !important;
  }

  .team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .team-member {
    width: 100%;
    margin: 0;
  }

  .team-member:nth-child(even) {
    margin-top: 0;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .service-card h3 {
    min-height: auto;
  }

  .intro h2 {
    font-size: 1.5rem;
  }

  .split {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .split::before {
    top: 4rem;
    left: 1.75rem;
  }

  .split:has(.is-visible)::before {
    width: calc(100% - 3.5rem);
  }

  .split-text {
    order: 1;
  }

  .split-image-container,
  .split:nth-of-type(even) .split-image-container {
    order: 2;
  }

  .split-text-bottom {
    width: 100%;
  }

  .split-text h2 {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .hero-right p:not(.hero-subtitle) {
    font-size: 1rem;
  }

  .arch-top,
  .arch-bottom,
  .pill-shape {
    border-radius: 1000px 1000px 0 0;
  }

  .hero-image-wrap {
    height: 40vh;
    min-height: 280px;
    margin-top: 3rem;
    border-radius: 120px 120px 0 0;
  }

  .vision-mission {
    padding: 4rem 1.75rem;
  }

  .vision-mission .split-text h2 {
    font-size: 2.5rem;
  }

  .vision-img-container {
    height: 350px;
    justify-content: center;
  }

  .vision-arch {
    width: 100%;
    border-radius: 1000px 1000px 0 0;
  }

  .vision-p {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .testi-slide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-cta .split-image-container {
    height: 350px;
  }

  .cta-btns {
    width: 100%;
    margin-bottom: 3rem;
  }

  .btn-cta-large {
    width: 100%;
    max-width: 400px;
  }
}

/* Logo Grid Styles */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
  justify-items: center;
  margin: 2rem 0;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  padding: 0.6rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.logo-item:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1) opacity(0.8);
  transition: filter 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0) contrast(1) opacity(1);
}

@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin: 1.5rem 0;
  }

  .logo-item {
    height: 48px;
    padding: 0.4rem;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .logo-item {
    height: 44px;
    padding: 0.35rem;
  }
}