/* ===================================
   RESET & BASE
   =================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0d3d56;
  --teal: #0e7490;
  --teal-dark: #0a6580;
  --white: #ffffff;
  --text-muted: #6b7280;
  --font: 'Bahnschrift', 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 12px 32px;
}

.navbar__logo-link {
  display: flex;
  align-items: center;
}

.navbar__logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}

/* pill nav — centered by parent flex justify-content: center */
.navbar__links {
  display: flex;
  align-items: center;
  background: var(--teal);
  border-radius: 50px;
  padding: 12px 12px;
  gap: 4px;
  animation: navBarSlideIn 0.5s cubic-bezier(0.34, 1.3, 0.64, 1) both;
}

@keyframes navBarSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.navbar__link {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 50px;
  transition: background 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease, color 0.22s ease;
  white-space: nowrap;
  position: relative;
}

.navbar__link:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar__link:active {
  transform: translateY(0) scale(0.96);
}

.navbar__link--active {
  background: var(--white);
  color: var(--teal);
  font-weight: 600;
  box-shadow: 2px 2px 15px 1px #0000006b;
  animation: activePillGlow 3s ease-in-out infinite;
}

@keyframes activePillGlow {

  0%,
  100% {
    box-shadow: 2px 2px 15px 1px #0000006b;
  }

  50% {
    box-shadow: 2px 2px 20px 3px rgba(14, 116, 144, 0.35);
  }
}

.navbar__link--active:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 2px 6px 20px 2px #00000055;
  animation: none;
}

/* home icon button */
.navbar__home-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  box-shadow: 2px 2px 15px 1px #00000042;
  border-radius: 50%;
  color: var(--teal);
  background: var(--white);
  flex-shrink: 0;
  animation: homeFloat 3s ease-in-out infinite;
  transition: box-shadow 0.3s, background 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes homeFloat {

  0%,
  100% {
    transform: translateY(0);
    box-shadow: 2px 4px 15px 1px #00000038;
  }

  50% {
    transform: translateY(-4px);
    box-shadow: 2px 10px 20px 2px #0000002a;
  }
}

.navbar__home-btn:hover {
  animation: none;
  transform: scale(1.18);
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(14, 116, 144, 0.45);
}

.navbar__home-btn:hover svg,
.navbar__home-btn:hover .home-svg {
  animation: homeIconBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  fill: #fff;
}

@keyframes homeIconBounce {
  0% {
    transform: scale(0.8) rotate(-8deg);
  }

  60% {
    transform: scale(1.15) rotate(4deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
}

.navbar__hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.home-svg {
  fill: #0e7490;
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================
   HERO
   =================================== */
.hero {
  position: relative;
  height: 55vh;
  min-height: 340px;
  max-height: 500px;
  margin-top: 70px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('Rectangle-1.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 8s ease;
}

.hero:hover .hero__bg {
  transform: scale(1);
}

/* subtle dark overlay to ensure text contrast */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
}

.hero__overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

/* frosted glass card */
.hero__card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 9999px;
  padding: 44px 100px;
  max-width: 560px;
  text-align: center;
  box-shadow: 0 8px 40px #00000066;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.5px;
}

/* ===================================
   DIVIDER
   =================================== */
.section-divider {
  display: flex;
  justify-content: center;
  padding: 48px 0 36px;
}

.divider-line {
  display: block;
  width: 1px;
  height: 56px;
  background: var(--teal);
  opacity: 0.6;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
  padding: 0 24px 80px;
  text-align: center;
  animation: fadeUp 0.7s 0.15s ease both;
}

.services__inner {
  max-width: 400px;
  margin: 0 auto;
}

.services__heading {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;

}

.services__item {
  font-size: 1rem;
  color: var(--teal);
  font-weight: 400;
  position: relative;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;

}

.services__item>h3 {
  font-weight: 300;
}

.services__item:hover {
  color: var(--teal-dark);
}

/* ===================================
   BUTTON
   =================================== */
.btn {
  display: inline-block;
  padding: 14px 44px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(14, 116, 144, 0.35);
}

.btn--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.45);
}

.btn--primary:active {
  transform: translateY(0);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  padding: 52px 24px 32px;
  text-align: center;
}

.footer__inner {
  max-width: 500px;
  margin: 0 auto;
}

.footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 32px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
}

.footer__social-link:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: var(--teal);
}

.footer__company {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer__copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===================================
   ABOUT PAGE
   =================================== */

/* About hero card — readable body text instead of big title */
.hero__card--about {
  max-width: 580px;
  padding: 44px 52px;
}

.about-intro {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  line-height: 1.85;
  color: var(--navy);
  font-weight: 400;
  text-align: center;
}

/* Core values section */
.core-values {
  padding: 60px 24px 32px;
  text-align: center;
  animation: fadeUp 0.7s 0.1s ease both;
}

.core-values__inner {
  max-width: 640px;
  margin: 0 auto;
}

.core-values__heading {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 48px;
  text-transform: uppercase;
}

.value-item {
  margin-bottom: 36px;
}

.value-item__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.value-item__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--teal);
  font-weight: 400;
}

