/* --- Root Variables & Color Palette --- */
:root {
  --navy: #112244; /* Brand Primary */
  --light-blue: #8fa6c5; /* Brand Secondary / Footer */
  --white: #ffffff;
  --gray-bg: #f8fafc;
  --text-dark: #1a1a1a;
  --dot-inactive: #cbd5e0;
}

* {
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  margin: 0;
  padding: 0;
  /* Essential: Prevents the fixed footer from overlapping content */
  padding-bottom: 280px;
  color: var(--navy);
  background-color: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

/* --- Header & Pill Navigation --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 60px; /* Adjust this height to fit your header perfectly */
  width: auto;
  display: block;
}

.pill-nav {
  border: 2px solid var(--navy);
  border-radius: 50px;
  padding: 5px;
  display: flex;
}

.nav-item {
  text-decoration: none;
  color: var(--navy);
  padding: 10px 25px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-item.active,
.nav-item:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* --- Home Page Slideshow --- */
.slideshow-container {
  position: relative;
  margin-top: 60px;
  min-height: 450px;
}

.slide {
  display: none; /* Controlled via JS */
}

.slide h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 25px;
  max-width: 950px;
}

.slide p {
  font-size: 1.25rem;
  max-width: 850px;
  color: var(--text-dark);
}

.slide-list {
  list-style: none;
  padding: 0;
}

.slide-list li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.slide-list li::before {
  content: "•";
  color: var(--light-blue);
  position: absolute;
  left: 0;
}

/* Slideshow Controls (Arrows) */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 35%;
  width: auto;
  padding: 16px;
  color: var(--navy);
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s;
  border-radius: 50%;
  user-select: none;
  background-color: rgba(143, 166, 197, 0.1);
}

.next {
  right: -60px;
}
.prev {
  left: -60px;
}

.prev:hover,
.next:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* Slideshow Dots */
.dot-container {
  text-align: center;
  margin-top: 50px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: var(--dot-inactive);
  border-radius: 50%;
  display: inline-block;
  transition: 0.4s;
  cursor: pointer;
}

.active-dot {
  background-color: var(--navy);
  width: 25px;
  border-radius: 10px;
}

.fade {
  animation-name: fadeEffect;
  animation-duration: 0.8s;
}

@keyframes fadeEffect {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* --- About Page Grids & Sections --- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 60px 0;
}

.mv-card {
  padding: 40px;
  background: var(--gray-bg);
  border-radius: 24px;
  border-left: 6px solid var(--light-blue);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}

.value-box {
  padding: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.leadership-highlight {
  background: var(--navy);
  color: white;
  padding: 50px;
  border-radius: 30px;
  margin-bottom: 40px;
}

.leadership-highlight h3 {
  color: var(--light-blue);
  margin-top: 0;
}

.commitment-banner {
  background: var(--light-blue);
  color: white;
  padding: 50px;
  border-radius: 30px;
  text-align: center;
}

/* --- Services Page Layout --- */
.service-block {
  margin-bottom: 80px;
  padding-top: 40px;
  border-top: 1px solid #edf2f7;
}

.service-tagline {
  font-size: 1.2rem;
  color: var(--light-blue);
  font-weight: 600;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
}

.offerings ul li {
  padding: 10px 0;
  border-bottom: 1px solid #f7fafc;
  position: relative;
  padding-left: 20px;
  list-style: none;
}

.offerings ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--light-blue);
}

.benefit-card {
  background: #f8fafc;
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  border-left: 4px solid var(--navy);
}

.integration-box {
  background: var(--navy);
  color: white;
  padding: 60px;
  border-radius: 40px;
  margin-top: 80px;
}

.approach-grid-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

/* --- Contact Page Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

form {
  display: grid;
  gap: 15px;
}
input,
select,
textarea {
  padding: 15px;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
}

button[type="submit"] {
  background: var(--navy);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button[type="submit"]:hover {
  background: var(--light-blue);
}

/* --- Fixed Compliance Footer --- */
.footer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--light-blue);
  color: var(--white);
  padding: 30px 0;
  /* Rounded corners removed for a straight, modern look */
  text-align: center;
  z-index: 1000;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 0.85rem;
}

.footer-line {
  margin-bottom: 8px;
}
.footer-line a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
}
.compliance-text {
  font-size: 0.75rem;
  margin-top: 15px;
  opacity: 0.9;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  line-height: 1.4;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1300px) {
  .prev {
    left: 10px;
  }
  .next {
    right: 10px;
  }
}

@media (max-width: 900px) {
  .mv-grid,
  .service-grid,
  .approach-grid-small,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .slide h1 {
    font-size: 2rem;
  }
  body {
    padding-bottom: 380px;
  } /* More space for stacked mobile footer */
}
