* {
    box-sizing: border-box;
  }
  
  .cont {
    margin-top: 250px;
    margin-left: 60px;
  }
  
  .faculty-carousel {
    margin-top: -200px;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 1400px;
    justify-content: center;
    overflow: hidden;
    background-color: #ffffff;
    height: 500px;
    border-radius: 12px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
  }
  
  .scroll {
    padding-left: 100px;
    padding-right: 100px;
    width: 1400px;
    overflow-x: auto;
    flex: 1;
  }
  
  .faculty-track {
    background-color: #b9cbdd;
    overflow-x: auto;
    scroll-behavior: smooth;
    display: flex;
    gap: 10px;
    transition: transform 0.4s ease;
    justify-content: center;
    height: 800px;
    align-items: center;
    width: 100%; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
  }
  
  .faculty-track::-webkit-scrollbar {
    display: none; 
  }
  
  .nav-button {
    background-color: #8fa597;
    border: 2px solid #ddd;
    border-radius: 50%;
    font-size: 2.5rem;
    color: #333;
    cursor: pointer;
    padding: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
    position: absolute;
  }
  
  .nav-button:hover {
    background-color: #007bff;
    color: #fff;
    transform: scale(1.05);
  }
  
  .prev-button {
    left: 10px;
  }
  
  .next-button {
    right: 10px;
  }
  
  .faculty-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
    width: 200px;
    opacity: 0.7;
    transform: scale(0.8);
    text-align: center;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  }
  
  .faculty-card .image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
  }
  
  .faculty-card.active .image {
    height: 200px;
    transform: scale(1.05); 
  }
  
  .faculty-card:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
  }
  
  .faculty-card.active {
    width: 320px;
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
  }
  
  .faculty-card.left,
  .faculty-card.right {
    opacity: 0.75;
    transform: scale(0.9);
  }
  
  .faculty-card.left {
    transform-origin: right;
  }
  
  .faculty-card.right {
    transform-origin: left;
  }
  
  .faculty-info .icon {
    font-size: 2.5rem;
    color: #007bff;
  }
  
  .faculty-info h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 10px 0;
  }
  
  .faculty-info p {
    color: #666;
    font-size: 0.95rem;
    margin: 5px 0;
  }
  
  .middle-card {
    width: 300px;
    opacity: 1;
    transform: scale(1.2); 
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
  }
  
  .explore-button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 0.9rem;
  }
  
  .explore-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
  }
  
  @media (max-width: 768px) {
    .faculty-carousel {
      padding: 10px 0;
    }
  
    .nav-button {
      width: 50px;
      height: 50px;
      font-size: 2rem;
    }
  
    .faculty-card {
      width: 150px;
      padding: 15px;
    }
  
    .faculty-card.active {
      width: 250px;
      border-radius: 20px;
    }
  
    .faculty-info h2 {
      font-size: 1.2rem;
    }
  
    .faculty-info p {
      font-size: 0.85rem;
    }
  
    .explore-button {
      padding: 8px 16px;
      font-size: 0.85rem;
    }
  }
  
  .details2 {
    max-width: 1400px;
    margin-left: 40px;
    display: flex;
    justify-content: center;
    padding: 10px;
    background-color: #ffffff;
  }
  
  .faculty-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1400px;
    width: 100%;
  }
  
  .faculty-card2 {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    transition: transform 0.3s ease;
  }
  
  .image-lec {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 5px; 
  }
  
  .faculty-image2 {
    width: 50%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .mada {
    width: 1200px;
    align-items: center;
    flex: 1;
    text-align: left;
  }
  
  .mada h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .faculties-description {
    font-size: 1.2rem;
    line-height: 1.6; 
    text-align: center;
    margin: 20px 0; 
    padding: 15px; 
    border: 2px solid #ddd; 
    border-radius: 10px; 
    color: #333; 
  }
  
  .h1eka {
    margin-left: 100px;
    font-size: 4rem;
    color: #333;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  
  .faculty-icon2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .circle-img-container {
    width: 150px;
    height: 150px;
    position: relative;
    margin: 0 auto; /* Center the container */
  }
  
  .circle-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Makes the image a circle */
    border: 2px solid #f8f9fa; /* Light border */
  }
  
  .description2 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
  }
  
  .specializations2 {
    font-size: 1rem;
    color: #555;
  }
  
  .specializations2 strong {
    color: #333;
  }
  
  .lecturer-details {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #eee;
  }
  
  .lecturer-card {
    border: 2px solid #798e7d; 
    padding: 20px; 
    border-radius: 30px; 
    background-color: #f8f9fa; 
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .lecturer-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .lecturer-details h3 {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 10px;
  }
  
  .lecturer-card {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }
  
  .lecturer-card p {
    margin: 5px 0;
    font-size: 1rem;
    color: #555;
  }
  
  .lecturer-card strong {
    color: #333;
  }

  .faculty-container {
    background-color: #f9f9f9;
    border-radius: 10px;
  }
  
  .faculty-form {
    background-color: #ffffff;
  }
  
  .lecturer-container {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

.form-group {
  margin-bottom: 15px;
}

.btn {
  margin-top: 10px;
}

.lecturer-list {
  margin-top: 30px;
}

.lecturer-details {
  flex: 1;
}

  .faculty-table thead {
    background-color: #007bff;
    color: white;
  }
  
  .faculty-table tbody tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
  }
  
.modal {
  display: block; 
  background-color: rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s ease;
}

.modal-dialog {
  transform: translate(0, 10%); 
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.modal-header {
  background-color: #343a40;
  color: #fff;
  font-family: 'Arial', sans-serif;
  text-align: center;
  animation: neonGlow 1.5s infinite alternate;
}

@keyframes neonGlow {
  0% {
    text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 15px #ff00ff, 0 0 20px #ff00ff, 0 0 25px #ff00ff;
  }
  50% {
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00, 0 0 40px #00ff00, 0 0 50px #00ff00;
  }
  100% {
    text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 15px #ff00ff, 0 0 20px #ff00ff, 0 0 25px #ff00ff;
  }
}

.modal-body img {
  border: 5px solid #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: imageGlow 1.5s infinite alternate;
}

@keyframes imageGlow {
  0% {
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.6), 0 0 10px rgba(255, 0, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6), 0 0 30px rgba(0, 255, 0, 0.6);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.6), 0 0 10px rgba(255, 0, 255, 0.6);
  }
}

.modal-footer .btn {
  transition: all 0.3s ease;
}

.modal-footer .btn-primary {
  background-color: #1d73d1;
  border: none;
  animation: neonPulse 1.5s infinite alternate;
}

.modal-footer .btn-secondary {
  background-color: #6c757d;
  border: none;
  animation: neonPulse 1.5s infinite alternate;
}

@keyframes neonPulse {
  0% {
    box-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
    transform: scale(1.05);
  }
  50% {
    box-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00, 0 0 60px #00ff00;
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
    transform: scale(1.05);
  }
}

.modal-header .close {
  color: #fff;
  font-size: 1.5rem;
  opacity: 0.7;
}

.modal-header .close:hover {
  opacity: 1;
  animation: glowClose 1.5s infinite alternate;
}

@keyframes glowClose {
  0% {
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
  }
  50% {
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
  }
  100% {
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
  }
}