.core-values__cta {
  margin-top: 48px;
  margin-bottom: 60px;
}

/* ===================================
   TEAM PAGE
   =================================== */

.team-hero {
  position: relative;
  margin-top: 70px;
  /* tall enough to show title + first card overlapping */
  padding-bottom: 0;
}

.team-hero__bg {
  position: absolute;
  inset: 0;
  height: 420px;
  background-image: url('Rectangle-1.png');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.team-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.team-hero__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 140px;
}

.team-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  text-align: center;
  /* sits on the image before cards appear */
}

/* ===== TEAM CARDS ===== */
.team-cards {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 720px;
  margin: -110px auto 0;
  padding: 0 24px 60px;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 24px 32px 24px 24px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.10);
  animation: fadeUp 0.7s ease both;
}

.team-card:nth-child(2) {
  animation-delay: 0.12s;
}

.team-card:nth-child(3) {
  animation-delay: 0.24s;
}

/* Circular avatar — pulls left, overlapping card edge */
.team-card__avatar {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

/* Each avatar has a distinct teal-navy gradient */
.team-card__avatar--1 {
  background: linear-gradient(135deg, #0e7490 0%, #0d3d56 100%);
}

.team-card__avatar--2 {
  background: linear-gradient(135deg, #155e75 0%, #0e7490 100%);
}

.team-card__avatar--3 {
  background: linear-gradient(135deg, #0d3d56 0%, #1d8aa6 100%);
}

/* If a real photo is placed inside, it will cover the initials */
.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-initials {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  pointer-events: none;
  user-select: none;
}

.team-card__body {
  flex: 1;
}

.team-card__role {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.team-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.team-card__bio {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--teal);
}

/* CTA below cards */
.team-cta {
  text-align: center;
  padding: 0 24px 60px;
}

/* ===================================
   RESPONSIVE — TEAM
   =================================== */
@media (max-width: 600px) {
  .team-card {
    flex-direction: column;
    border-radius: 24px;
    padding: 28px 24px;
    align-items: center;
    text-align: center;
  }

  .team-card__avatar {
    margin-left: 0;
    width: 90px;
    height: 90px;
  }

  .team-hero__overlay {
    padding: 60px 24px 120px;
  }

  .team-cards {
    margin-top: -90px;
  }
}


/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
  .navbar__inner {
    padding: 10px 20px;
    justify-content: space-between;
  }

  /* Dropdown container — clipped until open */
  .navbar__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
    max-height: 0;
    padding: 0 16px;
    background: transparent;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
      padding-top 0.38s ease,
      padding-bottom 0.38s ease;
  }

  /* Expand container when pill bar is open */
  .navbar__nav:has(.navbar__links.open) {
    max-height: 120px;
    padding: 10px 16px 14px;
  }

  /* Keep the teal pill style — now as a horizontal bar that drops down */
  .navbar__links {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    background: var(--teal);
    border-radius: 50px;
    padding: 10px 10px;
    gap: 4px;
    width: 100%;
    animation: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  }

  /* Pills keep white text; override desktop overrides */
  .navbar__link {
    color: var(--white);
    padding: 8px 14px;
    width: auto;
    text-align: center;
    border-bottom: none;
  }

  .navbar__link:last-child {
    border-bottom: none;
  }

  /* Disable glow pulse on mobile (perf + cleaner) */
  .navbar__link--active {
    animation: none;
  }

  .navbar__link--active:hover {
    animation: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  /* Show home button on mobile by default (non-home pages) */
  .navbar__home-btn {
    display: flex;
    animation: none;
  }

  /* Hide home button on the home page on mobile */
  .navbar__home-btn--home-page {
    display: none;
  }

  .hero__card {
    padding: 45px 100px;
    border-radius: 100px;
  }

  .hero {
    min-height: 360px;
    height: 60vh;
  }
}

@media (max-width: 480px) {
  .hero__card {
    padding: 45px 60px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 36px;
  }
}

/* ===================================
   CONTACT PAGE
   =================================== */

.contact-section {
  padding: 56px 24px 48px;
}

.contact-section__inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Pill contact cards */
.contact-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border-radius: 9999px;
  padding: 14px 32px 14px 14px;
  box-shadow: 0 4px 15px #0000004a;
  transition: box-shadow 0.25s, transform 0.2s;
  text-decoration: none;
}

.contact-card:hover {
  box-shadow: 0 8px 32px rgba(14, 116, 144, 0.18);
  transform: translateY(-2px);
}

.contact-card__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.contact-card__text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.01em;
}

/* World map */
.contact-map {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-map__frame {
  width: 100%;
}

.world-map-svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(129, 140, 248, 0.15));
}

.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.6;
  padding: 0 8px;
}

.contact-address__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--teal);
  font-weight: 700;
  margin-top: 1px;
}

@media (max-width: 480px) {
  .contact-card {
    border-radius: 24px;
    padding: 14px 20px;
  }

  .contact-card__icon {
    width: 50px;
    height: 50px;
  }
}