/* ==================================================================
   INNER PAGES – HERO SECTION
================================================================== */
.glass-hero {
  padding-top: 150px;
  padding-bottom: 80px;
  position: relative;
  background: linear-gradient(135deg, #30428E 0%, #1a1a1a 100%);
  overflow: hidden;
}

.glass-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/banner-img.png') center/cover no-repeat;
  opacity: 0.65;
  z-index: 0;
}

.glass-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.inner-title {
  position: relative;
  font-size: 2.8rem;
  font-weight: 800;
  color: #FAE279;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==================================================================
   GLASSMORPHISM SECTION (UNIFIED FOR ALL INNER PAGES)
================================================================== */
.vision-glass-section {
  position: relative;
  overflow: hidden;
  background: #f7f7f7;
}

/* Glow shapes */
.glass-shape {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: floatShape 12s infinite ease-in-out;
  z-index: 1;
}

.shape1 { background: #FAE279; top: -80px; left: -60px; }
.shape2 { background: #30428E; bottom: -100px; right: -80px; }
.shape3 { background: #FAE279; top: 40%; left: 50%; }

@keyframes floatShape {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-40px); }
  100% { transform: translateY(0px); }
}

/* Glass boxes */
.glass-box {
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
  padding: 35px;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}

/* Icons */
.glass-icon {
  text-align: center;
  margin-bottom: 20px;
}

.glass-icon svg {
  animation: rotateSlow 18s linear infinite;
}

@keyframes rotateSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Text */
.glass-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #30428E;
  text-align: center;
  margin-bottom: 20px;
}

.glass-box p {
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
  color: #1a1a1a;
}

/* Lists */
.glass-list {
  list-style: none;
  padding-left: 0;
}

.glass-list li {
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.glass-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.6rem;
  color: #FAE279;
}

/* MOBILE FIX – SAFE */
@media (max-width: 768px) {

  .inner-title {
    font-size: 2.2rem;
  }

  .glass-box {
    padding: 25px;
  }

  .glass-box p,
  .glass-list li {
    font-size: 1rem;
    text-align: left;
  }

  .glass-shape {
    width: 180px;
    height: 180px;
    filter: blur(60px);
  }
}

/* ===========================
 ABOUT US – INNER PAGE
============================== */

.about-section {
  position: relative;
}

/* Title */
.about-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #30428E;
  margin-bottom: 20px;
}

/* IMAGE GRID */
.about-image-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-img-box {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.about-img-box img:hover {
  transform: scale(1.05);
}

/* SUMMARY TEXT */
.about-summary {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

/* HIGHLIGHTS LIST */
.about-highlights {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.about-highlights li {
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #333;
}

.about-highlights i {
  color: #FAE279;
  font-size: 1.2rem;
  margin-right: 10px;
}

/* FULL TEXT BELOW */
.about-full-text {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  line-height: 1.7;
  color: #444;
}

/* Premium Gold Vertical Line */

.about-text-wrapper {
  position: relative;
  padding-left: 30px;
}

.about-text-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: linear-gradient(180deg, #F7DB3A, #FAE279);
  border-radius: 10px;
}

/* Responsive Fixes */

@media (max-width: 991px) {
  .about-image-grid {
    flex-direction: row;
    gap: 10px;
  }

  .about-img-box {
    height: 160px;
  }

  .about-text-wrapper {
    padding-left: 20px;
  }

  .about-text-wrapper::before {
    left: 0;
    width: 3px;
  }
}

@media (max-width: 767px) {
  .about-title,
  .about-subtitle {
    text-align: center;
  }

  .about-text-wrapper {
    padding-left: 15px;
  }

  .about-text-wrapper::before {
    height: 100%;
    left: 0;
  }

  .about-image-grid {
    margin-top: 20px;
  }
}


/* ===========================
   VISION & MISSION CSS
=========================== */

.vision-mission-page {
  background: #f7f7f7;
}

.vm-heading {
  font-size: 2.0rem;
  font-weight: 700;
  color: #30428E;
  letter-spacing: 0.5px;
}

.vm-heading span {
  color: #FAE279;
}

/* Wrapper for equal height columns */
.vm-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
}

.vm-column {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Centered Circular Images */
.vm-icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.vm-image {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, #30428E 50%, #FAE279 50%);
  padding: 15px;
  box-shadow: 0 8px 25px rgba(48,66,142,0.25);
  object-fit: contain;
}

/* Titles & Text */
.vm-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #30428E;
  margin-bottom: 15px;
}

.vm-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
  margin-bottom: 15px;
}

/* Mission List */
.vm-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.vm-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

.vm-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.4rem;
  color: #FAE279;
}

/* Vertical Separator */
.vm-separator {
  width: 4px;
  background: linear-gradient(to bottom, #30428E 50%, #FAE279 50%);
  border-radius: 2px;
  position: relative;
}

.vm-separator::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  border-left: 2px dotted #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
  .vm-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .vm-separator {
    display: none;
  }

  .vm-image {
    width: 100px;
    height: 100px;
  }

  .vm-title {
    font-size: 1.4rem;
  }

  .vm-text,
  .vm-list li {
    font-size: 1rem;
  }
}


/* ===========================
   CORE VALUES PREMIUM DESIGN
=========================== */

/* Value container spacing */
.cv-item {
  margin-bottom: 80px;
}

