
.cards-wrapper {
  max-width: 1200px;
  margin: -100px auto 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 60px 20px 30px;
  flex: 1 1 calc(33.333% - 40px); /* 3 cards in one row */
  max-width: 350px; /* prevent too big on large screens */
  min-width: 260px; /* prevent too small on mid screens */
  position: relative;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.feature-icon img {
  width: 70px;
  height: 70px;
}

.feature-card h4 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.feature-card p {
  font-size: 14px;
  color: #fff;
  margin-top: 10px;
  line-height: 1.5;
}

.green-bg { background-color: #b6d135; }
.blue-bg { background-color: #6fa8dc; }
.navy-bg { background-color: #1d2671; }

/* Tablet and below */
@media (max-width: 992px) {
  .feature-card {
    flex: 1 1 calc(50% - 30px); /* 2 cards per row */
  }
}

/* Mobile */
@media (max-width: 600px) {
  .cards-wrapper {
    flex-direction: column;
    align-items: center;
    margin: -50px auto 40px;
    gap: 20px;
  }

  .feature-card {
    flex: 1 1 100%;   /* full width */
    max-width: 100%;
    padding: 50px 15px 25px;
  }

  .feature-icon {
    width: 80px;
    height: 80px;
  }

  .feature-icon img {
    width: 30px;
    height: 30px;
  }
}


  .stats-section {
    background-color: #005eb8; /* Blue background */
    color: white;
    padding: 50px 20px;
    text-align: center;
    width: 100%;
  }

  .stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 100%;
    margin: auto;
  }

  .stat-box {
    flex: 1 1 200px;
  }

  .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
  }

  .stat-caption {
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    line-height: 1.4;
  }

  @media (max-width: 768px) {
    .stat-number {
      font-size: 36px;
    }
    .stat-caption {
      font-size: 14px;
    }
  }

/* =========================
   MAIN WRAPPER
========================= */
.principal1-message1-wrap1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 80px;
  background-color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

/* =========================
   LEFT + RIGHT
========================= */
.principal1-message1-text1,
.principal1-message1-video1 {
  width: 50%;
}

/* =========================
   IMAGE
========================= */
.principal1-message1-image1 {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   VIDEO CONTAINER
========================= */
.principal1-message1-video1 {
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 45px rgba(0,0,0,0.18);
}

/* =========================
   VIDEO RATIO (16:9)
========================= */
.video-ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.video-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {

  .principal1-message1-wrap1 {
    flex-direction: column;
    padding: 20px 15px;
  }

  .principal1-message1-text1,
  .principal1-message1-video1 {
    width: 100%;
  }

  .principal1-message1-video1 {
    margin-top: 20px;
  }
}

/* =========================
   WPBAKERY MOBILE BUG FIX
========================= */
.vc_row,
.wpb_row {
  overflow: visible !important;
}

/* =========================
   MAIN WRAPPER
========================= */
.principal1-message1-wrap1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 80px;
  background-color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

/* =========================
   LEFT + RIGHT
========================= */
.principal1-message1-text1,
.principal1-message1-video1 {
  width: 50%;
}

/* =========================
   IMAGE
========================= */
.principal1-message1-image1 {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   VIDEO CONTAINER
========================= */
.principal1-message1-video1 {
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 45px rgba(0,0,0,0.18);
}

/* =========================
   VIDEO RATIO (16:9)
========================= */
.video-ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.video-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {

  .principal1-message1-wrap1 {
    flex-direction: column;
    padding: 20px 15px;
  }

  .principal1-message1-text1,
  .principal1-message1-video1 {
    width: 100%;
  }

  .principal1-message1-video1 {
    margin-top: 20px;
  }
}

/* =========================
   WPBAKERY MOBILE BUG FIX
========================= */
.vc_row,
.wpb_row {
  overflow: visible !important;
}





/* Page body font reset */


/* Section background */
.school-section {
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    padding: 50px;
    background: linear-gradient(76deg, rgba(235,252,255,1) 0%, rgba(255,254,228,1) 100%);
    gap: 40px;
    flex-wrap: wrap;
}
.school1-section1 {
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    padding: 50px;
    background: linear-gradient(76deg, rgba(235,252,255,1) 0%, rgba(255,254,228,1) 100%);
    gap: 40px;
    flex-wrap: wrap;
}
/* Left side image box */
.school-image {
    flex: 1;
    max-width: 100%;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Main image */
.school-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Reflection effect */
.school-image::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url("your-image.jpg") no-repeat center/cover; */
    transform: scaleY(-1);
    opacity: 0.25;
    filter: blur(3px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}

/* Right side text */
.school-text {
    flex: 1;
    min-width: 300px;
}

.school-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 5px;
    color: #333;
    margin-top:-23px;
    
}

.read-more {
    display: inline-block;
    background-color: #9c0404;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    transition: background 0.3s ease;
}
.read-more:hover {
    background-color: #9c0404;
    color: white;
    text-decoration:none;
} 

.read1-more1 {
    display: inline-block;
    background-color: #07208f;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    transition: background 0.3s ease;
}
.read1-more1:hover {
    background-color: #04399c;
    color: white;
    text-decoration:none;
} 

/* Responsive */
@media(max-width: 768px) {
    .school-section {
        flex-direction: column;
        padding: 20px;
    }
}

/* Wrapper with minimal vertical gap */
.heading-wrapper {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  gap: 4px; /* heading aur line ke beech minimal gap */
}

/* Heading */
.heading-block {
  margin: 0; /* default margin remove */
  /* font-family: "Times New Roman", serif;
  font-weight: bold; */
  font-size: 32px;
  color: #be0707;
}

/* Divider with lines & star */
.heading-divider {
  display: flex;
  align-items: center;
  margin-left:73px;
  margin-top:-15px;
  /* justify-content: center; */
  gap: 6px; /* line aur star ke beech ka gap */
}

.heading-divider .line {
  flex: 0 0 80px; /* line ki fixed length */
  height: 2px;
  background-color: #be0808; /* red line */
}

.heading-divider .star {
  font-size: 18px;
  color: #be0707;
}
.heading1-divider1 {
  display: flex;
  align-items: center;
  margin-left:73px;
  margin-top:-15px;
  /* justify-content: center; */
  gap: 6px; /* line aur star ke beech ka gap */
}
.heading1-divider1 .line1 {
  flex: 0 0 80px; /* line ki fixed length */
  height: 2px;
  background-color: #ffffff; /* red line */
}
.heading1-divider1 .star1 {
  font-size: 18px;
  color: #ffffff;
}

.gallery-section {
  text-align: center;
 
  padding: 40px;
}

.gallery-section h2 {
  font-size: 32px;
  color: #a11c1c;
  margin-bottom: 10px;

  text-transform: uppercase;
}

.gallery-section .sub-text {
  font-size: 16px;
  color: #444;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.4s ease-in-out;
}

/* Sizes */
.gallery-item.big {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.small {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item.medium {
  grid-column: span 1;
  grid-row: span 1;
}

/* Hover effect - andar ka yellow shadow */
.gallery-item:hover img {
  opacity: 1;
  box-shadow: inset 0 20px 25px -5px rgba(255, 223, 0, 1);
  transform: scale(1.02);
}

/* Overlay styling */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #b31010d1; /* dark transparent background */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
 
}

.overlay h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffdf00; /* yellow text for highlight */
}

.overlay p {
  font-size: 14px;
  color: #fff;
}

.gallery-item:hover .overlay {
   opacity: 1;
  transform: scale(1.05);
  border-radius: 12px;        /* corner rounding */
  border: 3px solid yellow;   /* yellow border on hover */
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
}

/* Tablet view (max-width: 992px) */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 column */
    grid-auto-rows: 180px;
  }

  .gallery-item.big {
    grid-column: span 2; /* Big image full width */
    grid-row: span 2;
  }
}

/* Mobile view (max-width: 576px) */
@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* 1 column */
    grid-auto-rows: auto;
  }

  .gallery-item.big,
  .gallery-item.small,
  .gallery-item.medium {
    grid-column: span 1;
    grid-row: auto;
  }

  .gallery-item img {
    height: auto; /* Image auto adjust ho jaye */
  }
  .gallery-section h2 {
  font-size: 17px;
  color: #a11c1c;
  margin-bottom: 10px;

  text-transform: uppercase;
}

}


