 
      @media (min-width: 1200px) {
        
        .container,
        .container-lg,
        .container-md,
        .container-sm,
        .container-xl {
          max-width: fit-content;
             text-decoration: none;
        }
      }
      .main-header {
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      }

     
      .navbar-nav {
        display: flex;
        flex-wrap: nowrap;
        white-space: nowrap;
      }

      .nav-link {
        color: #212529;
        font-weight: 500;
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem !important;
        white-space: nowrap;
      }

      .nav-link.active {
        color: #0c136d;
        font-weight: 600;
      }

      .navbar-toggler {
        border: none;
        font-size: 1.25rem;
        color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
      }
/* Hide dropdown by default */
.nav-item .dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  padding: 0.5rem 0;
  list-style: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Show dropdown on hover */
.nav-item:hover .dropdown-menu {
  display: block;
}

/* Style dropdown links */
.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
}

.dropdown-item:hover {
  background-color: #f2f2f2;
}
    
      @media (max-width: 991.98px) {
        .navbar-collapse {
          margin-top: 0.5rem;
        }

        .navbar-nav {
          flex-direction: column;
          width: 100%;
          padding: 0.5rem 0;
        }

        .nav-item {
          width: 100%;
          border-bottom: 1px solid #f0f0f0;
        }

        .nav-item:last-child {
          border-bottom: none;
        }

        .nav-link {
          padding: 0.75rem 1rem !important;
          display: block;
        }
      }
    
    
      :root {
        --primary-color: #0c136d;
        --secondary-color: #003049;
        --accent-color: #c21010;
        --light-color: #f8f9fa;
        --dark-color: #212529;
        --text-color: #333333;
        --text-light: #6c757d;
      }

      body {
        font-family: "Open Sans", sans-serif;
        color: var(--text-color);
        overflow-x: hidden;
        padding-top: 0;
           text-decoration: none;
        
      }

      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        font-family: "Poppins", sans-serif;
        font-weight: 600;
           text-decoration: none;
      }
      

      a {
        text-decoration: none;
        transition: all 0.3s ease;

      }
