body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-overlay {
  position: absolute;
  inset: 0;

  z-index: 1;
}

.carousel-caption-custom {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 2;
  color: white;
}

.logo {
  height: 100px;
}
@media (max-width: 768px) {
  .logo {
    height: 75px;
  }
}

.seal {
  height: 100px;
}

.navbar-custom {
  z-index: 1001;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
}

.nav-link {
  color: white !important;
  font-weight: bold;
  margin-right: 20px;
}

.overlay-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: #0d001a;
  color: white;
  transition: right 0.5s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.overlay-menu.open {
  right: 0;
}

.overlay-menu .menu-content {
  padding: 60px 40px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 400px !important;
  border-left: 5px solid rgba(255, 255, 255, 0.493);
}

.overlay-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  margin: 10px 0;
}
.overlay-menu a:hover {
  color: #eaff00;
}
.overlay-menu a.contact {
  color: #eaff00;
}

.bottom-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  flex-wrap: wrap;
}

.bottom-buttons .btn {
  border-radius: 20px;
  font-weight: bold;
  color: white;
}

.btn-yellow {
  background-color: #ffd500;
}

.btn-purple {
  background-color: #502884;
}

.btn-green {
  background-color: #26734d;
}

.btn-blue {
  background-color: #005f73;
}

.btn-red {
  background-color: #c0392b;
}

.social-icons {
  text-align: right;
  padding: 0 40px;
}

.social-icons i {
  margin-left: 15px;
  color: white;
}

@media (max-width: 768px) {
  .carousel-caption-custom {
    left: 20px;
    bottom: 20px;
  }

  .overlay-menu .menu-content {
    align-items: center;
  }

  .social-icons {
    text-align: center;
    margin-top: 20px;
  }

  .navbar-nav {
    display: none;
  }
}

.carousel-item {
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  transition: transform 6s ease;
}

.zoom-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 110%;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 10s ease-in-out;
  z-index: -1;
}

.carousel-item.active.zoom-slide::before {
  transform: scale(1.1);
}

.zoom-slide {
  position: relative;
  overflow: hidden;
}

.menu-toggle-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  cursor: pointer;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.hamburger-icon span {
  display: block;
  background-color: white;
  height: 3px;
  border-radius: 2px;
  animation: waveMove 1.5s ease-in-out infinite;
}

.hamburger-icon span:nth-child(1) {
  width: 24px;
  animation-delay: 0s;
}

.hamburger-icon span:nth-child(2) {
  width: 16px;
  animation-delay: 0.15s;
}

.hamburger-icon span:nth-child(3) {
  width: 24px;
  animation-delay: 0.3s;
}

@keyframes waveMove {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.menu-text {
  font-size: 25px;
  letter-spacing: 1px;
  color: white;
}

.navbar-custom.scrolled {
  position: fixed !important;
  top: 0;
  background-color: rgba(90, 0, 179, 0.51);
  transition: background-color 0.4s ease;
  box-shadow: 0 4px 8px rgba(252, 239, 239, 0.4);
}

.zoom-slide {
  position: relative;
  overflow: hidden;
}

.zoom-image {
  position: absolute;
  inset: 0;
/*  background-size: 100%;*/
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 12s ease-in-out;
  z-index: 0;
}

.carousel-item.active .zoom-image {
  transform: scale(1.1);
}
.overlay-inner {
  display: flex;
  height: 100%;
  width: 100%;
}

.overlay-slideshow {
  flex: 1;
  background-color: black;
  position: relative;
  color: white;
  padding: 20px;
}

.overlay-slideshow2 {
  max-width: 400px !important;
  flex: 1;
  background-color: #0d001a;
  position: relative;
  color: white;
  padding: 20px;
}

.slideshow-image {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  transition: background-image 0.6s ease-in-out;
}

.submenu-content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
}