/* Image styling */
.cv-image-wrap {
  text-align: center;
  position: relative;
}

.cv-image {
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(48,66,142,0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cv-image-wrap::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(250,226,121,0.25), transparent 70%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
}

.cv-image:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 70px rgba(48,66,142,0.35);
}

/* Text styling */

.cv-main-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: #30428E; /* same blue as Vision & Mission */
  letter-spacing: 0.5px;
}

.cv-main-heading span {
  color: #FAE279; /* same yellow highlight */
}

.cv-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FF9933;
  margin-bottom: 15px;
  position: relative;
  margin-top: 0 !important; /* FIX: ensures all headings align */
}

.cv-heading::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #30428E;
  position: absolute;
  bottom: -8px;
  left: 0;
  border-radius: 2px;
}

.cv-item p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #1a1a1a;
  font-weight: 300;
  text-align: justify;
}

/* Force image + text to align at the top */
.cv-item {
  display: flex;
  align-items: flex-start !important;   /* FIX: headings align at top */
  justify-content: space-between;
  flex-wrap: nowrap;
}

/* Image column */
.cv-item .col-lg-4 {
  flex: 0 0 35%;
  max-width: 35%;
  text-align: center;
  display: block !important; /* FIX: prevents flex centering issues */
}

/* Text column */
.cv-item .col-lg-8 {
  flex: 0 0 65%;
  max-width: 65%;
  display: block !important; /* FIX: removes vertical centering */
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Mobile adjustments */
@media (max-width: 992px) {
  .cv-item {
    flex-wrap: wrap;
    text-align: center;
    gap: 20px;
  }

  .cv-item .col-lg-4,
  .cv-item .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Center all images on mobile */
  .cv-item .col-lg-4 {
    justify-content: center;
    align-items: center;
  }

  .cv-image {
    margin: 0 auto;
  }

  .cv-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .cv-item p {
    padding: 0 20px;
  }
}

/* ==================================================================
   DIRECTOR + PRINCIPAL PAGE CSS (UNIFIED)
================================================================== */

/* PROFILE PHOTO */
.director-photo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.director-photo img {
  width: 100%;
  max-width: 320px;
  height: 320px;
  border-radius: 12px;
  border: 5px solid #FAE279;
  box-shadow: 0 14px 38px rgba(48,66,142,0.45);
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.director-photo img:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 35px rgba(48,66,142,0.6);
}

/* NAME + DESIGNATION */
.director-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: #30428E;
  text-align: center;
  margin-top: 12px;
  position: relative;
}

.director-name::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #FAE279;
  border-radius: 2px;
}

.director-designation {
  font-size: 1rem;
  font-weight: 600;
  color: #777;
  text-align: center;
  margin-bottom: 25px;
}

/* CONTENT */
.director-content,
.principal-content {
  padding-left: 25px;
}

.director-content p,
.principal-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
  color: #1a1a1a;
  text-align: justify;
}

.director-content strong,
.principal-content strong {
  color: #30428E;
}

/* PRINCIPAL QUOTE */
.principal-quote {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 25px;
  font-style: italic;
  text-align: center;
  color: #2C3E8E;
}

.principal-quote .quote-bold {
  font-weight: 700;
  color: #30428E;
}

.principal-sign {
  margin-top: 30px;
  font-weight: 500 !important;
  color: #30428E;
  text-align: center;
}

/* MOBILE FIX – DIRECTOR + PRINCIPAL */
@media (max-width: 768px) {

  .director-photo {
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    text-align: center;
  }

  .director-photo img {
    margin: 0 auto !important;
    display: block;
    max-width: 280px;
    height: 320px;
  }

  .director-content,
  .principal-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .principal-quote {
    font-size: 1.2rem;
    padding: 0 10px;
  }

  .director-content p,
  .principal-content p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* ===========================
   Facilities PAGE CSS
============================== */

.shri-facilities-clean {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

/* Glow shapes */
.shri-facilities-clean .glass-shape {
    position: absolute;
    z-index: 0;
}

/* Facility Block */
.facility-block {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
    flex-wrap: nowrap;
}

/* Facility Image */
.facility-img {
    flex: 0 0 260px; /* fixed width container */
}

.facility-img img {
    width: 260px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid #FAE279;
    box-shadow: 0 10px 30px rgba(48,66,142,0.25);
    transition: all 0.35s ease;
    display: block;
}

/* Hover: Zoom + Glow + Lift */
.facility-img img:hover {
    transform: scale(1.06) translateY(-6px);
    box-shadow: 0 20px 45px rgba(48,66,142,0.35),
                0 0 25px rgba(250,226,121,0.55);
    border-color: #FFD95A;
}

/* Facility Text */
.facility-text {
    flex: 1;
}

.facility-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FF9933;
    margin-bottom: 10px;
}

.facility-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #1a1a1a;
    text-align: justify;
}

/* Facility Lists */
.facility-text ul {
    margin-top: 10px;
    margin-left: 20px;
    padding-left: 0;
}

.facility-text ul li {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #1a1a1a;
    margin-bottom: 8px;
    list-style-type: disc;
}

.facility-text ul li::marker {
    color: #FF9933; /* golden bullet */
}

