/* Organization Page Specific Styles */

.page-header {
  background: var(--gradient-primary);
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/placeholder.svg?height=600&width=1920") center / cover;
  opacity: 0.1;
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.org-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 3px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.org-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(233, 30, 99, 0.3);
  border-color: var(--primary-pink);
}

.director-card {
  border-color: var(--accent-purple);
  background: linear-gradient(135deg, #fce4ec, #f3e5f5);
}

.director-card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 20px 50px rgba(156, 39, 176, 0.3);
}

.org-image {
  margin-bottom: 1.5rem;
}

.org-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 4px solid var(--light-pink);
  transition: all 0.3s ease;
}

.org-card:hover .org-image img {
  border-color: var(--primary-pink);
  transform: scale(1.1);
}

.director-card .org-image img {
  width: 150px;
  height: 150px;
  border-color: var(--accent-purple);
}

.org-content h5 {
  color: var(--primary-pink);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.position-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.director-card .position-title {
  color: var(--accent-purple) !important;
  font-size: 1.1rem;
}

/* Modal Enhancements */
.modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

.modal-header {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.5rem 2rem;
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-body {
  padding: 2rem;
}

.modal-body img {
  border: 4px solid var(--light-pink);
}

.modal-body h6 {
  color: var(--primary-pink);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.modal-body ul {
  padding-left: 1.2rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    min-height: 50vh;
  }

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

  .org-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .org-image img {
    width: 100px;
    height: 100px;
  }

  .director-card .org-image img {
    width: 120px;
    height: 120px;
  }

  .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .org-card {
    padding: 1rem;
  }

  .org-content h5 {
    font-size: 1.1rem;
  }

  .position-title {
    font-size: 0.9rem;
  }
}

/* Animation for organizational hierarchy */
.org-card {
  animation: fadeInUp 0.6s ease-out;
}

.org-card:nth-child(1) {
  animation-delay: 0.1s;
}
.org-card:nth-child(2) {
  animation-delay: 0.2s;
}
.org-card:nth-child(3) {
  animation-delay: 0.3s;
}
.org-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
