/* 🌍 Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: #1a1a1a;
}

/* 🔹 Hero Section */
.management-hero {
  background: url('../assets/images/slider1.jpg') center center / cover no-repeat;
  height: 400px;
  position: relative;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-overlay h1 {
  font-size: 36px;
  font-weight: 700;
}

.hero-overlay p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* 🔹 Section Heading */
.section-header {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 50px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #198754;
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* 🔹 Main Card Container */
.management-container {
  max-width: 950px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  animation: fadeUp 0.8s ease-out both;
}

/* 🔹 Left: Image, Name, Role */
.management-image {
  flex: 1 1 250px;
  text-align: center;
}

.management-image img {
  width: 200px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.management-image img:hover {
  transform: scale(1.05);
}

.management-image h4 {
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 5px;
}

.management-image p {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0;
}

/* 🔹 Right: Description */
.management-text {
  flex: 1 1 500px;
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  text-align: justify;
}

/* 🔹 Social Icons Under Description */
.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #dc3545;
  font-size: 20px;
  transition: color 0.2s ease;
}

.social-icons a:hover {
  color: #a71d2a;
}

/* 🔹 Placeholder Icon */
.team-placeholder {
  width: 150px;
  height: 150px;
  background-color: #6c757d;
  margin: 0 auto;
}

/* 🔹 Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔹 Responsive Mobile View */
@media (max-width: 768px) {
  .management-container {
    flex-direction: column;
    text-align: center;
  }

  .management-text {
    text-align: center;
  }

  .management-image img {
    width: 180px;
  }

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

  .section-title {
    font-size: 26px;
  }

  .hero-overlay h1 {
    font-size: 28px;
  }

  .hero-overlay p {
    font-size: 15px;
  }
}

.clickable-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.clickable-image:hover {
  transform: scale(1.05);
}

.modal-content img {
  border-radius: 10px;
}

/* 🔹 Responsive Breakpoints */
@media (max-width: 1024px) {
  .management-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .management-text,
  .management-image {
    flex: 1 1 100%;
    text-align: center;
    animation: none;
  }

  .management-text {
    order: 2;
  }

  .management-image {
    order: 1;
  }

  .management-image img {
    width: 180px;
  }

  .hero-overlay h1 {
    font-size: 28px;
  }

  .hero-overlay p {
    font-size: 15px;
  }

  .section-title {
    font-size: 26px;
  }

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

@media (max-width: 576px) {
  .hero-overlay h1 {
    font-size: 24px;
  }

  .hero-overlay p {
    font-size: 14px;
  }

  .management-image img {
    width: 160px;
  }

  .section-subtitle {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .management-text {
    text-align: justify !important;
  }
}