/* ===== Card layout ===== */
.vcex-blog-entry-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}

/* ===== Image fix ===== */
.vcex-blog-entry-media {
  height: 220px;
  overflow: hidden;
}

.vcex-blog-entry-media img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== Content fix ===== */
.vcex-blog-entry-details {
  flex: 1;
  padding: 20px;
  display: flex;
}

.match-height-content {
  display: flex;
  flex-direction: column;
}

/* ===== Title style ===== */
.match-height-content h2 {
  color: #bf2e37;
  font-size: 21px;
  margin-bottom: 10px;
  min-height: 48px;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .vcex-blog-entry {
    margin-bottom: 30px;
  }
}

          /* Heading wrapper */
          .carousel-heading-wrapper {
            text-align: center;
            margin-bottom: 20px; /* bottom gap after heading */
          }

          .carousel-heading {
            font-size: 40px;
            color: #bf2e37;
            position: relative;
            display: inline-block;
            padding-bottom: 6px; /* heading and line ka space kam */
          }

          /* Line + Star design */
          .carousel-heading::before,
          .carousel-heading::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 50px;
            height: 2px;
            background-color: #bf2e37;
          }

          .carousel-heading::before {
            left: -60px;
          }

          .carousel-heading::after {
            right: -60px;
          }

          .carousel-heading .star {
            color: #bf2e37;
            font-size: 20px;
            margin: 0 8px;
            vertical-align: middle;
          }

          @media (max-width: 479px) {
            .carousel-heading {
              font-size: 28px;
            }
            .carousel-heading::before,
            .carousel-heading::after {
              width: 30px;
              left: -40px;
              right: -40px;
            }
          }

          /* Partner slide style */
          .partner-slide {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease;
          }

          .partner-slide:hover {
            transform: translateY(-8px);
          }

          /* Equal size images */
          .partner-slide img {
            width: 150px;
            height: 100px;
            object-fit: contain;
            object-position: center;
            background: transparent;
            display: block;
            margin: 0 auto 10px;
          }

          .partner-slide h6 {
            font-size: 16px;
            font-weight: 600;
            text-align: center;
            color: #444;
            margin: 0;
          }
     
      /* ==== CHRONICLES SECTION ==== */
