.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 */
}

/* Add padding-top to move text down */
.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: 50px;
  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: 10px; /* Yeh upar aur neeche ka gap kam karega */
  padding-left: 0;
  display: flex;
  gap: 30px; /* Gap ko kam karne ke liye */
  flex-wrap: wrap;
  align-items: center; /* Ensure proper alignment */
}
/* Bullet Items */
.bullet-list li {
  font-size: 18px;
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
}


/* Custom '/' Symbol */
.bullet-list li::before {
  content: "/";
  position: absolute;
  left: -15px; /* Thoda aur close karne ke liye */
  top: -1px; /* "/" ko thoda neeche shift kar diya */
  color: #f49d1a;
  font-size: 20px;
  font-weight: bold;
}

/* Link Styles */
.bullet-list li a {
  display: inline-block;
  padding: 2px 0; /* Extra padding hatane ke liye */
}
.bullet-list li: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-top: 20px;
    border: 2px hidden red;
  }
  
  /* Content Styling */
  .intermediate-section .content {
    background-color: transparent;
    border: 2px hidden blue;
    padding: 10px 40px;
    border-radius: 10px;
    max-width: 1100px;
    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);
}
  
  .intermediate-section .content h1 {
    font-size: 34px;
    font-weight: bolder;
    color: #640d6b;
    margin: 28px;
  }
  
 
/* Paragraph Styling */
.intermediate-section .content p {
  font-size: 17px;
  font-weight: 400;
  color: #444;
  line-height: 1.6; /* 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: 0.9;
}

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

.intermediate-section .content p q::after {
  content: '”';
  margin-left: 5px; /* Space before closing quote */
  border: 2px hidden red;
}
 

/* 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: -40px;
    align-items: center;
    border: 2px hidden red;
    
  }
  
  /* Grid Container */
  .grid-container {
    position: relative;
    margin-top: 20px;
    margin-bottom: 50px;
    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; /* Required for the pseudo-element */
    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; /* Text should be above the shadow */
    text-decoration: none;
    color: white;
  }
  
  /* 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 */
    }
  }
  
  
/* Make the whole box clickable */
.title {
  display: inline-block;
  text-decoration: none;
}

