body {
  background-color: white;
  font-size: 100%;
  min-width: 100%;
}

.navbar-light {
  width: 100%;
  height: auto;
  background-color: #224c67;
  color: white;
  font-size: 1.75rem;
  padding: 1.13rem;
}

.nav-container {
  z-index: 90;
}

.dropdown {
  z-index: 100;
}

.dropdown-menu {
  background-color: rgb(206, 222, 237);
}
.sub-link {
  background-color: white;
  width: 99.5%;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu a::after {
  transform: rotate(-90deg);
  position: absolute;
  right: 2px;
  top: 1em;
}

.dropdown-submenu .dropdown-menu {
  top: 50%;
  right: auto;
  left: 15%;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}

.nav-link {
  font-size: 1.1rem;
  font-family: Arial;
  margin: 0.35rem 0.45rem;
  color: white !important;
}

.nav-link:hover {
  color: rgb(159, 203, 237) !important;
}

#logo {
  margin-right: 2.5rem;
  height: 50px;
}

.navbar-light .navbar-toggler {
  border-color: rgb(255, 255, 255);
  background-color: #2c6588;
}

.dropdown-item {
  color: #0f275c;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 1px;
}

.main-directionsText {
  font-size: 2.19rem;
  color: white;
  padding: 2% 5%;
  text-align: right;
  margin-top: 3%;
  font-weight: 500;
  position: fixed;
  bottom: 5%;
  right: 5%;
}

.carousel-caption {
  width: auto;
  background-color: #1f2439;
  opacity: 0.8;
  margin: 5px -20%;
}

.carousel-caption-test {
  background-color: #2c6588;
}

.main-directions-title {
  font-size: 2.5rem;
  font-family: Arial Black;
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}

.carousel-item {
  overflow: hidden;
}

#carousel-img {
  width: 100%;
  height: auto;
}

.carousel-indicators li {
  background-color: #020266;
  margin-bottom: 2%;
}

.container-mission {
  width: 65%;
  padding: 1.25rem;
  margin: auto;
  text-align: justify;
  font-size: 1.1rem;
}

#home-subheading {
  color: #1a3368;
  margin: 2%;
  font-weight: 600;
  text-align: center;
}

video {
  margin: 1.5rem auto;
}

@media only screen and (max-width: 700px) {
  .main-directions-title {
    font-size: 1.1rem;
    margin: 0.3rem;
    padding: 0rem 1rem;
  }

  #logo {
    height: 30px;
  }

  #home-subheading {
    font-size: 1.2rem;
  }

  .nav-link,
  .dropdown-item {
    font-size: 1.1rem;
  }

  .carousel-indicators {
    display: none;
  }

  .container-mission {
    width: 90%;
  }

  p {
    font-size: 0.9rem;
  }
}

h1 {
  margin: 3%;
  font-size: 2rem;
  color: #1a3368;
}

h6 {
  margin: 1.3rem 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #2b4885;
}

#subsection {
  margin-left: 2rem;
  color: #0f1e3e;
  font-size: 1.3rem;
}

#results-heading {
  padding-top: 3rem;
}

#spl-heading {
  display: none;
  margin: 3rem;
}

footer {
  height: 60px;
  background-color: #224c67;
  color: white;
  padding: 1.25rem;
  text-align: center;
  font-size: 1rem;
}
/* ===== STEP 1 SAFE VISUAL OVERRIDES ===== */

body {
  background-color: #f5f8fb !important;
  color: #1c2733 !important;
}

.navbar-light {
  background-color: #16324a !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12) !important;
}

.nav-link {
  color: #ffffff !important;
  font-weight: 500 !important;
  letter-spacing: 0.2px !important;
}

.nav-link:hover {
  color: #9fcbe8 !important;
}

.navbar-light .navbar-toggler {
  background-color: #245b78 !important;
  border-color: #d7e2ea !important;
}

#home-subheading,
h1 {
  color: #16324a !important;
}

.container-mission {
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  padding: 2rem !important;
  margin-top: 2.5rem !important;
  margin-bottom: 2.5rem !important;
}

.container-mission p {
  color: #24313d !important;
  line-height: 1.8 !important;
}

.carousel-caption {
  background-color: rgba(22, 50, 74, 0.86) !important;
  border-radius: 8px !important;
  padding: 0.8rem 1rem !important;
}

