* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
.container {
  width: 95%;
  margin: auto;
}

/* Header Start +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.top-header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

.top-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo-box img {
  height: 110px;
}
.school-title {
  text-align: center;
  flex: 1;
}

.school-title h1 {
  font-size: 38px;
  color: #b7292f;
  font-weight: 800;
  margin: 0;
  letter-spacing: 1px;
}
.school-title h4 {
  font-size: 18px;
  color: #333;
  margin: 6px 0 10px;
  font-weight: 600;
}
.school-ids {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 16px;
  font-weight: 600;
}

.school-ids span:nth-child(1) {
  color: #e53935;
}

.school-ids span:nth-child(2) {
  color: green;
}

.school-ids span:nth-child(3) {
  color: #ff1493;
}

/* Logo + H1 together */
.title-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.title-logo {
  height: 60px;
  width: auto;
}

.school-title h1 {
  margin: 0;
}

.social-icon a {
  color: #b7292f;
  font-size: 20px;
  border: 2px solid;
  border-radius: 50%;
  padding: 8px 10px;
}
.main-nav {
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
}
.cbse-text {
  color: #1e40af;
  font-weight: 600;
  font-size: 18px;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* MENU LINKS */
.menu > li {
  position: relative;
}

.menu > li > a {
  display: block;
  padding: 16px 16px;
  text-decoration: none;
  color: #b7292f;
  font-weight: 600;
  font-size: 15px;
}

.menu > li > a:hover {
  border-bottom: 2px solid #b7292f;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #b7292f;
  min-width: 220px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 999;
}

.dropdown-menu li a {
  padding: 12px 18px;
  display: block;
  color: white;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li a:hover {
  background: darkred;
  color: white;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

.highlight a {
  background: #b7292f;
  color: #fff !important;
}
.notice-bar {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 40px;
  background: #003366;
  color: #fff;
  padding: 10px 0;
}

/* ⚠️ p ke liye sirf basic style */
.notice-bar p {
  margin: 0;
  color: #fff;
  font-size: 16px;
}

/* ✔️ ONLY animation control here */
#noticeText {
  position: absolute;
  white-space: nowrap;
  left: 0;
  transform: translateX(100vw);
}

/* Make banner/video a reference point */
.fullscreen-video {
  position: relative;
}

/* Box container */
.info-boxes {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* Individual box */
.info-box {
  flex: 1;
  min-height: 300px;
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
/* ================= FIXED ON SCROLL (ALL HEADER) ================= */
.fixed-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #ffffff;
}

/* vedio section start ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.fullscreen-video {
  width: 100%;
  height: 80vh;
  overflow: hidden;
  max-height: 750px;
  overflow: hidden;
}

.fullscreen-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*+++++++++++++++++++++Admission section +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* BOX SECTION */
.box-section {
  position: relative;
  margin-top: -120px; /* 👈 video par overlap */
  padding-bottom: 60px;
}

/* BOX CONTAINER */
.info-boxes {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 30px;
}

.info-box {
  flex: 1;
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/*+++++++++++++++++++++Welcome section++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.welcome-section {
  background: url("images/welcome-bg.jpg") center/cover no-repeat;
  position: relative;
}
.welcome-section {
  background-size: cover; /* image full cover kare */
  background-position: center; /* center me rahe */
  background-repeat: no-repeat;
}
.welcome-overlay {
  background:
    linear-gradient(180deg, #b7292f94 0%, #3a3b3ebf 100%),
    url(/images/backgroud1.png) center/cover no-repeat;

  padding: 40px;
  overflow: hidden;
  min-height: 60vh;
  transition:
    background 0.3s,
    border-radius 0.3s,
    opacity 0.3s;
}

.welcome-content {
  max-width: 900px;
  margin: auto;
  text-align: center;
  color: #fff;
}

.welcome-content h2 {
  font-size: 42px;
  font-weight: 600px;
  margin-bottom: 30px;
}

.welcome-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #f1f1f1;
}
/*Gallary Seaction ++++++++++++++++++++++++++++++++++++++++++++++++*/
.rg-gallery-wrap {
  padding: 80px 0;
  background: #fff;
}

.rg-gallery-title {
  text-align: center;
  margin-bottom: 50px;
}

.rg-gallery-title h2 {
  font-size: 36px;
  font-weight: 600;
  color: #333;
}

.rg-gallery-title span {
  display: block;
  width: 60px;
  height: 3px;
  background: #e63946;
  margin: 10px auto 0;
}

.rg-gallery-grid {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.rg-card {
  background: #f5f5f5;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.rg-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.rg-caption {
  background: #b7292f;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .rg-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .rg-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/*+++++++++++++++++++++++++++++++++infrastructure +++++++++++++++++++++++++++++*/
.infrastructure {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

.infrastructure h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #b7292f;
}

.infra-desc {
  max-width: 700px;
  margin: auto;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.8;
}

.read-more-btn {
  display: inline-block;
  margin: 25px 0 50px;
  padding: 12px 28px;
  border: 2px solid #f5b400;
  border-radius: 30px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

/* GALLERY */
.infra-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  position: relative;
}

.infra-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.infra-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.infra-card span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 10px;
  border-radius: 6px;
}

.infra-card.large {
  grid-column: span 2;
  grid-row: span 2;
  height: 380px;
}

.infra-card.small {
  height: 180px;
}

/*Map Section ++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.map-section {
  width: 100%;
  overflow: hidden;
}
/*+++++++++++++++++++++++++side buttons ++++++++++++++++++++++++++*/
.side-panel {
  position: fixed;
  top: 30%;
  right: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

/* Common button */
.panel-btn {
  background: #b7292f;
  color: #fff;
  text-decoration: none;
  padding: 14px 18px;
  margin-bottom: 4px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.panel-btn.active {
  padding: 14px 30px;
  font-weight: 600;
}

.panel-btn:hover {
  background: #8a1f23;
}

/*+++++++++++++++++++++++++++Footer Section+++++++++++++++++++++++++++++++++++++++++++++++++++ */
.school-footer {
  background: rgb(160, 71, 71);
  color: #fff;
  padding: 60px 40px 30px;
  position: relative;
  overflow: hidden;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* LOGO */
.footer-logo img {
  width: 100px;
  margin-bottom: 15px;
}

.footer-logo h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 5px;
}

.footer-logo .tagline {
  font-size: 12px;
  opacity: 0.8;
}

.footer-address {
  flex: 0.8;
}

.campus {
  margin-bottom: 35px;
}

.campus h4 {
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.campus p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
}
.footer-action {
  display: flex;
  align-items: flex-start;
}

.inquire-btn {
  background: rgb(138, 56, 56);
  color: #fff;
  padding: 16px 36px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
}
.footer-bottom {
  text-align: left;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.footer-bottom a {
  margin-right: 30px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-center {
  flex: 1;
  text-align: center;
  position: relative;
}

.footer-center span {
  background: rgb(160, 71, 71);
  padding: 0 12px;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.footer-center::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%);
  z-index: 0;
}
/* USEFUL LINKS ++++++++++++++++++++++++++++++++*/
.footer-links {
  min-width: 190px;
}

.footer-links h4 {
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin-left: auto;
  margin-right: 60px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  opacity: 0.9;
}

.footer-links ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}
.dev-link {
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
  background: rgb(160, 71, 71);
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.dev-link:hover {
  text-decoration: underline;
}
/* ===== FOOTER SOCIAL LINKS ===== */
.footer-social-links {
  margin-top: 30px;
  display: flex;
  gap: 12px;
}

/* Common icon style */
.footer-social-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover effect */
.footer-social-icon:hover {
  background: #ffffff;
  color: #b7292f;
  transform: translateY(-2px);
}

/* Optional brand hover colors (soft) */
.footer-social-icon.twitter:hover {
  color: #b7292f;
}

.footer-social-icon.facebook:hover {
  color: #b7292f;
}

.footer-social-icon.instagram:hover {
  color: #e4405f;
}

.footer-social-icon.linkedin:hover {
  color: #b7292f;
}

/*************************************************facilites***************************************/
.Facilities-banner {
  position: relative;
  width: 100%;
  height: 400px;
  background: url("images/Gallary/Gallay-banner.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-left: 80px;
}

.Facilities-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.Facilities-banner h1 {
  position: relative;
  color: white;
  font-size: 50px;
  font-weight: 600;
}
.facilities-section {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

.facility-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.facility-row.reverse {
  flex-direction: row-reverse;
}

.facility-img img {
  width: 100%;
  height: 300px;
  max-width: 450px;
  border-radius: 6px;
  object-fit: cover;
}

.facility-content {
  flex: 1;
}

.facility-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #b7292f;
}

.facility-content p {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
}
/**********************contants us ************************************************************/
.contact-cards {
  max-width: 1100px;
  margin: 60px auto;
  display: flex;
  gap: 30px;
  padding: 0 20px;
}

.contact-card {
  flex: 1;
  background: #ffffff;
  padding: 40px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.contact-card .icon {
  font-size: 28px;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
}
.contact-section {
  padding: 80px 20px;
  background: #f7f7f7;
}

.contact-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}
.contact-form {
  flex: 1;
}

.contact-form h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #b7292f;
}

.contact-form p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form textarea {
  height: 140px;
  resize: none;
  margin-bottom: 25px;
}

.contact-form button {
  background: #b7292f;
  color: #fff;
  border: none;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

/* RIGHT */
.contact-map {
  flex: 1;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
  border-radius: 12px;
}
/******************************About us************************************/
.gallery-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.full-width-img {
  width: 100%;
  height: 300px; /* change height if needed */
  object-fit: cover;
  display: block;
}

.principal-message {
  padding: 80px 0;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 50px;
  align-items: center;
}

.message-content {
  flex: 1;
  position: relative;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  position: relative;
}

.quote-mark {
  font-size: 120px;
  color: #eee;
  position: absolute;
  left: -40px;
  top: -40px;
  z-index: -1;
}

.quote-text {
  font-size: 22px;
  color: #b7292f;
  font-weight: 500;
  margin-bottom: 25px;
}

.quote-text span {
  color: #333;
  font-weight: 400;
}

.message-text {
  max-height: 210px;
  overflow-y: auto;
  padding-right: 15px;
  border-right: 4px solid #b7292f;
}

.message-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.read-more-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  border: 2px solid #003366;
  color: #000;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.read-more-btn:hover {
  background: #b7292f;
  color: #fff;
}

.principal-name {
  margin-top: 15px;
  font-weight: 600;
  color: #b7292f;
}

.message-image {
  flex: 0.8;
}

.message-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
/******************vision ****************/
.vision-section {
  padding: 80px 20px;
}

.vision-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* IMAGE AREA */
.vision-image {
  position: relative;
  flex: 1.2;
}

.vision-image img {
  width: 100%;
  max-width: 520px;
  display: block;
  position: relative;
  height: 300px;
  object-fit: cover;
  z-index: 2;
  max-height: 700px;
}

/* BLUE SHAPES */
.blue-vert {
  position: absolute;
  left: -20px;
  top: 60px;
  width: 40px;
  height: 260px;
  background: #b7292f;
  z-index: 1;
}

.blue-horz {
  position: absolute;
  bottom: -30px;
  left: 60px;
  width: 360px;
  height: 40px;
  background: #b7292f;
  z-index: 1;
}

/* CONTENT */
.vision-content {
  flex: 1;
}

.vision-content h3 {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.vision-content .line {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: #b7292f;
  margin-bottom: 18px;
}

.vision-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}
/*******************mission ********/
.mission-section {
  padding: 80px 20px;
}

.mission-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* CONTENT */
.mission-content {
  flex: 1;
}

.mission-content h3 {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.mission-content .line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: #b7292f;
  margin-bottom: 18px;
}

.mission-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

/* IMAGE AREA */
.mission-image {
  position: relative;
  flex: 1.2;
}

.mission-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

/* BLUE BLOCKS */
.blue-horz {
  position: absolute;
  bottom: -20px;
  left: 60px;
  width: 360px;
  height: 40px;
  background: #b7292f;
  z-index: 1;
}

.blue-vert {
  position: absolute;
  right: -20px;
  top: 60px;
  width: 40px;
  height: 260px;
  background: #b7292f;
  z-index: 1;
}
/*founder massage */
.founder-section {
  background: #ffffff;
}

/* TOP HEADER BAR */
.founder-header {
  background: #b7292f;
  padding: 30px 60px;
}

.founder-header h2 {
  color: #fff;
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.founder-header .underline {
  display: block;
  width: 60px;
  height: 3px;
  background: #b7292f;
}

/* MAIN CONTENT */
.founder-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  display: flex;
  gap: 50px;
}

/* LEFT TEXT */
.founder-text {
  flex: 2;
}

.founder-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 18px;
}

/* RIGHT PROFILE */
.founder-profile {
  flex: 1;
}

.founder-profile img {
  width: 100%;
  border-radius: 6px;
}

.founder-info {
  background: #b7292f;
  color: #fff;
  padding: 16px;
  text-align: center;
}

.founder-info h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.founder-info p {
  font-size: 14px;
}
/**************************************************Gallery.  pagesssssss*************************************/

/* ======== GALLERY BANNER ======== */

/* ======== GALLERY SECTION ======== */
.breadcrumb-banner {
  position: relative;
  height: 500px;
  object-fit: cover;
  padding: 0;
}

.full-width-img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Dark overlay */
.breadcrumb-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.breadcrumb-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
}

.breadcrumb-overlay h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.breadcrumb-overlay p {
  font-size: 16px;
  letter-spacing: 1px;
}

.breadcrumb-overlay span {
  margin: 0 8px;
  color: #b7292f;
}

/* ======== CARD ======== */
.gallery-card {
  border: 1px solid #ddd;
  padding: 10px;
  background: white;
  text-align: center;
}

.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border: 1px solid #ccc;
}

.gallery-card h3 {
  font-size: 18px;
  margin-top: 15px;
  font-weight: 600;
}

.gallery-card p {
  font-size: 14px;
  margin-top: 5px;
  color: #666;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 900px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }
}
/****************************************Events*************************************************/
.infrastructure {
  width: 100%;
  padding: 80px 50px;
  text-align: center;
  position: relative;
}

.infrastructure h2 {
  font-size: 50px;
  margin-bottom: 10px;
}

.infrastructure p {
  max-width: 800px;
  margin: auto;
  font-size: 18px;
  color: #666;
}

.read-btn {
  display: inline-block;
  margin: 30px 0 60px;
  padding: 12px 35px;
  border: 2px solid #b7292f;
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
}

/* Grid */
.infra-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 25px;
}

/* Cards */
.infra-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.infra-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.infra-card span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
}

/* Big & Tall */
.large {
  grid-column: span 2;
  grid-row: span 2;
}

.tall {
  grid-row: span 2;
}
.infrastructure {
  margin: 60px auto;
  padding: 40px;
  max-width: 1200px;
  background: #fff;
  border-radius: 10px;
}
/* 1st section – Founder’s Day */
.infrastructure:nth-of-type(1) {
  border: 3px solid #b7292f;
}

/* 2nd – Teacher’s Day */
.infrastructure:nth-of-type(2) {
  border: 3px dashed #b7292f;
}

/* 3rd – Annual Day */
.infrastructure:nth-of-type(3) {
  border: 3px dotted #b7292f;
}

/* 4th – Cultural Fest */
.infrastructure:nth-of-type(4) {
  border-left: 6px solid #b7292f;
  border-right: 6px solid #b7292f;
}

/* 5th – Dance Carnival */
.infrastructure:nth-of-type(5) {
  border-top: 5px solid #b7292f;
  border-bottom: 5px solid #b7292f;
}

/* 6th – Art & Craft */
.infrastructure:nth-of-type(6) {
  border: 2px solid #b7292f;
  box-shadow: 0 0 0 5px #b7292f;
}

/* 7th – Science Exhibition */
.infrastructure:nth-of-type(7) {
  border: 3px double #b7292f;
}
/************************************ Whatapp ka buttons ********************************/
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 30px;
  background: #25d366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 99999;
}

.wa-float img {
  width: 28px;
  height: 28px;
}

.wa-float:hover {
  background: #25d366;
}
/****************************************************Gallary pages***************************/
/* ================= RG GALLERY ================= */

.gallery-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.gallery-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.gallery-card h3 {
  font-size: 18px;
  margin: 15px 15px 5px;
  color: #222;
}

.gallery-card p {
  font-size: 14px;
  margin: 0 15px 18px;
  color: #777;
}
/***********************************************/
/* MODAL BACKGROUND */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* SLIDER */
.slider {
  position: relative;
  width: 80%;
  max-width: 800px;
}

.slider img {
  width: 100%;
  border-radius: 10px;
}

/* NAV BUTTONS */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 28px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
}

