:root {
  --navy-blue: #001f3f;
  --royal-blue: #0056b3;
  --sky-blue: #87CEEB;
  --light-blue: #e6f2ff;
  --white: #FFFFFF;
  --dark-gray: #343A40;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-blue);
  overflow-x: hidden;
}

.head-office-section {
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.head-office-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(135, 206, 235, 0.1) 0%, transparent 30%);
  z-index: 0;
}

.ho-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(to right, var(--royal-blue), var(--sky-blue));
  margin: 20px auto;
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
  animation: scaleIn 0.6s ease-out 0.3s forwards;
}

.photos-container {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  margin-top: 60px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.6s forwards;
}

.photo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 280px;
  transition: var(--transition);
}

.photo-card:hover {
  transform: translateY(-5px);
}

.photo-frame {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-blue), var(--sky-blue));
  padding: 5px;
  box-shadow: 0 15px 30px rgba(0, 86, 179, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.photo-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  z-index: 1;
}

.photo-frame:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 86, 179, 0.25);
}

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--white);
  transition: var(--transition);
  filter: grayscale(10%);
}

.photo-frame:hover .photo-img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.photo-info {
  text-align: center;
  padding: 0 10px;
}

.name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--royal-blue);
  margin-bottom: 8px;
  transition: var(--transition);
}

.position {
  font-size: 1rem;
  color: var(--dark-gray);
  font-weight: 500;
  line-height: 1.5;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .head-office-section {
        padding: 70px 20px;
    }
    
    .photos-container {
        gap: 60px;
    }
    
    .photo-card {
        max-width: 260px;
    }
    
    .photo-frame {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 992px) {
    .head-office-section {
        padding: 60px 20px;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .photos-container {
        gap: 50px;
        margin-top: 50px;
    }
    
    .name {
        font-size: 1.2rem;
    }
    
    .position {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .head-office-section {
        padding: 50px 20px;
    }
    
    .title {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }
    
    .divider {
        width: 60px;
        height: 3px;
        margin: 15px auto;
    }
    
    .photos-container {
        gap: 40px;
        margin-top: 40px;
    }
    
    .photo-frame {
        width: 180px;
        height: 180px;
    }
    
    .photo-card {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .head-office-section {
        padding: 40px 15px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .photos-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
        margin-top: 30px;
    }
    
    .photo-card {
        max-width: 100%;
    }
    
    .photo-info {
        padding: 0 5px;
    }
    
    .name {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .position {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .title {
        font-size: 1.6rem;
    }
    
    .divider {
        width: 50px;
    }
    
    .photo-frame {
        width: 160px;
        height: 160px;
    }
    
    .photo-img {
        border-width: 3px;
    }
    
    .name {
        font-size: 1rem;
    }
    
    .position {
        font-size: 0.85rem;
    }
}