/* Mildred Group - CSS Library
   A comprehensive set of reusable CSS components for the Mildred Group website
*/

/* ---- Reset & Base Styles ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  /* ---- Typography ---- */
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1E3A8A;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  h4 { font-size: 1.5rem; }
  h5 { font-size: 1.25rem; }
  h6 { font-size: 1rem; }
  
  p { margin-bottom: 1rem; }
  
  .text-center { text-align: center; }
  .text-right { text-align: right; }
  .text-left { text-align: left; }
  .text-justify { text-align: justify; }
  
  .text-uppercase { text-transform: uppercase; }
  .text-lowercase { text-transform: lowercase; }
  .text-capitalize { text-transform: capitalize; }
  
  .font-light { font-weight: 300; }
  .font-normal { font-weight: 400; }
  .font-medium { font-weight: 500; }
  .font-bold { font-weight: 700; }
  
  .font-italic { font-style: italic; }
  
  .text-small { font-size: 0.875rem; }
  .text-large { font-size: 1.125rem; }
  .text-xl { font-size: 1.25rem; }
  .text-2xl { font-size: 1.5rem; }
  
  /* ---- Colors ---- */
  .text-primary { color: #1E3A8A; }
  .text-secondary { color: #BFDBFE; }
  .text-accent { color: #2DD4BF; }
  .text-white { color: #ffffff; }
  .text-black { color: #000000; }
  .text-gray { color: #718096; }
  .text-dark { color: #1a202c; }
  .text-light { color: #f7fafc; }
  
  .bg-primary { background-color: #1E3A8A; }
  .bg-secondary { background-color: #BFDBFE; }
  .bg-accent { background-color: #2DD4BF; }
  .bg-white { background-color: #ffffff; }
  .bg-black { background-color: #000000; }
  .bg-gray { background-color: #f1f5f9; }
  .bg-dark { background-color: #1a202c; }
  .bg-light { background-color: #f7fafc; }
  .bg-transparent { background-color: transparent; }

   /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
  
  /* ---- Grid System (As provided) ---- */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .container-fluid {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
  }
  
  .row::after {
    content: "";
    clear: both;
    display: table;
  }
  
  [class*="col-"] {
    float: left;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
  }
  
  /* Tablet */
  @media only screen and (min-width: 480px) {
    .col-sm-1 { width: 8.33%; }
    .col-sm-2 { width: 16.66%; }
    .col-sm-3 { width: 25%; }
    .col-sm-4 { width: 33.33%; }
    .col-sm-5 { width: 41.66%; }
    .col-sm-6 { width: 50%; }
    .col-sm-7 { width: 58.33%; }
    .col-sm-8 { width: 66.66%; }
    .col-sm-9 { width: 75%; }
    .col-sm-10 { width: 83.33%; }
    .col-sm-11 { width: 91.66%; }
    .col-sm-12 { width: 100%; }
  }
  
  /* Small Desktop */
  @media only screen and (min-width: 768px) {
    .col-md-1 { width: 8.33%; }
    .col-md-2 { width: 16.66%; }
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.33%; }
    .col-md-5 { width: 41.66%; }
    .col-md-6 { width: 50%; }
    .col-md-7 { width: 58.33%; }
    .col-md-8 { width: 66.66%; }
    .col-md-9 { width: 75%; }
    .col-md-10 { width: 83.33%; }
    .col-md-11 { width: 91.66%; }
    .col-md-12 { width: 100%; }
  }
  
  /* Large Desktop */
  @media only screen and (min-width: 1024px) {
    .col-lg-1 { width: 8.33%; }
    .col-lg-2 { width: 16.66%; }
    .col-lg-3 { width: 25%; }
    .col-lg-4 { width: 33.33%; }
    .col-lg-5 { width: 41.66%; }
    .col-lg-6 { width: 50%; }
    .col-lg-7 { width: 58.33%; }
    .col-lg-8 { width: 66.66%; }
    .col-lg-9 { width: 75%; }
    .col-lg-10 { width: 83.33%; }
    .col-lg-11 { width: 91.66%; }
    .col-lg-12 { width: 100%; }
  }
  
  /* ---- Spacing ---- */
  .m-0 { margin: 0; }
  .m-1 { margin: 0.25rem; }
  .m-2 { margin: 0.5rem; }
  .m-3 { margin: 1rem; }
  .m-4 { margin: 1.5rem; }
  .m-5 { margin: 3rem; }
  
  .mt-0 { margin-top: 0; }
  .mt-1 { margin-top: 0.25rem; }
  .mt-2 { margin-top: 0.5rem; }
  .mt-3 { margin-top: 1rem; }
  .mt-4 { margin-top: 1.5rem; }
  .mt-5 { margin-top: 3rem; }
  
  .mb-0 { margin-bottom: 0; }
  .mb-1 { margin-bottom: 0.25rem; }
  .mb-2 { margin-bottom: 0.5rem; }
  .mb-3 { margin-bottom: 1rem; }
  .mb-4 { margin-bottom: 1.5rem; }
  .mb-5 { margin-bottom: 3rem; }
  
  .ml-0 { margin-left: 0; }
  .ml-1 { margin-left: 0.25rem; }
  .ml-2 { margin-left: 0.5rem; }
  .ml-3 { margin-left: 1rem; }
  .ml-4 { margin-left: 1.5rem; }
  .ml-5 { margin-left: 3rem; }
  
  .mr-0 { margin-right: 0; }
  .mr-1 { margin-right: 0.25rem; }
  .mr-2 { margin-right: 0.5rem; }
  .mr-3 { margin-right: 1rem; }
  .mr-4 { margin-right: 1.5rem; }
  .mr-5 { margin-right: 3rem; }
  
  .mx-0 { margin-left: 0; margin-right: 0; }
  .mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
  .mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
  .mx-3 { margin-left: 1rem; margin-right: 1rem; }
  .mx-4 { margin-left: 1.5rem; margin-right: 1.5rem; }
  .mx-5 { margin-left: 3rem; margin-right: 3rem; }
  .mx-auto { margin-left: auto; margin-right: auto; }
  
  .my-0 { margin-top: 0; margin-bottom: 0; }
  .my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
  .my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
  .my-3 { margin-top: 1rem; margin-bottom: 1rem; }
  .my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
  .my-5 { margin-top: 3rem; margin-bottom: 3rem; }
  
  .p-0 { padding: 0; }
  .p-1 { padding: 0.25rem; }
  .p-2 { padding: 0.5rem; }
  .p-3 { padding: 1rem; }
  .p-4 { padding: 1.5rem; }
  .p-5 { padding: 3rem; }
  
  .pt-0 { padding-top: 0; }
  .pt-1 { padding-top: 0.25rem; }
  .pt-2 { padding-top: 0.5rem; }
  .pt-3 { padding-top: 1rem; }
  .pt-4 { padding-top: 1.5rem; }
  .pt-5 { padding-top: 3rem; }
  
  .pb-0 { padding-bottom: 0; }
  .pb-1 { padding-bottom: 0.25rem; }
  .pb-2 { padding-bottom: 0.5rem; }
  .pb-3 { padding-bottom: 1rem; }
  .pb-4 { padding-bottom: 1.5rem; }
  .pb-5 { padding-bottom: 3rem; }
  
  .pl-0 { padding-left: 0; }
  .pl-1 { padding-left: 0.25rem; }
  .pl-2 { padding-left: 0.5rem; }
  .pl-3 { padding-left: 1rem; }
  .pl-4 { padding-left: 1.5rem; }
  .pl-5 { padding-left: 3rem; }
  
  .pr-0 { padding-right: 0; }
  .pr-1 { padding-right: 0.25rem; }
  .pr-2 { padding-right: 0.5rem; }
  .pr-3 { padding-right: 1rem; }
  .pr-4 { padding-right: 1.5rem; }
  .pr-5 { padding-right: 3rem; }
  
  .px-0 { padding-left: 0; padding-right: 0; }
  .px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
  .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
  .px-3 { padding-left: 1rem; padding-right: 1rem; }
  .px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .px-5 { padding-left: 3rem; padding-right: 3rem; }
  
  .py-0 { padding-top: 0; padding-bottom: 0; }
  .py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
  .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .py-3 { padding-top: 1rem; padding-bottom: 1rem; }
  .py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .py-5 { padding-top: 3rem; padding-bottom: 3rem; }

  /* ---- Borders ---- */
  .divider {
    border-color: #fff; 
    opacity: 0.3;

  }

  /* ---- List Styles ---- */
  .list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  /* ---- Flexbox ---- */
  .d-flex { display: flex; }
  .flex-row { flex-direction: row; }
  .flex-column { flex-direction: column; }
  .flex-wrap { flex-wrap: wrap; }
  .flex-nowrap { flex-wrap: nowrap; }
  .flex-grow-1 { flex-grow: 1; }
  
  .justify-content-start { justify-content: flex-start; }
  .justify-content-end { justify-content: flex-end; }
  .justify-content-center { justify-content: center; }
  .justify-content-between { justify-content: space-between; }
  .justify-content-around { justify-content: space-around; }
  .justify-content-evenly { justify-content: space-evenly; }
  
  .align-items-start { align-items: flex-start; }
  .align-items-end { align-items: flex-end; }
  .align-items-center { align-items: center; }
  .align-items-baseline { align-items: baseline; }
  .align-items-stretch { align-items: stretch; }
  
  /* ---- Components ---- */
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
  }
  
  .btn-primary {
    background-color: #1E3A8A;
    color: white;
  }
  
  .btn-primary:hover {
    background-color: #152b67;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .btn-secondary {
    background-color: #BFDBFE;
    color: #1E3A8A;
  }
  
  .btn-secondary:hover {
    background-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .btn-accent {
    background-color: #2DD4BF;
    color: white;
  }
  
  .btn-accent:hover {
    background-color: #14b8a6;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .btn-outline {
    background-color: transparent;
    border: 2px solid #1E3A8A;
    color: #1E3A8A;
  }
  
  .btn-outline:hover {
    background-color: #1E3A8A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  .btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Cards */
  .card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .card-img {
    width: 50%;
    display: block;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1E3A8A;
  }
  
  .card-text {
    color: #4a5568;
    margin-bottom: 1rem;
  }
  
  .card-footer {
    padding: 1rem 1.5rem;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
  }
  
  /* Images */
  .img-fluid {
    max-width: 100%;
    height: auto;
  }
  
  .img-rounded {
    border-radius: 8px;
  }
  
  .img-circle {
    border-radius: 50%;
  }
  
  .img-thumbnail {
    padding: 4px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
  }
  
  /* Forms */
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-control {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
  
  .form-control:focus {
    border-color: #2DD4BF;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(45, 212, 191, 0.25);
  }
  
  .form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #333;
  }
  
  /* ---- Navigation ---- */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E3A8A;
    text-decoration: none;
  }
  
  .navbar-nav {
    display: flex;
    list-style: none;
  }
  
  .nav-item {
    margin-left: 1.5rem;
  }
  
  .nav-link {
    color: #1E3A8A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: #2DD4BF;
  }
  
  .dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 200px;
    padding: 0.5rem 0;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: #212529;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #1E3A8A;
  }
  

  
  
  /* Mobile Menu */
  .navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1E3A8A;
  }
  
  @media (max-width: 768px) {
    .navbar-toggle {
      display: block;
    }
    
    .navbar-collapse {
      position: fixed;
      top: 0;
      right: -280px;
      width: 280px;
      height: 100%;
      background-color: #fff;
      padding: 1rem;
      transition: right 0.3s ease;
      z-index: 1001;
      box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-collapse.show {
      right: 0;
    }
    
    .navbar-nav {
      flex-direction: column;
    }
    
    .nav-item {
      margin: 0.5rem 0;
    }
    
    .nav-close {
      display: block;
      text-align: right;
      margin-bottom: 1rem;
      cursor: pointer;
    }
    
  }
  /* Hide the close (X) icon on desktop */
@media (min-width: 769px) {
  .nav-close {
    display: none;
  }
}

  
  /* ---- Hero Section ---- */
  .hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
  }
  
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%23000' fill-opacity='0.1'%3E%3Cpath d='m0 40 40-40H20L0 20M40 40V20l-20 20'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: 0;
}
  
  .hero-content {
    position: relative;
    z-index: 1;
  }
  
  .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
  }
  
  /* ---- Features Section ---- */
  .features {
    padding: 4rem 0;
  }
  
  .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #BFDBFE;
    color: #1E3A8A;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* ---- Team Section ---- */
  .team-member {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
  }
  
  .team-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .team-img {
    width: 100%;
    transition: transform 0.5s ease;
  }
  
  .team-member:hover .team-img {
    transform: scale(1.05);
  }
  
  .team-member-info {
    padding: 1.5rem;
    background-color: white;
  }
  
  .team-member-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #1E3A8A;
  }
  
  .team-member-position {
    color: #2DD4BF;
    margin-bottom: 1rem;
    font-weight: 500;
  }
  
  .team-member-bio {
    color: #4a5568;
  }
  
  .team-social {
    display: flex;
    margin-top: 1rem;
  }
  
  .team-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f8fafc;
    color: #1E3A8A;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .team-social-link:hover {
    background-color: #1E3A8A;
    color: white;
  }
  
  /* ---- Blog Section ---- */
  .blog-post {
    margin-bottom: 2rem;
  }
  
  .blog-post-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
  }
  
  .blog-post-img img {
    width: 100%;
    transition: transform 0.3s ease;
  }
  
  .blog-post:hover .blog-post-img img {
    transform: scale(1.05);
  }
  
  .blog-post-date {
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  
  .blog-post-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .blog-post-title a {
    color: #1E3A8A;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .blog-post-title a:hover {
    color: #2DD4BF;
  }
  
  .blog-post-excerpt {
    color: #4a5568;
    margin-bottom: 1rem;
  }
  
  .blog-post-readmore {
    color: #2DD4BF;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }
  
  .blog-post-readmore:hover {
    text-decoration: underline;
  }
  
  .blog-post-readmore i {
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
  }
  
  .blog-post-readmore:hover i {
    transform: translateX(3px);
  }
  
  /* ---- Gallery Section ---- */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 1rem;
    padding: 1rem 0;
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
  }
  
  .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .gallery-item:hover .gallery-img {
    transform: scale(1.1);
  }
  
  .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
  
  .gallery-caption {
    color: white;
    text-align: center;
    padding: 1rem;
  }
  
  .gallery-caption h4 {
    color: white;
    margin-bottom: 0.5rem;
  }
  
  /* ---- Testimonials ---- */
  .testimonial {
    text-align: center;
    padding: 2rem;
  }
  
  .testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    color: #4a5568;
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .testimonial-content::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -2rem;
    left: -1rem;
    color: #BFDBFE;
    opacity: 0.5;
  }
  
  .testimonial-author {
    font-weight: 600;
    color: #1E3A8A;
  }
  
  .testimonial-position {
    color: #718096;
    font-size: 0.875rem;
  }
  
  /* ---- Footer ---- */
  .footer {
    background-color: #1a202c;
    color: #cbd5e0;
    padding: 4rem 0 2rem;
  }
  
  .footer-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin-bottom: 0.75rem;
  }
  
  .footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #2DD4BF;
  }


  /* Modal Style */

/* footer privacy policy - modal properties*/
.footer-modal-container-class{
    display: none;  /*Initially hide the modal */ 
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    overflow:auto; /* Enable scroll if needed */
    padding-top: 10rem; 
    padding-bottom: 5rem;
    left: 0;
    top: 5rem;
    bottom: 15rem;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7); 
}

/* .footer-modal-container-class .container{
    background-color: rgba(0,0,0,0.7); 

} */

/* Privacy - Modal - Close Button */

.close {
    color: #2DD4BF;
    font-size: 28px;
    font-weight: bold;
    position: fixed;
    float: right;
    top: 7rem;
    right: 1.5rem; 
}
  
.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
  
  .footer-social {
    display: flex;
    margin-top: 1.5rem;
  }
  
  .footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
  }
  
  .footer-social-link:hover {
    background-color: #2DD4BF;
    color: #1a202c;
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1rem;
    text-align: center;
    color: #a0aec0;
    font-size: 0.875rem;
  }
  
  /* ---- Utility Classes ---- */
  .shadow-sm {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  
  .shadow {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  }
  
  .shadow-md {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  }

  /* ---- Utility Classes (Continued) ---- */
.shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  .shadow-xl {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  }
  
  .shadow-inner {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  }
  
  .shadow-none {
    box-shadow: none;
  }
  
  .rounded-sm {
    border-radius: 0.125rem;
  }
  
  .rounded {
    border-radius: 0.25rem;
  }
  
  .rounded-md {
    border-radius: 0.375rem;
  }
  
  .rounded-lg {
    border-radius: 0.5rem;
  }
  
  .rounded-xl {
    border-radius: 1rem;
  }
  
  .rounded-full {
    border-radius: 9999px;
  }
  
  .rounded-none {
    border-radius: 0;
  }
  
  .border {
    border: 1px solid #e2e8f0;
  }
  
  .border-top {
    border-top: 1px solid #e2e8f0;
  }
  
  .border-right {
    border-right: 1px solid #e2e8f0;
  }
  
  .border-bottom {
    border-bottom: 1px solid #e2e8f0;
  }
  
  .border-left {
    border-left: 1px solid #e2e8f0;
  }
  
  .border-0 {
    border-width: 0;
  }
  
  .border-primary {
    border-color: #1E3A8A;
  }
  
  .border-secondary {
    border-color: #BFDBFE;
  }
  
  .border-accent {
    border-color: #2DD4BF;
  }
  
  .d-none {
    display: none;
  }
  
  .d-block {
    display: block;
  }
  
  .d-inline {
    display: inline;
  }
  
  .d-inline-block {
    display: inline-block;
  }
  
  .position-relative {
    position: relative;
  }
  
  .position-absolute {
    position: absolute;
  }
  
  .position-fixed {
    position: fixed;
  }
  
  .position-sticky {
    position: sticky;
  }
  
  .w-25 {
    width: 25%;
  }
  
  .w-50 {
    width: 50%;
  }
  
  .w-75 {
    width: 75%;
  }
  
  .w-100 {
    width: 100%;
  }
  
  .h-25 {
    height: 25%;
  }
  
  .h-50 {
    height: 50%;
  }
  
  .h-75 {
    height: 75%;
  }
  
  .h-100 {
    height: 100%;
  }
  
  .vh-100 {
    height: 100vh;
  }
  
  .overflow-hidden {
    overflow: hidden;
  }
  
  .overflow-scroll {
    overflow: scroll;
  }
  
  .overflow-auto {
    overflow: auto;
  }
  
  .overflow-visible {
    overflow: visible;
  }
  
  .z-0 {
    z-index: 0;
  }
  
  .z-10 {
    z-index: 10;
  }
  
  .z-20 {
    z-index: 20;
  }
  
  .z-30 {
    z-index: 30;
  }
  
  .z-40 {
    z-index: 40;
  }
  
  .z-50 {
    z-index: 50;
  }
  
  /* ---- Animations ---- */
  .fade-in {
    animation: fadeIn 0.6s ease-in;
  }
  
  .slide-in-left {
    animation: slideInLeft 0.5s ease-out;
  }
  
  .slide-in-right {
    animation: slideInRight 0.5s ease-out;
  }
  
  .slide-in-top {
    animation: slideInTop 0.5s ease-out;
  }
  
  .slide-in-bottom {
    animation: slideInBottom 0.5s ease-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes slideInLeft {
    from {
      transform: translateX(-50px);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slideInRight {
    from {
      transform: translateX(50px);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slideInTop {
    from {
      transform: translateY(-50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes slideInBottom {
    from {
      transform: translateY(50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* ---- Hover Effects ---- */
  .hover-lift {
    transition: transform 0.3s ease;
  }
  
  .hover-lift:hover {
    transform: translateY(-5px);
  }
  
  .hover-shadow {
    transition: box-shadow 0.3s ease;
  }
  
  .hover-shadow:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  .hover-zoom {
    transition: transform 0.3s ease;
  }
  
  .hover-zoom:hover {
    transform: scale(1.05);
  }
  
  /* ---- Special Sections ---- */
  /* Services Grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 2rem;
  }
  
  .service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  }
  
  .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background-color: #BFDBFE;
    color: #1E3A8A;
    font-size: 2rem;
  }
  
  .service-content {
    padding: 1.5rem;
  }
  
  .service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1E3A8A;
  }
  
  .service-description {
    color: #4a5568;
    margin-bottom: 1rem;
  }

  .service-details {
    display: none;
    padding-top: 1rem;
  }

  .service-card:hover .service-details {
    display:block;
  }
  
  /* Timeline Section */
  .timeline {
    position: relative;
    padding: 2rem 0;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #BFDBFE;
    transform: translateX(-50%);
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 2rem;
  }
  
  .timeline-content {
    position: relative;
    width: calc(50% - 30px);
    padding: 1.5rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
  }
  
  .timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #2DD4BF;
    box-shadow: 0 0 0 4px #BFDBFE;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before {
    left: -40px;
  }
  
  .timeline-item:nth-child(even) .timeline-content::before {
    right: -40px;
  }
  
  .timeline-date {
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 0.5rem;
  }
  
  .timeline-title {
    font-size: 1.25rem;
    color: #1E3A8A;
    margin-bottom: 0.75rem;
  }
  
  @media (max-width: 768px) {
    .timeline::before {
      left: 30px;
    }
    
    .timeline-content {
      width: calc(100% - 80px);
      margin-left: 80px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
      left: -40px;
      right: auto;
    }
  }
  
  /* Stats Section */
  .stats-section {
    padding: 4rem 0;
    background-color: #f8fafc;
  }
  
  .stat-item {
    text-align: center;
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    color: #718096;
    font-size: 1.1rem;
  }
  
  /* Call to Action */
  .cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    text-align: center;
    color: white;
  }
  
  .cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
  }
  
  .cta-description {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
  }
  
  /* FAQ Section */
  .faq-section {
    padding: 4rem 0;
  }
  
  .accordion {
    margin-bottom: 1.5rem;
  }
  
  .accordion-header {
    padding: 1rem;
    cursor: pointer;
    background-color: #f8fafc;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1E3A8A;
    transition: background-color 0.3s ease;
  }
  
  .accordion-header:hover {
    background-color: #e2e8f0;
  }
  
  .accordion-header.active {
    background-color: #BFDBFE;
    border-radius: 8px 8px 0 0;
  }
  
  .accordion-icon {
    transition: transform 0.3s ease;
  }
  
  .accordion-header.active .accordion-icon {
    transform: rotate(180deg);
  }
  
  .accordion-content {
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-top: none;
    display: none;
  }
  
  .accordion-header.active + .accordion-content {
    display: block;
  }
  
  /* Contact Section */
  .contact-section {
    padding: 4rem 0;
  }
  
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  
  .contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #BFDBFE;
    color: #1E3A8A;
    margin-right: 1rem;
    flex-shrink: 0;
  }
  
  .contact-info-text {
    color: #4a5568;
  }
  
  .contact-info-text h4 {
    margin-bottom: 0.25rem;
    color: #1E3A8A;
  }
  
  /* Newsletter */
  .newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .newsletter-input {
    flex-grow: 1;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
  }
  
  .newsletter-button {
    background-color: #1E3A8A;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .newsletter-button:hover {
    background-color: #152b67;
  }
  
  /* Blue Theme Variations */
  .blue-gradient-bg {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
  }
  
  .blue-light-bg {
    background-color: #BFDBFE;
  }
  
  .blue-medium-bg {
    background-color: #93c5fd;
  }
  
  .blue-dark-bg {
    background-color: #1E3A8A;
    color: white;
  }
  
  .blue-accent-bg {
    background-color: #2DD4BF;
    color: white;
  }
  
  /* Circuit Board Pattern Background */
  .circuit-pattern {
    position: relative;
  }
  
  .circuit-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('path/to/circuit-pattern.svg');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
  }
  
  /* Mildred Group Specific Classes */
  .mg-section-title {
    position: relative;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    text-align: center;
  }
  
  .mg-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #1E3A8A, #2DD4BF);
  }
  
  .mg-subtitle {
    color: #2DD4BF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  
  .mg-icon-box {
    display: flex;
    margin-bottom: 1.5rem;
  }
  
  .mg-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #BFDBFE;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: #1E3A8A;
    font-size: 1.5rem;
  }
  
  .mg-icon-content h4 {
    margin-bottom: 0.5rem;
    color: #1E3A8A;
  }
  
  .mg-icon-content p {
    color: #4a5568;
  }
  
  .mg-hover-card {
    padding: 2rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .mg-hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid #2DD4BF;
  }
  
  .mg-school-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .mg-school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  }
  
  .mg-school-card-header {
    padding: 1.5rem;
    background-color: #1E3A8A;
    color: white;
  }
  
  .mg-school-card-body {
    padding: 1.5rem;
  }
  
  .mg-school-card-footer {
    padding: 1rem 1.5rem;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
  }
  
  /* Media Queries for Responsive Design */
  @media (max-width: 1200px) {
    .container {
      max-width: 960px;
    }
    
    .hero-title {
      font-size: 2.5rem;
    }
  }
  
  @media (max-width: 992px) {
    .container {
      max-width: 720px;
    }
    
    .hero-title {
      font-size: 2.25rem;
    }
    
    .hero-subtitle {
      font-size: 1.25rem;
    }
  }
  
  @media (max-width: 768px) {
    .container {
      max-width: 540px;
    }
    
    .hero-title {
      font-size: 2rem;
    }
    
    .hero-subtitle {
      font-size: 1.1rem;
    }
    
    .mg-section-title {
      font-size: 1.75rem;
    }
  }
  
  @media (max-width: 576px) {
    .hero-title {
      font-size: 1.75rem;
    }
    
    .hero-subtitle {
      font-size: 1rem;
    }
    
    .btn {
      width: 100%;
      margin-bottom: 0.75rem;
    }
    
    .mg-section-title {
      font-size: 1.5rem;
    }
  }


  /* modal properties*/
.modal-container-class{
    display: block;  /*Initially show the modal */ 
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    overflow:auto; /* Enable scroll if needed */
    padding-top: 50px; 
    padding-bottom: 10rem;
    left: 0;
    top: 7rem;
    bottom: 5rem;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4); 
}
.modal-content-class {
    background-color: #f8fafc;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px 40px;
    border: 1px solid #888;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
 