.nav-btn.left {
  left: -50px;
}

.nav-btn.right {
  right: -50px;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }
}

/*****************************************************events************************************/
/* ================= COE SECTION ================= */

.coe-section {
  padding: 90px 20px;
  background: #ffffff;
}

/* Heading */
.coe-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.coe-header h2 {
  font-size: 40px;
  color: #b7292f;
  font-weight: 700;
}

.coe-line {
  width: 60px;
  height: 3px;
  background: #1f4e8c;
}

/* Intro */
.coe-intro {
  max-width: 900px;
  margin: auto;
  text-align: left;
  margin-bottom: 60px;
}

.coe-intro h3 {
  font-size: 26px;
  color: #b7292f;
  margin-bottom: 12px;
}

.coe-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* Grid */
.coe-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Card */
.coe-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 15px 35px #b7292f;
}

.coe-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.coe-card:hover img {
  transform: scale(1.08);
}

/* Label */
.coe-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #b7292f;
  color: #fff;
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .coe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .coe-grid {
    grid-template-columns: 1fr;
  }

  .coe-header h2 {
    font-size: 32px;
  }
}
/* ================= COE ACCORDION+++++++================================= ================= */

.coe-acc-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.coe-acc-title {
  font-size: 38px;
  text-align: center;
  color: #b7292f;
  margin-bottom: 40px;
}

