.children-img {
  border: 2px solid #78e6f7;
}
.children-img {
  transition: transform 0.3s ease-in-out; /* smooth animation */
}
.children-img:hover {
  transform: scale(1.05);
}
.home-about-us {
  margin-top: -50px;
}













/* ===== ADMISSION FORM POPUP (Professional Animated Version) ===== */
.admission-open-form {
  background: linear-gradient(135deg, rgba(0, 28, 92, 0.75), rgba(0, 140, 180, 0.65), rgba(0, 255, 180, 0.45));
  color: #ffffff;
  padding: 30px 15px;
  text-align: center;
  position: fixed;     
  top: 20px;
  left: 25px;
  right: 30px;
  bottom: -30px;
  transform: translate(-50%, -50%);
  z-index: 10001;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  border-radius: 10px;
  width: 1300px;
  height: 590px;
  border: 2px solid rgba(30, 189, 90, 0.9);
  overflow: hidden;
  backdrop-filter: blur(6px);
  animation: glowPulse 6s infinite ease-in-out;
}

/* Animated Gradient Glow */
@keyframes glowPulse {
  0% { box-shadow: 0 0 15px rgba(0, 255, 180, 0.4), 0 0 25px rgba(0, 180, 255, 0.3); }
  50% { box-shadow: 0 0 25px rgba(0, 255, 150, 0.7), 0 0 35px rgba(0, 180, 255, 0.6); }
  100% { box-shadow: 0 0 15px rgba(0, 255, 180, 0.4), 0 0 25px rgba(0, 180, 255, 0.3); }
}

/* Inputs and Button */
.admission-open-form input,
.admission-open-form button {
  padding: 10px;
  margin: 5px 0;
  width: 100%;
  max-width: 350px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: 0.3s ease;
}
.admission-open-form input:focus {
  border-color: rgba(0, 255, 180, 0.8);
  box-shadow: 0 0 10px rgba(0,255,150,0.6);
}
.admission-open-form button {
  background: linear-gradient(90deg, rgba(0,255,150,0.8), rgba(0,180,255,0.8));
  border: none;
  font-weight: bold;
  cursor: pointer;
}
.admission-open-form button:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, rgba(0,180,255,0.8), rgba(0,255,150,0.8));
  box-shadow: 0 0 15px rgba(0,255,180,0.6);
}

.admission-open-form h3 {
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(0,255,180,0.7);
  animation: textGlow 4s infinite alternate;
}

@keyframes textGlow {
  0% { text-shadow: 0 0 8px rgba(0,255,180,0.6); }
  100% { text-shadow: 0 0 20px rgba(0,180,255,0.9); }
}

/* ===== RESPONSIVE FOR MOBILE ===== */
@media (max-width: 768px) {
  .admission-open-form {
    width: 300px;
    height: auto;
    transform: translate(-50%, -50%);
    padding: 20px 10px;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(0, 40, 90, 0.9), rgba(0, 180, 255, 0.5));
    box-shadow: 0 0 25px rgba(0,180,255,0.6);
  }

  .admission-open-form input,
  .admission-open-form button {
    max-width: 100%;
    font-size: 14px;
  }

  .admission-open-form h3 {
    font-size: 18px;
  }
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.9), rgba(0, 255, 150, 0.8));
  color: white;
  padding: 10px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0,255,150,0.4);
  transition: 0.3s;
  z-index: 9999;
  margin-bottom: 200px;
}
.whatsapp-btn:hover {
  background: linear-gradient(135deg, rgba(0,255,150,0.9), rgba(0,180,255,0.8));
  transform: scale(1.08);
  color: wheat;
  box-shadow: 0 0 25px rgba(0,255,150,0.6);
}

/* Mobile WhatsApp button */
@media (max-width: 768px) {
  .whatsapp-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    justify-content: center;
    font-size: 0;
    padding: 0;
  }
  .whatsapp-btn img {
    margin-right: 0;
    width: 28px;
  }
}
























/* 🌿 ABOUT SECTION (Modern, Bootstrap-Safe) */
.about-section {
  position: relative;
  padding: 100px 0 120px;
  background: linear-gradient(180deg, #f8fffc 0%, #e8faff 100%);
  font-family: "Poppins", "Inter", sans-serif;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 60px;
}

/* ✨ Gradient Floating Background Glow */
.about-section::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle at center, rgba(0, 166, 81, 0.12), rgba(0, 153, 204, 0.06) 70%);
  transform: translateX(-50%);
  z-index: 0;
  animation: floatGlow 8s ease-in-out infinite alternate;
}

/* 🌈 Center Divider with Subtle Glow */
.title-divider-center {
  width: 120px;
  height: 5px;
  margin: 0 auto 25px;
  background: linear-gradient(90deg, #00a651, #00c6b4, #0099cc);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 153, 204, 0.4);
  animation: pulseLine 3s ease-in-out infinite alternate;
}

/* 🏫 Section Title */
.about-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, #00a651, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1.5px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 153, 204, 0.2);
  animation: fadeInDown 1.2s ease both;
  margin-bottom: 60px;
}

/* 🧠 Description Text Columns */
.about-describe {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #024b40;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 8px 25px rgba(0, 153, 204, 0.07);
  transition: all 0.4s ease;
  animation: fadeInUp 1.4s ease both;
}

.about-describe:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0, 153, 204, 0.15);
}

/* 🌿 Left & Right Borders */
.info-left {
  border-left: 5px solid #00a651;
}
.info-right {
  border-right: 5px solid #0099cc;
}

/* 🧮 Counter Area */
.counter-inner {
  margin-top: 70px;
  position: relative;
  z-index: 2;
}

.counter-item {
  text-align: center;
  padding: 30px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 166, 81, 0.05);
}

.counter-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(0, 153, 204, 0.15);
}

.counter-no {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, #00a651, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.Completed {
  font-size: 1.1rem;
  font-weight: 600;
  color: #00695c;
  letter-spacing: 0.5px;
}

/* 🏫 About Banner (Image + Info + Video) */
.about-banner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 153, 204, 0.12);
  z-index: 2;
  animation: fadeInUp 1.6s ease both;
}

/* 🖼️ Left Image */
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 0 0 16px;
}

.figure-round-border {
  flex: 1 1 50%;
  margin: 0;
}

/* 🏆 Experience Badge */
.about-left-banner {
  position: absolute;
  left: 40px;
  bottom: 40px;
  background: linear-gradient(90deg, #00a651, #0099cc);
  color: #fff;
  padding: 25px 40px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 166, 81, 0.3);
  text-align: center;
  animation: floatBox 4s ease-in-out infinite alternate;
}

.about-left-banner .banner-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

/* 🎬 Right Video Section */
.about-right-banner {
  flex: 1 1 50%;
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(180deg, #f7fdfb 0%, #ebfaff 100%);
}

.about-right-banner h5 {
  font-size: 1.3rem;
  color: #0099cc;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.about-right-banner .video-button {
  width: 100px;
  height: 75px;
  background: linear-gradient(90deg, #00a651, #0099cc);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.about-right-banner .video-button:hover {
  transform: scale(1.15);
  box-shadow: 0 0 25px rgba(0, 153, 204, 0.4);
}

.about-right-banner h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #024b40;
  margin-bottom: 12px;
}

.about-right-banner p {
  font-size: 1rem;
  color: #00695c;
  line-height: 1.8;
}

/* 🌀 Animations */
@keyframes floatGlow {
  from {
    opacity: 0.6;
    transform: translate(-50%, 0);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 25px);
  }
}

