/* Person Profile Section */
.person-profile-section {
  padding: 80px 0;
  background: #F8FBFF;
}

.night-mode .person-profile-section {
  background: transparent;
}

.profile-container {
  margin-top: 40px;
}

/* Profile Card */
.profile-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(65, 143, 222, 0.08);
  border: 1px solid var(--border-color);
  text-align: center;
  position: sticky;
  top: 100px;
}

.night-mode .profile-card {
  background: rgba(44, 62, 80, 0.6);
  border-color: rgba(65, 143, 222, 0.3);
}

.profile-image-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

.profile-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.profile-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--charcoal-black);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  border: 4px solid white;
}

.night-mode .profile-badge {
  border-color: rgba(44, 62, 80, 0.6);
}

.profile-info {
  padding-top: 12px;
}

.profile-info h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--charcoal-black);
  margin-bottom: 8px;
}

.night-mode .profile-info h3 {
  color: white;
}

.profile-title {
  color: var(--primary-blue);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.profile-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--light-blue);
  color: var(--primary-blue);
  border-radius: 50px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.profile-contact:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
}

.night-mode .profile-contact {
  background: rgba(65, 143, 222, 0.15);
  color: var(--accent-gold);
}

.night-mode .profile-contact:hover {
  background: var(--primary-blue);
  color: white;
}

/* Profile Sections */
.profile-section {
  background: white;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(65, 143, 222, 0.08);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.night-mode .profile-section {
  background: rgba(44, 62, 80, 0.6);
  border-color: rgba(65, 143, 222, 0.3);
}

.profile-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-blue) 0%, var(--accent-gold) 100%);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-color);
}

.night-mode .section-header {
  border-bottom-color: rgba(65, 143, 222, 0.2);
}

.section-header i {
  width: 50px;
  height: 50px;
  background: var(--light-blue);
  color: var(--primary-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.night-mode .section-header i {
  background: rgba(65, 143, 222, 0.15);
  color: var(--accent-gold);
}

.section-header h5 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal-black);
  margin: 0;
}

.night-mode .section-header h5 {
  color: white;
}

.section-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-primary);
  text-align: justify;
}

.night-mode .section-content {
  color: rgba(255, 255, 255, 0.85);
}

.section-content p {
  margin-bottom: 16px;
}

.section-content p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .profile-card {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .person-profile-section {
    padding: 60px 0;
  }
  
  .profile-card,
  .profile-section {
    padding: 24px;
  }
  
  .profile-info h3 {
    font-size: 1.5rem;
  }
  
  .section-header h5 {
    font-size: 1.25rem;
  }
  
  .section-content {
    font-size: 1rem;
  }
}
