:root{
    --accent: #1196D3;
    --accent-2: #5FD4F4;
    --text: #033645;
    --muted: #6F7B82;
    --bg: #D4ECF9;
    --container-min: 320px;
    --container-max: 1200px;
    --gap: 16px;
  
    /* Central header height used in header and splash */
    --header-height: 80px; /* change this once if you want a different header height */
  }

  html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;  /* hides accidental horizontal scroll */
}
*, *::before, *::after {
    box-sizing: inherit;
}
  
  /* FLUID CONTAINER */
  .container{
    width:100%;
    max-width: clamp(var(--container-min), 92vw, var(--container-max));
    margin:0 auto;
    padding:0 18px;
  }

  header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    border-radius: 15px;
    padding: 0 20px;                 /* vertical padding removed so header height is fixed */
    background: white;
    position: fixed;
    top: 0;
    z-index: 999;
  }
  
  /* HEADER (slim, not floating) */
  .site-header{
    position:relative;               /* not fixed/sticky by default */
    background: transparent;
    color:var(--text);
  }
  .header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:var(--gap);
    padding:10px 0;                  /* slim header - small vertical padding */
  }
  
  /* BRAND */
  .logo-only {
    height: calc(var(--header-height) * 0.6); /* 60% of header height */
    width: auto;
    object-fit: contain;
    margin: 0;
  }
  
  /* NAV TOGGLE (mobile) */
  .nav-toggle{
    display:block;
    background:transparent;
    border:0;
    padding:8px;
    cursor:pointer;
    color:var(--text);
    border-radius:8px;
  }
  .nav-toggle:focus{ outline:2px solid rgba(17,138,178,0.18); outline-offset:2px }
  
  /* PRIMARY NAV (mobile off-canvas style) */
  .primary-nav{
    position:fixed;
    inset:64px 14px 18px 14px; /* top offset below header */
    background: #ffffff;
    border-radius:12px;
    padding:14px;
    box-shadow: 0 10px 30px rgba(4,20,40,0.08);
    transform: translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition: all .22s ease;
  }
  .primary-nav.open{
    transform: none;
    opacity:1;
    pointer-events:auto;
  }
  .nav-list{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .nav-list a{
    display:block;
    padding:10px 12px;
    border-radius:8px;
    color:var(--text);
    text-decoration:none;
    font-weight:600;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #11648B;
    text-decoration: none;
  }
  .nav-list a:focus,
  .nav-list a:hover{color: #0072B2;}
  
  /* CTA styling inside nav */
  .btn-cta{
    background: linear-gradient(90deg,var(--accent),var(--accent-2));
    color:white;
    padding:10px 14px;
    border-radius:10px;
    font-weight:800;
    display:inline-block;
  }
  
  /* DESKTOP / TABLET: inline nav */
  @media (min-width:768px){
    .nav-toggle{ display:none }
    .primary-nav{
      position:static;
      inset:auto;
      transform:none;
      opacity:1;
      pointer-events:auto;
      padding:0;
      background:transparent;
      box-shadow:none;
    }
    .nav-list{
      flex-direction:row;
      gap:18px;
      align-items:center;
    }
    .nav-list a{ padding:6px 8px; background:transparent; border-radius:8px }
    .nav-list a:hover{ background: rgba(17,138,178,0.06) }
  }

  /* HERO SECTION */
/* HERO / SPLASH - full-screen area below header */
#splash {
    position: relative;
    height: 100vh;
    min-height: calc(100vh - var(--header-height)); /* fills viewport minus header */
    width: 100%;
    padding: 40px 20px;            /* inner padding, not affecting min-height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;           /* vertically center content inside splash */
    background: linear-gradient(180deg, #E6F5FB, #FFFFFF);
    text-align: center;
    overflow: hidden;
  }
  
  /* container for hero content */
  .hero-content {
    width: 100%;
    max-width: 900px;              /* prevents overly long lines and overflow */
    max-height: 90vh;
    box-sizing: border-box;
    padding: 10px;
    position: relative;            /* sits above any pseudo-element background */
    z-index: 2;
    overflow: hidden;
    margin-top: -120px;
  }
  
  /* Logo inside splash */
  .hero-logo {
    height: clamp(64px, 12vw, 120px); /* fluid size */
    width: auto;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
  }
  
  /* Headline: fluid and clamped so it never overflows */
  .hero-title {
    font-size: clamp(96px, 6.8vw, 64px); /* min 28, fluid, max 64 */
    line-height: 1.02;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
    word-break: break-word;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  
  /* Subtitle smaller, also fluid */
  .hero-subtitle {
    font-size: clamp(48px, 3.2vw, 22px); /* min 16, fluid, max 22 */
    color: #0072B2;
    margin: 30px 0 28px;
    font-weight: 400;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  
  /* Buttons row */
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  
  /* Button sizing reduced slightly so wide screens don't overflow */
  .btn {
    padding: 12px 22px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform .12s ease, background .12s ease;
  }
  .btn:active { transform: translateY(1px); }
  
  .primary-btn {
    background: var(--accent);
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  .secondary-btn {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  
  /* mobile tweaks */
  @media (max-width: 600px) {
    #splash { padding: 28px 14px; }
    .hero-title { font-size: clamp(22px, 7.5vw, 36px); }
    .hero-subtitle { font-size: 15px; }
    .hero-buttons { gap: 12px; }
  }
  
  /* small helper: reduce motion for users preferring that */
  @media (prefers-reduced-motion: reduce){
    * { transition:none !important; animation:none !important; }
  }

  @media (max-width: 600px) {
    #splash { padding: 28px 14px; }
    .hero-title { font-size: clamp(22px, 7.5vw, 36px); }
    .hero-subtitle { font-size: 15px; }
    .hero-buttons { gap: 12px; }
  }
  /* Optional: small shadow if you re-enable sticky later */
  /*
  .site-header.sticky {
    box-shadow: 0 4px 20px rgba(2,6,23,0.06);
    background: rgba(255,255,255,0.98);
  }
  */

  /* ---------- Features Section ---------- */

.features-section { padding: 55px 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.features-section .section-header { text-align:center; margin-bottom:50px; }
.features-section .section-header h2 { margin:0 0 6px; font-size: clamp(40px, 3.6vw, 28px); color:var(--text); }
.features-section .section-header .muted { color:var(--muted); margin:0; }

/* grid */
.features-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: start;
}

/* tablet */
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* desktop */
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* feature card */
.feature-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(2,6,23,0.04);
  border: 1px solid rgba(2,6,23,0.03);
  cursor: pointer;               /* clickable card */
  display:flex;
  flex-direction:column;
  gap: 12px;
  min-height: 170px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }

/* accessible focus */
.feature-card:focus {
  outline: 3px solid rgba(17,138,178,0.12);
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(2,6,23,0.06);
}

/* hover lift */
.feature-card:hover {
    transform: scale(1.03); /* subtle pop */
    box-shadow: 0 14px 30px rgba(2,6,23,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* faster and separate */
  }

/* icon + title */
.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, rgba(17,138,178,0.06), rgba(95,212,244,0.04));
  color: var(--accent);
}
.feature-card img {display: block; width: 100%; height: 100%;}

/* text */
.feature-title { margin:0; font-size: 16px; color:var(--text); }
.feature-desc { margin:0; color:var(--muted); font-size: 14px; line-height:1.4; }

/* hidden details revealed on expand */
.feature-more { margin-top:6px; color:var(--muted); font-size:13px; line-height:1.5; }

/* toggle button styling */
.feature-toggle {
  margin-top:auto; /* push toggle to bottom */
  background: transparent;
  border: none;
  color: var(--accent);
  font-weight: 700;
  padding: 8px 0;
  cursor: pointer;
  align-self:flex-start;
  border-radius:8px;
}
.feature-toggle:hover { text-decoration: underline; }

/* when expanded: different state */
.feature-card[aria-expanded="true"] .feature-toggle { color: #0b5f7c; }
.feature-card[aria-expanded="true"] .feature-more { display:block; }

/* Ensure details are hidden by default (for older browsers) */
.feature-more[hidden] { display: none; }

.features-cta {
    text-align:center;
    margin-top:50px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .feature-card, .feature-card:hover, .feature-card:focus { transition: none; transform: none; }
}

.contact-section {
  padding: 80px 20px;
  background-color: #143a5a;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Form */
.contact-form h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-form p {
  margin-bottom: 30px;
  color: #cbd5f5;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 16px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  padding: 14px;
  border-radius: 10px;
  border: none;
  background-color: #38bdf8;
  color: #020617;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #0ea5e9;
}

/* Map */
.contact-map iframe {
  width: 100%;
  height: 480px;
  border-radius: 20px;
  border: none;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    height: 300px;
  }
}

.site-footer {
  background: #0b2f3f; /* very dark light blue */
  color: #dceff7;
  margin-top: 80px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

/* Main footer layout */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Brand */
.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  color: #9fd3ea;
  margin-bottom: 16px;
}

.linkedin-icon {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.linkedin-icon:hover {
  transform: scale(1.1);
}

/* Links */
.footer-links h4,
.footer-info h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #bfe7f7;
  font-size: 14px;
}

.footer-links a:hover {
  color: #5fd4f4;
}

/* Contact */
.footer-info p,
.footer-info a {
  font-size: 14px;
  color: #bfe7f7;
  text-decoration: none;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: #9fd3ea;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }
}

.team-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #FFFFFF, #E6F5FB);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

.team-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.team-section .section-header h2 {
  margin: 0 0 8px;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--text);
}

.team-section .section-header .muted {
  color: var(--muted);
  margin: 0;
}

.team-carousel-wrapper {
  position: relative;
}

.team-carousel {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  gap: 20px;
}

.team-card {
  flex: 0 0 280px; /* fixed card width */
  background: #ffffff;
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(2,6,23,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(2,6,23,0.12);
}

.team-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.team-card h3 {
  margin: 8px 0 4px;
  font-size: 18px;
  color: var(--text);
}

.team-card .role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card .bio {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.team-card .social-links a {
  margin: 0 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.team-card .social-links a:hover {
  color: var(--accent-2);
}

/* arrows */
.team-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(17,138,178,0.1);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  color: var(--accent);
  transition: background 0.2s ease;
  z-index: 10;
}

.team-arrow:hover {
  background: rgba(17,138,178,0.2);
}

.left-arrow {
  left: -20px;
}

.right-arrow {
  right: -20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon svg {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover svg {
  transform: scale(1.2);
  opacity: 0.8;
}

/* mobile tweak */
@media (max-width: 768px) {
  .team-card { flex: 0 0 220px; }
  .team-arrow { width: 40px; height: 40px; font-size: 24px; }
}