  
    body {
      font-family: 'Lora', serif;
      font-size: 1.05rem;
      line-height: 1.6;
      color: #212529;
      margin: 0;
        }

    /* Navbar */
    .navbar {
      position: fixed;
      top: 0;
      width: 100%;
      height: 80px;
      transition: background-color 0.3s ease;
      z-index: 999;
    }

    .navbar.transparent {
      background-color: rgba(15,84,140,0.6);
    }

    .navbar.solid {
      background-color: #0f548c;
    }

    .navbar .navbar-brand,
    .navbar .nav-link {
      color: white !important;
    }

    .navbar .nav-link:hover {
      color: #f8f9fa !important;
    }

    .navbar .navbar-brand {
      font-size: 1.6rem;
      font-weight: 700;
      font-family: 'Open Sans', sans-serif;
      color: white;
    }

    .navbar .navbar-brand img {
      height: 42px;
      width: auto;
      margin-right: 10px;
      vertical-align: middle;
    }

    /* Hero Section */
    .hero {
      height: 100vh;
      padding-top: 80px;
      overflow: hidden;
      position: relative;
    }

    .hero video {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
    }

    .hero-content {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: white;
      padding: 0 20px;
      z-index: 1;
    }
    
/* Ensure hero heading stays on one line on desktop and scales responsively */
.hero-content h1 {
    font-family: 'Cormorant Upright', serif;
    font-weight: 700; /* or 700 for a strong presence */
    letter-spacing: 1px;
    font-size: 5vw; /* Scales with viewport width */
    font-weight: bold;
    white-space: nowrap; /* Prevents wrapping on larger screens */
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
    max-width: 100%; /* Prevent overflow */
    overflow: hidden;
}

/* Subheading always smaller than h1 and scales responsively */
.hero p.lead {
    font-size: 2.0vw; /* Smaller than h1, roughly half the size */
    font-weight: normal;
    line-height: 1.4;
    color: white;
}

/* Adjust font sizes and allow wrapping for medium screens */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 4vw; /* Smaller for tablets */
        white-space: normal; /* Allow wrapping */
    }
    .hero p.lead {
        font-size: 2vw; /* Maintain proportion to h1 */
    }
}

/* Further adjust for mobile devices */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 7vw; /* Adjusted for mobile readability */
        white-space: normal; /* Allow wrapping */
    }
    .hero p.lead {
        font-size: 4vw; /* Smaller but proportional to h1 */
    }
}

    .section-title {
      font-size: 2rem;
      margin-bottom: 20px;
      text-align: center;
      color: #0f548c;
    }

    .service-card {
      border: 2px solid #0f548c;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      height: 100%;
      text-align: center;
    }

    .service-description ul {
      list-style-type: disc;
      padding-left: 1.5rem;
      text-align: left;
    }

    .service-icon {
      font-size: 2.5rem;
      color: #0f548c;
      margin-bottom: 10px;
    }

    .contact-section {
      background-image: url('/images/contact-bg.jpg');
      background-size: cover;
      background-position: center;
      padding: 60px 0;
      position: relative;
      color: white;
    }

    .contact-section::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.75);
      z-index: 0;
    }

    .contact-section .container {
      position: relative;
      z-index: 1;
    }

    .footer {
      background-color: #0f548c;
      text-align: center;
      padding: 20px;
      color: white;
      position: relative;
    }

    .footer a {
      color: white;
      text-decoration: none;
    }

    .footer a:hover {
      text-decoration: underline;
    }

    .img-profile {
      width: 100%;
      max-width: 250px;
      border-radius: 50%;
      border: 4px solid #0f548c;
    }
    
    .btn-custom-blue {
  background-color: #0f548c;
  color: white;
  border: none;
}

.btn-custom-blue:hover {
  background-color: #0c436f; /* Optional darker shade for hover effect */
}

.btn-add-dependent {
    margin-top: 8px;
    background-color: #28a745; /* Green background */
    border-color: #28a745;
    color: #fff; /* White text for contrast */
    padding: 0.5rem 1rem; /* Consistent with Bootstrap btn */
    font-size: 0.875rem; /* Match form-control font-size */
    border-radius: 0.25rem; /* Bootstrap default */
    display: inline-block; /* Ensure button layout */
    font-weight: 500; /* Slightly bold for consistency */
    text-align: center;
    transition: background-color 0.2s, border-color 0.2s; /* Smooth hover transition */
}
.btn-add-dependent:hover {
    background-color: #218838; /* Darker green on hover */
    border-color: #1e7e34;
    color: #fff;
}


.faq-page .navbar {
  background-color: #0f548c !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-page .navbar {
  background-color: #0f548c !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.services-page .navbar {
  background-color: #0f548c !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
  
.slider-page .navbar {
  background-color: #0f548c !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
  


.accordion-button {
  background-color: #0f548c;
  color: white;
}

.accordion-button:not(.collapsed) {
  background-color: #0c436f; /* Slightly darker for expanded item */
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
}
.accordion-button::after {
  filter: brightness(0) invert(1); /* Makes the caret white */
}
.accordion-button:hover::after {
  filter: brightness(0.8) invert(1);
}

  #modal-overlay {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
  }

  #modal-overlay.show {
    display: flex;
    opacity: 1;
  }

  #modal-content {
    background: white;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    color: black;
    text-align: left;

    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  #modal-overlay.show #modal-content {
    opacity: 1;
    transform: translateY(0);
  }

  #modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
  }

  #modal-body {
    white-space: pre-wrap;
  }
