body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
     background: #d6e9f7b8;
}
/* ================= MODERN NAVBAR ================= */
.center-nav {
    position: fixed;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1300px;
    padding: 10px 25px;
    border-radius: 50px;
    background: linear-gradient(51deg, #0A5C85, #1E8CB8, #0A5C85);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.64);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    top: 30px;
    z-index: 999;
}

/* CENTER LOGO */
.center-logo {
    position: absolute;
    left: 50%;
    top: -60px;
    transform: translateX(-50%);
    z-index: 9999;
}
.center-logo img {
    width: 190px;
    height: 190px;
    object-fit: contain;
    border-radius: 50%;
}

/* HOME ICON */
.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #bba369;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}
.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand.active {
    color: #ffb400 !important;
}

.navbar{
  --bs-navbar-active-color: #ffb400 !important;
}

/* NAV LINKS */
.nav-links, .nav-right {
    display: flex;
    gap: 25px;
}
.nav-links a,
.nav-right a {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}
.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active,
.nav-right a:hover,
.nav-right a:focus,
.nav-right a.active {
    color: #ffb400 !important;
}

/* REMOVE DROPDOWN ARROW */
.nav-link.dropdown-toggle::after {
    display: none !important;
}

/* DROPDOWN */
.custom-dropdown {
    background: linear-gradient(51deg, #0A5C85, #1E8CB8, #0A5C85);
    border-radius: 10px;
    padding: 10px 0;
    border: 1px solid rgba(255,255,255,0.4);
}
.custom-dropdown .dropdown-item {
    color: #fff;
    font-weight: 600;
    padding: 10px 25px;
    transition: 0.3s;
}
.custom-dropdown .dropdown-item:hover,
.custom-dropdown .dropdown-item:focus,
.custom-dropdown .dropdown-item.active {
    color: #ffb400 !important;
    background: rgba(255,255,255,0.05) !important;
}

/* DESKTOP HOVER DROPDOWN */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 10px;
    }
}

/* MOBILE LOGO */
@media (max-width: 576px) {
    .center-logo {
        top: -40px;
    }
    .center-logo img {
        width: 150px;
        height: 150px;
    }
}

/* COLLAPSE DROPS BELOW NAVBAR */


@media (max-width: 576px) {
    .navbar-collapse {
    margin-top: 20px !important;
}
}

/* ================= CAROUSEL ================= */
.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100vh;
}

.carousel-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.25));
}

.carousel-caption {
    bottom: 45%;
    z-index: 2;
    font-family: 'Playfair Display', serif;
}

.carousel-caption h2 {
	font-size: 54px;
	font-weight: 700;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.84);
}

.carousel-caption p {
    font-size: 22px;
    font-weight: 500;
    font-style: italic;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.84);
}



/* ================= SECTION TITLE ================= */
.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #563a11;
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: "";
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #563a11, #e5c07b);
    display: block;
    margin: 10px auto 0;
    border-radius: 8px;
}

/* ================= ABOUT SECTION ================= */
.about-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