/* Item */
.coe-acc-item {
  border: 1px solid #b7292f;
  border-radius: 6px;
  margin-bottom: 15px;
  overflow: hidden;
}

/* Header */
.coe-acc-header {
  background: rgb(220, 144, 144);
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 600;
  color: #b7292f;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Icon */
.coe-acc-icon {
  font-size: 24px;
  font-weight: bold;
}

/* Content */
.coe-acc-content {
  display: none;
  padding: 20px;
  background: #ffffff;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.coe-acc-content h4 {
  margin-top: 15px;
  color: #b7292f;
}

.coe-acc-content ul {
  margin-top: 10px;
  padding-left: 20px;
}

.coe-acc-content ul li {
  margin-bottom: 8px;
}

/* Active */
.coe-acc-item.active .coe-acc-content {
  display: block;
}

.coe-acc-item.active .coe-acc-icon {
  content: "−";
}
/**************************************Circulam *************************************/
.plc-section {
  padding: 70px 0;
  background: #ffffff;
  font-family: "Poppins", sans-serif;
}

.plc-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 50px;
  align-items: center;
}

.plc-content {
  flex: 1;
}

.plc-title {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 15px;
}

.plc-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 30px;
}

.plc-subtitle {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #0f172a;
}

.plc-benefits {
  list-style: none;
  padding: 0;
}