.menu-content {
  flex: 1;
  padding: 60px 40px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
@media (max-width: 768px) {
  /* Carousel caption */
  .carousel-caption-custom {
    left: 15px;
    bottom: 20px;
    font-size: 1rem;
    text-align: left;
    padding-right: 15px;
  }

  .carousel-caption-custom h1 {
    font-size: 1.5rem;
  }

  .carousel-caption-custom a {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  /* Zoomed image behavior */
  .zoom-image {
    background-size: cover !important;
    transform: scale(1.05) !important;
  }

  /* Overlay menu layout */
  .overlay-inner {
    flex-direction: column;
  }

  .overlay-slideshow,
  .overlay-slideshow2,
  .menu-content {
    flex: none;
    max-width: 100% !important;
    padding: 20px;
  }

  .submenu-content {
    padding-top: 30px;
    font-size: 1rem;
  }

  .overlay-menu a {
    font-size: 1rem;
  }

  /* Social icons alignment */
  .social-icons {
    text-align: center;
    padding: 10px 0;
  }

  /* Hamburger icon spacing */
  .menu-toggle-btn {
    font-size: 14px;
  }

  .menu-text {
    font-size: 18px;
  }

  /* Carousel image container fix */
  .carousel-item {
    height: 80vh;
  }

  /* Adjust slideshow image size */
  .slideshow-image {
    height: 200px;
  }

  /* Bottom buttons */
  .bottom-buttons {
    padding: 10px;
  }

  .bottom-buttons .btn {
    font-size: 0.9rem;
    padding: 8px 14px;
  }

  /* Hide extra nav items if needed */
  .navbar-nav {
    display: none;
  }
}
@media (max-width: 480px) {
  .carousel-caption-custom h1 {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .overlay-menu a {
    font-size: 1.3rem;
    margin: 8px 0;
  }

  .hamburger-icon span {
    height: 2px;
  }

  .menu-text {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .overlay-menu .menu-content {
    align-items: flex-start; /* Left align */
    padding: 20px;
  }

  .overlay-menu a {
    text-align: left;
    width: 100%;
  }

  .mobile-submenu {
    padding-left: 15px;
    margin-bottom: 10px;
  }

  .submenu-content {
    display: none; /* Hide desktop submenu content on mobile */
  }

  .overlay-slideshow {
    display: none; /* Hide slideshow image section */
  }

  .overlay-slideshow2 {
    display: none;
  }
}
.bottom-buttons {
  display: none;
}

@media (max-width: 768px) {
  .bottom-buttons {
    display: block;
    padding: 20px;
  }

  .button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .btn {
    padding: 12px;
    text-align: center;
    font-size: 1rem;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
  }

  .btn-yellow {
    background-color: #ffd700;
    color: #000;
  }
  .btn-blue {
    background-color: #007bff;
  }
  .btn-green {
    background-color: #28a745;
  }
  .btn-purple {
    background-color: #6f42c1;
  }
  .btn-red {
    background-color: #dc3545;
  }

  .mobile-address {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
  }
}
.news-container {
  background-color: #1c4b2b;
  color: white;
  border-radius: 40px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.news-label {
  background-color: #b3261e;
  padding: 6px 18px;
  border-radius: 30px;
  font-weight: bold;
  color: white;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 15px;
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  flex-grow: 1;
}

.marquee-content {
  display: inline-flex;
  gap: 30px;
  white-space: nowrap;
  animation: scroll-left 35s linear infinite;
}

.news-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.news-icon {
  font-size: 16px;
}
.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .news-label {
    font-size: 12px;
    padding: 4px 12px;
  }

  .news-item {
    font-size: 14px;
  }
}

.stat-card {
  border-radius: 10px;
  background-color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  height: 100%;
}
.stat-icon {
  font-size: 2rem;
  color: #a32828;
  margin-bottom: 10px;
}
.stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #a32828;
}
.stat-number1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #a32828;
}
.start-btn {
  border: 2px solid #a32828;
  color: #a32828;
  font-weight: bold;
  border-radius: 30px;
  padding: 10px 25px;
  transition: all 0.3s ease;
}
.start-btn:hover {
  background-color: #a32828;
  color: white;
}
body {
  background-color: #f7f7f7;
}

.card-header {
  background-color: #371e66;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-box {
  max-height: 250px;
  overflow-y: scroll;
  scroll-behavior: smooth;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

/* Hide scrollbar */
.scroll-box::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.scroll-box {
  scrollbar-width: none;
}

.card-body .item {
  border: 1px solid #eee;
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.281);
}

.item-date {
  color: #1976d2;
  font-weight: 500;
}

.scroll-buttons {
  text-align: center;
  margin-top: 0.5rem;
}

.scroll-buttons i {
  font-size: 1.2rem;
  cursor: pointer;
  color: #f57c00;
  margin: 0 5px;
}
.slide-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-weight: bold;
  border: none;

  padding: 0;
  font-size: 14px;
}
.xlhd {
  font-size: 2.4rem;
  color: #371e66;
  line-height: 3.2rem;
}
@media (max-width: 576px) {
  .slide-btn {
    padding: 0.25rem 0.5rem;
    font-size: 8px;
    color: #000;
    width: 60px;
    height: 60px;
  }
  .xlhd {
    font-size: 1.3rem;
    color: #371e66;
    line-height: 1.5rem;
    text-align: center;
  }
}

.life-bhs-section {
  display: flex;

  padding-top: 50px;
  padding-bottom: 50px;
}

.left-panel {
  background-color: #0c0c0c;
  color: white;
  padding: 60px 30px;
  width: 25%;
  min-width: 250px;
  transform: skewX(-10deg);
  overflow: hidden;
}

.left-inner {
  transform: skewX(10deg);
}

.left-panel small {
  font-style: italic;
  font-size: 14px;
}

.left-panel h2 {
  font-size: 38px;
  font-weight: 600;
  margin-top: 10px;
}

.left-panel p {
  font-size: 14px;
  margin-top: 15px;
}

.left-panel a {
  color: #fcbf49;
  font-weight: 500;
  text-decoration: none;
}

.right-panel {
  width: 75%;
  position: relative;
}

.carousel-inner-custom {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-left: 20px;

  gap: 20px;
}

.carousel-inner-custom::-webkit-scrollbar {
  display: none;
}

.event-card {
  min-width: 240px;
  max-width: 240px;
  position: relative;
  transform: skewX(-10deg);
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #000;
}

.card-inner {
  position: relative;
  overflow: hidden;
}

.event-card img {
  width: 100%; /* overflow to cover full skew */
  height: 300px;
  object-fit: cover;
}

.image-count {
  position: absolute;
  top: 10px;
  left: 30px;
  background-color: #b00000;
  color: white;
  font-weight: bold;
  padding: 4px 10px;
  font-size: 18px;
  border-radius: 5px;
}

.image-count small {
  font-size: 10px;
  display: block;
  font-weight: normal;
  line-height: 10px;
}

.card-title-overlay {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  color: white;
  text-shadow: 1px 1px 3px black;
  padding: 10px;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  font-size: 44px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}

.scroll-left {
  left: 0;
}

.scroll-right {
  right: 0;
}

@media (max-width: 768px) {
  .life-bhs-section {
    flex-direction: column;
  }

  .left-panel,
  .right-panel {
    width: 100%;
  }

  .event-card {
    min-width: 80%;
  }
}

@media (max-width: 768px) {
  .life-bhs-section {
    flex-direction: column;
  }

  .left-panel,
  .right-panel {
    width: 100%;
    transform: none !important;
  }

  .left-inner {
    transform: none !important;
  }

  .event-card {
    transform: none !important;
    min-width: 100%;
    max-width: 100%;
  }

  .card-inner {
    transform: none !important;
  }

  .event-card img {
    transform: none !important;
    width: 100%;
    height: auto;
  }

  .carousel-inner-custom {
    padding-left: 0;
    gap: 10px;
  }
}
.welcome-section {
  padding: 35px 15px;
  background-color: #fff;
}

.welcome-section h2 {
  font-weight: 300;
  text-align: center;
}

.welcome-section h2 span {
  font-weight: 700;
}

.underline {
  width: 50px;
  height: 2px;
  background-color: #ccc;
  margin: 10px auto 30px;
}

.principal-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  text-align: justify !important;
}