/* Decorative Blobs */
.about-section .blob-left, 
.about-section .blob-right {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.about-section .blob-left {
    width: 520px;
    height: 520px;
    left: -180px;
    top: -120px;
    background: radial-gradient(circle, rgba(130, 164, 228, 0.95), rgba(255,230,240,0.5));
}

.about-section .blob-right {
    width: 420px;
    height: 420px;
    right: -140px;
    bottom: 10%;
    background: radial-gradient(circle, rgba(200,190,255,0.95), rgba(230,225,255,0.5));
}

/* IMAGE GRID */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.image-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.large-img {
    grid-column: span 2;
    height: 230px !important;
}

/* VALUE CARDS */
.value-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.value-card .card-icon {
    font-size: 45px;
    color: #563a11;
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #563a11;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 15px;
    color: #4d5154;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
    .large-img {
        height: 200px !important;
    }
}







/* ================== MESSAGES SECTION ================== */
.message-section {
	padding: 4rem 0;
	background: linear-gradient(51deg, rgb(28, 47, 78) 30%, rgb(34, 103, 138) 100%);
	color: #fff;
	z-index: 888;
	position: relative;
}

/* ================== TABS ================== */
.nav-tabs {
    justify-content: center;
    gap: 10px;
    border-bottom: none;
}

.nav-tabs .nav-link {
	border-radius: 30px;
	font-weight: 600;
	
	transition: 0.3s;
	margin-top: -10px;
    color: #1c87b2;
}
.nav-tabs .nav-link:hover {
	background-color: rgb(30, 63, 95);
	color: #07a7ff;
}

.nav-tabs .nav-link.active {
	color: #fff;
	background-color: #1c88b400;
	border-color: #1d3c5c00;
}
/* ================== MESSAGE CONTENT ================== */
.message-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.message-text {
    flex: 1 1 500px;
    font-size: 1rem;
    line-height: 1.7;
}

.message-text a {
    color: #ffd54f;
    font-weight: 600;
    text-decoration: underline;
}

.message-image {
    flex: 0 0 300px;
}

.message-image img {
    width: 100%;
    border-radius: 25px;
    border: 3px solid rgba(255,255,255,0.5);
}

/* Responsive */
@media(max-width: 768px){
    .message-content {
        flex-direction: column;
        text-align: center;
    }
    .message-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}










/* ================= BIRTHDAY + ACHIEVEMENTS ================= */
.ba-section {
  color: #fff;
  padding: 60px 0;
}



/* ================= LEFT — BIRTHDAY SECTION ================= */
.birthday-frame {
  width: 100%;
  max-width: 650px;
  height: 350px;
  margin: auto;
  position: relative;
  background: url('../images/Birthday2.png');
  background-size: cover;
  background-position: center;
  border-radius: 15px;
}

/* Carousel inside birthday frame */
.birthday-carousel-box {
	position: absolute;
	top: 68px;
	left: 48.5%;
	transform: translateX(-50%);
	width: 70%;
	height: 260px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Student Image */
.birthday-carousel-item img {
  width: 150px;
  height: 150px;
  border-radius: 20px;
  object-fit: cover;
  border: 6px solid white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.birthday-student-info {
  margin-top: 15px;
  text-align: center;
}

.birthday-student-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: #5d441a;
  line-height: 8px;
}

.birthday-student-info p {
  font-size: 16px;
  font-weight: 500;
  color: #5d441a;
}

/* ================= RIGHT — ACHIEVEMENTS ================= */
.achievement-box {
  padding: 20px;
  background: rgb(58, 99, 128);
  border-left: 6px solid #124162;
  border-radius: 10px;
  margin-bottom: 15px;
  text-align: left;
}

.view-more-btn {
  padding: 10px 30px;
  background: linear-gradient(51deg, rgb(28, 47, 78) 30%, rgb(34, 103, 138) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.view-more-btn:hover {
  background: linear-gradient(51deg, rgb(34, 103, 138) 30%, rgb(28, 47, 78) 100%);
}

/* ---------------- MOBILE RESPONSIVE ---------------- */
@media (max-width: 991px) {
  .birthday-frame {
    height: 380px;
  }

  .birthday-carousel-box {
    top: 90px;
    width: 80%;
  }

  .birthday-carousel-item img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 575px) {
  .birthday-frame {
    height: 340px;
  }

  .birthday-carousel-box {
    top: 70px;
  }

  .birthday-carousel-item img {
    width: 130px;
    height: 130px;
  }
}

/* Carousel indicators */
.birthday-carousel-indicators [data-bs-target] {
  background-color: #fff;
}














/* ================= GALLERY SECTION ================= */
.gallery-section {
  background: linear-gradient(51deg, rgb(28, 47, 78) 30%, rgb(34, 103, 138) 100%);
  color: #fff;
  padding: 60px 0;
  position: relative;
  z-index: 888;
  transition: 0.3s ease;
}

/* MAIN LAYOUT */
.featured-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  width: 90%;
  margin: auto;
}

/* LEFT — Scrollable gallery */
.scroll-box {
  width: 60%;
  max-height: 1250px;
  overflow-y: auto;
  padding-right: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
  scroll-behavior: smooth;
}

/* Webkit scrollbar */
.scroll-box::-webkit-scrollbar {
  width: 8px;
}
.scroll-box::-webkit-scrollbar-track {
  background: transparent;
}
.scroll-box::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.3);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}
.scroll-box::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255,255,255,0.6);
}