/* Responsive Design */
@media (max-width: 992px) {
    .facility-block {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .facility-img {
        flex: 0 0 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .facility-img img {
        width: 280px;
        height: 220px;
        margin: 0 auto;
    }

    .facility-text {
        flex: 0 0 100%;
        text-align: left;
    }

    .facility-text h3 {
        text-align: center;
    }
}


/* ===========================
   SHRI Meaning PAGE CSS
=========================== */
.shri-meaning-text-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafc 100%);
  overflow: hidden;
  padding-bottom: 60px;
}

/* ===========================
   First Hindi word “श्री”
=========================== */
.shri-title {
  font-size: 2.8rem;                /* Bigger */
  font-weight: 800;                 /* Bold */
  color: #30428E;                   /* Dark Blue */
  margin-bottom: 25px;
  text-align: center;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

/* ===========================
   Rest of Hindi text
=========================== */
.shri-hindi-text p {
  font-size: 1.20rem;
  line-height: 2.0;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 10px;
  text-align: center;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

/* ===========================
   English Text Styling
=========================== */
.shri-english-text p {
  font-size: 1.20rem;
  line-height: 1.9;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 12px;
  text-align: center;
}

/* ===========================
   Mobile Optimization
=========================== */
@media (max-width: 768px) {

  .shri-title {
    font-size: 2.2rem;              
  }

  .shri-hindi-text p {
    font-size: 1.20rem;
    line-height: 2;
    padding: 0 15px;
  }

  .shri-english-text p {
    font-size: 1.20rem;
    line-height: 1.75;
    padding: 0 15px;
  }
}

/*=====================================
Shri Legacy PAGE CSS
=======================================*/

.shri-legacy-final{
    padding:100px 0;
}

.timeline-container{

    position:relative;

    width:90%;

    max-width:1300px;

    margin:auto;

}

/* Center line */

.timeline-container::before{

    content:"";

    position:absolute;

    left:50%;

    top:0;

    width:6px;

    height:100%;

    background:linear-gradient(#30428E,#FFD54A,#30428E);

    transform:translateX(-50%);

    border-radius:20px;

}

/* Item */

.timeline-item{

    position:relative;

    width:50%;

    padding:40px 60px;

    margin:30px 0;

}

.timeline-item.left{

    left:0;

}

.timeline-item.right{

    left:50%;

}

/* Dot */

.timeline-dot{

    position:absolute;

    top:120px;

    width:70px;

    height:70px;

    background:#FFD54A;

    border:6px solid #30428E;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:bold;

    color:#30428E;

    z-index:5;

    box-shadow:0 10px 30px rgba(0,0,0,.2);

}

.left .timeline-dot{

    right:-35px;

}

.right .timeline-dot{

    left:-35px;

}

/* Premium blue glossy box + white content + number */

.timeline-box {
    background: linear-gradient(135deg, #30428E 0%, #1a1a1a 100%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    transition: .4s;
    border: 2px solid #FAE279; /* Golden border */
    position: relative;
    padding-top: 60px; /* space for number badge */
}

/* Hover effect */
.timeline-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 90px rgba(48,66,142,.45);
}

/* Number badge inside box */
.timeline-box::before {
    content: attr(data-number);
    position: absolute;
    top: 15px;
    left: 50%;                 /* Center horizontally */
    transform: translateX(-50%); /* Perfect centering */
    width: 45px;
    height: 45px;
    background: rgba(250,226,121,0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid #FAE279;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #FAE279;
    box-shadow: 0 0 20px rgba(250,226,121,0.4);
}

/* Passport-style image */
.timeline-box img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid #FAE279;
    margin: 20px auto 10px;
    display: block;
}

/* Heading */
.timeline-box h3 {
    color: #ffffff;
    font-size: 24px;
    padding: 10px 25px 5px;
    font-weight: 700;
    text-align: center;
}

.timeline-box h2 {
    color: #ffffff;
    font-size: 20px;
    padding: 10px 25px 5px;
    font-weight: 500;
    text-align: center;
}


/* Paragraphs */
.timeline-box p {
    padding: 0 25px 12px;
    color: #f2f2f2;
    line-height: 1.75;
    font-weight: 300;
    text-align: left;
}
/* Mobile */

@media(max-width:900px){

.timeline-container::before{

left:30px;

}

.timeline-item{

width:100%;

padding-left:80px;

padding-right:20px;

left:0!important;

}

.timeline-dot{

left:-5px!important;

right:auto;

top:90px;

}

.left .timeline-box::after,

.right .timeline-box::after{

left:-25px;

}

}

/* ===========================
   SHRI Philosophy PAGE CSS
=========================== */

.shri-philosophy-clean {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

/* Glow shapes */
.shri-philosophy-clean .glass-shape {
    position: absolute;
    z-index: 0;
}

/* Image */
.philo-clean-img {
    width: 280px;
    height: 330px;
    object-fit: cover;
    border-radius: 18px;
    border: 5px solid #FAE279;
    box-shadow: 0 10px 30px rgba(48,66,142,0.25);
}

/* Paragraphs */
.philo-clean-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #1a1a1a;
    text-align: justify;
    margin-bottom: 20px;
}

/* Heading */
.philo-clean-heading {
    font-size: 1.6rem;
    font-weight: 800;
    color: #FF9933;
    margin-bottom: 25px;
}

/* List */
.philo-clean-list {
    list-style: none;
    padding-left: 0;
}

.philo-clean-list li {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.philo-clean-list img {
    width: 22px;
    height: 22px;
    margin-top: 4px;
}

/*Philosophy Responsive*/
@media (max-width: 768px) {

    /* Only this image column */
    .philo-image-col {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .philo-clean-img {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px;
    }

}
/* =============================
   SHRI Differentiators PAGE CSS 
================================ */

.shri-diff-clean {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

/* Glow shapes */
.shri-diff-clean .glass-shape {
    position: absolute;
    z-index: 0;
}

/* Running Quote */
.diff-running-quote {
    font-size: 1.4rem;
    font-weight: 600;
    color: #30428E;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding: 10px 0;
}

.diff-running-quote span {
    display: block;
    font-size: 1.1rem;
    color: #FF9933;
    margin-top: 5px;
}

/* Section Heading */
.diff-section-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: #30428E;
    margin-bottom: 20px;
}

/* Intro Paragraph */
.diff-clean-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #1a1a1a;
    text-align: justify;
    margin-bottom: 20px;
}

/* Differentiators List */
.diff-clean-list {
    list-style: none;
    padding-left: 0;
}

.diff-clean-list li {
    margin-bottom: 35px;
}

.diff-clean-list h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #FF9933;
    margin-bottom: 8px;
}

.diff-clean-list p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #1a1a1a;
    text-align: justify;
}

/* Responsive */
@media(max-width: 768px) {
    .diff-running-quote {
        font-size: 1.2rem;
    }
}

/* ===========================
   SHRI Educator PAGE  CSS
=========================== */

.shri-educator-clean {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

/* Glow shapes */
.shri-educator-clean .glass-shape {
    position: absolute;
    z-index: 0;
}

/* Sanskrit Running Quote */
.educator-running-quote {
    font-size: 1.6rem;
    font-weight: 700;
    color: #30428E;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* English Translation */
.educator-translation {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FF9933;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Section Heading */
.educator-section-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: #30428E;
    margin-bottom: 20px;
}

/* Full Paragraph */
.educator-clean-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #1a1a1a;
    text-align: justify;
    margin-bottom: 20px;
}

/* Responsive */
@media(max-width: 768px) {
    .educator-running-quote {
        font-size: 1.3rem;
    }
    .educator-translation {
        font-size: 1.1rem;
    }
}

/* ===========================
   ADMISSION PROCESS CSS
=========================== */
.admission-section {
    padding: 60px 0;
}

.admission-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #30428E;
    margin-bottom: 15px;
}

.admission-text {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 30px;
}

.admission-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    border-left: 5px solid #30428E;
}

.admission-subheading {
    font-size: 1.4rem;
    font-weight: 600;
    color: #14245A;
    margin-bottom: 15px;
}

.admission-btn {
    display: inline-block;
    background: #30428E;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.admission-btn:hover {
    background: #1E2E6E;
}

.admission-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    font-family: 'Poppins', sans-serif;
}