@keyframes pulseLine {
  from {
    box-shadow: 0 0 10px rgba(0, 153, 204, 0.2);
  }
  to {
    box-shadow: 0 0 20px rgba(0, 166, 81, 0.6);
  }
}

@keyframes floatBox {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱 Responsive Design */
@media (max-width: 992px) {
  .about-title {
    font-size: 2.2rem;
  }
  .about-banner {
    flex-direction: column;
  }
  .figure-round-border {
    flex: 1 1 100%;
  }
  .about-right-banner {
    padding: 40px 20px;
  }
}

@media (max-width: 600px) {
  .about-title {
    font-size: 1.8rem;
  }
  .about-left-banner {
    left: 15px;
    bottom: 15px;
    padding: 12px 20px;
  }
  .about-left-banner h3 {
    font-size: 1rem;
  }
  .counter-no {
    font-size: 2rem;
  }
}

























































/* ===== VIDEO OVERLAY (below admission form, above banner) ===== */
#video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

#video-overlay video {
  width: 1280px;
  height: 590px;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  display: block;
}

/* ===== TABLET VIEW ===== */
@media (max-width: 1024px) {
  #video-overlay video {
    width: 90%;
    height: auto;
  }
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
  #video-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    padding: 15px;
  }

  #video-overlay video {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;   /* ensures full video visible */
    border-radius: 10px;
  }
}

/* ===== VERY SMALL SCREENS ===== */
@media (max-width: 480px) {
  #video-overlay video {
    max-width: 320px;
  }
}

/* ===== CLOSE BUTTON FOR VIDEO ===== */
#close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  color: white;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  z-index: 10000; /* ensures it stays above the video */
}
#close-btn:hover {
  background: rgba(0, 255, 21, 0.7);
}










/* ===== MAIN CONTENT (banner etc. stays in background) ===== */
#main-content { 
  display: block;   /* keep visible in background */
}

/* ===== BANNER CAROUSEL ===== */
.banner-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #001f3f;
}
.banner-slide {
  display: none;
  width: 100%;
  height: auto;
}
.active {
  display: block;
  animation: fadeSlide 1s ease-in-out;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  background: rgba(0,0,0,0.2);
  color: white;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  user-select: none;
}
.txt {
  color: white;
  font-weight: bold;
  font-size: 56px;
  position: absolute;
}
.nav-arrow:hover { background: rgba(0,0,0,0.2); }
.left-arrow { left: 15px; }
.right-arrow { right: 15px; }


.col-md-6{
  margin-top: -30px;
}

.line{
  height: 10px;
  width: 1200px;
  background-color: red;
}



/* ================================
   Footer Styling - Blue & Green Theme
================================= */
.site-footer {
  position: relative;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  /* deep ocean blues */
  color: #fff;
  font-family: "Poppins", sans-serif;
  padding-top: 50px;
}



.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url("assets/img/footer-bg.png") no-repeat center/cover;
  opacity: 0.08;
}

/* Top Footer */
.top-footer {
  position: relative;
  z-index: 2;
}

.footer-logo img {
  max-width: 150px;
  transition: transform 0.3s ease;
}
.footer-logo img:hover {
  transform: scale(1.05);
}

.textwidget {
  margin: 15px 0;
  color: #dfeff3;
  line-height: 1.6;
}

/* Social Icons */
.footer-social-links ul {
  padding: 0;
  margin: 15px 0 0;
  list-style: none;
  display: flex;
  gap: 12px;
}

.footer-social-links a {
  color: #fff;
  font-size: 16px;
  display: inline-flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.footer-social-links a:hover {
  background: #ffcc00;
  color: #0d3b66;
  transform: translateY(-4px);
}

/* Titles */
.widget-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffcc00;
  position: relative;
}
.widget-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #ffcc00;
}

/* Links */
.widget ul {
  padding: 0;
  list-style: none;
}
.widget ul li {
  margin: 8px 0;
}
.widget ul li a {
  color: #dfeff3;
  text-decoration: none;
  transition: all 0.3s ease;
}
.widget ul li a:hover {
  color: #ffcc00;
  padding-left: 5px;
}

/* School Time */
.school-time span {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #fff;
}

/* Bottom Footer */
.bottom-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
  padding: 20px 0;
  font-size: 14px;
  color: #dfeff3;
}

.bottom-footer .legal-list {
  text-align: right;
}
.bottom-footer .legal-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.bottom-footer .legal-list a {
  color: #ffcc00;
  text-decoration: none;
  transition: color 0.3s ease;
}
.bottom-footer .legal-list a:hover {
  color: #fff;
}

/* Animations */
.site-footer {
  animation: fadeInUp 1s ease-in-out;
}
@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}




















































.school-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin: 30px 10px;
  padding: 60px 15px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(10,25,47,1), rgba(0,120,120,1), rgba(0,180,255,0.9));
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  color: white;
  text-align: center;
}

/* Animated Background */
.school-stats::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0,255,200,0.15) 0%, transparent 70%),
              radial-gradient(circle at top right, rgba(0,128,255,0.15) 0%, transparent 70%);
  animation: rotateBG 18s linear infinite;
  z-index: 0;
}

@keyframes rotateBG {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.school-stats .stat {
  position: relative;
  margin: 20px;
  padding: 10px;
  z-index: 1;
  transition: transform 0.3s ease;
}

.school-stats .stat:hover {
  transform: scale(1.08);
}

/* Icon Style */
.school-stats .icon {
  font-size: 40px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #00ffcc, #0099ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Counter */
.school-stats .counter {
  font-size: 34px;
  font-weight: 700;
  background: linear-gradient(90deg, #00ffcc, #00aaff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

/* Underline Glow */
.school-stats .counter::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #00ffcc, #00aaff);
  margin: 5px auto 0;
  border-radius: 3px;
  width: 0;
  animation: underlineGrow 2s ease forwards;
}

@keyframes underlineGrow {
  from { width: 0; }
  to { width: 60%; }
}

/* Label */
.school-stats .stat p {
  font-size: 14px;
  margin-top: 5px;
  color: rgba(255,255,255,0.85);
}

/* Tablet */
@media screen and (max-width: 768px) {
  .school-stats {
    flex-direction: column;
    padding: 40px 10px;
  }
  .school-stats .icon { font-size: 32px; }
  .school-stats .counter { font-size: 28px; }
  .school-stats .stat p { font-size: 13px; }
}

/* Mobile */
@media screen and (max-width: 480px) {
  .school-stats {
    padding: 30px 5px;
  }
  .school-stats .icon { font-size: 28px; }
  .school-stats .counter { font-size: 24px; }
  .school-stats .stat { margin: 15px 0; }
  .school-stats .stat p { font-size: 12px; }
}





















/* home page children part after numbers */
/* =======================
   Home About Us Section
   Scoped styles only
   ======================= */
/* =======================
   Home About Us Section
   ======================= */
.home-about-us {
  position: relative;
  padding: 70px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 255, 128, 0.08), rgba(0, 128, 255, 0.1));
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow: hidden;
}

/* Glowing animated background */
.home-about-us::before,
.home-about-us::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  filter: blur(90px);
  animation: floatGlow 8s infinite alternate;
  z-index: 0;
}
.home-about-us::before {
  top: -120px; left: -80px;
  background: rgba(0, 255, 128, 0.5);
}
.home-about-us::after {
  bottom: -120px; right: -100px;
  background: rgba(0, 128, 255, 0.5);
  animation-delay: 3s;
}
@keyframes floatGlow {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(-40px) translateX(40px); }
}

