@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');


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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #000812;
  color: #f0f0f0;
  line-height: 1.6;
}

:root {
  --brand-blue: #1c4586;
}


/* NAVBAR */
.navbar {
  background: linear-gradient(-45deg, #001527, #002B49, #00375B, #001527);
  background-size: 500% 500%;
  animation: backgroundMotion 20s ease infinite;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap; /* allows items to stack on small screens */
}

/* Make it adapt for smaller screens */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column; /* stack logo and links vertically */
    align-items: flex-start;
    padding: 15px 20px;
  }

  .navbar a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 15px;
  }

  .navbar a {
    font-size: 0.9rem;
  }
}



.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: #ffffff;
  text-decoration: none;
}


.logo-img {
  width: 50px;
  margin-right: 10px;
}

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

.nav-links a {
  color: #cce6ff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 2px; /* keeps spacing consistent */
}

/* underline effect */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #66d9ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.active {
  color: #66d9ff;
  font-weight: 600;
}

/* ======= DROPDOWN MENU ======= */

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  color: var(--brand-blue);
  padding: 30px 40px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 280px;
  z-index: 100;
}

/* Dropdown expands smoothly */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Section title inside dropdown */
.dropdown-column h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1c4586;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* Dropdown links */
.dropdown-column a {
  display: block;
  font-size: 0.95rem;
  color: #0c2440;
  text-decoration: none;
  margin: 6px 0;
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 2px;
}

/* Underline animation */
.dropdown-column a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.dropdown-column a:hover::after {
  transform: scaleX(1);
}

.dropdown-column a:hover {
  color: #004d85;
}

/* Keep dropdown above other sections */
.navbar {
  position: relative;
  z-index: 1000;
}


/* HERO SECTION */
.hero-section {
  background: none;
  color: white;
  text-align: center;
  padding: 150px 20px 100px;
  position: relative;
}

