.custom-navbar {
  background-color: rgba(204, 155, 8, 0.79);
}

.custom-brand {
  font-weight: bold;
  color: white;
}

.navbar .nav-link {
  color: white;
}

.navbar .nav-link:hover {
  text-decoration: underline;
}

    /* body {
      /* background-color: #f0edf8;
    } */ */

    .join-us-section {
      padding: 60px 20px;
      text-align: center;
      background-color: #caa148;  /* Add this line */
    }

    .join-us-title {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 40px;
      color: #4b0076;
      text-align: center;
    }

    .card {
      border: none;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }

    .card:hover {
      transform: translateY(-5px);
    }

    .card img {
      height: 200px;
      object-fit: cover;
    }

    .badge {
      font-size: 0.75rem;
      padding: 0.4em 0.6em;
      margin-right: 5px;
    }

    .card-body p {
      font-size: 0.95rem;
      color: #555;
    }

    .btn-view {
      background-color: #00008B;
      color: white;
      font-weight: 500;
    }

    .btn-view:hover {
      background-color: #000066;
    }
    
   .gallery-title {
      font-size: 2rem;
      text-align: center;
      color: #007bff;
      font-weight: 700;
      margin: 40px 0 20px;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* 2 images per row */
      gap: 30px;
      padding: 0 40px 60px;
      max-width: 1400px;
      margin: auto;
    }

    .gallery-item {
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s;
    }

    .gallery-item:hover {
      transform: scale(1.02);
    }

    .gallery-img {
      width: 100%;
      height: 500px; /* Increased height */
      object-fit: cover;
      display: block;
    }

    .gallery-caption {
      text-align: center;
      padding: 15px;
      background: #f1f1f1;
      font-size: 1.1rem;
      font-weight: 500;
      color: #333;
    }

    @media (max-width: 768px) {
      .gallery {
        grid-template-columns: 1fr; /* 1 image per row on mobile */
        padding: 0 20px 40px;
      }

      .gallery-caption {
        font-size: 1rem;
      }
    }