/* Container: image left, paragraph right */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  position: relative;
}

/* Image */
.about-image {
  flex: 1 1 45%;
  max-width: 45%;
}
.about-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s, box-shadow 0.4s;
}
.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 255, 128, 0.4);
}

/* Paragraph Box */
.about-text-box {
  flex: 1 1 50%;
  max-width: 50%;
  padding: 25px 30px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(0, 255, 128, 0.85), rgba(0, 128, 255, 0.85));
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 255, 128, 0.2);
  animation: fadeInRight 1.2s ease-out;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.about-text-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin: 0;
}

/* Hover Effect */
.about-text-box:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 128, 255, 0.4);
  background: linear-gradient(135deg, rgba(0, 128, 255, 0.9), rgba(0, 255, 128, 0.9));
}

/* Animated Glow Border */
.about-text-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #00ff80, #0080ff, #00ff80);
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  background-size: 300% 300%;
  animation: gradientMove 6s ease infinite;
}

.about-text-box:hover::before {
  opacity: 1;
}

/* Gradient Animation */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about-text-box {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 20px;
    font-size: 1rem;
  }
}


/* Qualification cards below */
.regarding-us {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 20px;
}
.about-desc-text{
  color: black;
  font-size: 40px;
  font-weight: bold;
}
.qulifaction-content {
  flex: 1 1 45%;
  min-width: 220px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.qulifaction-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 255, 128, 0.3);
}

/* Icons */
.qualifaction-icon i {
  font-size: 40px;
  background: linear-gradient(135deg, #00ff80, #0080ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bounceIcon 2s infinite;
}
@keyframes bounceIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Titles and details */
.qualifaction-title h5 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 5px;
  color: #ffffff;
}
.qulifaction-detail p {
  font-size: 15px;
  color: #dffaf1;
  line-height: 1.6;
}

/* Paragraph fade-in animation */
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
  }
  .about-image, .about-text-box {
    max-width: 100%;
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
  .regarding-us {
    flex-direction: column;
  }
  .qulifaction-content {
    min-width: 100%;
  }
}
@media (max-width: 480px) {
  .home-about-us { padding: 40px 15px; }
  .about-text-box { padding: 20px; }
  .about-text-box p { font-size: 1rem; line-height: 1.5; }
  .qualifaction-icon i { font-size: 35px; }
  .qulifaction-detail p { font-size: 14px; }


}














/* ========================================
   SAFA Extra Curricular Section (Professional Blue-Green)
   ======================================== */