/* MASONRY LAYOUT */
.masonry {
  column-count: 2;
  column-gap: 25px;
}

/* INDIVIDUAL CARDS */
.masonry-item {
  break-inside: avoid;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  margin-bottom: 25px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Tall & short images */
.masonry-item.tall img { height: 450px; }
.masonry-item.short img { height: 300px; }

/* IMAGE */
.masonry-item img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.masonry-item:hover img {
  transform: scale(1.08);
}

/* CARD OVERLAY */
.card-box {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  width: 80%;
  border-radius: 22px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.6);
  background: linear-gradient(51deg, rgba(28,47,78,0.85) 30%, rgba(34,103,138,0.85) 100%);
  transition: background 0.5s ease, transform 0.3s ease;
}
.masonry-item:hover .card-box {
  background: linear-gradient(51deg, rgba(28,47,78,1) 30%, rgba(34,103,138,1) 100%);
  transform: translateX(-50%) translateY(-5px);
}

.card-box h4 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
  color: #fff;
}

/* "View All" Button */
.view-btn {
  margin-top: 8px;
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border-radius: 20px;
  border: 1px solid #fff;
  transition: all 0.3s ease;
}
.view-btn:hover {
  background: linear-gradient(51deg, rgb(28, 47, 78) 30%, rgb(34, 103, 138) 100%);
  transform: translateY(-2px);
}

/* RIGHT SIDE TEXT */
.featured-right {
  width: 35%;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}
.featured-right p { font-size: 17px; line-height: 1.7; color: #f0f0f0; }
.featured-right h2 { font-size: 48px; font-weight: 900; margin: 10px 0 20px; color: #fff; }
.read-btn {
  margin-top: 25px;
  padding: 14px 28px;
  border: 2px solid #fff;
  border-radius: 40px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  transition: 0.3s ease;
  background: rgba(255,255,255,0.2);
}
.read-btn:hover {
  background: linear-gradient(51deg, rgb(28, 47, 78) 30%, rgb(34, 103, 138) 100%);
  transform: translateY(-2px);
}

/* ------------------ MOBILE RESPONSIVE ------------------ */
@media (max-width: 991px) {
  .featured-wrapper { flex-direction: column; gap: 40px; }
  .scroll-box { width: 100%; height: auto; padding-right: 0; }
  .masonry { column-count: 1; column-gap: 0; }
  .featured-right { width: 100%; position: relative; top: 0; text-align: center; }
  .featured-right h2 { font-size: 32px; }
  .featured-right p { font-size: 16px; }
  .read-btn { padding: 12px 24px; font-size: 14px; }
}

@media (max-width: 576px) {
  .gallery-section { padding: 50px 15px; }
  .card-box { padding: 10px 14px; width: 90%; }
  .masonry-item.tall img { height: 350px; }
  .masonry-item.short img { height: 220px; }
  .featured-right h2 { font-size: 28px; }
  .featured-right p { font-size: 15px; }
}





/* =================  FACILITIES ================= */
.infra-section {
  padding: 60px 0;
}

.infra-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.infra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.18);
}

.infra-icon {
    font-size: 55px;
    margin-bottom: 15px;
    color: #0d6efd;
}

.infra-card h5 {
    margin: 10px 0;
    font-weight: 600;
}

.infra-card p {
    flex-grow: 1; 
    font-size: 0.95rem;
    color: #555;
}