.facility-wrapper {
    
    padding: 40px 20px;
  }

  .facility-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin: auto;
  }

  .facility-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
  }

  .facility-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: 0.3s ease;
    background: #fff;
  }

  .facility-item:hover {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
    transform: translateY(-4px);
  }

  .facility-icon {
    min-width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.2rem;
  }

  .facility-text {
    font-size: 1.05rem;
    color: #1f2937;
    line-height: 1.6;
  }

  @media (max-width: 640px) {
    .facility-card {
      padding: 24px;
    }
    .facility-wrapper {
      padding: 24px 12px;
    }
    .facility-list {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  }
  
    .top-bar {
  background-color: #891515;
  color: #ffffff;
  font-size: 16px;
  padding: 25px 20px;       
  
}


      .top-bar a {
        color: white;
      }

      .contact-info i {
        margin-right: 5px;
      }

      .social-icons a {
        color: white;
        font-size: 16px;
        transition: transform 0.3s;
      }

      .social-icons a:hover {
        transform: translateY(-2px);
        color: var(--accent-color);
      }

      .main-header {
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        z-index: 1030;
      }

      .main-header.shadow-sm {
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
      }

      .logo-container {
        display: flex;
        align-items: center;
      }

      .logo-text {
        font-size: 18px;
        font-weight: 700;
        color: var(--primary-color);
        margin-left: 10px;
      }

      .navbar-toggler:focus {
        box-shadow: none;
      }

      .nav-link {
        color: var(--dark-color);
        font-weight: 500;
        padding: 0.5rem 1rem !important;
        position: relative;
      }

      .nav-link.active {
        /*color: var(--primary-color);*/
      }

      .nav-link:after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        bottom: 0;
        left: 1rem;
        transition: width 0.3s;
      }

      .nav-link:hover:after,
      .nav-link.active:after {
        width: calc(100% - 2rem);
      }

      .hero-slider {
        position: relative;
        overflow: hidden;
      }

      .hero-slider img {
        width: 100%;
        height: auto;
        object-fit: cover;
        min-height: 400px;
      }

      .carousel-caption {
        background: rgba(0, 0, 0, 0.6);
        padding: 20px;
        border-radius: 5px;
      }

      .carousel-caption h5 {
        font-size: 2rem;
      }

      
      .marquee {
        background: var(--light-color);
        padding: 12px 0;
        margin: 20px 0;
      }

      .marquee h6 {
        color: var(--primary-color);
        margin: 0;
        font-weight: 600;
      }

      .section-title {
        text-align: center;
        margin-bottom: 30px;
        
      }

      .section-title h2 {
        color: var(--primary-color);
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
        
      }

      .section-title h2 span {
        color: var(--accent-color);
        
      }

      .section-title h2:after {
        content: "";
        position: absolute;
        width: 60px;
        height: 3px;
        background: var(--primary-color);
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        
      }

      .section-title p {
        color: var(--text-light);
        max-width: 700px;
        margin: 15px auto 0;
      }

     
      .info-box {
        background: white;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        padding: 30px;
        text-align: center;
        height: 100%;
        transition: transform 0.3s, box-shadow 0.3s;
        border-bottom: 4px solid var(--primary-color);
           text-decoration: none;
      }

      .info-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
           text-decoration: none;
      }

      .info-box h3 {
        color: var(--primary-color);
        margin-top: 15px;
        text-decoration: none;
  

      }

     
      .course-card {
        background: white;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
      }

      .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      }

      .course-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
      }

      .course-content {
        padding: 20px;
      }

      .course-content h3 {
        color: var(--primary-color);
        margin-bottom: 15px;
      }

      .course-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .course-content li {
        padding: 5px 0;
        position: relative;
        padding-left: 20px;
      }

      .course-content li:before {
        content: "\f00c";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        left: 0;
        color: var(--accent-color);
      }

 
      .gallery-section {
        background: #fff;
        
      }

      .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        margin-top: 30px;
      }

      @media (min-width: 576px) {
        .gallery-grid {
          grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        }
      }

      .gallery-item {
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s;
      }

      .gallery-item:hover {
        transform: scale(1.03);
      }

      .gallery-item img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        transition: transform 0.5s;
      }

      @media (min-width: 576px) {
        .gallery-item img {
          height: 200px;
        }
      }

      .gallery-item:hover img {
        transform: scale(1.1);
      }

      .admission-section {
        background: #f8f9fa;

          
        color: white;
        padding: 60px 0;
        text-align: center;
      }

      .admission-section h2 span {
        color: #c21010;
      }

      .admission-section .section-title h2:after {
        background: #0c136d;
      }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}


.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
  animation: zoomIn 0.3s ease;
}


.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}


.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }


.lightbox-counter {
  position: absolute;
  bottom: 20px;
  color: #fff;
  font-size: 16px;
  opacity: 0.8;
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


@media (max-width: 600px) {
  .lightbox-nav {
    font-size: 45px;
  }
}
      .poster {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
      }

      .poster img {
        width: 100%;
        height: auto;
      }
.hero-slider {
  max-height: 1000px;   
  overflow: hidden;
}

.carousel-item {
  height: 750px;
}

.carousel-img {
  height: 100%;
  object-fit: cover;   
}
@media (max-width: 768px) {
  .carousel-item {
    height: 30vh; 
    min-height: 220px;
  }
}

    .about-text {
  line-height: 1.7;
  color: #4a5568;
  text-align: justify;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.skills-list {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

.skills-list li {
  margin-bottom: 0.5rem;
  color: #2d3748;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .about-text,
  .skills-list li {
    font-size: 1rem;
  }
}
      .footer {
           text-decoration: none;
        background: #190f3c;
        color: white;
        padding: 60px 0 20px;
      }

      .footer h4 {
        color: white;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
      }


      @media (max-width: 991.98px) {
        .footer h4:after {
          left: 50%;
          transform: translateX(-50%);
        }
      }

      .footer h4 span {
        color: #e8d9d9;
      }

      .footer p {
        color: rgba(255, 255, 255, 0.7);
        
      }

      .footer ul {
        
        list-style: none;
        padding: 0;
      }

      .footer ul li {
        margin-bottom: 10px;
      }

      .footer ul li a {
           text-decoration: none;
        color: rgba(255, 255, 255, 0.7);
        transition: all 0.3s;
      }

      .footer ul li a:hover {
        color: white;
        padding-left: 5px;
      }

      .social-links {
        display: flex;
        gap: 15px;
      }

      .social-links a {
           text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border-radius: 50%;
        font-size: 18px;
        transition: all 0.3s;
      }

      .social-links a:hover {
        background: var(--accent-color);
        transform: translateY(-3px);
      }

      .copyright {
        text-align: center;
        padding-top: 20px;
        margin-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.5);
      }

      
      .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999;
      }

      .popup-box {
        background-color: white;
        padding: 30px;
        border-radius: 10px;
        max-width: 500px;
        width: 90%;
        text-align: center;
        position: relative;
        animation: popupFadeIn 0.5s;
        text-decoration:none;
      }

      @keyframes popupFadeIn {
        from {
          opacity: 0;
          transform: translateY(-20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .popup-close {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 24px;
        color: var(--text-light);
        cursor: pointer;
        transition: color 0.3s;
      }

      .popup-close:hover {
        color: var(--accent-color);
      }

      .popup-box p:first-child {
        font-size: 24px;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 10px;
      }

      .popup-box p:nth-child(2) {
        font-size: 18px;
        color: var(--text-color);
        margin-bottom: 20px;
      }

      .blink {
        color: var(--accent-color);
        font-weight: 700;
        animation: blink 1s infinite;
      }

      @keyframes blink {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0.5;
        }
      }

      .popup-btn {
        display: inline-block;
        padding: 12px 30px;
        background: var(--primary-color);
        color: white;
        border-radius: 50px;
        font-weight: 600;
        transition: all 0.3s;
      }

      .popup-btn:hover {
        background: var(--accent-color);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(194, 16, 16, 0.3);
      }

      .btn-primary {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
      }

      .btn-primary:hover {
        background-color: #0a0f5a;
        border-color: #0a0f5a;
      }

      @media (max-width: 1199.98px) {
        .logo-text {
          font-size: 16px;
        }
      }

      @media (max-width: 991.98px) {
        .navbar-collapse {
          background: white;
          padding: 20px;
          margin-top: 10px;
          border-radius: 5px;
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }

        .nav-link:after {
          display: none;
        }

        .hero-slider img {
          min-height: 350px;
        }
      }

      @media (max-width: 767.98px) {
        .top-bar {
          text-align: center;
          padding: 10px 0;
        }

        .contact-info span {
          display: block;
          margin-bottom: 5px;
        }

        .contact-info span:last-child {
          margin-bottom: 0;
        }

        .social-icons {
          justify-content: center;
          margin-top: 10px;
        }

        .logo-container {
          justify-content: center;
        }

        .hero-slider img {
          min-height: 300px;
        }

        .marquee h6 {
          font-size: 14px;
        }

        .section-title h2 {
          font-size: 28px;
        }

        .info-box {
          padding: 20px 15px;
             text-decoration: none;
        }

        .info-box i {
          font-size: 2.5rem !important;
             text-decoration: none;
        }
      }

      @media (max-width: 575.98px) {
        .top-bar {
          font-size: 12px;
        }

        .logo-text {
          font-size: 14px;
        }

        .hero-slider img {
          min-height: 250px;
        }

        .section-title h2 {
          font-size: 24px;
        }

        .popup-box p:first-child {
          font-size: 20px;
        }

        .popup-box p:nth-child(2) {
          font-size: 16px;
        }

        .gallery-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }
 
      .gallery-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
        padding: 40px;
      }

      .gallery-item {
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      }

      .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
        cursor: pointer;
      }

      .gallery-item img:hover {
        transform: scale(1.08);
      }

   
      .sub-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: inline-flex;
        gap: 20px;
      }

      .sub-nav a {
        color: #333;
        padding: 8px 14px;
        text-decoration: none;
        transition: all 0.3s ease;
      }

      .sub-nav a:hover,
      .sub-nav a.active {
        color: #007bff;
      
      }
  
 
      .admission-section {
        padding: 25px 20px;
        background-color: #fff;
      }

      .admission-box {
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
        height: 100%;
      }

    
      .admission-info {
        background: #891515;
        color: #ffffff;
      }
      .admission-info h2 {
        font-size: 1.8rem;
        font-weight: 700;
      }
      .admission-info p {
        color: #ffffff;
      }
      .contact-list {
        list-style: none;
        padding: 0;
      }
      .contact-list li {
        margin-bottom: 0.5rem;
      }
      .contact-list i {
        color: #ffffff;
        margin-right: 0.5rem;
      }

    
      .admission-form h4 {
        text-align: center;
        color: #1e293b;
        margin-bottom: 1.5rem;
        font-weight: 600;
      }
      .btn-apply {
        background: #2563eb;
        color: #e01c1c;
        border: none;
        padding: 0.6rem 2rem;
        border-radius: 6px;
        transition: background 0.3s;
      }
      .btn-apply:hover {
        background: #1d4ed8;
      }
    
 
      .contact-section {
        padding: 80px 20px;
        background: #fff;
        font-family: Arial, sans-serif;
      }

      .contact-title {
        text-align: center;
        margin-bottom: 50px;
      }

      .contact-title h2 {
        font-size: 2.2rem;
        color: #003366;
        margin-bottom: 10px;
        position: relative;
        display: inline-block;
      }

      .contact-title h2 span {
        color: #007bff;
      }

      .contact-title p {
        color: #555;
        max-width: 600px;
        margin: 0 auto;
        font-size: 1rem;
        line-height: 1.5;
      }

      .contact-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 24px;
      }

      .contact-box {
        background: #190f3c;
        padding: 24px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        text-align: left;
      }

      .contact-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
      }

      .contact-box h2,
      .contact-box h4 {
        color: #fff;
        margin-bottom: 12px;
      }

      .contact-box p {
        color: #fff;
        font-size: 0.95rem;
        margin: 4px 0;
      }

      .contact-box a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
      }

      .contact-box a:hover {
        color: #fff;
        text-decoration: underline;
      }

      @media (max-width: 768px) {
        .contact-title h2 {
          font-size: 1.8rem;
        }
      }
 .placement-container {
    max-width: 900px;
    margin: auto auto;
    padding: 30px;
    background-color: #f9fafc;
    border-left: 6px solid #1e73be;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: "Segoe UI", Arial, sans-serif;
}