.safa-activity-section {
  position: relative;
  background: linear-gradient(135deg, #012a4a, #005f73, #0077b6, #00bfa5);
  color: #fff;
  padding: 30px 0;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  margin-top: 60px;
  border-radius: 15px;
  margin-bottom: 140px;
}

/* Animated Overlay */
.safa-activity-overlay,
.safa-activity-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.safa-activity-overlay {
  background: radial-gradient(
    circle at 40% 40%,
    rgba(0, 191, 165, 0.15),
    transparent 70%
  );
  animation: safaGlow 10s ease-in-out infinite alternate;
}

.safa-activity-pattern {
  background: url("https://www.transparenttextures.com/patterns/graphy.png");
  opacity: 0.07;
}

@keyframes safaGlow {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

/* Title Section */
.safa-activity-col-title {
  text-align: center;
  margin-bottom: 50px;
}

.safa-activity-divider {
  width: 90px;
  height: 4px;
  margin: 0 auto 15px;
  background: linear-gradient(90deg, #00e676, #00bfa5, #00c4ff);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

.safa-activity-title {
  font-size: 2.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #00e5ff, #00bfa5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.safa-activity-info {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Card Layout */
.safa-activity-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  position: relative;
  z-index: 1;
}

.safa-activity-card {
  width: 320px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
}

.safa-activity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 191, 165, 0.4);
}

/* Image */
.safa-activity-image {
  position: relative;
  overflow: hidden;
}

.safa-activity-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.safa-activity-card:hover .safa-activity-image img {
  transform: scale(1.07);
}

/* Category Tag */
.safa-activity-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(90deg, #00bfa5, #00e676);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.4);
}
.safa-activity-tag a {
  color: #fff;
  text-decoration: none;
}

/* Card Content */
.safa-activity-content {
  padding: 25px 20px 30px;
  text-align: center;
}

.safa-activity-content h4 a {
  color: #ffffff;
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.safa-activity-content h4 a:hover {
  color: #00e5ff;
}

.safa-activity-content p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
  line-height: 1.7;
}

/* Button */
.safa-activity-btn-wrap {
  text-align: center;
  margin-top: 60px;
}
.safa-activity-btn {
  background: linear-gradient(90deg, #00e676, #00bfa5, #00e5ff);
  color: #002147;
  font-weight: 600;
  padding: 12px 35px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
}
.safa-activity-btn:hover {
  background: linear-gradient(90deg, #00bfa5, #00e5ff);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 230, 118, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
  .safa-activity-title {
    font-size: 1.9rem;
  }
  .safa-activity-info {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .safa-activity-card {
    width: 90%;
  }
  .safa-activity-content h4 {
    font-size: 18px;
  }
}
@media (max-width: 576px) {
  .safa-activity-title {
    font-size: 1.6rem;
  }
  .safa-activity-info {
    padding: 0 10px;
  }
}























/* ===========================================
   SAFA Hostel Section (Modern Blue-Green Style)
   =========================================== */

.safa-hostel-section {
  position: relative;
  background: linear-gradient(135deg, #004e64, #0077b6, #00bfa5);
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

/* Overlay Glow */
.safa-hostel-section .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(0, 191, 165, 0.15),
    transparent 70%
  );
  animation: safaHostelGlow 12s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes safaHostelGlow {
  0% {
    opacity: 0.4;
    transform: scale(1);
  }
  100% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

/* Content Left */
.safa-hostel-section .fact-section-head {
  position: relative;
  z-index: 2;
  text-align: left;
  padding-right: 30px;
}

.safa-hostel-section .title-divider {
  width: 90px;
  height: 4px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #00e676, #00bfa5, #00e5ff);
  border-radius: 5px;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.5);
}

.safa-hostel-section .fact-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #00e676, #00bfa5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.safa-hostel-section .fact-section-info {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.safa-hostel-section .fact-list ul {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
}

.safa-hostel-section .fact-list li {
  font-size: 15px;
  color: #dffcf1;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.safa-hostel-section .fact-list li::before {
  content: "✔";
  color: #00e676;
  position: absolute;
  left: 0;
  font-size: 15px;
}

/* Buttons */
.safa-hostel-section .button-round-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #00e676, #00bfa5);
  color: #00334e;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 28px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 230, 118, 0.4);
  transition: all 0.3s ease;
}

.safa-hostel-section .button-round-secondary:hover {
  background: linear-gradient(90deg, #00bfa5, #00e5ff);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 230, 118, 0.6);
}

/* Right Side Circular Image Design */
.safa-hostel-section .fact-right-inner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.safa-hostel-section .fact-inner-box {
  position: relative;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, #00bfa5, #0077b6);
  box-shadow: 0 0 30px rgba(0, 230, 118, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.safa-hostel-section .fact-inner-box::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: url("NaseebKhan/assests/studyy.png") center/cover no-repeat;
  transition: transform 0.5s ease;
}

.safa-hostel-section .fact-inner-box:hover::before {
  transform: scale(1.07);
}

/* Circle Text Overlay */
.safa-hostel-section .fact-inner-box h4 {
  position: absolute;
  bottom: 25px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.3px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .safa-hostel-section {
    padding: 80px 0;
  }
  .safa-hostel-section .fact-section-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 768px) {
  .safa-hostel-section .fact-right-inner-wrap {
    margin-top: 40px;
  }
  .safa-hostel-section .fact-inner-box {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 576px) {
  .safa-hostel-section .fact-section-title {
    font-size: 1.6rem;
  }
  .safa-hostel-section .fact-section-info {
    font-size: 15px;
  }
}






















































/* ==========================================
   SAFA FACT SECTION (Premium Blue-Green)
   ========================================== */
/* ===============================
   IMAGE CIRCLE SECTION
   =============================== */
/* ============================================
   HOME FACT SECTION (Blue-Green Professional)
   ============================================ */
/* ============================================
   HOME FACT SECTION (Professional & Smooth Animated)
   ============================================ */
.home-fact-section {
  position: relative;
  background: linear-gradient(135deg, #004b6b, #00bfa5, #00e676);
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  width: 1355px;
  margin-left: -110px;
}

/* Subtle animated overlay shimmer */
.home-fact-section .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(0, 255, 136, 0.15),
    transparent 70%
  );
  z-index: 0;
  animation: overlayPulse 8s infinite ease-in-out alternate;
}
@keyframes overlayPulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

/* ============================================
   FACT RIGHT CIRCLE BOX
   ============================================ */
.fact-right-inner-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 10px 0;
  z-index: 1;
}

.fact-inner-box {
  position: relative;
  width: 380px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #00e676, #00bfa5, #006d77);
  box-shadow: 0 0 40px rgba(0, 255, 128, 0.35);
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  padding: 25px;

  animation: floatCircle 6s ease-in-out infinite;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.fact-inner-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 55px rgba(0, 255, 128, 0.6);
}

@keyframes floatCircle {
  0% {
    transform: translateY(0px);
    box-shadow: 0 0 40px rgba(0, 255, 128, 0.35);
  }
  50% {
    transform: translateY(-8px);
    box-shadow: 0 0 55px rgba(0, 255, 128, 0.6);
  }
  100% {
    transform: translateY(0px);
    box-shadow: 0 0 40px rgba(0, 255, 128, 0.35);
  }
}

/* ============================================
   INNER ELEMENTS (Text + Image)
   ============================================ */
.fact-inner-box figure.fact-image,
.fact-inner-box .fact-content {
  width: 300px;
  height: 85px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 1.2s ease forwards;
}
.fact-inner-box .fact-content:nth-child(1) {
  animation-delay: 0.2s;
}
.fact-inner-box figure.fact-image:nth-child(2) {
  animation-delay: 0.4s;
}
.fact-inner-box .fact-content:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Image */
.fact-inner-box figure.fact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.fact-inner-box figure.fact-image img:hover {
  transform: scale(1.08);
}

/* Text block contrast */
.fact-inner-box .fact-content {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ============================================
   LEFT TEXT AREA
   ============================================ */
.home-fact-section .fact-section-head {
  position: relative;
  z-index: 1;
  text-align: left;
  padding-right: 20px;
}
.home-fact-section .fact-section-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #00e676, #00bfa5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 4s infinite linear;
}
@keyframes shimmerText {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: 200px 0;
  }
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */

/* --- Tablet (up to 992px) --- */
@media (max-width: 992px) {
  .home-fact-section {
    width: 100%;
    margin-left: 0;
    padding: 80px 20px;
  }
  .fact-inner-box {
    width: 320px;
  }
  .fact-inner-box figure.fact-image,
  .fact-inner-box .fact-content {
    width: 250px;
    height: 75px;
  }
}

/* --- Small Tablets / Large Phones (up to 768px) --- */
@media (max-width: 768px) {
  .home-fact-section {
    padding: 70px 20px;
  }
  .fact-right-inner-wrap {
    flex-direction: column;
    margin-top: 40px;
  }
  .fact-inner-box {
    width: 260px;
  }
  .fact-inner-box figure.fact-image,
  .fact-inner-box .fact-content {
    width: 220px;
    height: 70px;
    font-size: 14px;
  }
  .home-fact-section .fact-section-title {
    font-size: 1.8rem;
  }
}

/* --- Phones (up to 576px) --- */
@media (max-width: 576px) {
  .home-fact-section {
    
  }
  .home-fact-section .fact-section-head {
    text-align: center;
    padding: 0;
  }
  .home-fact-section .fact-section-title {
    font-size: 1.6rem;
  }
  .home-fact-section .fact-section-info {
    font-size: 14px;
  }
  .fact-right-inner-wrap {
    margin-top: 40px;
  }
  .fact-inner-box {
    width: 220px;
    gap: 15px;
    padding: 15px;
  }
  .fact-inner-box figure.fact-image,
  .fact-inner-box .fact-content {
    width: 380px;
    height: 60px;
    font-size: 13px;
  }
}

/* --- Small Phones (below 400px) --- */
@media (max-width: 400px) {
  .fact-inner-box {
    width: 190px;
  }
  .fact-inner-box figure.fact-image,
  .fact-inner-box .fact-content {
    width: 160px;
    height: 55px;
  }
}



































/* =========================================================
   RESET FRAMEWORK CONFLICTS
   ========================================================= */
/* =========================================================
   SAFA GALLERY SECTION - NEXT GENERATION DESIGN
   ========================================================= */
.safa-gallery-section {
  background: linear-gradient(135deg, #e0f7fa, #f1f8e9, #ffffff);
  padding: 4px 0;
  font-family: "Poppins", sans-serif;
  position: relative;
  overflow: hidden;
  margin-top: -70px;
}

.safa-gallery-container {
  max-width: 1300px;
  margin: auto;
  position: relative;
  z-index: 1;
}

/* ------------------ Header ------------------ */
.safa-gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.safa-title-divider {
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #00bfa5, #00e676);
  border-radius: 8px;
  margin: 0 auto 20px;
  box-shadow: 0 0 15px rgba(0, 191, 165, 0.4);
}

.safa-gallery-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #004b6b, #00bfa5, #00e676);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: capitalize;
  letter-spacing: 1px;
}

/* ------------------ Grid Layout ------------------ */
.safa-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 0 40px;
}

.safa-gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.safa-gallery-item:hover {
  transform: translateY(-10px) scale(1.03);
}

/* ------------------ Image + Overlay ------------------ */
.safa-gallery-img {
  position: relative;
  margin: 0;
}

.safa-gallery-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.5s ease;
}

.safa-gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* ------------------ Caption Overlay ------------------ */
.safa-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 191, 165, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 25px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.5s ease;
}

.safa-gallery-item:hover .safa-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Caption text */
.safa-caption h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #00e676, #00bfa5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.safa-caption p {
  font-size: 1rem;
  max-width: 90%;
  line-height: 1.6;
  opacity: 0.95;
}

/* ------------------ Responsive Design ------------------ */
@media (max-width: 992px) {
  .safa-gallery-grid {
    grid-template-columns: 1fr;
    padding: 0 25px;
  }

  .safa-gallery-img img {
    height: 350px;
  }

  .safa-caption h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 600px) {
  .safa-gallery-section {
    padding: 70px 0;
  }

  .safa-gallery-title {
    font-size: 2rem;
  }

  .safa-gallery-img img {
    height: 280px;
  }

  .safa-caption {
    padding: 20px;
  }
}

























/* Parent Section */
.dual-image-section {
  padding: 50px 20px;
  background: linear-gradient(135deg, rgba(0,255,128,0.05), rgba(0,128,255,0.05));
  font-family: 'Poppins', sans-serif;
  margin-top: -20px;
  margin-bottom: -100px;
}

/* Flexbox Container */
.dual-image-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 25px;
  flex-wrap: wrap;
}

