.program-banner {
  background-size: cover;
  background-position: center;
  height: 705px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Text ko left side par rakhne ke liye */
  padding-left: 50px; /* Left side se thoda space dene ke liye */
  color: white; /* Text ko readable banane ke liye */
}

.banner-content {
  max-width: 600px;
  animation: fadeInDown 1.5s ease-in-out;
  padding-top: 130px; /* Yeh line text ko neeche move kar rahi hai */
  padding-left: 50px;
}

.heading-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.main-heading {
  font-size: 80px;
  font-weight: bold;
  color: white;
  margin: 0;
}

.sub-heading {
  font-size: 30px;
  font-weight: bold;
  color: #f49d1a;
  margin-top: 30px;
}

.banner-content p {
  font-size: 20px;
  line-height: 1.5;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Bullet Points List */
.bullet-list {
  margin-top: 15px;
  padding-left: 0;
  display: flex;
  gap: 5px; /* Space aur kam kiya */
  flex-wrap: nowrap; /* Sab headings ek line me rakhne ke liye */
}

/* Bullet Items */
.bullet-list li {
  font-size: 18px;
  line-height: 1.6;
  list-style: none;
  position: relative;
  padding-left: -12px;
  white-space: nowrap;
  transition: color 0.3s ease-in-out;
  display: flex;
  align-items: center; /* Text aur "/" ko properly align karne ke liye */
}

/* Custom '/' Symbol */
.bullet-list li::before {
  content: "/";
  position: absolute;
  left: -3px; /* Thoda aur close karne ke liye */
  top: 16px; /* "/" ko thoda neeche shift kar diya */
  color: #f49d1a;
  font-size: 20px;
  font-weight: bold;
  line-height: 1; /* Yeh ensure karega ke "/" heading ke sath aligned ho */
}

/* Link Styles */
.bullet-list li a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease-in-out;
}

/* Hover Effect */
.bullet-list li a:hover {
  color: #f49d1a;
}



/* Existing styles remain unchanged */