.plc-benefits li {
  background: rgb(255, 134, 134);
  margin-bottom: 12px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  position: relative;
  padding-left: 45px;
}

.plc-benefits li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7292f;
  font-weight: 700;
  font-size: 18px;
}

.plc-image {
  flex: 1;
  text-align: center;
}

.plc-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .plc-container {
    flex-direction: column;
    text-align: center;
  }

  .plc-benefits li {
    text-align: left;
  }
}
.plc-reverse {
  flex-direction: row;
}

@media (max-width: 900px) {
  .plc-reverse {
    flex-direction: column;
  }
}
.faculty-steps-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.faculty-steps-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.faculty-steps-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.7;
}

.faculty-step {
  display: flex;
  gap: 20px;
  background: #f7fbff;
  border: 1px solid #d6e9ff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.faculty-step-icon {
  width: 45px;
  height: 45px;
  background: #b7292f;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faculty-step-content h3 {
  margin-bottom: 8px;
  font-size: 20px;
  color: #222;
}

.faculty-step-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}
.assessment-section {
  padding: 80px 20px;
  background: #f7f9fc;
}

.assessment-container {
  max-width: 1200px;
  margin: auto;
}

.assessment-header {
  text-align: center;
  margin-bottom: 50px;
}

.assessment-header h2 {
  font-size: 36px;
  color: #b7292f;
  margin-bottom: 12px;
}

