html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: white;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 400;
  line-height: 1.5em;
  color: #2e2e2e;
  overflow-x: hidden;
}

.header {
  /* font-family: "Cinzel", sans-serif !important; */
  font-family: "League Spartan", sans-serif !important;
}

.ism-green {
  color: #345b26 !important;
}

.ism-bg-green {
  background-color: #345b26 !important;
  color: white !important;
}
.capitalize-text {
  text-transform: capitalize;
}
/*-------------------------------------------------
    [ ## scrollbar ]
*/
*::-webkit-scrollbar-track {
  -webkit-box-shadow: inset -5px -5px 8px -1px rgba(255, 255, 255, 0.7),
    5px 5px 8px -1px rgba(0, 0, 0, 0.065);
  box-shadow: inset -5px -5px 8px -1px rgba(255, 255, 255, 0.7),
    5px 5px 8px -1px rgba(0, 0, 0, 0.065);
  background-color: #f8f9ff;
}

*::-webkit-scrollbar {
  width: 6px;
  background-color: #f8f9ff;
}

*::-webkit-scrollbar-button {
  background-color: #345b26;
}

*::-webkit-scrollbar-thumb {
  background-color: #345b26;
}
/*
    [ ## scrollbar ]
 -------------------------------------------------*/

.bg-nav-scroll {
  background-color: #345b26;
  transition: background-color 1.5s ease;
}

.bg-navTop-scroll {
  background-color: transparent;
  transition: background-color 1.5s ease;
}

.navbar button.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.bg-navTop-scroll.navbar-expanded {
  transition: background-color 1.5s ease;
  background: white !important;
}

.bg-navTop-scroll.navbar-expanded .header,
.bg-navTop-scroll.navbar-expanded .nav-link {
  color: var(--bs-navbar-active-color) !important;
}

.bg-navTop-scroll.navbar-expanded .navbar-toggler-icon {
  filter: invert(0);
}

.navbar a.nav-link.active {
  color: orange !important;
  font-weight: 500;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999999;
  background: white;
}

/* Initial state */
.mun-title {
  opacity: 0;
  transition: opacity 1.5s ease-in; /* Adjust duration and timing function as needed */
}

/* Fade-in state */
.mun-title.fade-in {
  opacity: 1;
  text-shadow: 5px 5px 15px black;
}

.mun-title-1 {
  font-size: 3em !important;
}
.mun-title-2 {
  font-size: 5em !important;
}

.mun-title-3 {
  font-size: 3.5em !important;
}

.mun-title-4 {
  font-size: 1em !important;
}

.banner-school-logo {
  width: 180px;
}

/*--------------------------------------------------------------
# Footer-block
--------------------------------------------------------------*/
.footer-section {
  position: relative;
  background-color: #11341b;
  overflow: hidden;
  z-index: 2;
}

.footer-section .footer-element {
  position: absolute;
  left: 35%;
  top: 0;
  opacity: 0.1;
  z-index: -1;
  animation: horizontal-move 5s ease-in-out infinite;
}

.footer-section .footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.footer-section .footer-bg img {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 991px) {
  .footer-section .footer-element {
    display: none;
  }
}

.copyright-area {
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
}

@media only screen and (max-width: 991px) {
  .copyright-area {
    padding-bottom: 30px;
    margin-top: 70px;
  }
}

.copyright-area p {
  color: #8a8a8a;
  letter-spacing: 1px;
  font-size: 15px;
}

@media only screen and (max-width: 991px) {
  .copyright-area p {
    font-size: 13px;
  }
}
/*--------------------------------------------------------------
# End Footer-block
--------------------------------------------------------------*/

@media only screen and (max-width: 425px) {
  .mun-title-1 {
    font-size: 1em !important;
  }
  .mun-title-2 {
    font-size: 2em !important;
  }

  .banner-school-logo {
    width: 120px;
  }
}

/*--------------------------------------------------------------
# Committee Cards
--------------------------------------------------------------*/
.card {
  color: white !important;
  width: 300px;
  border: none;
  border-radius: 20px;
  background: rgb(30, 76, 43);
  background: linear-gradient(
    180deg,
    rgba(30, 76, 43, 1) 13%,
    rgba(26, 40, 30, 1) 100%
  );
  position: relative; /* Ensure position for overlay */
  overflow: hidden; /* Hide overflow for overlay */
  height: 100%;
}

.card-yellow {
  color: black !important;
  width: 300px;
  border: none;
  border-radius: 20px;
  background: rgb(253, 184, 19);
  background: linear-gradient(
    140deg,
    rgba(241, 184, 44, 1) 60%,
    rgba(204, 144, 0, 1) 90%
  );
  position: relative; /* Ensure position for overlay */
  overflow: hidden; /* Hide overflow for overlay */
  height: 100%;
}

.committee-logo {
  height: 120px;
  width: 120px;
}

.article-committee-logo {
  height: 80px;
  width: 80px;
}
.article-content-img {
  height: 110px;
  width: 160px;
}