/* Responsive Design */
@media (max-width: 1024px) {
  .program-banner {
    height: 700px; /* Further reduced banner height */
    padding-left: 30px;
    justify-content: flex-start; /* Move content to the left */
  }

  .banner-content {
    max-width: 90%;
    padding-top: 160px; /* Adjusted heading position */
    padding-left: 30px;
    text-align: left;
  }

  .main-heading {
    font-size: 55px;
  }

  .sub-heading {
    font-size: 25px;
    margin-bottom: 10px; /* Reduce space below sub-heading */
  }

  .banner-content hr {
    margin-bottom: 10px; /* Reduce space below the line */
  }

  .banner-content p {
    font-size: 18px;
    margin-bottom: 10px; /* Reduce space below paragraph */
  }

  .bullet-list {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .program-banner {
    height: 750px; /* Further reduced banner height */
    padding-left: 20px;
    text-align: left;
    justify-content: flex-start; /* Keep content left-aligned */
  }

  .banner-content {
    max-width: 100%;
    padding-top: 180px; /* Adjusted heading position */
    padding-left: 20px;
    padding-right: 10px;
    text-align: left;
  }

  .heading-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-heading {
    font-size: 45px; /* Reduced font size for smaller screens */
  }

  .sub-heading {
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 5px; /* Reduce space below sub-heading */
  }

  .banner-content hr {
    margin-bottom: 5px; /* Reduce space below the line */
  }

  .banner-content p {
    font-size: 16px;
    margin-bottom: 5px; /* Reduce space below paragraph */
  }

  .bullet-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .bullet-list li {
    padding-left: 0;
    font-size: 16px;
    width: 48%; /* Allow items to shift into two lines */
  }
}

@media (max-width: 480px) {
  .program-banner {
    height: 800px; /* Further reduced banner height */
    padding-left: 15px;
  }

  .banner-content {
    padding-top: 200px; /* Adjusted heading position */
  }

  .main-heading {
    font-size: 38px; /* Smaller heading size */
  }

  .sub-heading {
    font-size: 18px;
    margin-bottom: 5px; /* Reduce space below sub-heading */
  }

  .banner-content hr {
    margin-bottom: 5px; /* Reduce space below the line */
  }

  .banner-content p {
    font-size: 14px;
    margin-bottom: 5px; /* Reduce space below paragraph */
  }

  .bullet-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .bullet-list li {
    font-size: 14px;
    width: 100%; /* Stack items in two lines on smaller screens */
  }

  .bullet-list li::before {
    content: "/";
    position: absolute;
    left: -3px;
    top: 16px;
    color: #f49d1a;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
  }
}


                                /*   <!-- Description about program --> */
 /* Keyframes for down to up animation */
@keyframes downToUp {
  from {
      opacity: 0;
      transform: translateY(50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Section Styling */
.intermediate-section {
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #ecebeb; /* Light gray background */
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Content Styling */
.intermediate-section .content {
  background-color: transparent;
  padding: 10px 40px;
  border-radius: 10px;
  max-width: 1300px;
  width: 80%;
  margin-top: -100px;
  
  /* Initially hidden */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When .show class is added, animation should work */
.intermediate-section .content.show {
  opacity: 1;
  transform: translateY(0);
}

/* Heading Styling */
.intermediate-section .content h1 {
  font-size: 30px;
  font-weight: bolder;
  color: #640d6b;
  margin: 20px 0;
}

/* Paragraph Styling */
.intermediate-section .content p {
  font-size: 17px;
  font-weight: 400;
  color: #444;
  line-height: 1.4; /* Reduced line height for compact text */
  text-align: justify;
  font-family: 'Arial', sans-serif;
  margin-bottom: 10px; /* Less spacing below paragraphs */
}

/* Quotation Marks Styling */
.intermediate-section .content p q {
  display: inline-block;
  position: relative;
}

.intermediate-section .content p q::before,
.intermediate-section .content p q::after {
  font-size: 2em; /* Adjusted for better readability */
  font-weight: bold;
  color: #f49d1a;
  vertical-align: baseline;
  line-height: 1;
}

.intermediate-section .content p q::before {
  content: '“';
  margin-right: 5px;
}

.intermediate-section .content p q::after {
  content: '”';
  margin-left: 5px; /* Space before closing quote */
}
  /* General Spacing */
  .section-spacing {
    background-color: white; /* Apply the same background color */
    padding: 50px 0; /* Maintain vertical spacing, remove side padding */
    margin: 0; /* Remove extra margin */
    width: 100%; /* Ensure full width */
  }
  

/* Responsive Styling */
@media (max-width: 1024px) {
  .intermediate-section {
      height: auto;
      padding: 20px;
      margin-bottom: 80px;
  }

  .intermediate-section .content {
      width: 90%;
      padding: 10px 20px;
      margin-top: -40px;
  }

  .intermediate-section .content h1 {
      font-size: 26px;
  }

  .intermediate-section .content p {
      font-size: 15px;
      line-height: 1.3; /* Reduced further for smaller screens */
  }
}

@media (max-width: 768px) {
  .intermediate-section {
      height: auto;
      padding: 25px 15px;
      margin-bottom: 100px;
  }

  .intermediate-section .content {
      width: 95%;
      margin-top: -30px;
  }

  .intermediate-section .content h1 {
      font-size: 24px;
      margin: 15px 0;
  }

  .intermediate-section .content p {
      font-size: 14px;
      line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .intermediate-section {
      height: auto;
      padding: 30px 10px;
      margin-bottom: 120px;
  }

  .intermediate-section .content {
      width: 100%;
      margin-top: 0;
      padding: 10px 15px;
  }

  .intermediate-section .content h1 {
      font-size: 22px;
      margin: 12px 0;
  }

  .intermediate-section .content p {
      font-size: 14px;
      line-height: 1.2; /* Most compact for small screens */
  }
}



                                                      /* other pages links */


                                                      
/* Section Styling */
.custom-grid {
  background-color: #ecebeb; /* Light gray background */
  display: flex;
  justify-content: center;
  margin-top: -85px;
  align-items: center;
  border: 2px hidden red;
  
}

/* Grid Container */
.grid-container {
  position: relative;
  margin-top: 20px;
  width: 500px; /* Adjust based on the total layout width */
  height: 500px; /* Adjust based on total layout height */
}

/* Pop-up Effect on Hover */
.box:hover {
  transform: scale(1.04); /* Enlarges the box slightly */
  
 
}
/* Smooth Transition */
.box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ensure the box displays the background image */
.box {
  position: absolute; /* Keeps the structure you set */
  background-size: cover;
  background-position: center;
  color: white; /* Ensure text is visible over the image */
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Ensures the pseudo-element stays within the box */
}

/* Dark Overlay */
.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark shadow */
  z-index: 0; /* Keeps it behind the text */
}

/* Ensure content is on top */
.box a {
  position: relative;
  z-index: 1 !important; /* Text should be above the shadow */
  text-decoration: none !important; /* Removes underline */
  color: white; /* Makes sure the text is white */
}

/* Hover Effect on Each Box */
.box:hover {
  transform: scale(1.04); /* Enlarges the box slightly */
  box-shadow: 0 0 16px #8effff; /* Glowing cyan effect */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box h5{
  position: absolute;
  color: #f49d1a;
  text-decoration: none !important;
  font-size: 1.5rem;
  font-weight: bold;
}

.box h6{
  position: absolute;
  color: white;
  text-decoration: none !important;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Mobile View */
@media (max-width: 768px) {
  .box {
    width: 90%;
    margin: 10px auto;
  }

  .box::before {
  background-color: rgba(0, 0, 0, 0.7); /* Slightly darker overlay on small screens */
  }
}

/* Title Box */
.title {
  width: 340px;
  height: 100px;
  top: -17.5px;
  left: 85px;
}

/* Individual Boxes with Background Images */
.box1 {
  width: 340px;
  height: 110px;
  top: 85px;
  left: -93px;
  background-color: rgba(0, 0, 0, 0.7); 
}

.box2 {
  width: 340px;
  height: 110px;
  top: 85px;
  right: -90px;
  background-color: rgba(0, 0, 0, 0.7); 
}

.box3 {
  width: 340px;
  height: 110px;
  top: 198px;
  left: -93px;
  background-color: rgba(0, 0, 0, 0.7); 
}

.box4 {
  width: 340px;
  height: 110px;
  top: 198px;
  right: -90px;
  background-color: rgba(0, 0, 0, 0.7); 
}

.box5 {
  width: 340px;
  height: 100px;
  top: 310.5px;
  left: 85px;
  background-color: rgba(0, 0, 0, 0.7); 
}

/* Links Styling */
.box a {
  text-decoration: none !important; /* Removes underline */
  color: white; /* Makes sure the text is white */
}

/* Responsiveness */
@media (max-width: 768px) {
  .grid-container {
    width: 100%;
    height: auto;
    flex-direction: column;
  }

  .box {
    position: static;
    margin: 10px auto;
  }
  .box::before {
    display: none;
  }

  .title,
  .box1,
  .box2,
  .box3,
  .box4,
  .box5 {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .box {
    background-color: rgba(0, 0, 0, 0.7) !important; /* Dark Gray Background */
    background-blend-mode: multiply; /* Mix Image with Background Color */
  }
}