.carousel-caption-test {
  background-color: rgba(36, 91, 120, 0.9) !important;
}

.main-directions-title {
  letter-spacing: 0.5px !important;
  font-weight: 700 !important;
}

footer {
  background-color: #16324a !important;
  color: #ffffff !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06) !important;
}
/* ===== MIHANA GREEN THEME OVERRIDES ===== */

body {
  background-color: #f4f8f4 !important;
  color: #44524a !important;
}

.navbar-light {
  background-color: #1f4d3a !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10) !important;
}

.nav-link {
  color: #ffffff !important;
  font-weight: 500 !important;
  letter-spacing: 0.2px !important;
}

.nav-link:hover {
  color: #cfe3d4 !important;
}

.navbar-light .navbar-toggler {
  background-color: #2f6b52 !important;
  border-color: #d7e3da !important;
}

#home-subheading,
h1 {
  color: #22302a !important;
}

.container-mission {
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(31, 77, 58, 0.08) !important;
  padding: 2rem !important;
  margin-top: 2.5rem !important;
  margin-bottom: 2.5rem !important;
}

.container-mission p {
  color: #44524a !important;
  line-height: 1.8 !important;
}

.carousel-caption {
  background-color: rgba(31, 77, 58, 0.86) !important;
  border-radius: 8px !important;
  padding: 0.8rem 1rem !important;
}

.carousel-caption-test {
  background-color: rgba(47, 107, 82, 0.90) !important;
}

.main-directions-title {
  letter-spacing: 0.5px !important;
  font-weight: 700 !important;
}

footer {
  background-color: #1f4d3a !important;
  color: #ffffff !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05) !important;
}
/* ===== STEP 2 HOMEPAGE STRUCTURE ===== */

.home-section-title {
  color: #22302a;
  font-size: 1.45rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.25rem 0 2rem 0;
}

.home-service-card {
  background: #f7fbf7;
  border: 1px solid #d7e3da;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(31, 77, 58, 0.05);
}

.home-service-card h4 {
  color: #1f4d3a;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.home-service-card p {
  margin-bottom: 0;
}

.home-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.home-cta-btn {
  display: inline-block;
  background: #1f4d3a;
  color: #ffffff !important;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid #1f4d3a;
}

.home-cta-btn:hover {
  background: #2f6b52;
  border-color: #2f6b52;
  color: #ffffff !important;
  text-decoration: none;
}

.home-cta-secondary {
  background: #ffffff;
  color: #1f4d3a !important;
  border: 1px solid #2f6b52;
}

.home-cta-secondary:hover {
  background: #eef6f0;
  color: #1f4d3a !important;
}

@media only screen and (max-width: 900px) {
  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .home-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .home-cta-btn {
    text-align: center;
  }
}
/* ===== FAQ SECTION (home page) ===== */

.home-faq {
  margin: 1rem 0 2rem 0;
}

.home-faq-item {
  border-bottom: 1px solid #d7e3da;
  padding: 1rem 0;
}

.home-faq-item:last-child {
  border-bottom: none;
}

.home-faq-item h4 {
  color: #1f4d3a;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.home-faq-item p {
  color: #44524a;
  line-height: 1.8;
  margin-bottom: 0;
}

.home-faq-item a {
  color: #2f6b52;
  text-decoration: underline;
}

/* MIHANA navbar logo sizing — use with mihana-logo-horizontal-white-trimmed.svg */

.navbar-light {
  min-height: 104px !important;
  padding: 0.25rem 1.25rem !important;
  display: flex !important;
  align-items: center !important;
}

.navbar-brand-lockup {
  display: flex !important;
  align-items: center !important;
  margin-right: 1.75rem !important;
  flex-shrink: 0 !important;
}

.navbar-brand-logo {
  height: 88px !important;
  width: auto !important;
  max-width: 460px !important;
  display: block !important;
  object-fit: contain !important;
}

@media only screen and (max-width: 991px) {
  .navbar-light {
    min-height: 82px !important;
  }

  .navbar-brand-logo {
    height: 64px !important;
    max-width: 340px !important;
  }
}

@media only screen and (max-width: 576px) {
  .navbar-light {
    min-height: 68px !important;
    padding: 0.25rem 0.75rem !important;
  }

  .navbar-brand-logo {
    height: 48px !important;
    max-width: 250px !important;
  }
}