.read-more-btn {
  margin-top: 20px;
}

.principal-name {
  font-weight: bold;
  margin-top: 15px;
}

.principal-title {
  color: #666;
}

.principal-img {
  max-width: 250px;
  height: auto;
  border-radius: 5px;
}
.section-title {
  font-size: 22px;
  font-weight: 400;
  color: #333;
  border-bottom: 1px solid #dcdcdc;
  margin-bottom: 25px;
  padding-bottom: 5px;
}
.section-title strong {
  font-weight: 600;
}
.calendar-card {
  display: flex;
  align-items: center;
  background: #fafafa;
  border: 1px solid #e4e4e4;
  padding: 5px 10px;
  margin-bottom: 10px;
  border-left: 5px solid #3674b5;
}

.calendar-date {
  font-size: 30px;
  font-weight: 500;
  color: #3674b5;
  text-align: center;

  padding-right: 15px;
  margin-right: 15px;
  min-width: 60px;
}
.calendar-date small {
  font-size: 14px;
  color: #666;
}
.calendar-details {
  flex: 1;
}
.calendar-details .desc {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 2px;
}
.calendar-details .date {
  font-size: 12px;
  color: #888;
}
.gallery-img {
  width: 100%;
  height: 220px;
  background-color: #f5f5f5;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-img:hover {
  transform: scale(1.05);
}
.gallery-caption {
  text-align: center;
  font-size: 16px;
  background-color: #075B5E;
}
.btn-custom {
  width: 100%;
  padding: 6px;
  font-weight: 600;
  border-radius: 0 !important;
}
.view-all {
  float: right;
  font-size: 18px;
  color: #3674b5;
  text-decoration: none;
}

