@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 {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(30, 111, 184, 0.12), transparent 32rem),
    linear-gradient(180deg, #f5f8fc 0%, #eef3f8 100%);
  color: #172033;
  font-family: Arial, sans-serif;
  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;
  }
}

body > .container.mt-4:first-of-type {
  margin-top: 165px !important;
  padding: 48px 24px 34px;
  position: relative;
}

body > .container.mt-4:first-of-type::before {
  background:
    linear-gradient(135deg, rgba(30,111,184,0.95), rgba(224,34,34,0.88)),
    url("images/file_00000000b0e471f5a6c3bae09b9983a3.png") center right 7% / 210px no-repeat;
  border-radius: 8px;
  content: "";
  inset: 0 12px;
  position: absolute;
  z-index: -1;
}

body > .container.mt-4:first-of-type h2 {
  color: #ffffff;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
  margin: 0 0 14px;
}

body > .container.mt-4:first-of-type .text-muted {
  color: rgba(255,255,255,0.9) !important;
  font-size: 18px;
  margin-bottom: 24px;
  max-width: 640px;
}

#searchInput {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(21, 35, 56, 0.18);
  max-width: 720px;
  padding: 14px 16px;
}

#searchInput:focus {
  box-shadow: 0 0 0 4px rgba(30,111,184,0.18), 0 14px 35px rgba(21, 35, 56, 0.18);
}

.pub-list {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}

.pub-row {
  align-items: center;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(30,111,184,0.12);
  border-left: 5px solid #1E6FB8;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(21, 35, 56, 0.08);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pub-row:hover {
  border-left-color: #d9232e;
  box-shadow: 0 16px 36px rgba(21, 35, 56, 0.13);
  transform: translateY(-2px);
}

.pub-main h5 {
  color: #172033;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pub-main p {
  color: #5f6f86;
  line-height: 1.6;
  margin-bottom: 8px;
}

.pub-main small {
  color: #6f7d90;
  font-weight: 700;
}

.pub-action {
  flex: 0 0 auto;
}

.pub-action .btn-primary {
  background: #1E6FB8;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  padding: 10px 14px;
}

.pub-action .btn-primary:hover {
  background: #d9232e;
}

.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; }

@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%;
  }

  .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;
  }

  body > .container.mt-4:first-of-type {
    margin-top: 125px !important;
  }
}

@media (max-width: 768px) {
  body > .container.mt-4:first-of-type {
    padding: 38px 20px 30px;
  }

  body > .container.mt-4:first-of-type::before {
    background: linear-gradient(135deg, rgba(30,111,184,0.96), rgba(224,34,34,0.9));
  }

  .pub-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .pub-action,
  .pub-action .btn-primary {
    width: 100%;
  }
}

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

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

  body > .container.mt-4:first-of-type {
    margin-top: 150px !important;
  }
}
