/* 🌅 Inner Banner Section */
.inner-banner-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
}

/* 🏞️ Background Image Container */
.inner-baner-container {
  position: relative;
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 4px solid #00a651;
}

/* Remove overlay for crystal-clear image */
.inner-baner-container::before {
  content: none;
}

/* 🎯 Banner Text Container */
.inner-banner-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
  animation: fadeInUp 1.2s ease-out;
}

/* ✨ Main Title Styling */
.inner-title {
  font-size: 3.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  background: linear-gradient(90deg, #ffffff, #d1fff0, #a8ffe0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  font-family: "Poppins", "Montserrat", sans-serif;
  position: relative;
  transition: all 0.4s ease;
}

/* Subtle glowing animation on hover */
.inner-title:hover {
  transform: scale(1.03);
  text-shadow: 0 0 25px rgba(0, 255, 170, 0.6);
}

/* 🌈 Stylish underline effect */
.inner-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, #00a651, #00e6cc, #0099cc);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 166, 81, 0.5);
  animation: lineGlow 2.5s infinite alternate;
}

/* ✨ Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineGlow {
  from {
    box-shadow: 0 0 8px rgba(0, 166, 81, 0.4);
  }
  to {
    box-shadow: 0 0 18px rgba(0, 230, 204, 0.8);
  }
}

/* 📱 Responsive Adjustments */
@media (max-width: 992px) {
  .inner-baner-container {
    height: 340px;
  }

  .inner-title {
    font-size: 2.4rem;
    letter-spacing: 1.2px;
  }
}

@media (max-width: 600px) {
  .inner-baner-container {
    height: 260px;
  }

  .inner-title {
    font-size: 1.9rem;
    letter-spacing: 1px;
  }

  .inner-title::after {
    width: 70px;
    height: 3px;
  }
}






































/* ===== Transport Section ===== */
.course-result-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  font-family: "Poppins", sans-serif;
  margin-top: 60px;
}

/* Row Layout */
.course-result-section .row.feature-section {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  align-items: flex-start;
  margin-top: 50px;
}

/* Left Text Card */
.feature-left-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  flex: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 550px;
}

.feature-left-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

/* Right Image Card */
.feature-right-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  border-radius: 20px;
  background: #f1f9f7;
  padding: 10px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-right-content:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

/* Image Styling */
.feature-right-content .feature-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.6s ease;
}

.feature-right-content .feature-image img:hover {
  transform: scale(1.03);
}

/* Title Divider */
.title-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00a651, #0099cc);
  border-radius: 4px;
  margin-bottom: 25px;
}

/* Section Title */
.feature-course-title {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, #00a651, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 25px;
}

/* Paragraph Text */
.feature-course-desc,
.course-result-section p {
  font-size: 1.1rem;
  color: #004f3d;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .course-result-section .row.feature-section {
    flex-direction: column;
  }

  .feature-right-content {
    flex-direction: row; /* stacked vertically on mobile */
    gap: 10px;
  }

  .feature-right-content .feature-image img {
    width: 100%;
    height: 250px; /* adjust for mobile */
  }
}

@media (max-width: 600px) {
  .feature-left-content {
    padding: 25px;
  }

  .feature-course-title {
    font-size: 2rem;
  }

  .feature-right-content .feature-image img {
    height: 200px;
  }
}









































.nextgen-facilities-section {
  margin-top: 30px;
  margin-bottom: -60px;
  background: #f9fafc;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
  
}

/* 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("/NaseebKhan/assests/class\ room.png");
}
.nextgen-facilities-card:nth-child(2) {
  background-image: url("/NaseebKhan/assests/Computer\ Lab.png");
}
.nextgen-facilities-card:nth-child(3) {
  background-image: url("/NaseebKhan/assests/Science.png");
}
.nextgen-facilities-card:nth-child(4) {
  background-image: url("/NaseebKhan/assests/Library.png");
}
.nextgen-facilities-card:nth-child(5) {
  background-image: url("/NaseebKhan/Teacher_Image/ground.png");
}
.nextgen-facilities-card:nth-child(6) {
  background-image: url("/NaseebKhan/assests/camera.png");
}
.nextgen-facilities-card:nth-child(7) {
  background-image: url("/NaseebKhan/Teacher_Image/groundd.png");
}
.nextgen-facilities-card:nth-child(8) {
  background-image: url("/NaseebKhan/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;
  }
}