.section-titlex {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 40px 0 30px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-title {
  text-align: center;
  background-color: #0d1b2a;
  color: #fff;
  padding: 10px;
  font-size: 1rem;
  margin-top: 8px;
  border-radius: 0 0 8px 8px;
}

.arrows {
  text-align: center;
  font-size: 2rem;
  color: maroon;
  margin-top: 20px;
}
.nav-section {
  background-color: #2a5c39;
  padding: 30px 0;
}

.nav-btn {
  background-color: rgba(255, 255, 255, 0.08);
  color: #f8f9fa;
  font-weight: 600;
  text-align: center;
  padding: 15px 0;
  border: none;
  width: 100%;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);

  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.nav-container {
  padding: 0 15px;
}

@media (max-width: 576px) {
  .nav-btn {
    font-size: 14px;
    padding: 12px 0;
  }
}
.footer {
  background-color: #371e66;
  padding: 40px 20px;
}
.footer h5 {
  color: #ccc;
  font-weight: bold;
}
.footer a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .social-icons a {
  color: #ccc;
  margin-right: 10px;
  font-size: 18px;
}
.footer .contact-box {
  background-color: #e74c3c;
  color: white;
  padding: 10px 15px;
  display: inline-block;
  border-radius: 5px;
  font-weight: bold;
}
.footer .contact-box i {
  margin-right: 10px;
}
.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 14px;
}
.footer-bottom a {
  color: red;
}
.social-icons i {
  font-size: 1.5rem;
}

.hero-section {
  position: relative;
  height: 350px;
  background: url("../image/banner1.JPG") no-repeat center center;
  background-size: cover;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
}

.purple-banner {
  position: relative;
  z-index: 2;
}

.purple-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #3c2267;
  color: white;
  padding: 10px 60px;
  font-size: 32px;
  font-weight: bold;
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
}

.nav-tabs-wrapper {
  background: #fff;
}

.nav-tabs .nav-link {
  color: black !important;
  font-weight: 500;
  border: none;
  background-color: rgba(66, 65, 65, 0.12);
  transition: transform ease-in-out 0.3s;
}

.nav-tabs .nav-link:hover {
  transform: scale(1.1);
}

.breadcrumb {
  color: white !important;
  padding: 10px;
  font-size: 18px;
}

.breadcrumbm {
  background-color: rgba(107, 100, 117, 0.39);
}

.breadcrumb a {
  text-decoration: none;
  color: #3c2267;
  font-weight: bold;
}
