* {
  box-sizing: border-box;
}

.cont {
  margin-top: 250px;
  margin-left: 60px;
}

.faculty-carousel {
  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;
}