.placement-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #1e73be;
    font-weight: 600;
}

.placement-container p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.placement-container strong {
    color: #000;
    font-weight: 600;
}


@media (max-width: 600px) {
    .placement-container {
        padding: 20px;
    }

    .placement-container h2 {
        font-size: 20px;
    }

    .placement-container p {
        font-size: 15px;
    }
}

   .custom-courses {
    padding: 60px 0;
    background: #f4f7fb;
    font-family: "Poppins", sans-serif;
}

      .custom-courses .con-title {
        text-align: center;
        margin-bottom: 40px;
      }

      .custom-courses .con-title h2 {
        font-size: 2rem;
        color: #003366;
      }

      .custom-courses .con-title h2 span {
        color: #007bff;
      }

      .custom-courses .con-title p {
        color: #555;
        max-width: 600px;
        margin: 10px auto 0;
        font-size: 1rem;
      }

      .courses-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
      }

      .course-card {
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s, box-shadow 0.3s;
      }

      .course-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
      }

      .course-card h4 {
        color: #f1f0f0;
        font-size: 1.2rem;
        border-bottom: 2px solid #eaedf0;
        padding-bottom: 8px;
        margin-bottom: 12px;
      }

      .course-card h1 {
        color: #496185;
        font-size: 1.2rem;
        border-bottom: 2px solid #eaedf0;
        padding-bottom: 8px;
        margin-bottom: 12px;
      }
      .course-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .course-card li {
        margin: 8px 0;
      }

      .course-card a {
        color: #007bff;
        text-decoration: none;
        font-weight: 500;
        position: relative;
        padding-right: 14px;
        transition: color 0.3s ease;
      }

      .course-card a::after {
        content: "→";
        position: absolute;
        right: 0;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
      }

      .course-card a:hover {
        color: #0056b3;
      }

      .course-card a:hover::after {
        opacity: 1;
        transform: translateX(0);
      }

      .course-card p {
        margin: 0;
      }

      .course-card p a {
        color: #007bff;
        text-decoration: underline;
        transition: color 0.3s;
      }

      .course-card p a:hover {
        color: #0056b3;
      }
   
      .gallery-header {
        padding: 40px 0;
        text-align: center;
      }

      .nav-list a {
        text-decoration: none;
        color: #333;
        border-radius: 4px;
        transition: background 0.3s;
      }
      .nav-list a.active,
      .nav-list a:hover {
        background: #190f3c;
        color: #fff;
      }

      .gallery-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
      }

      .gallery-item {
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background: #fff;
      }

      .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
        cursor: pointer;
      }

      .gallery-item img:hover {
        transform: scale(1.05);
      }
   

      .gallery-header {
        padding: 40px 0;
        text-align: center;
      }

      .nav-list a {
        padding: 0.5rem 1rem;
        text-decoration: none;
        color: #333;
        border-radius: 4px;
        transition: background 0.3s;
      }
      .nav-list a.active,
      .nav-list a:hover {
        background: #190f3c;
        color: #fff;
      }

      .video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
      }

      .video-item video {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background: #000;
      }

      .program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 10px;
}