/* Image Box */
.dual-image-box {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  flex: 1 1 45%;
  max-width: 48%;
  min-height: 380px;
  box-shadow: 0 8px 25px rgba(0, 128, 255, 0.2);
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

/* Image Style */
.dual-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.6s ease, filter 0.6s ease;
}

/* Hover Effects */
.dual-image-box:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0, 255, 128, 0.4);
}
.dual-image-box:hover img {
  transform: scale(1.08);
  filter: brightness(1.15) contrast(1.1);
}

/* Right Image Text Overlay */
.dual-with-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.image-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(135deg, rgba(0,255,128,0.85), rgba(0,128,255,0.85));
  color: #fff;
  text-align: left;
  animation: fadeInUp 1.2s ease;
}

.image-overlay-text h3 {
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 700;
}
.image-overlay-text p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: #f1fdfc;
}

/* Fade animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ✅ Responsive (Phones/Tablets) */
@media (max-width: 768px) {
  .dual-image-container {
    flex-direction: column;
    gap: 20px;
  }

  .dual-image-box {
    max-width: 100%;
    min-height: 280px;
  }

  /* Overlay text becomes card-style below image */
  .dual-with-text {
    flex-direction: column;
  }

  .dual-with-text img {
    border-radius: 20px 20px 0 0;
    height: 220px;
  }

  .image-overlay-text {
    position: relative;
    border-radius: 0 0 20px 20px;
    margin-top: -5px;
    padding: 18px;
    font-size: 14px;
  }

  .image-overlay-text h3 {
    font-size: 18px;
  }

  .image-overlay-text p {
    font-size: 13px;
    line-height: 1.5;
  }
}


















/* ================================
   Next Gen Course Section
   ================================ */
.nextgen-course-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(0, 255, 128, 0.05), rgba(0, 128, 255, 0.05));
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
  z-index: 1;
  
}

/* Floating animated glows */
.nextgen-course-section::before,
.nextgen-course-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 400px;
  height: 400px;
  filter: blur(60px);
  z-index: 0;
  animation: nextgenFloat 8s infinite alternate ease-in-out;
}
.nextgen-course-section::before {
  top: -150px;
  left: -120px;
  background: rgba(0, 255, 128, 0.35);
}
.nextgen-course-section::after {
  bottom: -160px;
  right: -160px;
  background: rgba(0, 128, 255, 0.35);
  animation-delay: 3s;
}

@keyframes nextgenFloat {
  from { transform: translateY(0) translateX(0); }
  to   { transform: translateY(-40px) translateX(40px); }
}

/* Row layout */
.nextgen-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Column for images */
.nextgen-col {
  flex: 1 1 45%;
  max-width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  animation: fadeInUp 1.5s ease;
}

/* Image styling */
.nextgen-feature-image img {
  width: 100%;       /* full width of column */
  max-width: 700px;  /* limit maximum size on large screens */
  height: auto;      /* auto height for proportion */
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 128, 255, 0.2);
  transition: transform 0.6s ease, box-shadow 0.6s ease, filter 0.6s ease;
}

/* Hover effect */
.nextgen-col:hover img {
  transform: scale(1.08);
  filter: brightness(1.15) contrast(1.1);
  box-shadow: 0 25px 60px rgba(0, 255, 128, 0.4);
}

/* Entry animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -------------------------
   Responsive: Tablet
   ------------------------- */
@media (max-width: 992px) {
  .nextgen-col {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .nextgen-feature-image img {
    max-width: 100%;
    height: auto; /* keep ratio */
  }
  .nextgen-row {
    gap: 20px;
  }
}

/* -------------------------
   Responsive: Mobile
   ------------------------- */
@media (max-width: 576px) {
  .nextgen-course-section {
    padding: 40px 15px;
  }
  .nextgen-feature-image img {
    width: 100%;
    height: auto;       /* prevent cropping */
    border-radius: 15px;
  }
  .nextgen-row {
    gap: 15px;
  }
}





















/* ================================
   NextGen Facilities Section
   ================================ */
/* ================================
   Campus Facilities Modern Design
   ================================ */
/* 🌈 Next-Gen Facilities Section */
.nextgen-facilities-section {
  margin-top: 30px;
  margin-bottom: -60px;
  background: #f9fafc;
  font-family: 'Poppins', sans-serif;
}

/* Container */
.nextgen-facilities-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header */
.nextgen-facilities-header {
  text-align: center;
  margin-bottom: 60px;
}

.nextgen-facilities-header h2 {
  font-size: 2.8rem;
  color: #000;
  font-weight: 700;
  letter-spacing: 1px;
}

.nextgen-facilities-divider {
  width: 90px;
  height: 4px;
  margin: 14px auto;
  background: linear-gradient(90deg, #00b4d8, #00ff9d);
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
}

/* Grid Layout */
.nextgen-facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
}

/* Card */
.nextgen-facilities-card {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.5s ease;
  cursor: pointer;

  /* ✅ Center icon + text perfectly */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Animated Gradient Dotted Border */
.nextgen-facilities-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px dotted transparent;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, #00c853, #007bff, #00c853);
  background-size: 400% 400%;
  animation: borderFlow 6s linear infinite;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Overlay */
.nextgen-facilities-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  transition: background 0.4s ease;
}

.nextgen-facilities-card:hover::before {
  background: rgba(0, 0, 0, 0.55);
}

/* Inner Content */
.nextgen-facilities-card i,
.nextgen-facilities-card h4,
.nextgen-facilities-card p {
  position: relative;
  z-index: 3;
  transition: all 0.4s ease;
}

/* Icon */
.nextgen-facilities-card i {
  font-size: 42px;
  color: #00ffcc;
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
}

/* Title */
.nextgen-facilities-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

/* Subtitle */
.nextgen-facilities-sub {
  font-size: 1rem;
  color: #e0ffe0;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Hover Effects */
.nextgen-facilities-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 200, 83, 0.35);
}

