/* ------------------ Common Items -------------------- */

body {
  font-family: 'Montserrat', sans-serif;
}

.bg-off {
  background-color: #dde9e9;
}

.bg-sec {
  background: linear-gradient(135deg, #d28944, #a81f1d);
}

.text-navy {
  color: #2e2447;
}

.intro {
  background: url("../Images/hero-bg.jpg") center/cover no-repeat;
}

/* ---------------------- Buttons --------------------- */

.btn {
  background: linear-gradient(135deg, #d28944, #a81f1d);
  color: #fff;
  border-radius: 2rem;
  font-weight: 400 !important;
}

.btn:hover {
  color: #2e2447;
  background: #eed15f;
  font-weight: 500 !important;
}

.text-stroke {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.under-line {
  height: 5px;
  background-color: #2e2447;
  border-radius: 20px;
}

/* ------------------------ Navbar ----------------------------- */

.custom-navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1200px;
  background: linear-gradient(135deg, #f9ed69, #a4161a);
  border-radius: 50px;
  padding: 15px 30px;
  z-index: 999;
  transition: all 0.4s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid #2e2447;
  text-align: center;
}

.logo-container {
  position: relative;
  width: 40px;
  height: 40px;
}

.logo-circle {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*    Dropdown    */
.navbar-collapse {
  transition: height 0.3s ease;
}

.dropdown-menu {
  transition: opacity 0.3s ease;
  background-color: #e2b354;

}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 0;
  align-items: center;
}

.dropdown-item:hover {
  background: #b7452c9c;
  overflow: hidden;
  color: #ffffff;
  transition: all 0.3s;
  border-radius: 5px;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.fs-navbar {
  font-size: x-small;
}


.navbar-toggler {
  background: #fff;
}

button:focus:not(:focus-visible) {
  outline: none;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

/* -------------------------- Hero Section ------------------------- */

.hero-slide {
  height: 80vh !important;
  position: relative;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
  z-index: 10;
}

.hero-caption h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.hero-caption h2 {
  font-size: 1.5rem;
  margin-top: 1rem;
}

.hero-caption p {
  font-size: 1.2rem;
  margin-top: 1rem;
  max-width: 700px;
}

.hero-caption .btn {
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  margin-top: -130px;
}

.carousel-indicators .active {
  background-color: white;
  width: 24px;
}

.carousel-control-prev, .carousel-control-next {
  width: 52px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.664);
  backdrop-filter: blur(5px);
  border-radius: 50px;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  background: linear-gradient(135deg, #d28944, #a81f1d);
  ;
}

.oasis-tabs {
  margin-bottom: 4rem;
  position: absolute;
  bottom: 0%;
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
  gap: 20px;
  display: flex;
}

.oasis-tabs a:hover {
  background-color: #eed15f;
  color: #1d0f5c !important;
  text-shadow: none;

}

@media (max-width: 768px) {
  .oasis-tabs {
    flex-direction: column;
    gap: 10px;
    width: 70%;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
  }

  .oasis-tabs a {
    padding: 12px 20px !important;
    text-align: center;
    font-size: 14px;
  }
}

/* ----------------------------- Mission Cards Section ------------------------- */

.card-hero {
  margin-top: -100px;
}

/* ----------------------------- Principal's Msg Section ------------------------- */

.principal-sec {
  background: url('../Images/Principal-bg.svg'), linear-gradient(135deg, #d28944, #a81f1d);
  padding: 3% 0%;
}

/* ----------------------------- News Section ------------------------- */

.news-card img {
  width: 100%;
  max-width: 380px;
  height: 240px;
  object-fit: cover;
  /* margin-top: -100px; */
  display: block;
}

@media (max-width: 575.98px) {
  .border-end {
    border-inline-end: 0 !important;
  }
}

.news-card-border::before {
	content: '';
	width: 1px !important;
	height: 270px;
	background: #aa251f;
	position: absolute;
	right: -10px;
	top: 33%;
}

.white-bg-draw {
	width: 100%;
	max-width: 1350px;
	height: 100%;
	max-height: 370px;
	position: absolute;
	background: #fff;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 20px;
	border: 2px solid #e3e3e3;
	bottom: 18%;
}

.news-slider-wrapper {
    position: relative;
}

.newsPrevBtn { left: -20px; }
.newsNextBtn { right: -20px; }

.swiper-button-custom {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 38px;
    height: 34px;
    border-radius: 50px;
    background: #bb502fa8;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.43);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}
.swiper-button-custom:hover {
    background: #bb502f;
}


/* ----------------------------- Gallery Section ------------------------- */

.news-card-border::before {
	content: '';
	width: 1px !important;
	height: 270px;
	background: #aa251f;
	position: absolute;
	right: -10px;
	top: 33%;
}

.gallery-card img {
  width: 100%;
  max-width: 485px;
  height: 300px;
  object-fit: cover;
  display: block;
  /* margin-top: -100px; */
}

.gallery-card-2 img {
  width: 100%;
  max-width: 275px;
  height: 170px;
  object-fit: cover;
  display: block;
  margin-top: -100px;
}

.white-bg-gallery {
	width: 100%;
	max-width: 1100px;
	height: 100%;
	max-height: 360px;
	position: absolute;
	background: #fff;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 20px;
	border: 2px solid #e3e3e3;
	bottom: 0%;
}

.white-bg-small-gallery {
	width: 100%;
	max-width: 1300px;
	height: 100%;
	max-height: 240px;
	position: absolute;
	background: #fff;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 20px;
	border: 2px solid #e3e3e3;
	bottom: -10%;

}


/* Button styling from your previous design */
.galleryPrevBtn { left: -20px; }
.galleryNextBtn { right: -20px; }

.swiper-button-custom {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 38px;
    height: 34px;
    border-radius: 50px;
    background: #bb502fa8;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.43);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}
.swiper-button-custom:hover {
    background: #bb502f;
}

.gallery-marginsec {
  padding-bottom: 10%;
}
@media (max-width: 768px) {
  .gallery-marginsec {
  padding-bottom: 0%;
}
}

/* ------------------------ */

.album-section {
    background: transparent;
}

.albums-bg {
    width: 92%;
    height: 78%;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    z-index: 1;
}

.album-card {
    background: transparent;
    z-index: 5;
    position: relative;
}

.album-card img {
  width: 100%;
  height: 200px;
}

.view-link {
    color: #0a7c59;      /* Green color like your sample */
    font-weight: 600;
    text-decoration: none;
}

.view-link:hover {
    text-decoration: underline;
}


/* ----------------------------- Facilities Section ------------------------- */

.section-fac {
  background: url('../Images/Principal-bg.svg'), linear-gradient(135deg, #d28944, #a81f1d);
}

.facilities-item {
  transition: all 0.4s ease;
}

.facilities-img {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.facilities-item:hover .facilities-img {
  transform: scale(1.05);
}

.swiper-button-custom {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 38px;
  height: 34px;
  border-radius: 50px;
  background: #bb502fa8;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.43);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.swiper-button-custom:hover {
  background: #efd460;
  color: #fff;
}

.prevBtn {
  left: -20px;
}

.nextBtn {
  right: -20px;
}

@media (max-width: 768px) {
  .prevBtn {
    left: 0px;
  }

  .nextBtn {
    right: 0px;
  }

}

/* -------------------- Achievements Section-------------------- */

.achievements-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  height: 80%;
  display: flex;
  flex-direction: column;
}

.achievements-card .thumb {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.achievements-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.achievements-card:hover img {
  transform: scale(1.04);
}

.achievements-card .badge-date {
  position: absolute;
  left: 14px;
  top: 14px;
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: .35rem .75rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.achievements-card .body {
  padding: 22px 22px 24px;
}

.achievements-card .title {
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: .35rem;
}

.achievements-card .excerpt {
  color: #6b7280;
  margin-bottom: 14px;
}

.btn-soft {
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 500;
  background: rgba(63, 82, 97, 0.21);
  color: var(--brand);
}

.btn-soft:hover {
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 500;
  background: rgba(255, 83, 15, 0.29);
  color: var(--brand-2);
}

@media (max-width: 992px) {
  .achievements-card .thumb {
    height: 200px
  }
}

#achievementsCarousel .carousel-control-prev,
#achievementsCarousel .carousel-control-next {
  background: linear-gradient(135deg, #d28944, #a81f1d);
  width: 42px;
  height: 34px;
  border-radius: 50px;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s ease-in-out;
}

#achievementsCarousel .carousel-control-prev:hover,
#achievementsCarousel .carousel-control-next:hover {
  background: #eed15f;
  color: #000;
}

#achievementsCarousel .carousel-control-next {
  right: 43%;
  top: 400px;
}

#achievementsCarousel .carousel-control-prev {
  left: 43%;
  top: 400px;
}

@media (max-width: 768px) {

  #achievementsCarousel .carousel-control-next {
    right: 38%;
    top: 800px;
  }

  #achievementsCarousel .carousel-control-prev {
    left: 38%;
    top: 800px;
  }
}

/*  Birthday Section  */

.birthday-sec {
  padding: 2% 0% 5% 0%;
}

#birthdaySlider .swiper-button-prev,
#birthdaySlider .swiper-button-next {
  display: none;
}

.birthday-slider-nav .birthday-prev,
.birthday-slider-nav .birthday-next {

  background: linear-gradient(135deg, #d28944, #a81f1d);
  color: #fff;
  width: 40px;
  height: 33px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.birthday-slider-nav .birthday-prev:hover,
.birthday-slider-nav .birthday-next:hover {
  background: #eed15f;
  color: #000;
}

.overlap-left {
  position: absolute;
  bottom: 0;
  width: 45%;
  z-index: 9;
  left: -20px;
}

.overlap-right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 70%;
  position: absolute;
  z-index: 9;
}

.birthday-card-img {
  margin-top: 10px;
  min-width: 150px;
  max-width: 180px;
  min-height: 170px;
  max-height: 200px;
}

@media (max-width: 768px) {

  .birthday-slider-nav .birthday-prev,
  .birthday-slider-nav .birthday-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/*    Footer Section     */

.site-footer {
  background: linear-gradient(135deg, #d28944f0, #a81f1dfa), url('../Images/Footer Bg.jpg') center/cover no-repeat;
  padding: 2% 0% 3% 0%;
  position: relative;
}

@media (max-width: 574px) {
  .site-footer {
    background: linear-gradient(90deg, #d28944, #a81f1d);
    padding: 2% 0% 15% 0%;
    position: relative;
  }
}

.social-sec {
  position: absolute;
  bottom: 10px;
  left: 50%;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
  margin-left: 0rem;
  padding-left: 0rem;
}

@media (max-width: 574px) {
  .social-sec {
    bottom: 5px;
  }
}

.social-sec li {
  list-style: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: 0.3s ease;
  cursor: pointer;
}

.social-sec li a {
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

.social-sec li:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px) scale(1.05);
}

.btn-border-flow {
  display: inline-block;
  padding: 6px 18px;
  font-size: 18px;
  color: #fff;
  background: #0B1E44;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 12px rgba(18, 56, 150, 0.52);
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
  font-weight: 400;
}

.btn-border-flow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d28944, #a81f1d);
  background-size: 400% 400%;
  z-index: -1;
  animation: borderMove 6s linear infinite;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}

@keyframes borderMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #c97343;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: none;
  z-index: 999;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 574px) {
  .back-to-top {
    bottom: 100px;
  }
}

.back-to-top::after {
  position: absolute;
  z-index: -1;
  content: '';
  top: 100%;
  left: 5%;
  height: 10px;
  width: 90%;
  opacity: 1;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.311) 0%, rgba(0, 0, 0, 0) 80%);
}

.back-to-top:hover {
  background: #eed15f;
  color: #000 !important;
}

.mother-theresa {
  width: 100%;
  z-index: 20;
  padding: 6px 6px 0px 6px;
  overflow: hidden;
  margin: 0px auto;
  max-width: 400px;
}

.mother-theresa img {
  width: 100%;
  height: auto;
  display: block;
}

.underline-img {
  width: 100%;
  max-width: 300px;
}

/* ----------------------------- Page CSS ------------------------- */

.hero-banner {
  background: url('../Images/Principal-bg.svg'), linear-gradient(135deg, #d28944, #a81f1d);
  height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
  overflow: hidden;
}

.hero-title {
  z-index: 3;
  padding: 15px;
  border-radius: 100px;
  width: 95%;
  max-width: 1100px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%);
}

.hero-title h6 {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.heading-shade1 {
  text-transform: uppercase;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.about-content {
  background: url("../Images/hero-bg.jpg") center/cover no-repeat;
  margin-top: -80px;
}

.list-group li {
  line-height: 28px;
  background: url(../Images/Icons/arrow-right.png) no-repeat left 6px;
  padding: 0px 0px 0px 25px;
  list-style: none;
  margin: 8px 0px;
  vertical-align: middle;
}

thead th {
  background: linear-gradient(135deg, #d28944, #a81f1d);
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}