.chronicles-section {
  width:100%;
  padding: 0px 0px;
margin-top:-50px;
  position: relative;
}

/* Heading style reused */
.carousel1-heading1-wrapper1 {
  text-align: center;
  margin-bottom: 10px;
}

.carousel1-heading1 {
  font-size: 40px;
  color: #ffffff;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.carousel1-heading1::before,
.carousel1-heading1::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 2px;
  background-color: #ffffff;
}

.carousel1-heading1::before {
  left: -60px;
}

.carousel1-heading1::after {
  right: -60px;
}

.carousel1-heading1 .star {
  color: #ffffff;
  font-size: 20px;
  margin: 0 8px;
  vertical-align: middle;
}



/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .chronicle-card {
    min-width: 200px;
  }

  .carousel1-heading1 {
    font-size: 28px;
  }
}

      
      .vcex-heading.vcex_68846e75af362{color:#ffffff;font-size:40px;}@media (max-width:479px){.vcex-heading.vcex_68846e75af362{font-size:30px;}}
 
      /* ==== CHRONICLES SECTION ==== */
.chronicles-section {
  width:100%;
  padding: 0px 0px;
margin-top:-50px;
  position: relative;
}

/* Heading style reused */
.carousel1-heading1-wrapper1 {
  text-align: center;
  margin-bottom: 10px;
}

.carousel1-heading1 {
  font-size: 40px;
  color: #ffffff;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.carousel1-heading1::before,
.carousel1-heading1::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 2px;
  background-color: #ffffff;
}

.carousel1-heading1::before {
  left: -60px;
}

.carousel1-heading1::after {
  right: -60px;
}

.carousel1-heading1 .star {
  color: #ffffff;
  font-size: 20px;
  margin: 0 8px;
  vertical-align: middle;
}

/* Heading style reused */
.carousel3-heading3-wrapper3 {
  text-align: center;
  margin-bottom: 0px;
 
}

.carousel3-heading3 {
  font-size: 30px;
  color: #ffffff;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.carousel3-heading3::before,
.carousel3-heading3::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 2px;
  background-color: #ffffff;
}

.carousel3-heading3::before {
  left: -60px;
}

.carousel3-heading3::after {
  right: -60px;
}

.carousel3-heading3 .star {
  color: #ffffff;
  font-size: 20px;
  margin: 0 8px;
  vertical-align: middle;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .chronicle-card {
    min-width: 200px;
  }

  .carousel1-heading1 {
    font-size: 28px;
  }
   .carousel3-heading3 {
    font-size: 18px;
  }
}

      
      .vcex-heading.vcex_68846e75af362{color:#ffffff;font-size:40px;}@media (max-width:479px){.vcex-heading.vcex_68846e75af362{font-size:30px;}}      

.chronicle-description {
    line-height: 1.8;
    color: #222;
    font-size: 16px;
    margin-bottom: 15px;
}

.chronicle-description ul {
    margin-left: 25px;
    list-style-type: disc;
}

.chronicle-description p {
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    background: #a00;
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    background: #333;
}


.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Overlay styling */
.gallery-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  transition: all 0.4s ease;
}

/* Button styling */
.read-more-btn {
  background-color: #9B0103;
  border: none;
  color: #fff;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background-color: #b72c2f;
  transform: scale(1.05);
}

/* Hover effect */
.gallery-item:hover .gallery-overlay {
  opacity: 1;
  bottom: 40px;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .read-more-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .gallery-overlay {
    bottom: 10px;
  }
}


/* Banner Section */
.banner-section {

  background-size: cover;       
  background-position: center; 
  background-repeat: no-repeat;
  width: 100%;
  min-height: 350px;   
  margin:-10px 1px; 
  margin-bottom: -34px;      
}

@media (max-width: 767px) {
  .banner-section {
    min-height: 220px;      
    background-size: cover;  
    background-position: top;
  }
}

/* Banner Section */
.banner-section {

  background-size: cover;       
  background-position: center; 
  background-repeat: no-repeat;
  width: 100%;
  min-height: 350px;   
  margin:-10px 0px; 
  margin-bottom: -34px;      
    margin-top: -40px;   
}

@media (max-width: 767px) {
  .banner-section {
    min-height: 220px;      
    background-size: cover;  
    background-position: top;
     margin-top: -45px; 
  }
}
  