.nextgen-facilities-card:hover i {
  color: #00b4d8;
  transform: scale(1.15);
}

/* Background Images */
.nextgen-facilities-card:nth-child(1) {
  background-image: url("assests/class\ room.png");
}
.nextgen-facilities-card:nth-child(2) {
  background-image: url("assests/Computer\ Lab.png");
}
.nextgen-facilities-card:nth-child(3) {
  background-image: url("assests/Science.png");
}
.nextgen-facilities-card:nth-child(4) {
  background-image: url("assests/Library.png");
}
.nextgen-facilities-card:nth-child(5) {
  background-image: url("Teacher_Image/ground.png");
}
.nextgen-facilities-card:nth-child(6) {
  background-image: url("assests/camera.png");
}
.nextgen-facilities-card:nth-child(7) {
  background-image: url("Teacher_Image/groundd.png");
}
.nextgen-facilities-card:nth-child(8) {
  background-image: url("assests/Dorimatory.png");
}

/* ✅ Responsive Design - smooth animation + layout on all devices */
@media (max-width: 1200px) {
  .nextgen-facilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .nextgen-facilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .nextgen-facilities-card {
    height: 260px;
  }
}

@media (max-width: 576px) {
  .nextgen-facilities-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .nextgen-facilities-card {
    height: 230px;
    animation: borderFlow 8s linear infinite; /* keeps border moving smoothly on mobile */
  }
  .nextgen-facilities-card i {
    font-size: 36px;
  }
  .nextgen-facilities-title {
    font-size: 1.2rem;
  }
  .nextgen-facilities-sub {
    font-size: 0.95rem;
  }
}













/* =========================================================
   NEXT-GENERATION BLOG SECTION
   ========================================================= */
.safa-blog-section {
  background: linear-gradient(135deg, #e6fffa 0%, #f0fff4 50%, #ffffff 100%);
  padding: 30px 0;
  font-family: "Poppins", sans-serif;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin-top: -80px;
  margin-bottom: 40px;
}

/* Floating gradient light animation background */
.safa-blog-section::before {
  content: "";
  position: absolute;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle at 30% 20%, rgba(0, 191, 165, 0.15), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(0, 230, 118, 0.1), transparent 70%);
  animation: moveGlow 18s infinite alternate ease-in-out;
  top: -50%;
  left: -50%;
  z-index: 0;
}
@keyframes moveGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.05); }
}

/* =========================================================
   HEADER / TITLE
   ========================================================= */
.safa-blog-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 850px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.safa-blog-divider {
  width: 120px;
  height: 6px;
  background: linear-gradient(90deg, #00bfa5, #00e676);
  margin: 0 auto 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 191, 165, 0.4);
}

.safa-blog-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #00796b, #00bfa5, #00e676);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: capitalize;
  margin-bottom: 15px;
  animation: textGlow 5s ease-in-out infinite alternate;
}
@keyframes textGlow {
  0% { text-shadow: 0 0 8px rgba(0, 230, 118, 0.3); }
  100% { text-shadow: 0 0 18px rgba(0, 191, 165, 0.5); }
}

.safa-blog-subtitle {
  color: #004b6b;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.85;
}

/* =========================================================
   GRID
   ========================================================= */
.safa-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding-inline: 60px;
}

/* =========================================================
   CARD DESIGN
   ========================================================= */
.safa-blog-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transform: translateY(0);
  animation: fadeInUp 1.2s ease forwards;
  border: 1px solid rgba(0, 191, 165, 0.15);
}

.safa-blog-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 60px rgba(0, 191, 165, 0.25);
  border-color: rgba(0, 230, 118, 0.3);
}

/* =========================================================
   IMAGE SECTION
   ========================================================= */
.safa-blog-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-bottom: 4px solid rgba(0, 191, 165, 0.3);
  background: #e0f7fa;
  position: relative;
}

.safa-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease, filter 0.6s ease;
}

.safa-blog-card:hover .safa-blog-image img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* =========================================================
   CONTENT SECTION
   ========================================================= */
.safa-blog-content {
  padding: 30px 25px 40px;
  text-align: center;
  transition: all 0.4s ease;
}

.safa-blog-content h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #004b6b, #00bfa5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.safa-blog-content h4 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.safa-blog-content h4 a:hover {
  color: #00bfa5;
}

.safa-blog-content p {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  opacity: 0.9;
  transition: color 0.3s ease;
}

.safa-blog-card:hover .safa-blog-content p {
  color: #004b6b;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 1200px) {
  .safa-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    padding-inline: 40px;
  }
}

@media (max-width: 768px) {
  .safa-blog-section {
    padding: 80px 0;
  }
  .safa-blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-inline: 25px;
  }
  .safa-blog-title {
    font-size: 2.2rem;
  }
  .safa-blog-image {
    height: 230px;
  }
  .safa-blog-content {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .safa-blog-section {
    padding: 70px 0;
  }
  .safa-blog-title {
    font-size: 1.8rem;
  }
  .safa-blog-subtitle {
    font-size: 0.95rem;
  }
  .safa-blog-image {
    height: 200px;
  }
}
























.course-bhn{
  margin-top: -200px;
}
.button-round-primary{
  margin-top: -400px;

}

.home-fact-section{
  margin-top: -100px;
}

.home-feature-section{
  margin-top: -80px;

}





























/* 🌿 Next Generation Feature Section */
.nextgen-feature-section {
  margin-top: 0px;
  font-family: "Poppins", sans-serif;
  color: #000;
  position: relative;
  overflow: hidden;
}

/* 🏫 Title Area */
.nextgen-feature-section .title-area {
  text-align: center;
  margin-bottom: 60px;
}

.nextgen-feature-section .title-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00a651, #0099cc);
  margin: 0 auto 18px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 123, 0.4);
}

.nextgen-feature-section .nextgen-feature-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.nextgen-feature-section .nextgen-feature-subtitle {
  color: #009e8f;
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* 🧩 Card Layout */
.nextgen-feature-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}

/* 🎴 Feature Card */
.nextgen-feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 4px solid rgba(0, 126, 88, 0.966);
  flex: 1 1 calc(33.333% - 35px);
  min-height: 360px;
  text-align: center;
  box-sizing: border-box;
  padding: 45px 30px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
  cursor: pointer;
  backdrop-filter: blur(2px);
}

/* 🏞️ Crisp Background Images (no blur) */
.nextgen-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 1; /* full clarity */
  transform: scale(1);
  transition: transform 1.5s ease, opacity 0.8s ease;
}

/* Add your image paths here */
.nextgen-feature-card:nth-child(1)::before {
  background-image: url("assests/Library.png");
}
.nextgen-feature-card:nth-child(2)::before {
  background-image: url("assests/camera.png");
}
.nextgen-feature-card:nth-child(3)::before {
  background-image: url("assests/Computer Lab.png");
}
.nextgen-feature-card:nth-child(4)::before {
  background-image: url("assests/Sports.png");
}