.assessment-header p {
  max-width: 800px;
  margin: auto;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* GRID */
.assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.assessment-card {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.assessment-card:hover {
  transform: translateY(-6px);
}

.assessment-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.assessment-card h3 {
  font-size: 22px;
  color: #222;
  margin-bottom: 10px;
}

.assessment-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}
/***********************************School Addmission********************************/
.admission-page {
  display: flex;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: #ffffff;
}

/* LEFT SIDE */
.admission-left {
  flex: 1;
  position: relative;
  background: #f3f5ff;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
}

.circle.big {
  width: 350px;
  height: 350px;
  background: #7a83ff;
  top: 80px;
  left: -120px;
}

.circle.small {
  width: 250px;
  height: 250px;
  background: #b7292f;
  top: 220px;
  left: -80px;
}

/* RIGHT SIDE */
.admission-right {
  flex: 1;
  padding: 80px 60px;
}

.school-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.school-header .dot {
  width: 16px;
  height: 16px;
  background: #b7292f;
  border-radius: 50%;
}

.school-header h2 {
  font-size: 26px;
  color: #222;
}

.subtitle {
  color: #4a4aff;
  margin-top: 5px;
  margin-bottom: 30px;
}

.admission-right h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.desc {
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
}

.download-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 14px;
  background: #b7292f;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
}

