* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.dir-container {
  background-color: #eee;
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  min-height: 100vh;
  color: #333;
}

.dir-container {
  margin: 0 auto;
  padding: 1rem;
}

.dir-container header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.dir-container header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ff3cac 0%, #784ba0 50%, #2b86c5 100%);
}

.dir-container h1 {
  color: #2c3e50;
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ff3cac 0%, #784ba0 50%, #2b86c5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
  color: #7f8c8d;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.director-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 4rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease;
}

.director-section:hover {
  transform: translateY(-5px);
}

@keyframes moveDot {
  0% {
    transform: rotate(0deg) translateX(150px);
  }
  100% {
    transform: rotate(360deg) translateX(150px);
  }
}

.director-image {
  text-align: center;
  margin-bottom: 3rem;
  animation: float 6s ease-in-out infinite;
  position: relative;
  padding: 15px;
}

.director-image::before,
.director-image::after,
.director-image span::before,
.director-image span::after,
.director-image span:nth-child(2)::before,
.director-image span:nth-child(2)::after,
.director-image span:nth-child(3)::before,
.director-image span:nth-child(3)::after,
.director-image span:nth-child(4)::before,
.director-image span:nth-child(4)::after,
.director-image span:nth-child(5)::before,
.director-image span:nth-child(5)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: moveDot 5s linear infinite;
}

.director-image::before {
  background: #ee7752;
  animation-delay: -0s;
  width: 8px;
  height: 8px;
}
.director-image::after {
  background: #e73c7e;
  animation-delay: -0.8s;
  width: 12px;
  height: 12px;
}
.director-image span:nth-child(1)::before {
  background: #23a6d5;
  animation-delay: -1.6s;
  width: 10px;
  height: 10px;
}
.director-image span:nth-child(1)::after {
  background: #23d5ab;
  animation-delay: -2.4s;
  width: 14px;
  height: 14px;
}
.director-image span:nth-child(2)::before {
  background: #ee7752;
  animation-delay: -3.2s;
  width: 9px;
  height: 9px;
}
.director-image span:nth-child(2)::after {
  background: #e73c7e;
  animation-delay: -4s;
  width: 11px;
  height: 11px;
}
.director-image span:nth-child(3)::before {
  background: #23a6d5;
  animation-delay: -4.8s;
  width: 13px;
  height: 13px;
}
.director-image span:nth-child(3)::after {
  background: #23d5ab;
  animation-delay: -5.6s;
  width: 8px;
  height: 8px;
}
.director-image span:nth-child(4)::before {
  background: #ee7752;
  animation-delay: -6.4s;
  width: 12px;
  height: 12px;
}
.director-image span:nth-child(4)::after {
  background: #e73c7e;
  animation-delay: -7.2s;
  width: 10px;
  height: 10px;
}
.director-image span:nth-child(5)::before {
  background: #23a6d5;
  animation-delay: -8s;
  width: 11px;
  height: 11px;
}
.director-image span:nth-child(5)::after {
  background: #23d5ab;
  animation-delay: -8.8s;
  width: 9px;
  height: 9px;
}

/* Add spans for positioning */
.director-image span {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.director-image img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  border: 5px solid white;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.director-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.3);
}

.director-name {
  color: #2c3e50;
  font-size: 2rem;
  margin: 1.5rem 0;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.director-name::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #ff3cac 0%, #784ba0 50%, #2b86c5 100%);
  border-radius: 3px;
}

.message-content {
  color: #34495e;
  line-height: 2;
  text-align: justify;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  position: relative;
  padding: 1rem;
  border-left: 4px solid #784ba0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 10px 10px 0;
}

.message-content:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(5px);
  transition: all 0.3s ease;
}

.signature {
  text-align: right;
  font-style: italic;
  color: #784ba0;
  margin-top: 2rem;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .director-section {
    padding: 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .director-image img {
    width: 220px;
    height: 220px;
  }

  .message-content {
    font-size: 1rem;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .director-image img {
    width: 180px;
    height: 180px;
  }

  .director-name {
    font-size: 1.5rem;
  }
}
