/* PROFIL PAGE SPECIFIC STYLES */
.profil-hero {
  background-color: #f5f5f5;
  padding: 40px 0;
  position: relative;
}

.profil-hero-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.profil-hero-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.profil-hero-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: #002b5b;
  color: white;
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 500px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.profile-content {
  background-color: #f0f4f8;
  padding: 60px 0;
}

.content-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.info-cards {
  flex: 2;
  display: grid;
  gap: 30px;
}

.info-card {
  background-color: #0A2E52;
  color: white;
  border-radius: 10px;
  display: flex;
  min-height: 220px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.card-content {
  padding: 20px;
  flex: 1;
}

.card-icon {
  width: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #002b5b;
}

.trapezoid-bg {
  position: absolute;
  width: 120%;
  height: 120%;
  background-color: #e8f3ff;
  clip-path: polygon(100% 0, 100% 100%, 20% 80%, 20% 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  left: -10%;
  top: -10%;
}

.icon-img {
  width: 50px;
  height: 50px;
  position: relative;
  left: 15px;
  filter: brightness(0) saturate(100%) invert(9%) sepia(44%) saturate(2094%) hue-rotate(183deg) brightness(93%) contrast(95%);
}

.logo-container {
  flex: 1;
  display: flex;
  align-self: stretch;
}

.logo-card {
  background-color: #0A2E52;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  max-width: 80%;
  height: auto;
  object-fit: contain;
}

.tugas-fungsi-section {
  background-color: #FAFAFA;
  padding: 80px 0;
}

.tugas-box, .fungsi-box {
  background-color: #0A2E52;
  color: white;
  border-radius: 35px;
  padding: 30px 40px;
  margin-bottom: 40px;
  box-shadow: -10px 10px 13px rgba(0, 0, 0, 0.25);
}

.tugas-header, .fungsi-header {
  margin-bottom: 20px;
}

.tugas-header h3, .fungsi-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 25px;
  margin-bottom: 10px;
}

.tugas-content p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
}

.fungsi-content ol {
  padding-left: 20px;
}

.fungsi-content li {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.struktur-organisasi-section {
  background-color: #0A2E52;
  padding: 60px 0;
  text-align: center;
}

.struktur-container {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
}

.struktur-container h2 {
  color: #FFFFFF;
  font-size: 36px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 40px;
  position: relative;
}

.struktur-container h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FDD835;
  margin: 10px auto 0;
  border-radius: 2px;
}

.struktur-image-container {
  background-color: white;
  border-radius: 35px;
  padding: 30px;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  max-width: 1120px;
  height: 768px;
  overflow: hidden;
}

.struktur-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.zoom-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.zoom-controls button {
  background-color: #0A2E52;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.zoom-controls button:hover {
  background-color: #FDD835;
  color: #0A2E52;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal-image {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  margin: 0 auto;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: #FDD835;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .logo-container {
    width: 100%;
    order: -1;
    margin-bottom: 30px;
  }
  
  .logo-card {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .card-icon {
    width: 100%;
    height: 80px;
  }
  
  .trapezoid-bg {
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
  }
  
  .icon-img {
    left: 0;
    top: 15px;
  }
  
  .struktur-image-container {
    height: 450px;
    padding: 15px;
    border-radius: 25px;
  }
}

@media (max-width: 576px) {
  .struktur-image-container {
    height: 350px;
  }
  
  .zoom-controls {
    bottom: 10px;
    right: 10px;
  }
  
  .zoom-controls button {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .profil-hero-overlay {
    position: relative;
    bottom: auto;
    left: auto;
    max-width: 100%;
    margin-top: 20px;
  }
}