.admission-table thead th {
    background: linear-gradient(90deg, #30428E, #1E2E6E);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 18px;
    border: none;
    text-align: left;
}

/* Body cells */
.admission-table td {
    padding: 14px 18px;
    font-size: 0.95rem;
    color: #333;
    border-top: 1px solid #e5e5e5;
    background: #fff;
    transition: background 0.3s ease;
}

/* Row hover effect */
.admission-table tbody tr:hover td {
    background: #f8f9ff;
}

/* First column emphasis */
.admission-table td:first-child {
    font-weight: 500;
    color: #14245A;
}
/* Rounded corners for top and bottom */
.admission-table thead tr:first-child th:first-child {
    border-top-left-radius: 12px;
}
.admission-table thead tr:first-child th:last-child {
    border-top-right-radius: 12px;
}
.admission-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}
.admission-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

/* Subtle grid lines */
.admission-table tbody tr td {
    border-right: 1px solid #eee;
}
.admission-table tbody tr td:last-child {
    border-right: none;
}

.admission-list {
    list-style: none;
    padding-left: 0;
}

.admission-list li {
    padding-left: 20px;
    margin-bottom: 8px;
    position: relative;
}

.admission-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #30428E;
    font-size: 1.4rem;
}

.doc-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #30428E;
}

/* =========================================================
   FEE STRUCTURE PAGE
   MAIN WEBSITE + PRINT SUPPORT
========================================================= */


/* =========================================================
   MAIN FEE STRUCTURE WRAPPER
========================================================= */

.fee-structure-wrapper {

    width: 100%;

    background: #ffffff;

    padding: 35px 20px;

    border-radius: 12px;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.08);

    font-family: 'Poppins', sans-serif;

    box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

.fee-header {

    position: relative;

    width: 100%;

    min-height: 120px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 8px 65px 14px;

    margin-bottom: 20px;

    border-bottom: 2px solid #30428E;

    box-sizing: border-box;
}


/* =========================================================
   LOGO + TITLE GROUP
========================================================= */

.fee-branding {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;
}


/* =========================================================
   LOGO CONTAINER
========================================================= */