/* Subtle transparent glass layer (keeps image clear) */
.nextgen-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.15)
  );
  z-index: 1;
  transition: background 0.4s ease;
}

/* Hover Animations */
.nextgen-feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 166, 81, 0.3);
}

.nextgen-feature-card:hover::before {
  transform: scale(1.08);
}

.nextgen-feature-card:hover::after {
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.05)
  );
}

/* Ensure content stays visible */
.nextgen-feature-card * {
  position: relative;
  z-index: 2;
}

/* 🧠 Icon Styling */
.nextgen-feature-icon {
  font-size: 64px;
  color: #00ffb3;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease, color 0.3s ease;
}

.nextgen-feature-card:hover .nextgen-feature-icon {
  transform: scale(1.15) rotate(4deg);
  color: #00ffea;
}

/* 📘 Heading */
.nextgen-feature-heading {
  font-size: 1.55rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ✍️ Description Text */
.nextgen-feature-text {
  color: #e5f9f3;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  font-weight: 400;
}

/* 🔗 Button (icon) */
.nextgen-feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(90deg, #00a651, #0099cc);
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.3);
}

.nextgen-feature-link:hover {
  transform: translateY(-4px) rotate(20deg);
  background: linear-gradient(90deg, #0099cc, #00a651);
  box-shadow: 0 8px 20px rgba(0, 166, 81, 0.5);
}

/* 📱 Responsive Design */
@media (max-width: 992px) {
  .nextgen-feature-card {
    flex: 1 1 calc(50% - 20px);
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  .nextgen-feature-card {
    flex: 1 1 100%;
    min-height: 280px;
  }

  .nextgen-feature-section .nextgen-feature-title {
    font-size: 1.9rem;
  }

  .nextgen-feature-section .nextgen-feature-subtitle {
    font-size: 0.95rem;
  }

  .nextgen-feature-icon {
    font-size: 55px;
  }
}

















/* === Home Team Section v3 - Fixed Full CSS === */
.home-team-section-v3 {
  padding: 60px 15px;
  position: relative;
  font-family: 'Poppins', sans-serif;
  background: #fff;
}

/* Header */
.team-header-v3 {
  margin-bottom: 40px;
  text-align: center;
}
.team-divider-v3 {
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #007bff, #00c853);
  border-radius: 6px;
  margin: 0 auto 15px auto;
}
.team-title-v3 {
  font-size: 36px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}
.team-btn-v3 {
  display: inline-block;
  background: linear-gradient(90deg, #007bff, #00c853);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.team-btn-v3:hover {
  background: linear-gradient(90deg, #00c853, #007bff);
  transform: scale(1.05);
}

/* Team wrapper grid - exactly 4 cards in a row */
.team-wrapper-v3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
  align-items: start;
  width: 100%;
  padding: 0 10px; /* small padding on sides */
  box-sizing: border-box;
}

/* Teacher Card */
.teacher-card-v3 {
  width: 100%;
  max-width: 300px;
  height: 380px;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 25px rgba(0, 128, 255, 0.2);
  transition: all 0.4s ease;
}
.teacher-card-v3:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 45px rgba(0, 255, 128, 0.35);
}

/* Circular frame */
.teacher-frame-v3 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #007bff, #00c853, #0091ea, #00e676);
  background-size: 400% 400%;
  animation: frameGlow 5s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}
.teacher-frame-v3 img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.teacher-card-v3:hover .teacher-frame-v3 img {
  transform: scale(1.05);
}
@keyframes frameGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Teacher text */
.teacher-info-v3 h4 a {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.teacher-info-v3 p {
  color: #00bfa5;
  font-size: 16px;
  margin-top: 6px;
  font-weight: 500;
  text-align: center;
}

/* === Responsive === */
@media (max-width: 1200px) {
  .team-wrapper-v3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .team-wrapper-v3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .teacher-card-v3 {
    max-width: 260px;
    height: 360px;
  }
  .teacher-frame-v3 {
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 576px) {
  .team-wrapper-v3 {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }
  .teacher-card-v3 {
    max-width: 230px;
    height: 340px;
  }
  .teacher-frame-v3 {
    width: 150px;
    height: 150px;
  }
  .teacher-info-v3 h4 a {
    font-size: 18px;
  }
}




































































































/* === Home Testimonial Section v2 - Next Generation === */
.home-testimonial-section {
  
  margin-top: 30px;
  font-family: 'Poppins', sans-serif;
  background: #f5f8ff; /* subtle modern light gradient background */
}

/* Header */
.title-divider-center {
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #007bff, #00c853, #0091ea);
  border-radius: 6px;
  margin: 0 auto 15px auto;
  animation: dividerGlow 3s ease-in-out infinite alternate;
}
@keyframes dividerGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.testimonial-section-title {
  font-size: 38px;
  font-weight: 800;
  color: #111;
  margin-bottom: 15px;
}
.testimonial-section-info {
  font-size: 17px;
  color: #555;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.7;
}

/* Testimonial cards wrapper */
.row.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* Client content (card) */
.client-content {
  background: #fff;
  border-radius: 25px;
  padding: 25px 20px;
  flex: 1 1 45%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.client-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 123, 255, 0.25);
}

/* Subtle floating pattern */
.pattern-overlay.circle-patten {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #00c853, #0091ea, #00e676);
  opacity: 0.1;
  top: -20px;
  left: -20px;
  animation: rotateCircle 12s linear infinite;
  z-index: 0;
}
@keyframes rotateCircle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Client review text */
.client-review {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* Author content */
.author-content {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1;
}

/* Author info */
.author-info h5.author-name {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: 0;
}
.author-info span.author-title {
  display: block;
  font-size: 14px;
  color: #00bfa5;
  font-weight: 500;
}

/* Author image with glowing gradient frame */
.author-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #007bff, #00c853, #0091ea, #00e676);
  background-size: 400% 400%;
  animation: frameGlow 6s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.author-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.client-content:hover .author-img img {
  transform: scale(1.1);
}

/* Testimonial button */
.testimonial-btn {
  text-align: center;
  margin-top: 30px;
}
.testimonial-btn a.button-round-primary {
  display: inline-block;
  background: linear-gradient(90deg, #007bff, #00c853, #0091ea);
  color: #fff;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.testimonial-btn a.button-round-primary:hover {
  background: linear-gradient(90deg, #00c853, #007bff, #00e676);
  transform: scale(1.05);
}

/* Keyframe for glowing author frame */
@keyframes frameGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Responsive */
@media (max-width: 992px) {
  .client-content {
    flex: 1 1 80%;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .client-content {
    flex: 1 1 100%;
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  .author-img {
    width: 60px;
    height: 60px;
  }
  .author-info h5.author-name {
    font-size: 16px;
  }
  .author-info span.author-title {
    font-size: 12px;
  }
  .testimonial-section-title {
    font-size: 28px;
  }
  .testimonial-section-info {
    font-size: 15px;
  }
}

























/* Footer *\

/* === Next-Gen Full-Width Footer === */
/* ===============================
   NEXTGEN FOOTER (Modern Animated)
   =============================== */

.nextgen-footer {
  position: relative;
  background: linear-gradient(135deg, #00172d, #003459, #005b96, #0078d4);
  color: #fff;
  overflow: hidden;
  width: 1355px;
  margin-left: -110px;
  padding-top: 60px;
  margin-bottom: -130px;
  font-family: 'Poppins', sans-serif;
}

/* Animated overlay */
.ng-footer-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.07), transparent 70%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05), transparent 70%);
  animation: ngFooterGlow 12s infinite alternate ease-in-out;
  z-index: 0;
}
@keyframes ngFooterGlow {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.05); }
}

/* Layout */
.ng-top-footer {
  position: relative;
  z-index: 1;
}

.ng-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 25px;
}

.ng-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

/* Columns */
.ng-col {
  flex: 1 1 250px;
  min-width: 230px;
}

/* Footer Logo */
.ng-footer-logo img {
  width: 150px;
  transition: transform 0.4s ease;
}
.ng-footer-logo img:hover {
  transform: scale(1.05);
}

/* Text Widget */
.ng-textwidget {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

/* Social Icons */
.ng-footer-social-links ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin-top: 20px;
  padding: 0;
}

.ng-footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  font-size: 16px;
  transition: all 0.4s ease;
}
.ng-footer-social-links a:hover {
  background: #00c853;
  transform: translateY(-5px) rotate(8deg);
  box-shadow: 0 0 15px rgba(0,200,83,0.5);
}