.view-more-btn {
    padding: 12px 35px;
    background: linear-gradient(51deg, rgb(28, 47, 78) 30%, rgb(34, 103, 138) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.view-more-btn:hover {
    box-shadow: 0 0 12px rgba(34, 103, 138, 0.7);
    transform: translateY(-2px);
}

.carousel-arrow {
    width: 45px;
    height: 45px;
    background: linear-gradient(51deg, rgb(28, 47, 78) 30%, rgb(34, 103, 138) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-arrow i {
    font-size: 24px;
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .infra-section { padding: 40px 15px; }
    
}

@media (max-width: 576px) {
    .infra-card h5 { font-size: 16px; }
    .infra-card p { font-size: 14px; }
    .infra-icon { font-size: 45px; }
}
/* Centered View More + Arrows */
.view-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Make arrows slightly smaller on mobile */
@media (max-width: 576px) {
    .view-more-container {
        gap: 15px;
        flex-direction: row; /* Keep arrows and button in a single row */
    }
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    .carousel-arrow i {
        font-size: 20px;
    }
    .view-more-btn {
        padding: 10px 25px;
        font-size: 13px;
    }
}


/* ================== Footer ================== */

.logo-footer {
  width: 145px;
  z-index: 20;
  border-radius: 50%;
  padding: 6px;
  overflow: hidden;
  margin: 0 auto;
}

.logo-footer a {
  display: block;
  position: relative;
}

.logo-footer img {
  width: 100%;
  height: auto;
  display: block;
}

.logo-footer a::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: rotate(25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-150%) rotate(25deg); }
  100% { transform: translateX(150%) rotate(25deg); }
}

/* Footer Background */
.site-footer {
  background: linear-gradient(51deg, rgb(28, 47, 78) 30%, rgb(34, 103, 138) 100%),
            url('../images/Logo.png') no-repeat center center;
padding: 3% 0% 5% 0%;

  position: relative;
}

@media (max-width: 574px) {
  .site-footer {
    padding: 2% 0% 40% 0%;
  }
}

.footer-logo {
  width: 100%;
  max-width: 100px;
}

.site-footer h6 {
  color: var(--theme-secondary);
}

/* Social Icons */
.social-sec {
  position: absolute;
  /* bottom: 10%; */
  left: 50%;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

@media (max-width: 574px) {
  .social-sec {
    bottom: 5%;
  }
}

.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);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: 0.3s ease;
  cursor: pointer;
}

.social-sec li a {
  color: white;
  font-size: 18px;
}

.social-sec li:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px) scale(1.05);
}

/* Button Border Animation */
.btn-border-flow {
  display: inline-block;
  padding: 6px 18px;
  font-size: 18px;
  color: #fff;
  background: #2B2043;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  box-shadow: 0 6px 12px rgba(18, 56, 150, 0.52);
}

.btn-border-flow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: linear-gradient(270deg, var(--primary-light), var(--theme-primary), #1450e9, var(--primary-light));
  background-size: 400% 400%;
  animation: borderMove 6s linear infinite;
}

@keyframes borderMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--theme-secondary);
  color: var(--theme-index);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Patron Section */
.st-mary {
  width: 100%;
  max-width: 400px;
  padding: 6px;
  margin: 0 auto;
}

.st-mary img {
  width: 50%;
}

.patron-name {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 1px;
  color: #D4AF37 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  margin-bottom: 2px;
}

.patron-title {
  font-family: "Marcellus", serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #f2ecbd !important;
  text-shadow: 0px 1px 3px rgba(0,0,0,0.4);
}




/* Banner  */



.page-banner {
    /* Background logo + gradient overlay */
    position: relative;
    padding: 100px 20px; /* space for title & breadcrumb */
    text-align: center;
    color: #fff;
    border-radius: 0 0 30px 30px;
    

    /* Logo as background */
    background: linear-gradient(rgba(10, 92, 133, 0.7), rgba(28, 47, 78, 0.7)),
                url('../images/LOGO.png') center center no-repeat;
    background-size: contain; /* logo scales to fit */
    background-position: center;
    background-repeat: no-repeat;
}

.banner-title {
	font-size: 42px;
	font-weight: 700;
	margin-bottom: 15px;
	padding-top: 100px;
	color: #fbb310;
}
.breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: #ffdd57;
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #ffffff;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-banner {
        padding: 80px 15px;
        background-size: 50% auto; /* smaller logo on tablet */
    }

    .banner-title {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .page-banner {
	padding: 60px 10px;
	background-size: 100%;
}

    .banner-title {
        font-size: 28px;
    }
}




 /* Patron Page  */

