* {
  font-family: "Montserrat", sans-serif;
  line-height: 1.8rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.navbar-brand h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

p,
li,
.text-muted {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.slideshow-wrapper img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: 10px;
}

.container-xxl {
  padding: 2rem 0;
}

.interns-grid {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.intern-profile {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0.5rem 0;
}

.image-container {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  justify-content: flex-end;
}

.intern-profile:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.intern-profile img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.intern-profile h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.intern-profile p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.project-card h5 {
  font-size: 1rem;
  color: #06bbcc;
  margin-bottom: 0.5rem;
}

.project-card ul {
  padding-left: 1.2rem;
  list-style-type: disc;
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .intern-profile img {
    width: 180px;
    height: 180px;
  }
}

.mySlides {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
}

.mySlides img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 600px;
  border-radius: 5px;
}

.intern-profile {
  flex: 1 1 calc(50% - 40px);
  max-width: 600px;
  min-height: 450px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 10px;
  transition: transform 0.3s;
}

.profile-image {
  height: 180px;
  width: 180px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #f8f9fa;
}

.profile-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0 1rem;
}

.profile-content::-webkit-scrollbar {
  width: 4px;
}

.profile-content::-webkit-scrollbar-thumb {
  background-color: #ffffff;
  border-radius: 4px;
}

.project-card ul {
  padding-left: 0;
  margin: 0;
}

.project-card li {
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.project-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border-left: 4px solid #06bbcc;
}

.project-card h5 {
  color: #06bbcc;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.project-card ul {
  margin: 0;
  padding-left: 1.5rem;
}

.project-card li {
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

h4 {
  margin: 1.25rem 0 0.75rem;
  color: #333;
  font-size: 1.3rem;
}

.text-muted {
  color: #6c757d;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .interns-grid {
    flex-direction: column;
    padding: 1rem;
    gap: 2rem;
  }

  .column {
    width: 100%;
    gap: 2rem;
  }

  .intern-profile {
    height: 550px;
    padding: 1.5rem;
    margin: 0.25rem 0;
  }
}

.content-container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

.fade {
  animation: fade 5s infinite;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .image-container {
    min-height: 300px;
  }

  .mySlides img {
    max-height: 400px;
  }
}