.fee-logo-box {

    width: 105px;

    height: 105px;

    flex: 0 0 105px;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================================================
   LOGO
========================================================= */

.fee-logo {

    width: 100px;

    height: 100px;

    display: block;

    object-fit: contain;

    object-position: center;
}


/* =========================================================
   TITLE AREA
========================================================= */

.fee-title-area {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

    text-align: left;
}


/* =========================================================
   MAIN HEADING
========================================================= */

.fee-heading {

    margin: 0;

    padding: 0;

    font-size: 1.8rem;

    line-height: 1.2;

    font-weight: 700;

    color: #30428E;
}


/* =========================================================
   SCHOOL NAME
========================================================= */

.school-name {

    margin: 5px 0 0;

    padding: 0;

    font-size: 1rem;

    line-height: 1.3;

    font-weight: 500;

    color: #14245A;
}


/* =========================================================
   DOWNLOAD + PRINT ACTIONS
========================================================= */

.fee-actions {

    position: absolute;

    right: 0;

    top: 50%;

    transform: translateY(-50%);

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;
}


/* =========================================================
   COMMON ACTION BUTTON
========================================================= */

.fee-action-btn {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 50%;

    background: #30428E;

    color: #ffffff;

    font-size: 1.1rem;

    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   DOWNLOAD BUTTON
========================================================= */

.download-btn {

    color: #ffffff;

    background: #30428E;
}


.download-btn:hover {

    color: #ffffff;

    background: #1E2E6E;

    transform: translateY(-2px);

    box-shadow:
        0 4px 10px rgba(48, 66, 142, 0.30);
}


/* =========================================================
   PRINT BUTTON
========================================================= */

.print-btn {

    position: static;

    transform: none;

    color: #ffffff;

    background: #30428E;
}


.print-btn:hover {

    color: #ffffff;

    background: #1E2E6E;

    transform: translateY(-2px);

    box-shadow:
        0 4px 10px rgba(48, 66, 142, 0.30);
}


/* =========================================================
   TABLE RESPONSIVE
========================================================= */

.table-responsive {

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   FEE TABLE
========================================================= */

.fee-table {

    width: 100%;

    border-collapse: separate;

    border-spacing: 0;

    border-radius: 10px;

    overflow: hidden;

    background: #ffffff;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   TABLE HEADER
========================================================= */

.fee-table thead th {

    background:
        linear-gradient(
            90deg,
            #30428E,
            #1E2E6E
        );

    color: #ffffff;

    font-weight: 600;

    font-size: 0.95rem;

    line-height: 1.3;

    padding: 12px 16px;

    text-align: left;

    vertical-align: middle;

    border: none;
}


/* =========================================================
   TABLE BODY
========================================================= */

.fee-table tbody td {

    padding: 12px 16px;

    font-size: 0.9rem;

    line-height: 1.35;

    color: #333333;

    background: #ffffff;

    border-bottom:
        1px solid #e5e5e5;

    vertical-align: middle;
}


/* =========================================================
   TABLE HOVER
========================================================= */

.fee-table tbody tr:not(.table-section):hover td {

    background: #f8f9ff;
}


/* =========================================================
   TABLE SECTION ROW
========================================================= */

.fee-table tbody tr.table-section td {

    background: #f1f3ff;

    color: #30428E;

    font-weight: 600;

    border-top:
        2px solid #30428E;

    border-bottom:
        1px solid #d8dcf0;
}


/* =========================================================
   FEE WAIVER SECTION
========================================================= */

.fee-waiver {

    margin-top: 25px;

    padding-top: 0;
}


.fee-waiver h4 {

    margin: 0 0 10px;

    padding: 0;

    font-size: 1.2rem;

    line-height: 1.3;

    font-weight: 600;

    color: #30428E;
}


.fee-waiver ul {

    list-style: none;

    margin: 0;

    padding: 0;
}


.fee-waiver ul li {

    position: relative;

    margin-bottom: 8px;

    padding-left: 20px;

    color: #444444;

    font-size: 0.9rem;

    line-height: 1.45;
}


.fee-waiver ul li::before {

    content: "•";

    position: absolute;

    left: 0;

    top: 0;

    color: #30428E;

    font-size: 1.2rem;

    line-height: 1;
}


/* =========================================================
   TABLET — 768px
========================================================= */

@media (max-width: 768px) {

    .fee-structure-wrapper {

        padding: 25px 15px;
    }


    .fee-header {

        min-height: 95px;

        padding:
            8px
            55px
            12px
            8px;
    }


    .fee-branding {

        gap: 12px;
    }


    .fee-logo-box {

        width: 75px;

        height: 75px;


        flex: 0 0 75px;
    }


    .fee-logo {

        width: 72px;

        height: 72px;
    }


    .fee-heading {

        font-size: 1.35rem;
    }


    .school-name {

        font-size: 0.82rem;

        margin-top: 4px;
    }


    .fee-actions {

        right: 5px;

        gap: 6px;
    }


    .fee-action-btn {

        width: 38px;

        height: 38px;

        font-size: 1rem;
    }


    .fee-table thead th,
    .fee-table tbody td {

        font-size: 0.85rem;

        padding: 10px;
    }


    .fee-waiver h4 {

        font-size: 1.05rem;
    }


    .fee-waiver ul li {

        font-size: 0.85rem;
    }

}


/* =========================================================
   MOBILE — 576px
========================================================= */

@media (max-width: 576px) {

    .fee-structure-wrapper {

        padding: 20px 10px;

        border-radius: 8px;
    }


    .fee-header {

        min-height: 80px;

        padding:
            5px
            42px
            10px
            5px;
    }


    .fee-branding {

        gap: 9px;
    }


    .fee-logo-box {

        width: 60px;

        height: 60px;

        flex: 0 0 60px;
    }


    .fee-logo {

        width: 57px;

        height: 57px;
    }


    .fee-heading {

        font-size: 1.05rem;

        line-height: 1.15;
    }


    .school-name {

        font-size: 0.68rem;

        line-height: 1.2;

        margin-top: 3px;
    }


    .fee-actions {

        right: 3px;

        gap: 5px;
    }


    .fee-action-btn {

        width: 34px;

        height: 34px;

        font-size: 0.85rem;
    }


    .fee-table thead th,
    .fee-table tbody td {

        font-size: 0.78rem;

        padding: 8px 7px;
    }


    .fee-waiver {

        margin-top: 18px;
    }


    .fee-waiver h4 {

        font-size: 0.95rem;
    }


    .fee-waiver ul li {

        font-size: 0.78rem;

        line-height: 1.35;

        padding-left: 17px;
    }

}


/* =========================================================
   VERY SMALL MOBILE — 400px
========================================================= */

@media (max-width: 400px) {

    .fee-header {

        padding-right: 40px;
    }


    .fee-branding {

        gap: 7px;
    }


    .fee-logo-box {

        width: 52px;

        height: 52px;

        flex: 0 0 52px;
    }


    .fee-logo {

        width: 50px;

        height: 50px;
    }


    .fee-heading {

        font-size: 0.92rem;
    }


    .school-name {

        font-size: 0.62rem;
    }


    .fee-actions {

        gap: 4px;
    }


    .fee-action-btn {

        width: 31px;

        height: 31px;

        font-size: 0.78rem;
    }

}


/* =========================================================
   PRINT SAFETY
========================================================= */

/*
   If the browser ever tries to print the original page
   instead of using the separate print window, hide the
   action buttons.
*/

@media print {

    .fee-actions {

        display: none !important;
    }

}


/* ===========================
   PREMIUM FAQ SECTION
=========================== */

.faq-section {
  background: #F7F7F7;
  margin-bottom: 0 !important;
  padding-bottom: 40px !important;
}


/* ===========================
   FAQ HEADING
=========================== */

.faq-title {
  color: #30428E;
  font-size: 2.6rem;
  letter-spacing: -0.5px;
}

.faq-subtitle {
  color: #30428E;
  opacity: 0.7;
  font-size: 1rem;
}

.faq-underline {
  width: 80px;
  height: 4px;
  background-color: #F7DB3A;
  border-radius: 4px;
}


/* ===========================
   ACCORDION CONTAINER
=========================== */

.accordion-item {
  background: rgba(255, 255, 255, 0.6);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 16px;

  border: 1px solid rgba(255, 255, 255, 0.4);

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.08);

  margin-bottom: 18px;

  overflow: hidden;

  transition:
    all 0.3s ease;
}


/* ===========================
   ACCORDION BUTTON
=========================== */

.accordion-button {

  position: relative;

  background: transparent;

  font-weight: 600;

  color: #30428E;

  padding: 18px 60px 18px 22px;

  display: flex;

  align-items: center;

  gap: 12px;

  font-size: 1.05rem;

  line-height: 1.4;

  transition:
    all 0.3s ease;

  box-shadow: none !important;
}


/* ===========================
   FAQ ICON — SHRI LOGO
=========================== */

.faq-icon {

  width: 38px;

  height: 38px;

  min-width: 38px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  overflow: hidden;

  margin-right: 10px;

  box-shadow:
    0 0 10px rgba(247, 219, 58, 0.6);

  flex-shrink: 0;
}


.faq-icon img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;
}


/* ===========================
   ACTIVE QUESTION
=========================== */

.accordion-button:not(.collapsed) {

  background:
    rgba(247, 219, 58, 0.25);

  color: #30428E;

  box-shadow:
    inset 0 0 0 1px #F7DB3A !important;
}


/* =========================================================
   CUSTOM PLUS / MINUS ICON
========================================================= */

/*
   Closed FAQ:
   +
*/

.accordion-button::after {

  content: "+";

  position: absolute;

  right: 22px;

  top: 50%;

  transform: translateY(-50%);

  width: 30px;

  height: 30px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #30428E;

  color: #ffffff;

  border-radius: 50%;

  font-size: 22px;

  font-weight: 400;

  line-height: 1;

  margin: 0;

  background-image: none !important;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;

}


/*
   Open FAQ:
   −
*/

.accordion-button:not(.collapsed)::after {

  content: "−";

  background: #F7DB3A;

  color: #30428E;

  transform: translateY(-50%);

}


/* ===========================
   HOVER EFFECT
=========================== */

.accordion-button:hover::after {

  transform:
    translateY(-50%)
    scale(1.08);

}


.accordion-button:not(.collapsed):hover::after {

  transform:
    translateY(-50%)
    scale(1.08);

}


/* ===========================
   ACCORDION BODY
=========================== */

.accordion-body {

  padding: 20px 22px;

  font-size: 0.95rem;

  color: #333;

  line-height: 1.6;

  animation:
    fadeInFaq 0.4s ease;
}


/* ===========================
   FAQ ANIMATION
=========================== */

@keyframes fadeInFaq {

  from {

    opacity: 0;

    transform:
      translateY(10px);
  }

  to {

    opacity: 1;

    transform:
      translateY(0);
  }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

  .faq-title {

    font-size: 2rem;
  }

  .faq-subtitle {

    font-size: 0.95rem;
  }

  .accordion-button {

    padding:
      15px
      52px
      15px
      18px;

    font-size: 0.98rem;

    gap: 10px;
  }

  .faq-icon {

    width: 34px;

    height: 34px;

    min-width: 34px;

    margin-right: 6px;
  }

  .accordion-button::after {

    right: 17px;

    width: 28px;

    height: 28px;

    font-size: 20px;
  }

  .accordion-body {

    padding:
      18px 20px;

    font-size: 0.9rem;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

  .faq-section {

    padding-bottom: 30px !important;
  }

  .faq-title {

    font-size: 1.7rem;

    letter-spacing: 0;
  }

  .faq-subtitle {

    font-size: 0.88rem;
  }

  .faq-underline {

    width: 65px;

    height: 3px;
  }

  .accordion-item {

    border-radius: 12px;

    margin-bottom: 12px;
  }

  .accordion-button {

    padding:
      14px
      48px
      14px
      14px;

    font-size: 0.9rem;

    gap: 8px;
  }

  .faq-icon {

    width: 32px;

    height: 32px;

    min-width: 32px;

    margin-right: 4px;
  }

  .accordion-button::after {

    right: 12px;

    width: 26px;

    height: 26px;

    font-size: 19px;
  }

  .accordion-body {

    padding:
      15px 16px;

    font-size: 0.85rem;

    line-height: 1.55;
  }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

  .faq-title {

    font-size: 1.5rem;
  }

  .accordion-button {

    padding:
      12px
      44px
      12px
      12px;

    font-size: 0.85rem;
  }

  .faq-icon {

    width: 29px;

    height: 29px;

    min-width: 29px;
  }

  .accordion-button::after {

    right: 10px;

    width: 24px;

    height: 24px;

    font-size: 18px;
  }

  .accordion-body {

    padding:
      13px 14px;

    font-size: 0.82rem;
  }
}


/* ===========================
   SHRI METHODOLOGY CSS
=========================== */
/* only image center css
rest css are same as shri philosophy css */

.center-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Curriculum PAGE CSS
=========================== */

.shri-curriculum-clean {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

/* Glow shapes */
.shri-curriculum-clean .glass-shape {
    position: absolute;
    z-index: 0;
}

/* Curriculum Image */
.curriculum-img {
    width: 100%;
    max-width: 330px;          /* keeps width consistent */
    height: auto;
    border-radius: 12px;
    border: 4px solid #FAE279;
    box-shadow: 0 10px 30px rgba(48,66,142,0.25);
    transition: all 0.35s ease;
    display: block;            /* required for margin auto */
}

/* Hover effect */
.curriculum-img:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 20px 45px rgba(48,66,142,0.35),
                0 0 25px rgba(250,226,121,0.55);
    border-color: #FFD95A;
}

/* Text */
.curriculum-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #1a1a1a;
    text-align: justify;
    margin-bottom: 20px;
}

/*Curriculum Responsive Fixes*/
@media (max-width: 768px) {

    /* Only affects the curriculum image column */
    .curriculum-image-col {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Center the image */
    .curriculum-img {
        display: block;
        margin: 0 auto;
        max-width: 300px;
        width: 100%;
    }

    /* Better reading on mobile */
    .curriculum-text {
        text-align: left;
    }

}

/*====================================
MANADATORY PUBLIC DISCLOSURE
=====================================*/

.mpd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 25px;
}

.mpd-item {
    background: #ffffff;
    padding: 20px 22px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all .3s ease;
    border-left: 6px solid #30428E;
    position: relative;
}

.mpd-item.alt {
    background: #FFF9D6;
    border-left: 6px solid #F8D641;
}

.mpd-item img {
    width: 32px;
    height: auto;
    filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.2));
}