/* Widget Titles */
.ng-widget-title {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
}
.ng-widget-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #00e676;
  margin-top: 8px;
  border-radius: 3px;
  transition: width 0.4s ease;
}
.ng-widget-title:hover::after {
  width: 80px;
}

/* Links */
.ng-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ng-widget ul li {
  margin-bottom: 10px;
}
.ng-widget ul li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}
.ng-widget ul li a:hover {
  color: #00e676;
  padding-left: 5px;
}

/* School Hours */
.school-time span {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #00e676;
}
.school-time p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* Bottom Bar */
.nextgen-footer::after {
  content: '© 2025 Safa Public School | All Rights Reserved';
  display: block;
  text-align: center;
  padding: 25px 15px;
  margin-top: 50px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
}

/* ===============================
   Responsive Fixes (Mobile & Tablet)
   =============================== */

/* Tablet screens */
@media (max-width: 1024px) {
  .nextgen-footer {
    width: 100%;
    margin: 0;
    padding-top: 50px;
  }
  .ng-container {
    padding: 0 20px;
  }
  .ng-row {
    justify-content: center;
  }
}

/* Mobile screens */
@media (max-width: 768px) {
  .nextgen-footer {
    width: 355px;
    margin-left: -15px;
    margin-bottom: -170px;
    
    padding: 40px 0;
   
  }

  .ng-container {
    padding: 0 15px;
  }

  .ng-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .ng-col {
    flex: 1 1 100%;
    min-width: unset;
  }

  .ng-widget-title::after {
    margin: 8px auto 0;
  }

  .ng-footer-social-links ul {
    justify-content: center;
  }

  .ng-footer-logo img {
    width: 120px;
  }

  .ng-textwidget {
    font-size: 13px;
    line-height: 1.6;
    padding: 0 10px;
  }

  .school-time span {
    font-size: 14px;
  }

  .nextgen-footer::after {
    font-size: 12px;
    margin-top: 30px;
  }
}

/* Extra small screens (under 480px) */
@media (max-width: 480px) {
  .nextgen-footer {
    padding: 35px 0;
  }

  .ng-footer-logo img {
    width: 100px;
  }

  .ng-footer-social-links a {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .ng-widget-title {
    font-size: 16px;
  }

  .ng-widget ul li a {
    font-size: 13px;
  }
}















/* Bottom Footer 
.ng-bottom-footer {
  background: #005cb2;
  padding: 20px 15px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}
.ng-copy-right,
.ng-legal-list ul li {
  color: #fff;
  font-size: 14px;
}
.ng-legal-list ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin: 0;
}
.ng-legal-list ul li a {
  color: #00ff9d;
  text-decoration: none;
  font-weight: 500;
}
.ng-legal-list ul li a:hover {
  color: #fff;
}
*/





/* Responsive 
@media (max-width: 992px) {
  .ng-bottom-footer {
    flex-direction: column;
    text-align: center;
  }
  .ng-legal-list ul {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .ng-footer-logo img {
    max-width: 130px;
  }
  .ng-footer-social-links ul li a {
    width: 32px;
    height: 32px;
  }
  .ng-widget-title {
    font-size: 18px;
  }
  .ng-textwidget {
    font-size: 14px;
  }
}*/

















































:root {
  --safa-green: #00ff99;
  --safa-blue: #0080ff;
  --safa-light: #f0faff;
  --safa-gradient: linear-gradient(135deg, var(--safa-green), var(--safa-blue));
}

.safa-goal-section {
  position: relative;
  padding: 80px 40px;
  background: linear-gradient(160deg, rgba(0, 255, 128, 0.1), rgba(0, 128, 255, 0.1));
  border-radius: 25px;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Animated glowing background */
.safa-goal-section::before,
.safa-goal-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 320px;
  height: 320px;
  filter: blur(100px);
  animation: safa-floatGlow 9s infinite alternate;
  z-index: 0;
}
.safa-goal-section::before {
  top: -120px; left: -80px;
  background: rgba(0, 255, 128, 0.5);
}
.safa-goal-section::after {
  bottom: -140px; right: -100px;
  background: rgba(0, 128, 255, 0.5);
  animation-delay: 3s;
}
@keyframes safa-floatGlow {
  from { transform: translateY(0) translateX(0); }
  to   { transform: translateY(-50px) translateX(50px); }
}

/* Layout */
.safa-goal-container {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}
.safa-goal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.safa-goal-col {
  flex: 1;
  min-width: 300px;
}

/* Left image */
.safa-video-play {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.safa-video-play img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
}
.safa-video-play img:hover {
  transform: scale(1.05);
}
.safa-overlay {
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.3);
  border-radius: 20px;
}
.safa-video-btn {
  position: absolute;
  top:50%; left:50%;
  transform: translate(-50%, -50%);
}
.safa-video-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  width:70px; height:70px;
  background: var(--safa-gradient);
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.safa-video-btn a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0,255,128,0.6), 0 0 30px rgba(0,128,255,0.6);
}

/* Right Content */
.safa-goal-content {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  padding: 40px 35px;
  border-radius: 20px;
  color: var(--safa-light);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  animation: safa-fadeInRight 1.2s ease-out;
}
.safa-goal-title {
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--safa-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.safa-goal-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #019ba6;
  margin-bottom: 30px;
}
.safa-goal-btn {
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--safa-gradient);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.safa-goal-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,255,128,0.3), 0 12px 25px rgba(0,128,255,0.3);
}

/* Animation */
@keyframes safa-fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .safa-goal-row { flex-direction: column; text-align: center; }
  .safa-goal-content { margin-top: 30px; }
}
@media (max-width: 480px) {
  .safa-goal-section { padding: 50px 20px; }
  .safa-goal-title { font-size: 1.8rem; }
  .safa-goal-text { font-size: 1rem; line-height: 1.6; }
  .safa-goal-btn { padding: 10px 20px; font-size: 0.9rem; }
}



