.full-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.highlight {
  background: linear-gradient(to right, #f26dff, #66d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: #d0d0d0;
  margin-bottom: 30px;
}

.hero-button {
  background: linear-gradient(to right, #f26dff, #66d9ff);
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-button:hover {
  background: #0077b6;
}


.scroll-indicator {
  display: flex;          /* block-level flex container */
  margin: 40px auto 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: 36px;
  color: #66d9ff;
  border: 1px solid rgba(102, 217, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, color 200ms ease;
  will-change: transform;
}

.scroll-indicator:hover,
.scroll-indicator:focus-visible {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.scroll-indicator:active {
  transform: translateY(0);
}

.scroll-indicator .chevron {
  width: 22px;
  height: 22px;
  animation: chevronBounce 2.6s cubic-bezier(.22,.61,.36,1) infinite;
  opacity: 0.9;
}

@keyframes chevronBounce {
  0%   { transform: translateY(0);      opacity: 0.9; }
  40%  { transform: translateY(6px);    opacity: 1;   }
  60%  { transform: translateY(2px);    opacity: 0.95;}
  100% { transform: translateY(0);      opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator .chevron { animation: none; }
}


.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
  pointer-events: none;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
  .hero-section {
    padding: 100px 15px 80px;
  }

  .hero-content h1,
  .tagline {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
    margin-top: 10px;
  }
}

/* Mobile phones */
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 10px;
  }

  .hero-content {
    max-width: 90%;
  }

  .hero-content h1,
  .tagline {
    font-size: 1.6rem;
    line-height: 1.25;
    padding: 0 5px;
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .scroll-indicator {
    width: 36px;
    height: 36px;
  }

  .scroll-indicator .chevron {
    width: 18px;
    height: 18px;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .hero-section {
    padding: 60px 5px;
  }

  .hero-content h1,
  .tagline {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.9rem;
  }
}


/* SECTIONS */
section {
  padding: 80px 20px;
  text-align: center;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

/* ABOUT */
.about-section {
  background-color: #f2f1f1;
  color: var(--brand-blue);
  transition: all 0.5s ease;
}

.about-section h1 {
  font-size: 2.5rem;
  font-weight: 100;
  margin-bottom: 1rem;
}

.about-description {
  font-size: 1.2rem;
  font-weight: 100;
  line-height: 1.7;
  color: var(--brand-blue);
}



/* CTA */
/* CTA Section */
.cta-section {
  background-color: #ffffff;
  padding: 80px 20px;
  border-top: 1px solid #e5e7eb;
  font-family: 'Inter', sans-serif;
}

.cta-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cta-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.cta-box {
  background-color: var(--brand-blue);
  padding: 40px;
  border-radius: 20px;
  flex: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cta-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 2.1rem;
  text-align: left;
  color: #ffffff;
  margin-bottom: 15px;
}

.cta-box p {
  font-family: 'Montserrat', sans-serif;
  text-align: left;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 30px;
}

.cta-button {
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  background-color: var(--brand-blue);
  color: #fff;
  padding: 12px 24px;
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  transition: background-color .2s ease, color .9s ease, transform .15s ease;
}

.cta-button:hover {
  background-color: #163562;
}

.job-search {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}

.job-search button {
  padding: 10px 14px;
  background-color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: not-allowed;
  font-size: 1rem;
}

.visually-hidden {
  position: absolute;
  left: -10000px;
}

.about-page .connect-section {
  position: relative;
  background: url('../images/aboutCL/connect-banner.png') center/cover no-repeat;
  height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 80px 8%;
  color: #ffffff;
}
.connect-section .connect-btn {
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  background-color: var(--brand-blue);
  color: #fff;
  padding: 12px 24px;
  border: 1px solid var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  transition: background-color .2s ease, color .9s ease;
}

.connect-section .connect-btn:hover {
  background-color: #163562;
}


.about-page .connect-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* soft overlay for readability */
}

.about-page .connect-content {
  position: absolute;
  bottom: 80px;
  left: 8%;
  border-left: 2px solid rgba(255,255,255,0.8);
  padding-left: 30px;
}

.connect-content h2 {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.connect-content p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 30px;
}

.connect-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.connect-link:hover {
  color: #66d9ff;
  border-color: #66d9ff;
}

.white-divider {
  background-color: #ffffff;
  height: 100px;
  width: 100%;
}


/* FOOTER */

.footer {
  background-size: 500% 500%;
  animation: backgroundMotion 20s ease infinite;
  text-align: center;
  background-color: var(--brand-blue);
  padding: 40px 20px;
  color: #8899aa;
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex: 1;
  text-align: left;
}

.footer-logo {
  width: 50px;
  height: auto;
}

.footer-company {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
}

.footer-tagline {
  font-style: italic;
  color: #8899aa;
  font-size: 0.9rem;
}

.footer-center {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(2, auto);
  gap: 10px 30px;
  justify-content: center;
  flex: 1;
}


.footer-center a {
  color: #66d9ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-center a:hover {
  color: #ffffff;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.social-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0.85);
  transition: filter 0.3s ease, transform 0.2s ease;
}

.social-icon:hover {
  filter: brightness(1.2);
  transform: scale(1.1);
}


/* PRODUCT PAGE */
.product-hero {
  background: #000;
  color: white;
  text-align: center;
  padding: 120px 20px 60px;
}

.product-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.product-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.product-info ul {
  list-style: none;
  padding-left: 0;
  line-height: 2;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.pricing {
  margin-top: 40px;
}

.price-tag {
  font-size: 2rem;
  font-weight: 700;
  color: #66d9ff;
}

.button {
  display: inline-block;
  margin-left: 20px;
  background: #66d9ff;
  color: #000;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: #3399cc;
}

/* SCROLL ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.tagline-wrapper {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.tagline {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: transform, opacity;
}

.tagline-exit {
  opacity: 0;
  transform: translateY(20px);
}

.tagline-enter {
  opacity: 0;
  transform: translateY(-20px);
}

.tagline-active {
  opacity: 1;
  transform: translateY(0);
}

.hero-section.full-screen {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  flex-direction: column;
  color: white;
}


@keyframes backgroundMotion {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.product-module {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  max-width: 720px;
  margin: 4rem auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  text-align: center;
}

.product-module ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.product-module ul li {
  padding: 0.5rem 0;
  font-size: 1rem;
}

.price-tag {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
}

.demo-button {
  background: #265cff;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

.demo-button:hover {
  background: #1a45cc;
}

/* Initial hidden state */
.product-page-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Visible state */
.product-page-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.approach-modules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.box-number {
  position: absolute;
  top: -30px;
  left: -30px;
  font-size: 2.8rem;
  font-weight: 700;
  color: rgb(115, 115, 115);
  pointer-events: none;
  z-index: 0;
}

.module-box {
  position: relative;
  background-color: var(--brand-blue);
  padding: 1.5rem;
  border-radius: 1rem;
  width: 220px;
  text-align: left;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
}

.module-box h3, .module-box p {
  position: relative;
  z-index: 1;
}


.module-box:hover {
  transform: translateY(-px);
  box-shadow: 0 0 25px rgba(102, 217, 255, 0.4); /* subtle glow */
}


.module-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.module-box p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.4;
}

@keyframes glowBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* -------------------------------------
   Animations
------------------------------------- */

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply fadeSlideUp to module boxes */
.module-box {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.8s ease-out forwards;
}

.module-box:nth-child(1) {
  animation-delay: 0.3s;
}
.module-box:nth-child(2) {
  animation-delay: 0.6s;
}
.module-box:nth-child(3) {
  animation-delay: 0.9s;
}
.module-box:nth-child(4) {
  animation-delay: 1.2s;
}




/* CONTACT PAGE STYLE */
.contact-page {
  background-color: #ffffff;
  color: var(--brand-blue);
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.contact-hero {
  text-align: center;
  padding: 80px 20px 40px;
}

.contact-hero h1 {
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--brand-blue);
}

.contact-hero p {
  font-size: 1.4rem;
  color: var(--brand-blue);
}

.contact-form-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px 60px;
  flex: 1;
}

.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background-color: rgba(0, 0, 0, 0.08);
  border: none;
  border-radius: 10px;
  padding: 12px;
  color: var(--brand-blue);
  font-size: 1rem;
}

.contact-form textarea {
  font-family: 'Montserrat', sans-serif; /* Force non-monospace */
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Two-column layout on wider screens */
@media (min-width: 768px) {
  .form-grid {
    flex-direction: row;
    gap: 2rem;
  }

  .form-column {
    flex: 1;
  }
}


.cta-button {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  transition: background-color .2s ease, color .9s ease, transform .15s ease;
}

.cta-button:hover {
  background: linear-gradient(to bottom, #004d85, #004d85);
  transform: translateY(-2px);
}
.nav-links a.active {
  font-weight: 700;
  border-bottom: 2px solid #66d9ff;
  color: #66d9ff;
  padding-bottom: 2px;
}

/* Chatbot Section */
.chatbot-section {
  background: #f2f1f1;
  padding: 60px 20px;
  text-align: center;
}

.chatbot-container {
  max-width: 700px;
  margin: 0 auto;
}



.chatbot-section p {
  color: #555;
  margin-bottom: 30px;
}

.chatbot-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.chat-window {
  max-height: 250px;
  overflow-y: auto;
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.chat-message.bot {
  background: #eef2ff;
  color: #333;
  display: inline-block;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.chat-input-area {
  display: flex;
  margin-top: 10px;
}

.chat-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px 0 0 8px;
  outline: none;
}

.chat-send-btn {
  background: #1b1b5e;
  color: white;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 1rem;
}

.chat-send-btn:hover {
  background: #33338a;
}


.contact-direct {
  background: transparent;
  text-align: center;
  padding: 24px 20px 80px;
}

.contact-direct h3 {
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-direct p {
  margin: 6px 0;
  font-size: 1.05rem;
  color: var(--brand-blue);
}

.contact-direct .contact-link {
  color: var(--brand-blue);
  font-weight: 300;
  text-decoration: none; /* removes underline */
  transition: color 0.2s ease;
}

.contact-direct .contact-link:hover,
.contact-direct .contact-link:focus-visible {
  color: #163562; /* slightly darker on hover */
  outline: none;
}


/* Split Layout for About Section */
.split-layout .split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.split-layout .text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.split-layout .visual {
  flex: 1;
  min-width: 250px;
  display: flex;
  justify-content: center;
}

.about-logo {
  max-width: 250px;
  filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.approach-section {
  background-color: #ffffff;
  text-align: center;
  padding: 100px 20px;
}

.blue-text {
  color: var(--brand-blue);
  font-weight: 300;
}

.approach-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--brand-blue);
  font-size: 1.1rem;
  font-weight: 100;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  overflow: visible; 
}

/* Make each card a vertical stack */
.module-box {
  display: flex;
  flex-direction: column;
  min-height: 180px;        /* ensure equal height so icons line up */
}

.module-icon {
  margin-top: auto;
  align-self: center;       /* center horizontally */
  font-size: 2.2rem;
  color: #ffffff;
  display: inline-block;
  transition: transform 0.3s ease;
}


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



/* Services Section */
.services-section {
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  padding: 60px 20px 0; 
  text-align: center;
}

.services-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  margin: 0 auto 20px auto; 
  color: var(--brand-blue);
  text-align: left;
  max-width: 800px;
}


.services-intro {
  font-family: 'Montserrat', sans-serif;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--brand-blue); 
  text-align: left;
}


.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.service-box h3 {
  font-family: 'Montserrat', sans-serif;
  color: #66d9ef;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-box p {
  color: #d4d7dd;
  font-size: 1rem;
  line-height: 1.5;
}

/* Section Divider */
.section-divider {
  margin: 60px auto 40px;
  border: 0;
  height: 1px;
  width: 80%;
  background-color: #1c2a38;
}


.services-zigzag {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 900px;
  margin: 60px auto 0;
  position: relative;
}


.service-card {
  position: relative;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #1a2b3d;
  width: 85%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}


.service-content {
  position: relative;
  z-index: 1;
}

.service-content h3 {
  font-size: 1.4rem;
  color: #5fd4f4;
  margin-bottom: 10px;
}

.service-content p {
  color: #d6dbe1;
  font-size: 1rem;
  line-height: 1.6;
}

.service-card:hover {
  transform: scale(1.02);
}

.service-card.left {
  align-self: flex-start;
}

.service-card.right {
  align-self: flex-end;
}

.service-content h3 {
  font-size: 1.4rem;
  color: #5fd4f4;
  margin-bottom: 10px;
}

.service-content p {
  color: #d6dbe1;
  font-size: 1rem;
  line-height: 1.6;
}

/*Faint background circle behind cards */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); /* default black tint */
  z-index: 0;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.service-card:hover::before {
  background: rgba(0, 0, 0, 0.7); /* darker tint on hover */
}

.module-box {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.module-box.animate {
  opacity: 1;
  transform: translateY(0);
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.service-selector {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0px;
  gap: 20px;
  padding: 20px 0;
  background: linear-gradient(90deg, #0f2027, #203a43, #2c5364); /* default, gets overwritten */
  background-size: 500% 500%;
}



/* Tabs: no width change on hover */
.service-tab {
  background: transparent;
  color: white;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;                  /* keep weight constant to avoid reflow */
  border: none;
  position: relative;
  display: inline-block;             /* keeps underline sizing predictable */
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
  opacity: 0.9;
  /* Reserve space for the underline so layout never jumps */
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

/* Hover/active: only color + underline color change; no font-weight change */
.service-tab:hover,
.service-tab:focus-visible,
.service-tab.active {
  color: #ffffff;
  opacity: 1;
  border-bottom-color: #ffffff;      /* modern underline without reflow */
  /* DO NOT change font-weight here */
}

/* animated underline without moving layout */
.service-tab {
  --u: 0;
  background: linear-gradient(currentColor, currentColor) left bottom / var(--u) 2px no-repeat;
}
.service-tab:hover,
.service-tab:focus-visible,
.service-tab.active {
  --u: 100%;
  transition: color 0.25s ease, opacity 0.25s ease, background-size 0.25s ease;
}



.service-display {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 110px;
  background: linear-gradient(90deg, #001527, #002B49, #00375B);
  background-size: 300% 300%;
  animation: backgroundMotion 20s ease infinite;
  height: 600px;
  overflow: hidden;
  position: relative;
  gap: 40px;
}



.service-display::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0px;
}


.service-image {
  flex: 1;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.service-details {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 500px;
}

.service-details h3 {
  text-align: left;
  font-size: 38px;
  margin-bottom: 10px;
  color: #ffffff;
}

.service-details p {
  font-size: 19px;
  color: #ffffff;
}

.service-text {
  flex: 1;
  z-index: 1;
  color: white;
  text-align: left;
}

.service-text h3 {
  font-size: 38px;
  color: white;
  margin-bottom: 15px;
}

.service-text p {
  font-size: 19px;
  color: white;
}

.service-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.service-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Tablets */
@media (max-width: 1024px) {
  .service-display {
    flex-direction: column;
    height: auto;
    padding: 60px 40px;
    gap: 40px;
    text-align: center;
  }

  .service-details {
    max-width: 100%;
    text-align: center;
  }

  .service-details h3 {
    font-size: 2rem;
  }

  .service-details p {
    font-size: 1rem;
  }

  .service-image-container {
    max-width: 100%;
    height: auto;
  }

  .service-image-container img {
    width: 100%;
    height: auto;
  }
}

/* Phones */
@media (max-width: 768px) {
  .service-selector {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
  }

  .service-tab {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .service-display {
    flex-direction: column;
    height: auto;
    padding: 40px 20px;
    gap: 24px;
  }

  .service-details {
    text-align: center;
  }

  .service-details h3 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .service-details p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .service-image-container img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: block;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .service-display {
    padding: 30px 15px;
  }

  .service-details h3 {
    font-size: 1.3rem;
  }

  .service-details p {
    font-size: 0.9rem;
  }

  .service-tab {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
}

/* Values Section */
.values-section {
  background: #f2f1f1;
  background-size: 500% 500%;
  animation: backgroundMotion 20s ease infinite;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.values-section h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 10px;
  color: var(--brand-blue);
}

.values-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--brand-blue);
}

.values-zigzag {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 900px;
  margin: 60px auto 0;
  position: relative;
}

.value-card {
  position: relative;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #1a2b3d;
  width: 85%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.value-card.left {
  align-self: flex-start;
}

.value-card.right {
  align-self: flex-end;
}

.value-card:hover {
  transform: scale(1.02);
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.value-card:hover::before {
  background: rgba(0, 0, 0, 0.7);
}

.value-content {
  position: relative;
  z-index: 1;
}

.value-content h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.value-content p {
  color: #d6dbe1;
  font-size: 1rem;
  line-height: 1.6;
}

/* Start hidden + offset per side */
.values-zigzag .value-card {
  opacity: 0;
  transform: translateX(0);             /* will be overridden by side */
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

.values-zigzag .value-card.left  { transform: translateX(-48px); }
.values-zigzag .value-card.right { transform: translateX( 48px); }

/* When scrolled into view */
.values-zigzag .value-card.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Respect "Reduce motion": show immediately with no slide */
@media (prefers-reduced-motion: reduce) {
  .values-zigzag .value-card,
  .values-zigzag .value-card.left,
  .values-zigzag .value-card.right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.value-content { transition: opacity .5s ease .1s; opacity: 0; }
.value-card.in-view .value-content { opacity: 1; }


/* ===== Careers ===== */

/* Alternating section helpers */
.section--gray  { background: #f2f1f1; color: var(--brand-blue); }
.section--white { background: #ffffff; color: var(--brand-blue); }

/* Intro */
.careers-intro .intro-wrap { display: flex; justify-content: center; }
.careers-intro .intro-text { max-width: 900px; text-align: left; }
.careers-intro h1 { font-size: 2.5rem; font-weight: 100; margin-bottom: 1rem; }
.careers-intro .intro-desc { font-size: 1.2rem; font-weight: 100; line-height: 1.7; }

/* Section intro text */
.section-intro {
  max-width: 800px;
  margin: 0.5rem auto 2rem;
  font-size: 1.05rem;
  color: var(--brand-blue);
  font-weight: 100;
  text-align: center;
}

/* --- Why Work With Us tiles --- */
.why-work.section--white { background: #ffffff; color: var(--brand-blue); }

.wwu-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 18px;
}

@media (max-width: 960px) {
  .wwu-tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wwu-tiles { grid-template-columns: 1fr; }
}

.wwu-tile {
  text-align: left;
  background: #ffffff;
  border: 1px solid #e7eaf0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.wwu-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}

.wwu-img-wrap {
  aspect-ratio: 16 / 9;           /* keeps a consistent banner look */
  background: #f3f6fb;
  overflow: hidden;
}

.wwu-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wwu-heading {
  font-size: 1.15rem;
  margin: 14px 16px 6px;
  color: #0c2440;
}

.wwu-copy {
  font-size: 0.98rem;
  color: #2c3b4e;
  margin: 0 16px 18px;
  line-height: 1.55;
}

/* optional: reveal-on-scroll like the rest of the page */
.wwu-tile { opacity: 0; transform: translateY(18px); }
.fade-in.active .wwu-tile { 
  opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s ease;
}


/* Open Roles (distinct look) */
.roles .container { max-width: 1000px; }
.role-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 20px 22px;
  margin: 14px 0;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e7eaf0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.section--gray .role-card { background: #ffffff; } /* keep cards white on gray section */

.role-title { font-size: 1.15rem; color: #0c2440; margin-bottom: 4px; }
.role-meta  { font-size: 0.95rem; color: #5b6a7a; margin-bottom: 8px; }
.role-desc  { font-size: 0.98rem; color: #2c3b4e; margin-bottom: 10px; }

.role-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.role-tags li {
  font-size: 0.85rem;
  color: #123c6d;
  background: #e9f3ff;
  border: 1px solid #cfe6ff;
  padding: 6px 10px;
  border-radius: 999px;
}

.role-cta { display: flex; align-items: center; gap: 10px; }
.btn-apply {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--brand-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform .15s ease, background-color .2s ease;
}
.btn-apply:hover { background: #163562; transform: translateY(-1px); }

.roles-cta {
  margin-top: 22px;
  text-align: center;
  color: var(--brand-blue);
}
.roles-cta a { color: var(--brand-blue); text-decoration: underline; }

/* Closer CTA */
.careers-closer .closer-wrap { max-width: 900px; margin: 0 auto; text-align: center; }
.btn-outline {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.btn-outline:hover { background: var(--brand-blue); color: #fff; transform: translateY(-1px); }

/* Responsive tweaks */
@media (max-width: 640px) {
  .role-card { grid-template-columns: 1fr; }
  .role-cta { justify-content: flex-start; }
}

.hiring-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 2rem 0;
  text-align: center;
}

.step {
  background: #f9fbff;
  border: 1px solid #e0e6ef;
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--brand-blue);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--brand-blue);
}

.step p {
  font-size: 0.95rem;
  color: #445566;
}
/* Multi-step form base */
.apply-form {
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
}

/* Hide all steps except active */
.form-step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
  display: block;
}

/* Step headings */
.form-step h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Labels & inputs */
.apply-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

/* Buttons */
.step-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.next-btn,
.prev-btn,
.btn-apply {
  background: #002147; /* dark navy brand color */
  color: #fff;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.next-btn:hover,
.prev-btn:hover,
.btn-apply:hover {
  background: #003366; /* lighter navy */
}

.prev-btn {
  background: #777;
}

.prev-btn:hover {
  background: #555;
}



/* Progress bar */
.progressbar {
  counter-reset: step;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 0;
}

.progressbar li {
  list-style: none;
  position: relative;
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #999;
}

.progressbar li::before {
  counter-increment: step;
  content: counter(step);
  width: 30px;
  height: 30px;
  line-height: 30px;
  border: 2px solid #ccc;
  display: block;
  text-align: center;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: white;
}

.progressbar li::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ccc;
  top: 15px;
  left: -50%;
  z-index: -1;
}

.progressbar li:first-child::after {
  content: none;
}

.progressbar li.active {
  color: #002147;
}

.progressbar li.active::before {
  border-color: #002147;
  background: #002147;
  color: white;
}

.progressbar li.active + li::after {
  background: #002147;
}

/* Smooth fade */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


.sitemap-section {
  background: #ffffff;
  color: var(--brand-blue);
  font-family: 'Montserrat', sans-serif;
  padding: 100px 10%;
  max-width: 1000px;
  margin: 0 auto;
  counter-reset: section;
  text-align: left;
}

body.sitemap-page {
  background-color: #ffffff;
  color: var(--brand-blue);
}

.sitemap-title {
  font-size: 2.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 15px;
  margin-bottom: 50px;
  text-align: left;
}

.sitemap-group {
  border-top: 1px solid #e6e6e6;
  padding: 40px 0px;
  position: relative;
}

.sitemap-group::before {
  content: counter(section, decimal-leading-zero);
  counter-increment: section;
  position: absolute;
  left: -70px;
  top: 42px;
  font-weight: 700;
  color: #b7c0ce;
  font-size: 1rem;
}


.sitemap-group:first-of-type {
  border-top: none;
}

.sitemap-group h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sitemap-group ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.sitemap-group ul li {
  font-size: 1.05rem;
  color: #00375B;
  margin: 8px 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sitemap-group ul li a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.sitemap-group ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;
  background: #66d9ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.sitemap-group ul li a:hover::after {
  transform: scaleX(1);
}

.sitemap-group ul li:hover {
  color: #004d85;
  transform: translateX(4px);
}

/* Subsection indentation */
.sitemap-group ul ul {
  margin-left: 25px;
  margin-top: 8px;
  border-left: 2px solid rgba(0, 69, 133, 0.15);
  padding-left: 20px;
}

.sitemap-group h2 a:hover {
  color: #004d85;
  transform: translateX(5px);
}

/* Make sure nothing sits on top of links */
.sitemap-group {
  position: relative;
  z-index: 0;
}
.sitemap-group h2 a {
  position: relative;
  z-index: 1;
  display: inline-block; 
  color: var(--brand-blue); 
  text-decoration: none;  
  transition: color 0.3s ease, transform 0.2s ease; 
}


.sitemap-group h2 a:hover {
  color: #004d85;
  transform: translateX(5px);
}