.mpd-item a {
    font-size: 18px;
    font-weight: 600;
    color: #30428E;
    text-decoration: none;
    transition: color .3s ease;
}

.mpd-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.mpd-item:hover a {
    color: #1f2f6b;
}

@media(max-width: 768px) {
    .mpd-item {
        padding: 18px;
    }
    .mpd-item a {
        font-size: 16px;
    }
}


    /* ===========================
       GALLERY SECTION – PREMIUM DESIGN
    ============================ */

    .gallery-title {
      font-size: 2.6rem;
      color: #30428E;
      font-weight: 700;
    }

    .gallery-subtitle {
      color: #555;
      font-size: 1rem;
    }

    .gallery-underline {
      width: 80px;
      height: 4px;
      background-color: #F8D641;
      margin: 12px auto;
      border-radius: 4px;
    }

    /* Glow shapes */
    .glass-shape {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.4;
      z-index: 0;
    }

    .shape1 { width: 200px; height: 200px; background: #F8D641; top: 10%; left: 5%; }
    .shape2 { width: 250px; height: 250px; background: #30428E; bottom: 10%; right: 10%; }
    .shape3 { width: 150px; height: 150px; background: #F8D641; bottom: 20%; left: 40%; }

    /* Dynamic grid sizes */
    .box-large  { grid-template-columns: repeat(3, 1fr); }
    .box-medium { grid-template-columns: repeat(4, 1fr); }
    .box-small  { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

    .category-grid {
      position: relative;
      z-index: 1;
      display: grid;
      gap: 25px;
      overflow: hidden;
    }

    .category-card {
      text-decoration: none;
      position: relative;
      transition: all 0.4s ease;
    }

    .category-bg {
      position: relative;
      height: 260px;
      border-radius: 18px;
      background-size: cover;
      background-position: center;
      box-shadow: 0 10px 25px rgba(0,0,0,0.12);
      overflow: hidden;
      transition: transform 0.4s ease;
    }

    .category-bg:hover {
      transform: scale(1.05);
    }

    .category-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 22px;
      background: rgba(48,66,142,0.85);
      backdrop-filter: blur(6px);
      text-align: center;
      border-radius: 0 0 18px 18px;
      width: 100%;
    }

    .category-overlay h4 {
      color: #F8D641;
      font-size: 1.3rem;
      margin-bottom: 6px;
    }

    .category-link {
      background: rgba(255,255,255,0.2);
      padding: 6px 14px;
      border-radius: 20px;
      color: #fff;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .category-bg:hover .category-link {
      background: #F8D641;
      color: #30428E;
    }

    /* Pagination */
    .category-pagination {
      text-align: center;
      margin-top: 30px;
    }

    .category-pagination a {
      display: inline-block;
      margin: 0 6px;
      padding: 8px 14px;
      background: #fff;
      border-radius: 8px;
      color: #30428E;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
    }

    .category-pagination a:hover {
      background: #F8D641;
      color: #30428E;
    }

    .category-pagination a.active {
      background: #30428E;
      color: #fff;
    }
	
	
	@media (max-width: 768px) {

  /* Center align grid items */
  .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    justify-items: center;   /* Center each box */
    align-items: center;
  }

  /* Medium size boxes on mobile */
  .category-card {
    width: 100%;
    max-width: 260px;        /* Medium size */
    margin: auto;
  }

  .category-bg {
    height: 200px;           /* Medium height */
    border-radius: 16px;
  }

  /* Overlay text adjustments */
  .category-overlay h4 {
    font-size: 1.1rem;
  }

  .category-link {
    font-size: 0.85rem;
    padding: 5px 12px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {

  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .category-card {
    max-width: 230px;
  }

  .category-bg {
    height: 180px;
  }
}

    /* ===========================
       INDIVIDUAL GALLERY PAGE
    ============================ */

    /* Breadcrumb */
	.breadcrumb-tsus {
	  font-size: 0.95rem;
	  font-weight: 600;
	  color: #30428E;
	  margin-bottom: 20px;
	  position: relative;
	  z-index: 10; /* FIX: ensures breadcrumb is clickable */
	}
	
	.breadcrumb-tsus a {
	  color: #30428E;
	  text-decoration: none;
	  position: relative;
	  z-index: 10; /* extra safety */
	}
	
	.breadcrumb-tsus a:hover {
	  color: #F8D641;
	}

    .gallery-title {
      font-size: 2.4rem;
      color: #30428E;
      font-weight: 700;
    }

    .gallery-underline {
      width: 80px;
      height: 4px;
      background-color: #F8D641;
      margin: 12px auto;
      border-radius: 4px;
    }

    /* Glow shapes */
    .glass-shape {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.4;
      z-index: 0;
    }

    .shape1 { width: 200px; height: 200px; background: #F8D641; top: 10%; left: 5%; }
    .shape2 { width: 250px; height: 250px; background: #30428E; bottom: 10%; right: 10%; }
    .shape3 { width: 150px; height: 150px; background: #F8D641; bottom: 20%; left: 40%; }

    /* Gallery grid */
    .gallery-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(4, 1fr); /* Desktop: 4 per row */
      gap: 25px;
      margin-top: 30px;
    }

    .gallery-grid img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: 14px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.12);
      cursor: pointer;
      transition: transform .3s ease;
    }

    .gallery-grid img:hover {
      transform: scale(1.05);
    }

    /* Pagination */
    .gallery-pagination {
      text-align: center;
      margin-top: 30px;
    }

    .gallery-pagination a {
      display: inline-block;
      margin: 0 6px;
      padding: 8px 14px;
      background: #fff;
      border-radius: 8px;
      color: #30428E;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: all .3s ease;
    }

    .gallery-pagination a:hover {
      background: #F8D641;
      color: #30428E;
    }

    .gallery-pagination a.active {
      background: #30428E;
      color: #fff;
    }

    /* Modal */
    #myModal {
      display: none;
      position: fixed;
      z-index: 9999;
      padding-top: 60px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      background-color: rgba(0,0,0,0.85);
    }

    #modalImage {
      margin: auto;
      display: block;
      max-width: 90%;
      max-height: 80vh;
      border-radius: 10px;
    }

    .close {
      position: absolute;
      top: 20px;
      right: 35px;
      color: #fff;
      font-size: 40px;
      font-weight: bold;
      cursor: pointer;
    }

    /* Next / Prev arrows */
    .nav-arrow {
      position: absolute;
      top: 50%;
      font-size: 50px;
      color: #fff;
      cursor: pointer;
      user-select: none;
    }

    .nav-left { left: 40px; }
    .nav-right { right: 40px; }

    /* ===========================
       MOBILE RESPONSIVE
    ============================ */
    @media (max-width: 768px) {
      .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        justify-items: center;
      }
      .gallery-grid img {
        height: 200px;
      }
    }

    @media (max-width: 480px) {
      .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      }
      .gallery-grid img {
        height: 180px;
      }
    }
	