/* about us css start */

    .about-section {
      padding: 60px 20px;
      background-color: #f8f8f8;
    }

    .about-container {
      max-width: 1100px;
      margin: auto;
      background: #ffffff;
      border-radius: 12px;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
      padding: 40px;
    }

    .about-title {
      font-size: 2.5rem;
      color: #4b0076;
      text-align: center;
      font-weight: bold;
      margin-bottom: 30px;
    }

    .about-section h3 {
      color: #c78f0a;
      margin-top: 30px;
      font-size: 1.5rem;
    }

    .about-section p {
      font-size: 1rem;
      color: #444;
      line-height: 1.7;
    }

    .person-section {
      display: flex;
      gap: 30px;
      align-items: flex-start;
      margin-top: 30px;
      flex-wrap: wrap;
    }

    .person-photo {
      flex: 1 1 250px;
      max-width: 250px;
    }

    .person-photo img {
      width: 100%;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .person-content {
      flex: 2 1 400px;
    }

    .signature {
      margin-top: 15px;
      font-style: italic;
      font-weight: 500;
      color: #333;
    }

    @media (max-width: 768px) {
      .about-container {
        padding: 20px;
      }

      .about-title {
        font-size: 2rem;
      }

      .person-section {
        flex-direction: column;
        align-items: center;
      }

      .person-photo, .person-content {
        max-width: 100%;
      }

      .person-content {
        text-align: center;
      }
    }
    /* about us css end */


    /* contactus start */
    .school-info-section {
  background-color: #f9f9f9;
}

.school-info-section h2 {
  color: #4b0076;
}

.school-info-section .text-warning {
  color: #caa148;
}

.school-info-section iframe {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.school-info-section p {
  color: #333;
}
.map-wrapper iframe {
  width: 100%;
  height: 500px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* contact us end */

/* footer :start */
.school-footer {
  background-color: #3b3b3b;
  color: white;
  padding: 40px 20px 20px;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-about,
.footer-contact {
  flex: 1 1 300px;
}

.footer-about h4,
.footer-contact h5 {
  color: #ffc107;
  margin-bottom: 15px;
}

.footer-about p,
.footer-contact p {
  color: #ccc;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #666;
  padding-top: 15px;
  margin-top: 30px;
  font-size: 0.85rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-about,
  .footer-contact {
    flex: 1 1 100%;
  }
}
/* footer end */

/* dropdown start */
.dropdown-menu {
  background-color: #fff8e1; /* Light yellow background */
}

.dropdown-item {
  color: #333;
}

.dropdown-item:hover {
  background-color: #f5d372;
  color: #000;
}
/* dropdown end */
/* Masonry style */
    .masonry-gallery {
      column-count: 3;
      column-gap: 1rem;
    }

    .masonry-gallery img {
      width: 100%;
      margin-bottom: 1rem;
      border-radius: 8px;
    }

    @media (max-width: 768px) {
      .masonry-gallery {
        column-count: 1;
      }
    }
     

   .gallery-title {
      font-size: 2rem;
      text-align: center;
      color: #007bff;
      font-weight: 700;
      margin: 40px 0 20px;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* 2 images per row */
      gap: 30px;
      padding: 0 40px 60px;
      max-width: 1400px;
      margin: auto;
    }

    .gallery-item {
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s;
    }

    .gallery-item:hover {
      transform: scale(1.02);
    }

    .gallery-img {
      width: 100%;
      height: 500px; /* Increased height */
      object-fit: cover;
      display: block;
    }

    .gallery-caption {
      text-align: center;
      padding: 15px;
      background: #f1f1f1;
      font-size: 1.1rem;
      font-weight: 500;
      color: #333;
    }

    @media (max-width: 768px) {
      .gallery {
        grid-template-columns: 1fr; /* 1 image per row on mobile */
        padding: 0 20px 40px;
      }

      .gallery-caption {
        font-size: 1rem;
      }
    }
    
  /* Ensure all carousel images have a fixed height and cover the container */
  .carousel-inner img {
    height: 500px;
    object-fit: cover;
  }

  @media (max-width: 768px) {
    .carousel-inner img {
      height: 300px;
    }
  }
  .card-img-top {
  height: 650px !important   ;     /* You can adjust this height as needed */
  object-fit: cover;        /* Ensures the image covers the area without distortion */
}
.department-card {
      position: relative;
      overflow: hidden;
      margin: 10px;
      border-radius: 8px;
      background-color: #457b9d;
      color: white;
      text-align: center;
    }

    .department-card img {
      opacity: 0.4;
      width: 100%;
      height: 160px;
      object-fit: cover;
    }

    .department-card .title {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 18px;
      font-weight: bold;
    }

    .practical-img {
      position: relative;
      overflow: hidden;
      margin-bottom: 20px;
    }

    .practical-img img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      border-radius: 8px;
    }

    .practical-img .caption {
      position: absolute;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      width: 100%;
      color: white;
      text-align: center;
      padding: 10px 0;
      font-weight: bold;
      font-size: 16px;
    }

    h2 {
      text-align: center;
      margin-top: 40px;
      margin-bottom: 20px;
    }
  .placement-partners {
  padding: 50px 0;
  background-color: #e8e8e8;
}

.placement-partners .section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  padding: 0 20px;
}

.partner-logo {
  background: #fff;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
}

.partner-logo img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}
.footer {
  background-color: #2e717f;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 60px;
}

.footer-logo img {
  width: 60px;
  height: auto;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #d0e8ec;
  text-decoration: none;
  font-size: 14px;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 15px;
  font-size: 18px;
  margin-top: 10px;
}

.footer-social a {
  color: #ffffff;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #d0e8ec;
}

.footer-bottom {
  text-align: center;
  background-color: #25616c !important;
  padding: 12px 0;
  font-size: 14px;
  color: #e2f1f3;
}
.bcolor{
  background-color: #16697a;
}
.carousel-caption-custom {
      bottom: 20px;
      background: rgba(0, 0, 0, 0.6);
      padding: 10px 20px;
      border-radius: 5px;
    }

    .top-banner {
      background-color: #ffffff;
      text-align: center;
      font-size: 20px;
      font-weight: bold;
      color: red;
      padding: 5px 10px;
    }

    .sub-banner {
      background-color: #ffffff;
      text-align: center;
      font-size: 16px;
      color: #dc3545;
      font-weight: 600;
      padding-bottom: 8px;
    }

    .contact-strip {
      background-color: #6c757d;
      color: white;
      font-size: 16px;
      padding: 4px 0;
      text-align: center;
    }

    .navbar {
      background-color: #16697a;
    }

    .navbar .nav-link {
      color: white !important;
      font-weight: 500;
    }

    .navbar .nav-link:hover {
      color: #ffc107 !important;
    }

    .logo-img {
      height: 60px;
      margin-right: 10px;
    }

    .gallery-title {
      font-size: 2rem;
      text-align: center;
      color: #007bff;
      font-weight: 700;
      margin: 40px 0 20px;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* 2 images per row */
      gap: 30px;
      padding: 0 40px 60px;
      max-width: 1400px;
      margin: auto;
    }

    .gallery-item {
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s;
    }

    .gallery-item:hover {
      transform: scale(1.02);
    }

    .gallery-img {
      width: 100%;
      height: 500px; /* Increased height */
      object-fit: cover;
      display: block;
    }

    .gallery-caption {
      text-align: center;
      padding: 15px;
      background: #f1f1f1;
      font-size: 1.1rem;
      font-weight: 500;
      color: #333;
    }

    @media (max-width: 768px) {
      .gallery {
        grid-template-columns: 1fr; /* 1 image per row on mobile */
        padding: 0 20px 40px;
      }

      .gallery-caption {
        font-size: 1rem;
      }
    }