.truncated-title {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limits text to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-card {
  color: black !important;
  width: 450px;
  height: 260px;
  border: none;
  border-radius: 20px;
  background: rgb(30, 76, 43);
  background: linear-gradient(
    180deg,
    rgba(30, 76, 43, 0) 0%,
    rgba(30, 76, 43, 0) 71%,
    rgba(30, 76, 43, 0.2) 89%,
    rgba(30, 76, 43, 0.5) 100%
  );
  position: relative; /* Ensure position for overlay */
  overflow: hidden; /* Hide overflow for overlay */
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 76, 43, 0.98);
  border-radius: 20px;
  color: white;
  display: block;
  align-items: start;
  justify-content: start;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-yellow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(241, 184, 44, 0.98);
  border-radius: 20px;
  color: black;
  display: block;
  align-items: start;
  justify-content: start;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-yellow:hover .card-yellow-overlay {
  opacity: 1;
}
/*--------------------------------------------------------------
# End Committee Cards
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# FAQ Block
--------------------------------------------------------------*/
.faq-section {
  position: relative;
}

.faq-section .faq-element {
  position: absolute;
  top: 0;
}

.faq-wrapper {
  margin-bottom: -30px;
}

.faq-wrapper .faq-item {
  background-color: white;
  border: 3px solid transparent;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.faq-wrapper .faq-item .faq-title {
  font-size: 20px;
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

@media only screen and (max-width: 991px) {
  .faq-wrapper .faq-item .faq-title {
    font-size: 18px;
  }
}

.faq-wrapper .faq-item .faq-title .title {
  width: calc(100% - 60px);
  display: inline-block;
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  margin-bottom: 0;
}

.faq-wrapper .faq-item .faq-title .title span {
  color: #1e4c2b;
  font-family: "Kanit", sans-serif;
  margin-right: 8px;
}

.faq-wrapper .faq-item .faq-content {
  display: none;
  padding-top: 30px;
}

.faq-wrapper .faq-item .faq-content .faq-list-area {
  background-color: rgba(253, 184, 19, 0.1);
  padding: 20px;
  border-radius: 6px;
  margin-top: 20px;
}

.faq-wrapper .faq-item .faq-content .faq-list-area .title {
  margin-bottom: 15px;
}

.faq-wrapper .faq-item .faq-content .faq-list {
  margin-bottom: -10px;
}

.faq-wrapper .faq-item .faq-content .faq-list li {
  padding-bottom: 10px;
  color: black;
  padding-left: 20px;
  position: relative;
}

.faq-wrapper .faq-item .faq-content .faq-list li::before {
  position: absolute;
  content: "";
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #1e4c2b;
  border-radius: 50%;
}

.faq-wrapper .faq-item .faq-content .faq-inner-thumb-area {
  margin-top: 30px;
}

.faq-wrapper .faq-item .faq-content .faq-inner-thumb-area .faq-inner-thumb img {
  width: 100%;
}

.faq-wrapper .faq-item .right-icon {
  display: block;
  width: 40px;
  height: 40px;
  background-color: rgb(244, 245, 244);
  border-radius: 50%;
  position: relative;
}

.faq-wrapper .faq-item .right-icon::after {
  border-bottom: 2px solid #1e4c2b;
  border-right: 2px solid #1e4c2b;
  content: "";
  display: block;
  height: 13px;
  margin-top: 0;
  pointer-events: none;
  position: absolute;
  margin-top: -9px;
  right: 13px;
  top: 50%;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 13px;
}

.faq-wrapper .faq-item.active .faq-content {
  display: block;
}

.faq-wrapper .faq-item.open {
  border: 3px solid #1e4c2b;
}

.faq-wrapper .faq-item.open .right-icon::after {
  border-top: 2px solid #1e4c2b;
  border-left: 2px solid #1e4c2b;
  border-bottom: none;
  border-right: none;
  margin-top: -2px;
}

.faq-section-two {
  margin-top: -20px;
}

.subscribe-form {
  position: relative;
}

.subscribe-form input {
  background: white;
  color: #2e2e2e;
  border: none;
  border-radius: 999px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  padding-left: 85px;
  padding-right: 230px;
  height: 85px;
  position: relative;
  font-weight: 400;
}

@media only screen and (max-width: 991px) {
  .subscribe-form input {
    padding-left: 80px;
    padding-right: 40px;
    font-size: 16px;
    height: 65px;
  }
}

@media only screen and (max-width: 575px) {
  .subscribe-form input {
    padding-left: 70px;
  }
}

.subscribe-form input:focus {
  color: #2e2e2e;
  border: none;
  background: white;
}

.subscribe-form input::placeholder {
  color: #c9c9c9;
}

.subscribe-form .subscribe-icon {
  position: absolute;
  top: 26px;
  left: 40px;
  color: #c9c9c9;
  z-index: 9;
  font-size: 30px;
}

@media only screen and (max-width: 991px) {
  .subscribe-form .subscribe-icon {
    top: 20px;
    font-size: 24px;
  }
}

@media only screen and (max-width: 575px) {
  .subscribe-form .subscribe-icon {
    left: 30px;
  }
}

.subscribe-form button,
.subscribe-form input[type="button"],
.subscribe-form input[type="reset"],
.subscribe-form input[type="submit"] {
  position: absolute;
  top: 15px;
  right: 15px;
  border-radius: 999px;
  font-size: 18px;
  padding: 14px 40px;
}

@media only screen and (max-width: 991px) {
  .subscribe-form button,
  .subscribe-form input[type="button"],
  .subscribe-form input[type="reset"],
  .subscribe-form input[type="submit"] {
    position: unset;
    width: 100%;
    font-size: 14px;
    margin-top: 15px;
  }
}