/* Title Box */
.title .box {
  width: 340px;
  height: 90px;
  position: relative;
  top: 125px;
  left: 80px;
  z-index: 2;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 10px #ffffff;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect */
.title:hover .box {
  transform: scale(1.04);
  box-shadow: 0 0 16px white;
}

/* Title Text */
.title h1 {
  font-size: 1.8rem;
  color: #f49d1a;
  text-shadow: 5px 5px 10px black;
  margin: 0;
  position: relative; /* Ensure text stays on top */
  z-index: 3; /* Keep text above background */
}

  
 /* Poora box clickable banane ke liye */
.box-link {
  text-decoration: none; /* Underline hatane ke liye */
  display: inline-block;
}
/* Ensure text stays above the background */
.box-text {
  position: relative;
  z-index: 2; /* Text ko upar lane ke liye */
}

/* Box Styling */
.box1 {
  width: 180px;
  height: 130px;
  position: absolute;
  top: 40px; 
  left: -102px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white; /* Text white rahega */
  font-size: 18px;
  font-weight: bold;
}
/* Pop-up Effect on Hover */
.box1:hover {
  transform: scale(1.04);
  box-shadow: 0 0 16px #8effff;
  z-index: 2;
}
/* Box Styling */
.box2 {
  width: 190px;
  height: 130px;
  position: absolute;
  top: 40px;
  right: -112px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white; /* Text white rahega */
  font-size: 18px;
  font-weight: bold;
}
  /* Pop-up Effect on Hover */
  .box2:hover {
    transform: scale(1.04); /* Enlarges the box slightly */
    box-shadow: 0 0 16px  #8effff;
    z-index: 2; /* Ensure it appears above the other boxes */
  }
  
 /* Box Styling */
.box3 {
  width: 180px;
  height: 130px;
  position: absolute;
  top: 172px;
  left: -102px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white; /* Text white rahega */
  font-size: 18px;
  font-weight: bold;
}
  
  /* Pop-up Effect on Hover */
  .box3:hover {
    transform: scale(1.04); /* Enlarges the box slightly */
    box-shadow: 0 0 16px  #8effff;
    z-index: 2; /* Ensure it appears above the other boxes */
  }
  
  /* Box Styling */
.box4 {
  width: 190px;
  height: 130px;
  position: absolute;
  top: 172px;
  right: -112px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white; /* Text white rahega */
  font-size: 18px;
  font-weight: bold;
  background-size: cover; /* Background image ko cover karne ke liye */
}
  /* Pop-up Effect on Hover */
  .box4:hover {
    transform: scale(1.04); /* Enlarges the box slightly */
    box-shadow: 0 0 16px  #8effff;
    z-index: 2; /* Ensure it appears above the other boxes */
  }
  
 /* Box Styling */
.box5 {
  width: 180px;
  height: 130px;
  top: 40px; /* Move up */
  left: -283px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  background-size: cover;
  position: absolute; /* Ensures background stays properly aligned */
}
  /* Pop-up Effect on Hover */
  .box5:hover {
    transform: scale(1.04); /* Enlarges the box slightly */
    box-shadow: 0 0 16px  #8effff;
    z-index: 2; /* Ensure it appears above the other boxes */
  }
  
 /* Box Styling */
.box6 {
  width: 190px;
  height: 130px;
  top: 40px; /* Move up */
    right: -304px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  background-size: cover;
  position: absolute; /* Ensures background stays properly aligned */
}
  /* Pop-up Effect on Hover */
  .box6:hover {
    transform: scale(1.04); /* Enlarges the box slightly */
    box-shadow: 0 0 16px  #8effff;
    z-index: 2; /* Ensure it appears above the other boxes */
  }
  
/* Box Styling */
.box7 {
  width: 180px;
  height: 130px;
  top: 172px; /* Move down */
  left: -284px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  background-size: cover;
  position: absolute; /* Ensures background stays properly aligned */
}
  /* Pop-up Effect on Hover */
  .box7:hover {
    transform: scale(1.04); /* Enlarges the box slightly */
    box-shadow: 0 0 16px  #8effff;
    z-index: 2; /* Ensure it appears above the other boxes */
  }
  
  /* Box Styling */
.box8 {
  width: 190px;
  height: 130px;
  top: 173px; /* Move down */
  right: -304px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  background-size: cover;
  position: absolute; /* Ensures background stays properly aligned */
  }
  
  /* Pop-up Effect on Hover */
  .box8:hover {
    transform: scale(1.04); /* Enlarges the box slightly */
    box-shadow: 0 0 16px  #8effff;
    z-index: 2; /* Ensure it appears above the other boxes */
    
  }

 /* Box Styling */
.box9 {
  width: 168px;  /* Div ki width */
  height: 83px; /* Div ki height */
  top: 40px; /* Move up */
  left: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  background-size: cover;
  position: absolute; /* Ensures background stays properly aligned */
}
    /* Pop-up Effect on Hover */
    .box9:hover {
      transform: scale(1.04); /* Enlarges the box slightly */
      box-shadow: 0 0 16px  #8effff;
      z-index: 2; /* Ensure it appears above the other boxes */
    }

  /* Box Styling */
.box10 {
  width: 170px;  
  height: 83px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  background-size: cover;
  position: absolute; /* Ensures background stays properly aligned */
  top: 40px; /* Move up */
  left: 250px;
 }
      
        /* Pop-up Effect on Hover */
        .box10:hover {
          transform: scale(1.04); /* Enlarges the box slightly */
          box-shadow: 0 0 16px  #8effff;
          z-index: 2; /* Ensure it appears above the other boxes */
        }
  
        /* Styling for the box */
.box11 {
  width: 168px;
  height: 83px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  position: absolute; /* Keeps the background image aligned */
  top: 218px; /* Move up */
  left: 80px;
   }
          
 /* Pop-up Effect on Hover */
 .box11:hover {
   transform: scale(1.04); /* Enlarges the box slightly */
   box-shadow: 0 0 16px  #8effff;
   z-index: 2; /* Ensure it appears above the other boxes */
 }
        
.box12 {
    width: 170px;
    height: 83px;
    top: 218px; /* Move up */
    left: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    text-align: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
  }
  
    /* Pop-up Effect on Hover */
    .box12:hover {
      transform: scale(1.04); /* Enlarges the box slightly */
      box-shadow: 0 0 16px  #8effff;
      z-index: 2; /* Ensure it appears above the other boxes */
    }

  .box13 {
      width: 340px;
      height: 90px;
      top: -52px; /* Move title box down */
      left: 80px;
      display: flex;
      justify-content: center;
      align-items: center;
      background-size: cover;
      text-align: center;
      color: white;
      font-size: 18px;
      font-weight: bold;
      position: absolute; /* Keeps background image aligned */
    }

     /* Pop-up Effect on Hover */
 .box13:hover {
   transform: scale(1.04); /* Enlarges the box slightly */
   box-shadow: 0 0 16px  #8effff;
   z-index: 2; /* Ensure it appears above the other boxes */
 }

 .box14 {
   width: 300px;
   height: 90px;
   top: 303px; /* Move title box down */
   left: -52px;
   background-size: cover;
   background-position: center;
   display: flex;
   justify-content: center;
   align-items: center;
   text-align: center;
   color: white;
   font-size: 18px;
   font-weight: bold;
   position: absolute; /* Keeps background image aligned */
 }

     /* Pop-up Effect on Hover */
 .box14:hover {
   transform: scale(1.04); /* Enlarges the box slightly */
   box-shadow: 0 0 16px  #8effff;
   z-index: 2; /* Ensure it appears above the other boxes */
 }

 .box15 {
   width: 300px;
   height: 90px;
   top: 303px; /* Move title box down */
   left: 250px;
   background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  position: absolute; /* Keeps background image aligned */
 }

     /* Pop-up Effect on Hover */
 .box15:hover {
   transform: scale(1.04); /* Enlarges the box slightly */
   box-shadow: 0 0 16px  #8effff;
   z-index: 2; /* Ensure it appears above the other boxes */ 
 }

.box16 {
  width: 90px;
  height: 263px;
  top: 40px; /* Move title box down */
  right:-396px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  float: right;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  position: absolute; /* Keeps background image aligned */
}

    /* Pop-up Effect on Hover */
.box16:hover {
  transform: scale(1.04); /* Enlarges the box slightly */
  box-shadow: 0 0 16px  #8effff;
  z-index: 2; /* Ensure it appears above the other boxes */
}
 .box17 {
   width: 90px;
   height: 263px;
   top: 40px; /* Move title box down */
   left: -376px;
   writing-mode: vertical-rl;
   text-orientation: mixed;
   background-size: cover;
  background-position: center;
   float: right;
   display: flex;
   justify-content: center;
   align-items: center;
   color: white;
   font-size: 18px;
   font-weight: bold;
   position: absolute; /* Keeps background image aligned */
 }

    /* Pop-up Effect on Hover */
.box17:hover {
  transform: scale(1.04); /* Enlarges the box slightly */
  box-shadow: 0 0 16px  #8effff;
  z-index: 2; /* Ensure it appears above the other boxes */
}
          
  /* Links Styling */
  .box a {
    text-decoration: none;
    color: white;
  }


  @media (max-width: 768px) {
    .grid-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      height: auto;
      width: 100%;
      position: relative;
      flex-direction: column;
    }
  
    .box {
      position: static !important;
      margin: 10px auto;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: rgba(50, 50, 50, 0.8) !important; /* ✅ Dark Gray Background */
      background-size: cover;
      background-position: center;
      background-blend-mode: darken; /* ✅ Ensures Dark Background & Image Together */
      color: white;
      text-decoration: none;
    }
  
    .title {
      width: 100% !important;            /* Full width */
      display: block !important;         /* Force block so it expands */
      margin-left: 30px;
      margin-bottom: 20px !important;
    }
    .title .box {
      width: 100% !important;            /* Make the inner .box stretch too */
      height: 130px !important;
      background-size: cover;            /* Optional: better bg image handling */
    }
  
    .title,
    .box1,
    .box2,
    .box3,
    .box4,
    .box5,
    .box6,
    .box7,
    .box8,
    .box9,
    .box10,
    .box11,
    .box12,
    .box13,
    .box14,
    .box15,
    .box16,
    .box17 {
      width: 90% !important;   /* ✅ Ensure all boxes are responsive */
      height: 130px !important;
      font-size: 22px;
    }
  
    .box16,
    .box17 {
      writing-mode: horizontal-tb;
      transform: translateX(-30px);
    }
  
    .box::before {
      display: none !important;
      transform: scale(1.04); /* Enlarges the box slightly */
      box-shadow: 0 0 16px  #8effff;
    }
  }
  