.download-btn:hover {
  opacity: 0.9;
}

.note {
  margin-top: 25px;
  font-size: 13px;
  color: #555;
}

.footer-text {
  margin-top: 60px;
  font-size: 12px;
  color: #777;
  text-align: center;
}
.left-image {
  position: absolute;
  inset: 0; /* top:0 right:0 bottom:0 left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover; /* image ko full cover karega */
  opacity: 0.85; /* thodi transparency */
  z-index: 1; /* circles ke niche */
  pointer-events: none;
}

@media (max-width: 768px) {
  .admission-left {
    display: none;
  }

  .admission-page {
    flex-direction: column;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .assessment-grid {
    grid-template-columns: 1fr;
  }
}
/***************************************responsive****************/
@media (max-width: 768px) {
  /* HEADER */
  .top-flex {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .school-title h1 {
    font-size: 22px;
  }

  .school-title p {
    font-size: 13px;
  }

  .social-icon {
    margin-top: 10px;
  }

  /* NAVBAR */
  .menu {
    flex-wrap: wrap;
  }

  .menu > li > a {
    padding: 12px 10px;
    font-size: 14px;
  }

  /* VIDEO */
  .fullscreen-video {
    height: 50vh;
  }

  /* INFO BOXES */
  .info-boxes {
    flex-direction: column;
    gap: 20px;
  }

  .box-section {
    margin-top: 0;
  }

  /* WELCOME */
  .welcome-content h2 {
    font-size: 28px;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-address,
  .footer-links {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .school-title h1 {
    font-size: 18px;
  }

  .menu {
    flex-direction: column;
  }

  .menu > li > a {
    padding: 10px;
    font-size: 13px;
  }

  .rg-gallery-grid {
    grid-template-columns: 1fr;
  }

  .infra-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .infra-card.large {
    grid-column: span 2;
    height: 260px;
  }
}
@media (max-width: 1024px) {
  .info-boxes {
    gap: 20px;
  }

  .welcome-content h2 {
    font-size: 34px;
  }

  .rg-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .infra-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  /* FACILITIES */
  .facility-row,
  .facility-row.reverse {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .facility-img img {
    max-width: 100%;
    height: 220px;
  }

  .facility-content h3 {
    font-size: 20px;
  }

  .facility-content p {
    font-size: 15px;
  }

  /* CONTACT CARDS */
  .contact-cards {
    flex-direction: column;
    gap: 20px;
  }

  /* CONTACT FORM */
  .contact-wrapper {
    flex-direction: column;
    padding: 25px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .contact-map iframe {
    min-height: 300px;
  }

  /* PRINCIPAL / ABOUT */
  .container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .quote-mark {
    display: none;
  }

  .message-text {
    max-height: none;
    border-right: none;
  }

  /* VISION & MISSION */
  .vision-wrapper,
  .mission-wrapper {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .vision-image img,
  .mission-image img {
    height: 260px;
  }

  .blue-horz,
  .blue-vert {
    display: none;
  }

  /* FOUNDER */
  .founder-wrapper {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  /* GALLERY BANNER */
  .breadcrumb-banner {
    height: 300px;
  }

  .breadcrumb-overlay h2 {
    font-size: 30px;
  }

  /* EVENTS GRID */
  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* COE GRID */
  .coe-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ASSESSMENT */
  .assessment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .Facilities-banner h1 {
    font-size: 28px;
    text-align: center;
  }

  .facility-img img {
    height: 200px;
  }

  .breadcrumb-overlay h2 {
    font-size: 24px;
  }

  .breadcrumb-overlay p {
    font-size: 14px;
  }

  /* EVENTS */
  .infra-grid {
    grid-template-columns: 1fr;
  }

  /* COE */
  .coe-grid {
    grid-template-columns: 1fr;
  }

  .coe-card img {
    height: 260px;
  }

  /* ASSESSMENT */
  .assessment-grid {
    grid-template-columns: 1fr;
  }

  /* CONTACT */
  .contact-form h2 {
    font-size: 26px;
  }
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: #f9fbff;
  width: 750px;
  padding: 50px;
  border-radius: 25px;
  position: relative;
}

.popup-box h1 {
  font-size: 38px;
  margin-bottom: 12px;
  color: #b7292f;
  text-align: center;
}

.popup-box p {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 35px;
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 34px;
  cursor: pointer;
  color: #9ca3af;
}
*****/

/* FORM */
.popup-form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 1px;
}

.form-group input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.popup-btn {
  width: 100%;
  padding: 18px;
  background: #b7292f;
  color: white;
  border: none;
  border-radius: 40px;
  font-size: 20px;
  cursor: pointer;
}
/********/
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.slider {
  position: relative;
}

.slide {
  display: none;
  max-width: 520px;
  border-radius: 12px;
}

.slide.active {
  display: block;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.controls {
  margin-top: 15px;
  text-align: center;
}

.controls button {
  padding: 8px 14px;
  font-size: 18px;
  cursor: pointer;
}