.program-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.25);
}

.program-card.orange { background: linear-gradient(to right, #f39c12, #e67e22); }
.program-card.blue   { background: linear-gradient(to right, #3498db, #2980b9); }
.program-card.green  { background: linear-gradient(to right, #2ecc71, #27ae60); }
.program-card.red    { background: linear-gradient(to right, #e74c3c, #c0392b); }
.program-card.purple { background: linear-gradient(to right, #9b59b6, #8e44ad); }
.program-card.teal {
  background: linear-gradient(to right, #1abc9c, #16a085);
}

.program-card.yellow {
  background: linear-gradient(to right, #f1c40f, #f39c12);
}

.program-card.pink {
  background: linear-gradient(to right, #fd79a8, #e84393);
}

.program-card.cyan {
  background: linear-gradient(to right, #00cec9, #0984e3);
}

.program-card.brown {
  background: linear-gradient(to right, #a97142, #8e5a2b);
}

.program-card.gray {
  background: linear-gradient(to right, #95a5a6, #7f8c8d);
}

.program-card.black {
  background: linear-gradient(to right, #2c3e50, #000000);
}

.program-card.lime {
  background: linear-gradient(to right, #a3e635, #65a30d);
}

.program-card.indigo {
  background: linear-gradient(to right, #6366f1, #4338ca);
}

.program-card.rose {
  background: linear-gradient(to right, #fb7185, #e11d48);
}

.program-card { color: white; }


.program-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: bold;
    text-transform: uppercase;
}


.program-card p {
    font-size: 15px;
    margin-bottom: 18px;
    font-weight: 500;
}


.view-syllabus-btn {
    display: inline-block;
    padding: 12px 18px;
    background: linear-gradient(to right, #ffffff, #f1f1f1);
    color: #333;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

.view-syllabus-btn:hover {
    background: linear-gradient(to right, #f1c40f, #e67e22);
    color: white;
    transform: scale(1.08);
    border: 2px solid white;
}


.view-syllabus-btn:disabled {
    background: #ddd;
    color: #888;
    cursor: not-allowed;
}
.hero-logos {
  padding: 40px 0;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px; 
  flex-wrap: wrap; 
}

.logo-card {
  width: 230px;  
  height: 150px; 
  background: white;
  padding: 15px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.logo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.logo-card:hover img {
  transform: scale(1.05);
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  flex-wrap: wrap;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 100px;
  place-items: center;
}

@media (max-width: 576px) {
  .logo-row {
    flex-wrap: nowrap;     
    gap: 10px;
  }

  .logo-card {
    width: 80px;           
    height: 80px;
    padding: 6px;
    flex-shrink: 0;        
  }

  .logo-card img {
    width: 100%;
    height: 100%;
  }
}
.info-box-link {
  text-decoration: none;
  color: inherit; 
}

.info-box-link:hover,
.info-box-link:focus {
  text-decoration: none;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    max-width: 90%;
    width: 520px;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.25);
    position: relative;
    text-align: center;
}


.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    color: red;
    font-size: 22px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.close-modal:hover {
    color: #c0392b;
}

   .custom-courses {
  padding: 60px 0;
  background: #ffffff;
  font-family: "Poppins", sans-serif;
}

.section-title h2 {
    text-align: center;
    font-size: 45px;
    margin-bottom: 20px;
}
.section-title span {
  color: #007bff;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.course-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0px 4px 16px rgba(0,0,0,0.1);
  transition: .3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 8px 25px rgba(0,0,0,0.15);
}

.course-card h4 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 600;
}


.sub-card {
  background: #ffffff;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 10px;
  font-weight: 500;
  transition: .3s;
  display: block;
  border-left: 6px solid transparent;
}

.sub-card a {
  color: #222;
  text-decoration: none;
}

.sub-card:hover {
  transform: translateX(8px);
  background: rgba(255,255,255,0.9);
}


.mou-wrapper {
    padding: 40px 20px;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

.mou-container {
    max-width: 1100px;
    margin: auto;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 8px;
}


.mou-header h1 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.mou-header hr {
    width: 80px;
    margin: 0 auto 30px;
    border: 2px solid #007BFF;
}


.mou-content p {
    text-align: start;
    font-size: 17px;
    margin-bottom: 20px;
    color: #555;
}


.mou-partners h1,
.mou-eligibility h1,
.mou-highlights h1 {
    font-size: 26px;
    color: #007BFF;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    font-size: 15px;
    text-align: left;
}

table th {
    background-color: #007BFF;
    color: #fff;
    text-align: center;
}

table tr:nth-child(even) {
    background-color: #f5f5f5;
}


.mou-eligibility ul,
.mou-highlights ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.mou-eligibility li,
.mou-highlights li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}


@media (max-width: 768px) {
    .mou-container {
        padding: 20px;
    }

    .mou-header h1 {
        font-size: 24px;
    }

    table th, table td {
        padding: 8px 10px;
        font-size: 14px;
    }
}


        h2 {
            text-align: center;
            margin-bottom: 20px;
        }

        table {
            width: 95%;
            margin: auto;
            border-collapse: collapse;
            background: #ffffff;
        }

        th, td {
            border: 1px solid #000;
            padding: 10px;
            text-align: center;
            vertical-align: middle;
        }

        th {
            background-color: #e0e0e0;
            font-weight: bold;
        }

        td img {
            width: 100px;
            height: 120px;
            object-fit: cover;
            border: 1px solid #333;
        }

        .company {
            font-size: 14px;
        }

        .salary {
            font-weight: bold;
        }

.mech {
  border-top: 6px solid #ff8c00;
}
.mech .sub-card { border-color: #ff8c00; }
.mech .sub-card:hover { background: #ffefd8; }


.elec {
  border-top: 6px solid #007bff;
}
.elec .sub-card { border-color: #007bff; }
.elec .sub-card:hover { background: #dbe9ff; }


.comp {
  border-top: 6px solid #28a745;
}
.comp .sub-card { border-color: #28a745; }
.comp .sub-card:hover { background: #ddf5e4; }

.eng {
  border-top: 6px solid #9b4dff;
}
.eng .sub-card { border-color: #9b4dff; }
.eng .sub-card:hover { background: #f0e5ff; }