/* Google Fonts (Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  /* brand palette */
  --clr-primary: #103047; /* deep navy text */
  --clr-accent: #f48b6d; /* soft coral accent */
  --clr-bg-light-2: #EBF3FD;
  --clr-bg-light: #e8eff6; /* very light blue‑grey */
  --clr-bg-feature-images: #E7F1FA;
  --clr-bg-white: #ffffff;
  --clr-header-text: #07202f;

  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* layout helpers */
  --max-width: 950px;
  --section-padding: 4rem;
}

/* Add fade-in animation keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

body {
  font-family: var(--font-sans);
  color: var(--clr-primary);
  background: var(--clr-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  background: var(--clr-primary);
  color: #fff;
  transition: background 0.25s;
}
.btn:hover {
  background: #0a2234;
}

/* ---------- HEADER ---------- */
header {
  background: var(--clr-bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
header::-webkit-scrollbar {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;

}
.logo {
  padding: 0.5rem;
}
.nav img {
  height: 40px;
  width: auto;
  transition: height 0.3s ease;
}
.nav-links {
  display: flex;
  gap: 0.1rem;
  font-weight: 500;
}

.nav-links a {
  border-radius: 4px;
  transition: background-color 0.2s ease;
  padding: 0.5rem 1rem;
  margin: 0;
  font-size: 1rem;
  transition: font-size 0.3s ease;
}

.nav-links a:hover {
  background-color: var(--clr-bg-light);
}

/* ---------- HERO ---------- */
.hero {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--clr-bg-light-2);
  height: 70vh;
  overflow: hidden;
}
.hero-text {
  flex: 1 1 200px;
  margin-left: 10%;
  margin-top: 10%;
  margin-bottom: 10%;
  text-align: center;
}
.hero-text-no-img {
  flex: 1 1 0px;
  margin: 10%;
  text-align: center;
  max-width: 600px;
}
.hero-text h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 4vw + 0.5rem, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  color: var(--clr-header-text);
  margin: 0;
  line-height: 1;
  padding: 0;
  transition: font-size 0.3s ease;
  animation: fadeIn 0.8s ease-out forwards;
}

.hero-text h1 + h1 {
  margin-top: -0.1em;
  padding-top: 0;
  color: #666666;
  font-size: clamp(1.2rem, 3.5vw + 0.5rem, 2rem);
  transition: font-size 0.3s ease;
  animation: fadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.hero p {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 4vw + 0.5rem, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: rgb(153, 153, 153);
  transition: font-size 0.3s ease;
}
.hero-img {
  flex: 1 1 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 12.5%;
  height: 100%;
  padding: 2rem 0;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 450px;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(1.25rem, 3.5vw + 0.5rem, 2rem);
    word-break: break-word;
  }
  
  .hero h1 + h1 {
    font-size: clamp(1rem, 3vw + 0.5rem, 1.75rem);
  }
  
  .hero p {
    font-size: clamp(1.25rem, 3.5vw + 0.5rem, 2rem);
  }
}
/* ---------- FEATURE SECTIONS ---------- */
.feature-section {
    padding: 4rem 0;
    background: var(--clr-bg-white);
}
.feature {
  padding: 0;
  background: var(--clr-bg-white);
}
.feature:nth-of-type(even) {
  background: var(--clr-bg-white);
}
.feature-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
}
.feature-text {
  flex: 0 0 50%;
  width: 50%;
  height: 300px;
  display: flex;
  flex-direction: column;
  padding: 2rem 3rem;
  justify-content: center;
}
.feature-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.2;
}
.feature-text p {
  font-size: clamp(0.75rem, 1.25vw + 0.25rem, 0.875rem);
  line-height: 1.3;
}
.feature-img {
  flex: 0 0 50%;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.feature-img img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 40px;
}
/* Align even-numbered feature images to the right */
.feature:nth-of-type(even) .feature-img {
  justify-content: flex-start;
}
/* Align odd-numbered feature images to the left */
.feature:nth-of-type(odd) .feature-img {
  justify-content: flex-end;
}
.feature h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw + 1rem, 2rem);
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.feature p {
  max-width: 55ch;
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.125rem);
}

/* ---------- CTA ---------- */
.cta {
  padding: calc(var(--section-padding) * 2.5) 0;
  text-align: center;
  background: var(--clr-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 1200px;
  width: calc(100% - 4rem);
}

.cta-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.15;
}

.cta-content {
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta p {
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta .btn {
  position: relative;
  z-index: 2;
  background: var(--clr-accent);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta .btn:hover {
  background: #e67a5d;
  transform: translateY(-1px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* ---------- FOOTER ---------- */
footer {
  background: #07202f;
  color: #c9d2d9;
  padding: 2.5rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  align-items: start;
  padding: 0 2rem;
}
.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
}
.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 700px) {
    .hero {
        gap: 0rem;
    }
    .feature-inner {
        flex-direction: column;
    }
    .feature-img {
        width: 70%;
        order: -1; /* stack image above text on small screens */
    }
    .feature-text {
        width: 70%;
    }
    /* Header responsive styles */
    .nav img {
        height: 32px;
    }
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    .logo {
      padding: 0.2rem 0.5rem;
    }
} 
@media (max-width: 600px) {
  .feature-img {
      width: 100%;
      order: -1; /* stack image above text on small screens */
  }
  .feature-text {
      width: 100%;
  }
  .hero-img {
    display: none;
  }
  .hero-text {
    margin-left: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-list {
    text-align: center;
  }
  .cta {
    margin: 0.5rem auto;
    border-radius: 0px;
    width: calc(100% - 0rem);
  }
}

@media (max-width: 500px) {
    .nav-links a {
      font-size: 0.8rem;
      padding: 0.3rem 0.6rem;
  }
}
@media (max-width: 403px) {
  .cta {
    margin: 0.5rem auto;
    border-radius: 0px;
    width: calc(100% - 0rem);
  }
  .nav-links a {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
}
}
@media (max-width: 340px) {
  .nav-links a {
    font-size: 0.65rem;
    padding: 0.1rem 0.25rem;
  }
}
/*
@media (max-width: 600px) {
    .feature h2 {
        font-size: clamp(1.25rem, 2.5vw + 1rem, 1.75rem);
        word-break: break-word;
    }
    
    .feature p {
        font-size: clamp(0.875rem, 1.25vw + 0.5rem, 1rem);
        word-break: break-word;
    }

    // Header responsive styles for mobile 
    .nav img {
        height: 28px;
    }
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
}*/
