.page__banner {
  background-position: center top;
  background-repeat: no-repeat;
  text-align: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  position: relative;
}

.page__bannerInner {
  display: table;
  width: 100%;
  position: relative;
  z-index: 99;
}

.page__bannerContent {
  display: table-cell;
  vertical-align: middle;
  height: 400px;
}

.page__bannerContent h1 {
  font: 3rem / 1.3 "'Inter', sans-serif;";
  color: #fff;
  letter-spacing: 1.14px;
  text-transform: uppercase;
  margin: 0;
}


.thumbnail {
  width: 160px;
  margin: 10px;
  cursor: pointer;
  transition: transform .2s;
  border: 1px solid black;
}

.thumbnail:hover {
  transform: scale(1.1);

}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 70%;
  max-width: 800px;
  animation: zoomIn 0.3s ease;
  border-radius: 10px;
}

@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close,
.prev,
.next {
  position: absolute;
  color: white;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
}

.close {
  top: 20px;
  right: 40px;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.prev,
.next {
  top: 50%;
  transform: translateY(-50%);
}

.gallery img {
  height: 120px;
}

td,
th {
  padding: 5px;
  border: 1px solid #999 !important;
}

/* Faculties List */

.faculties-div-main img {
  width: 100%;
  height: 250px;
  padding: 20px;
}

.faculties-div-main p {
  margin-bottom: 0%;
  font-size: 14px;
}

.faculties-div-main h6 {
  font-size: 20px;
}

.faculties-div-main {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border-radius: 20px;
}

.faculties-div-main a {
  color: #9a0020;
  font-weight: 600;
  margin-top: 20px;
}

.faculties-div-main a:hover {
  color: #10205a;
}

.faculties-div-main:hover {
  box-shadow: rgba(43, 42, 42, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

@media (max-width: 481px) {
  .page__bannerContent h1 {
    font: 2rem / 1.3 "'Inter', sans-serif;";
  }
}

.latest-news {
  border-radius: 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    height: 410px;
    margin-top: 5px;
}
.latest-news:hover{
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 1px solid var(--secondary);
}
.latest-news-first-div {
  padding-left: 0px;
  padding-right: 0px;
}

.latest-news-first-div img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid grey;
}

.latest-news-first-sec a {
  text-decoration: none;
}

.latest-news-first-sec h5 {
  font-weight: 500;
  color: black;
  font-size: 15px;
  margin-top: 10px;
}
.latest-news-first-sec h5:hover{
color: #102153;
}
.latest-news-first-sec span {
  color: grey;
  font-size: 13px;
}

.latest-news-first-sec p {
  margin-bottom: 0%;
  font-size: 15px;
}

.latest-news-first-sec a {
  color: #9a0020;
}

.latest-news-first-sec a:hover {
  color: #102153;
}

.latest-news-first-sec b {
  font-size: 15px;
}

/* ******** Director css Start****** */
.director-main-div {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 20px;
}

.director-main-div img {
  width: 100%;
  margin-top: 30px;
  border: 1px solid #9a0020;
}

.director-main-div p {
  font-size: 14px;
  text-align: justify;
}

.director-main-div span {
  color: grey;
  font-size: 13px;
  font-style: italic;
  padding-bottom: 30px;
}

.director-main-div h2 {
  color: #9a0020;
}



.director-main-div h5 {
  font-size: 13px;
}

@media (max-width: 767px) {
  .p-5 {
    padding: 15px !important;
  }

  /* Other mobile-specific styles */
}


/* ******** Director css End****** */
/* ******* Contact Us Start********* */
/* Main Content */
main {
  flex: 1;
  padding: 60px 0;
}

.page-title {
  text-align: center;
}

.page-title h1 {
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.page-title h1::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.page-title p {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Section */
:root {
  --primary: #10205a;
  --primary-dark: #554fd8;
  --secondary: #8d0524;
  --dark: #2d2b55;
  --light: #cfcfd1;
  --gray: #afafaf;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.info-title {
  font-size: 1.8rem;
  color: var(--dark);
  position: relative;
  padding-bottom: 15px;
}

.info-title::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  bottom: 0;
  left: 0;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.method-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.method-details h3 {
  color: var(--dark);
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.method-details p {
  color: #666;
}
.details{
  position: relative;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-5px);
}

/* Form Styles */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--gray);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s;
  border: 1px solid rgb(196, 194, 194);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Map Section */
.map-container {
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}

.map-placeholder {
  height: 400px;
  background: linear-gradient(135deg, #8a84ff, #6c63ff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.map-placeholder i {
  font-size: 4rem;
  margin-bottom: 20px;
}

.map-placeholder h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}


/* Responsive Design */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .page-title h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {

  .page-title h1 {
    font-size: 2rem;
  }

  .contact-info,
  .contact-form {
    padding: 30px 25px;
  }

  .method-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .page-title h1 {
    font-size: 1.8rem;
  }

  .contact-method {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .method-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .social-links {
    justify-content: center;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Animation for form elements */
.form-group {
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

.form-group:nth-child(1) {
  animation-delay: 0.1s;
}

.form-group:nth-child(2) {
  animation-delay: 0.2s;
}

.form-group:nth-child(3) {
  animation-delay: 0.3s;
}

.form-group:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effect for contact method */
.contact-method:hover .method-icon {
  transform: scale(1.1);
  transition: transform 0.3s;
}

.contact-main p {
  font-size: 14px;
  margin-bottom: 5px;
}

/* ********Contact Us End********** */
/* ******Gallery Start******  */
.main-inner-gallery img {
  width: 100%;
}

/* Add border to images in the gallery */
.main-inner-gallery img {
  border: 3px solid #ddd;
  /* Light gray border */
  border-radius: 5px;
  /* Rounded corners */
  transition: all 0.3s ease;
  /* Smooth transition for hover effect */
}

/* Change border on hover in the gallery */
.main-inner-gallery img:hover {
  border-color: #007bff;
  /* Blue border on hover */
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

/* Modal Background */
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Fullscreen image with border */
.img-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  border: 5px solid #fff;
  /* White border around the image in the modal */
  transition: transform 0.3s ease;
}

/* Close button */
.img-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* Navigation buttons (next/prev) */
.img-modal .nav-btn {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 1000;
}

.img-modal .prev-btn {
  left: 20px;
}

.img-modal .next-btn {
  right: 20px;
}

/* Zoom buttons */
.img-modal .zoom-btn {
  position: absolute;
  bottom: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 1000;
}

.img-modal .zoom-in {
  left: 20px;
}

.img-modal .zoom-out {
  right: 20px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.course-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s 
ease;
    background-color: rgba(0, 0, 0, 0.4);
}
.course-card .course-name {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    font-weight: 500;
}
.course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: brightness(80%);
    transition: filter 0.3s 
ease;
border: 1px solid #9a0020;
}
.latest-inner-detail-news{
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  border-radius: 10px;
}
.latest-inner-detail-news img{
  width: 100%;
  height: 320px;
  border-radius: 10px;
}
.latest-inner-detail-news h4{
  margin-top: 30px;
  font-size: 20px;
}
.latest-inner-detail-news span{
 color: grey;
  font-size: 12px;
}
.latest-inner-detail-news a{
color: #9a0020;
}
.latest-inner-detail-news p{
margin-bottom: 0px;
  font-size: 15px;
}
.recent-lastest-news h4{
color: #9a0020;
font-weight: 600;
}
.recent-lastest-news-right{
box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
.faculties-deatils-main{
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.faculties-deatils-main h2{
  color: #9a0020;
}
.faculties-deatils-main p{
  margin-bottom: 5px;
  font-size: 15px;
}
.faculties-deatils-main img{
height: 350px;
}
.faculties-deatils-main img{
  border: 1px solid #9a0020;
}
.all-academics-link a{
  color: #9a0020;
  text-decoration: none;
  font-weight:600;
}
.all-academics-link ul{
  list-style-type: circle;
}
.sitemap-div h5{
  font-size: 16px;
  color: #9a0020;
}
.sitemap-div li a{
  font-size: 14px;
  color: #10205a;
}
.sitemap-div a{
  text-decoration: none; 
}
.sitemap-div h5 a {
 color: #9a0020;
}
 details {
                border-bottom: solid #ADADAD 2px;
                position: relative;
            }

            /* details:first-of-type {
                border-top: solid #ADADAD 2px;
            } */

            details[open] {
                background-color: #eee;
                border-left: 3px solid #880C24;
            }

            summary {
                list-style: none;
                display: flex;
                margin-top: 20px;
                justify-content: space-between;
                align-items: center;
                padding: 15px 20px;
                font-weight: bold;
                font-size: 18px;
                cursor: pointer;
                border-radius: 10px;
            }

            summary::after {
                content: '';
                border: solid #880C24;
                border-width: 0 3px 3px 0;
                display: inline-block;
                padding: 4px;
                transition: 0.3s;
                transform: rotate(45deg);
                position: absolute;
                right: 15px;
            }

            details[open]>summary::after {
                transform: rotate(-135deg);
            }

            summary::-webkit-details-marker {
                display: none;
            }

            .course-dpmt-cse h6 {
                padding: 15px 20px;
            }

            .course-dpmt-cse ul {
                padding: 5px 35px;
                font-size: 13px;
            }

            .course-dpmt-cse strong {
                padding: -3px 20px;
                font-size: 13px;
            }

            .course-dpmt-cse-first strong {
                padding: 3px 20px;
                font-size: 13px;
            }

            .link-cse-drp a {
                text-decoration: none;
                color: #880C24;
                font-size: 16px;
                font-weight: 600;
            }

            .link-cse-drp a:hover {
                text-decoration: none;
                color: #10205a;
            }

            .course-dpmt-cse p {
                padding: 5px 20px;
                font-size: 13px;
            }

            .lab-cse-dprt p {
                margin-bottom: 0%;
            }

            .lab-cse-dprt h6 {
                padding: 10px;
            }

            .cse-head-dpmnt img {
                width: 100%;
                padding: 10px;
            }

            .cse-drpmnt-faculty {
                padding: 20px;
            }

            .cse-drpmnt-faculty img {
                width: 100%;
                height: 285px;
            }

            .cse-drpmnt-faculty p {
                margin-bottom: 0%;
            }
            .form-central-sec h6{
              padding-left: 20px;
            }
             .form-central-sec p{
              padding-left: 20px;
            }