.patron-heading {
  font-family: "Cinzel", serif;
  font-size: 1.8rem;
  color: #17224d;
  font-weight: 700;
}

.patron-sub-heading {
  font-family: "Cinzel", serif;
  font-size: 1.3rem;
  color: #17224d;
  font-weight: 600;
}

.patron-text-block {
  color: #222;
  font-size: 1.06rem;
  line-height: 1.75rem;
}

.patron-text-block p {
  margin-bottom: 1.2rem;
}

/* IMAGE */
.patron-image-wrapper {
  text-align: center;
}

.patron-side-image {
  width: 100%;
  max-width: 330px;

}


/* Founder  */

.founder-image-wrapper{
  text-align: center;
}

.founder-side-image {
	width: 100%;
	max-width: 330px;
	margin-top: 180px;
}







  /* Prayers and Hymns  */

/* Accordion Background */
.accordion-custom-bg {
    background: #d6e9f7b8 !important;
    padding: 50px 0;
}

/* Accordion item background */
.accordion-item {
     background: linear-gradient(51deg, #0A5C85, #1E8CB8, #0A5C85);
    border: none;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

/* Accordion Header Button */
.accordion-button {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}

/* Accordion Body Styling */
/* Center all text inside accordion body */
.accordion-body {
    text-align: center;     /* Centers the text */
    color: #ffffff;
    background: linear-gradient(51deg, rgb(28,47,78) 30%, rgb(34,103,138) 100%) !important;
    line-height: 1.8;
}



/* ================== PRINCIPAL PAGE ================== */
/* ================= PRINCIPAL GREETING ================= */
.principal-greeting,.manager-greeting 
{
    padding: 4rem 0;
    color: #0f2e4d; /* Text stays clean and readable */
}

.greeting-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}

/* TEXT */
.greeting-text {
    flex: 1 1 600px;
    font-size: 1.1rem;
    line-height: 1.9;
}

.greeting-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #003f6b;
}

/* IMAGE */
.greeting-image {
    flex: 0 0 320px;
}

.greeting-image img {
	width: 100%;
	border-radius: 20px;
	border: 4px solid #e5e5e5;
	box-shadow: 0 6px 18px rgba(0,0,0,0.15);
	margin-top: 250px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .greeting-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .greeting-image img {
        max-width: 70%;
        margin: auto;
    }
}





/* ================== UNIFORM SECTION ================== */
.uniform-section {
    padding: 60px 0;
    font-family: 'Arial', sans-serif;
    
   
}

.uniform-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1c3f5c;
    margin-bottom: 15px;
}

.uniform-intro {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 40px;
    color: #555;
}

/* Uniform Cards Container */
.uniform-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Individual Uniform Card */
.uniform-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 30px;
    flex: 1 1 280px;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.uniform-card:hover {
    transform: translateY(-5px);
}

.uniform-card h3 {
    font-size: 1.5rem;
    color: #0a5c85;
    margin-bottom: 20px;
    text-align: center;
}

.uniform-card ul {
    list-style-type: disc;
    padding-left: 20px;
    line-height: 1.7;
}

.uniform-card ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
}

/* Responsive */
@media(max-width: 768px){
    .uniform-cards {
        flex-direction: column;
        align-items: center;
    }

    .uniform-card {
        max-width: 90%;
    }
}





/* ===== School Timing  ===== */
.timing-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: center;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 25px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 32px;
    color: #1d3d5d;
    margin-bottom: 15px;
}

.timing-card p {
    font-size: 15px;
    color: #555;
    margin-bottom: 5px;
}

.timing-card p strong {
    color: #1d3d5d;
}

/* Responsive */
@media(max-width: 991px){
    .timing-card {
        min-height: auto;
        padding: 20px;
    }
}
@media(max-width: 767px){
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media(max-width: 575px){
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}






