@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC:ital,wght@0,400..900;1,300..900&display=swap');

* {
    box-sizing: border-box;
}

body {
    background: #f4f7fb;
    font-family: Arial, sans-serif;
    margin: 0;
    overflow-x: hidden;
  }

  .navbar {
    background: linear-gradient(45deg, #1E6FB8, rgb(224, 34, 34));
    padding: 8px 0;
    z-index: 1000;
  }

  .navbar > .container {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;
  }

  .navbar-top-row {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 18px;
    justify-content: flex-start;
    width: auto;
  }

  .navbar-brand {
    font-family: "Playfair Display SC", serif;
    font-size: 17px;
    font-weight: 700;
    padding-right: 20px;
    white-space: nowrap;
  }

  .img-d {
    padding-right: 1.2rem;
  }

  .logo1 {
    border-radius: 50%;
    height: 100px;
    object-fit: contain;
    width: 100px;
  }

  .navbar .offcanvas {
    flex: 1 1 auto;
    width: auto;
  }

  .navbar .offcanvas > .offcanvas-body {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    width: 100%;
  }

  .navbar .main-navbar-links {
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: flex-end;
    margin-left: auto;
    width: auto;
  }

  .navbar .main-navbar-links .nav-link {
    color: #ffffff;
    font-family: "Parkinsans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 8px 9px;
    white-space: nowrap;
  }

  .navbar .main-navbar-links .nav-link:hover,
  .navbar .main-navbar-links .nav-link.active {
    color: #0cf0be;
  }

  .navbar-toggler {
    background: #ffffff;
    border-color: rgba(255,255,255,0.65);
  }

  .navbar-toggler-icon {
    background-image: none;
    height: 1.5em;
    position: relative;
    width: 1.5em;
  }

  .navbar-toggler-icon::before {
    background: #1E6FB8;
    border-radius: 999px;
    box-shadow: 0 6px 0 #1E6FB8, 0 12px 0 #1E6FB8;
    content: "";
    height: 2px;
    left: 2px;
    position: absolute;
    right: 2px;
    top: 4px;
  }

  .program-item,
  .group-item {
    position: relative;
  }

  .program-dropdown,
  .group-dropdown {
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: none;
    left: 0;
    list-style: none;
    margin: 0;
    min-width: 220px;
    padding: 10px 0;
    position: absolute;
    top: 100%;
    z-index: 9999;
  }

  .program-dropdown li a,
  .group-dropdown li a {
    color: #000000;
    display: block;
    font-family: "Parkinsans", sans-serif;
    font-size: 12px;
    padding: 10px 15px;
    text-decoration: none;
  }

  .program-dropdown li a:hover,
  .group-dropdown li a:hover {
    background: #f2f2f2;
  }

  @media (min-width: 992px) {
    .program-item:hover .program-dropdown,
    .group-item:hover .group-dropdown {
      display: block;
    }
  }

  .blog-page-header {
    padding-top: 165px;
    padding-bottom: 50px;
  }

  @media (max-width: 991px) {
    .navbar {
      padding: 6px 0;
    }

    .navbar > .container {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 10px;
    }

    .navbar-top-row {
      display: grid;
      flex: 1 1 100%;
      gap: 8px 10px;
      grid-template-columns: minmax(0, 1fr) auto;
      width: 100%;
    }

    .navbar-top-row > .d-flex {
      min-width: 0;
    }

    .navbar-top-row .navbar-toggler {
      grid-column: 2;
      grid-row: 1;
      justify-self: end;
      margin-left: 0 !important;
    }

    .navbar .offcanvas {
      background: rgba(9, 18, 36, 0.82) !important;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-right: 1px solid rgba(255,255,255,0.18);
      box-shadow: 18px 0 45px rgba(0,0,0,0.28);
    }

    .navbar .offcanvas > .offcanvas-body {
      align-items: flex-start;
      justify-content: flex-start;
      padding: 16px;
    }

    .navbar .main-navbar-links {
      align-items: flex-start;
      justify-content: flex-start;
      margin-left: 0;
      width: 100%;
    }

    .navbar .main-navbar-links .nav-link {
      font-size: 15px;
    }

    .program-dropdown,
    .group-dropdown {
      background: transparent;
      box-shadow: none;
      display: block;
      padding-left: 15px;
      position: static;
    }

    .program-dropdown li a,
    .group-dropdown li a {
      color: #ffffff;
    }

    .blog-page-header {
      padding-top: 125px;
    }
  }

  @media (max-width: 480px) {
    .navbar-brand {
      font-size: 13px;
    }

    .navbar .logo1 {
      height: 64px;
      width: 64px;
    }

    .blog-page-header {
      padding-top: 150px;
    }
  }

  .blog-hero {
    position: relative;
    overflow: hidden;
    padding: 52px 0;
    background:
      linear-gradient(135deg, rgba(30,111,184,0.94), rgba(224,34,34,0.9)),
      url("images/file_00000000b0e471f5a6c3bae09b9983a3.png") center right 8% / 220px no-repeat;
    color: white;
  }

  .blog-hero h1 {
    max-width: 760px;
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
  }

  .blog-hero p {
    max-width: 650px;
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
  }

  .blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .blog-toolbar {
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
  }

  .blog-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 14px 35px rgba(21, 35, 56, 0.12);
  }

  .blog-search-box i {
    color: #1E6FB8;
    font-size: 20px;
  }

  .blog-search-box input {
    border: 0;
    box-shadow: none;
    padding: 8px 0;
  }

  .blog-search-box input:focus {
    box-shadow: none;
  }

  .blog-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }

  .blog-section-title h2 {
    margin: 0;
    color: #172033;
    font-weight: 900;
  }

  .blog-count {
    color: #5f6f86;
    font-weight: 700;
  }

  .blog-card {
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
  }

  .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  }

  .blog-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    background: #f3f5f8;
  }

  .blog-image-placeholder {
    height: 230px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eaf3ff, #fff0f0);
    color: #1E6FB8;
    font-size: 46px;
  }

  .blog-meta {
    color: #6c757d;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .blog-content {
    white-space: pre-line;
  }

  .blog-card .card-title {
    color: #172033;
    line-height: 1.25;
  }

  .blog-read-btn {
    border: 0;
    border-radius: 8px;
    background: #1E6FB8;
    color: #ffffff;
    font-weight: 800;
    padding: 10px 14px;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .blog-read-btn:hover {
    background: #d9232e;
    color: #ffffff;
    transform: translateY(-1px);
  }

  .blog-empty-state {
    padding: 54px 22px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  }

  .blog-modal-image {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
  }

  @media (max-width: 768px) {
    .blog-hero {
      padding: 40px 0;
      background: linear-gradient(135deg, rgba(30,111,184,0.96), rgba(224,34,34,0.9));
    }

    .blog-section-title {
      align-items: flex-start;
      flex-direction: column;
    }
  }

.gradient-stories{
    background: linear-gradient(135deg, #098331, #0a378a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
}

.fort {
  background: linear-gradient(45deg, rgb(140, 0, 255), #0da6ff);
  padding-bottom: 20px;
  padding-top: 20px;
}

.fort .container {
  text-align: left;
}

.fort h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.parAbout {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 8px;
  max-width: 250px;
}

.fort ul {
  margin: 0;
  padding: 0;
}

.fort ul li {
  color: #ffffff;
  list-style: none;
  margin-bottom: 6px;
}

.opts a {
  color: #ffffff;
  text-decoration: none;
}

.opts ul li:hover {
  text-decoration: underline;
  transform: translateX(5px);
  transition: 0.3s;
}

.social {
  display: flex;
  gap: 12px;
  padding-left: 10px;
}

.social a {
  color: #ffffff;
}

.social i {
  display: inline-block;
  font-size: 22px;
  transition: 0.3s ease;
}

.social i:hover {
  transform: scale(1.2);
}

.footerhr {
  background: #ffffff;
  border: 0;
  height: 1px;
  margin: 20px 0;
}

.copyright {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.fa-heart {
  color: red;
  font-size: 14px;
}

.fa-circle {
  font-size: 10px;
}

.icon-circle,
.phone,
.fort .fa-link,
.fort .fa-briefcase,
.fort .fa-globe {
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  color: #ffffff;
  display: flex;
  font-size: 20px;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.icon-circle { background-color: orange; }
.fort .fa-link { background-color: rgb(0, 140, 255); }
.fort .fa-briefcase { background-color: rgb(223, 37, 213); }
.fort .fa-globe { background-color: rgb(37, 223, 121); }
.phone { background-color: #ffffff; }
