@media (max-width: 576px) {
  .page-header {
    background: linear-gradient(68deg, rgba(0,118,64,0.81), rgba(0,118,64,0.81) 99%), url("../../assets/img/AL-AZHARIE.webp?h=c9bdb1bbc034d7cb92b459499a1a9132") 90% 15% / contain no-repeat fixed !important;
    background-size: 30% !important;
  }
}

@media (max-width: 360px) {
  .page-header {
    background-size: 50% !important;
  }
}

.page-header {
  height: 200px;
  background: linear-gradient(68deg, rgba(0,118,64,0.81), rgba(0,118,64,0.81) 99%), url("../../assets/img/AL-AZHARIE.webp?h=c9bdb1bbc034d7cb92b459499a1a9132") 90% 10% / contain no-repeat fixed;
  background-size: 30%;
}

.header-section {
  height: calc(100vh - 120px);
  background: linear-gradient(-40deg, #0076405f 0%, #fffbfbe6 100%), url('../../assets/img/image-1.jpg?h=c80a396523259f6610deeb903209c39a') center / cover no-repeat;
}

@media (max-width: 577px) and (min-width: 768px) {
  .header-section h2 {
    font-size: 2.8em;
  }
}

.header-section h2 {
  font-family: "Lustria", Sans-serif;
  font-size: 3.8em;
  font-weight: 300;
}

@media (max-width: 576px) {
  .header-section h2 {
    font-size: 2em;
  }
}

.header-section p.lead {
  font-size: 2.5rem;
  font-weight: 200;
}

.btn-expanded {
  padding: .5rem 3.5rem;
}

@media (max-width: 576px) {
  .btn-expanded {
    padding: .35rem 1.5rem;
  }
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slideshow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: slideshow 15s infinite;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 0;
  opacity: 0.8;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

@media (max-width: 301px) and (min-width: 576px) {
  .hero-content {
    top: 30%;
  }
}

.hero-content {
  color: white;
  text-align: center;
  position: relative;
  top: 40%;
  transform: translateY(-50%);
}

@keyframes slideshow {
  0% {
    background-image: url('../../assets/img/1.jpg?h=0792cde0362784078ab15940bed5fe5e');
  }
  33% {
    background-image: url('../../assets/img/2.jpg?h=6696519096c988450505da5ddc76d444');
  }
  66% {
    background-image: url('../../assets/img/3.jpg?h=72607db7454359937650aadc9c0dfd7e');
  }
  100% {
    background-image: url('../../assets/img/4.jpg?h=82bc860b801c142e50ac815c7ae32446');
  }
}

.hero-content h6 {
  font-family: 'Roboto Serif', serif;
  letter-spacing: 3.3px;
  font-weight: 300;
  font-size: 2.8rem;
  line-height: 60px;
}

@media (max-width: 576px) {
  .hero-content h6 {
    font-size: 18px;
    letter-spacing: 1.5px;
    line-height: 30px;
  }
}

.hero-content p {
  text-align: center;
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 200;
  line-height: 26px;
}

@media (max-width: 576px) {
  .hero-content p {
    font-size: 12px;
    font-weight: 200;
    line-height: 20px;
  }
}

@media (max-width: 576px) {
  .heading-title {
    font-size: 24px;
  }
}

.heading-title {
  font-family: "Lustria", Sans-serif;
  font-weight: 200;
  color: #007640;
  letter-spacing: 2px;
  text-align: center;
}

@media (max-width: 576px) {
  .heading-subtitle {
    font-size: 14px;
  }
}

footer .heading-subtitle {
  font-size: 14px;
}

@media (max-width: 576px) {
  footer .heading-subtitle {
    font-size: 14px;
    text-align: center !important;
    line-height: 20px;
  }
}

.content-p {
  font-size: 16px;
  text-transform: none;
  font-family: 'Poppins', sans-serif;
  line-height: 24px;
}

.heading-subtitle {
  font-size: 16px;
  font-weight: 100;
  text-transform: none;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.parallax-section {
  background: linear-gradient(68deg, rgba(0,118,64,0.81), rgba(0,118,64,0.81) 99%), url("../../assets/img/History%20(1).jpg?h=872ad8dc492a46543122511b8b456679") top / cover no-repeat fixed;
}

.hero-content .lead {
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 61px;
}

.campus-slider img {
  width: 100%;
  height: auto;
  display: block;
}

.title-hr {
  margin: 0.5rem 0 2.5rem 0;
  width: 15%;
  border-top: 2px solid #007640;
  opacity: 1;
}

.inline-social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.inline-social-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #007640;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  border-radius: 10%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.inline-social-icons li a:hover {
  background-color: #005c33;
  transform: scale(1.1);
}

.dropdown-menu {
  box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
  border-style: none;
  border-radius: 0;
}

.dropdown-item {
  font-size: 1em;
  line-height: 1.6em;
  letter-spacing: 0px;
  font-weight: 300;
}

.dropdown-toggle .nav-link, .nav-link {
  color: var(--bs-dark);
  font-size: 1.1em;
  line-height: 1.6em;
  letter-spacing: 0px;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
}

@media (max-width: 576px) and (min-width: 992px) {
  .nav-item {
    margin-right: 10px;
  }
}

.nav-item {
  margin-right: 20px;
}

.dropdown-toggle i {
  margin-left: 10px;
  color: #007640;
  font-size: 15px;
}

.custom-dropdown-toggle::after {
  display: none;
}

.navbar-brand {
  font-family: 'Lustria';
  color: #007640;
  font-weight: 500;
  font-size: 1.5rem;
}

.footer-nav .nav-link {
  font-size: 14px;
  padding: 0 0 0.3em 0;
  font-weight: 300;
}

.footer-nav .nav-link:hover, .footer-nav .nav-link:focus {
  color: #000000;
}

@media (max-width: 576px) {
  .navbar-brand img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.025rem;
    margin-right: 0;
  }
}

.navbar {
  height: 120px;
}

@media (max-width: 576px) {
  .navbar {
    height: 80px;
  }
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler {
  border: none;
  padding: 0.2rem;
  color: #007640;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background-color: #ffffff;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse .dropdown-menu {
    position: static;
    float: none;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 0.5rem 1.5rem;
    height: 100vh;
  }
}

@media (max-width: 576px) {
  .header-section .lead {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 576px) {
  .header-section p {
    font-size: smaller;
  }
}

.carousel-div {
  padding: 0 40rem;
}

@media (max-width: 576px) {
  .carousel-div {
    padding: 0 2rem;
  }
}

.page-header-title {
  color: #ffffff;
  font-family: 'Lustria', sans-serif;
  font-size: 3rem;
}

.page-header-subtitle {
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 3.3px;
  color: rgba(255,255,255,0.5);
}

.content-title {
  font-family: 'Lustria';
  font-size: 24px;
  font-weight: 200;
  color: #056d3e;
  letter-spacing: 2px;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.63), rgba(0,0,0,0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background 0.3s ease-in-out;
  border-radius: 0.375rem;
}

.overlay-text {
  color: white;
  font-size: 1.25rem;
  padding: 1rem;
  text-align: center;
  width: 100%;
  font-family: 'Lustria', sans-serif;
  letter-spacing: 3.3px;
}

.image-wrapper:hover .overlay-gradient {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 118, 64, 0.8) 100%);
}

.main-content-alt {
  background: linear-gradient(45deg, rgba(247,249,250,0.92) 0%, #f5f7f9 100%);
}

.card-title {
  font-family: 'Lustria', sans-serif;
}

.card-text {
  font-family: 'Poppins';
  font-size: 14px;
}

.blockquote p {
  font-size: 3rem;
}

figure {
  border-left: 3px solid #e7ecf1;
  padding-left: 1rem;
}

.blockquote-footer::before {
  content: "" !important;
}

