* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to bottom, #000814 0%, #001025 50%, #003c8b 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: white;
  margin: 0;
  overflow-x: hidden;
}

/* ===== HEADER - TIDAK DIUBAH ===== */
header {
  background-color: rgba(0, 8, 20, 0.8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 6px;
  position: sticky;
  top: 0%;
  z-index: 1000;
  height: 64px;
  backdrop-filter: blur(10px);
}

header img {
  position: absolute;
  left: 10px;
  background-color: transparent;
  height: 60px;
  width: 60px;
}

header .logo {
  position: absolute;
  left: 80px;
  font-size: 20px;
  font-weight: bold;
}

header nav {
  display: flex;
  gap: 40px;
}

header nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #22d3ee;
}

/* ===== KETERANGAN SECTION - REVISI: Logo di tengah, text di bawah ===== */
.keterangan {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 20, 40, 0.4), rgba(0, 20, 40, 0.4)),
    url(../assets/beranda/foto\ gedung.png) center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 60px;
}

.keterangan-container {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.keterangan-icon {
  width: 120px;
  height: 120px;
  background: #001428 ;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
  animation: floatAnimation 3s ease-in-out infinite;
}

.keterangan-icon img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.keterangan-content {
  width: 100%;
}

.keterangan h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: rgb(195, 204, 255);
  font-weight: 600;
  line-height: 1.3;
}

.keterangan h2 span {
  color: #f1f1f1;
  font-weight: bold;
  font-size: 2.2rem;
  display: inline-block;
  animation: pulseGlow 2s ease-in-out infinite;
}

.keterangan p {
  font-size: 1rem;
  line-height: 1.8;
  color: white;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

/* ===== INFO SECTION - REVISI: Button lebih besar ===== */
.info-section {
  background: linear-gradient(to bottom, #0a1929 0%, #1a2942 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 150px;
  padding: 120px 20px;
  min-height: 100vh;
}

.info-card {
  background: rgb(255, 255, 255);
  border: 5px solid #1e90ff;
  border-radius: 20px;
  padding: 60px 90px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(30, 144, 255, 0.5);
  transition: all 0.4s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(50px);
}

.info-card.visible {
  animation: fadeInUp 0.8s ease forwards;
}

.info-card:nth-child(2).visible {
  animation-delay: 0.2s;
}

.info-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 20px 50px rgba(30, 144, 255, 0.7);
}

.info-card a {
  text-decoration: none;
  display: block;
}

.info-card img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.info-card:hover img {
  transform: rotate(5deg) scale(1.1);
}

/* ===== DEPARTEMEN SECTION - REVISI: Button di atas, sejajar ===== */
.departemen-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 20, 40, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
}

.departemen-container {
  max-width: 1400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

.departemen-title {
  text-align: center;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 20px;
  font-weight: 700;
  opacity: 0;
  animation: fadeInDown 0.8s ease forwards;
}

.dept-buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.dept-button {
  background: white;
  color: #001428;
  border: none;
  border-radius: 30px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.dept-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(30, 144, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.dept-button:hover::before {
  left: 100%;
}

.dept-button:hover {
  background: #1e90ff;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.6);
}

.dept-button.active {
  background: #1e90ff;
  color: white;
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.6);
}

.dept-info-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.dept-description {
  transition: opacity 0.3s ease;
}

.dept-description p {
  color: #1e293b;
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: center;
}

/* ===== KRITIK DAN SARAN SECTION - TIDAK DIUBAH ===== */
.kritik-section {
  background: linear-gradient(to bottom, #001428 0%, #002855 100%);
  padding: 100px 20px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kritik-wrapper {
  max-width: 1200px;
  width: 100%;
  display: flex;
  gap: 80px;
  align-items: center;
}

.kritik-left {
  flex: 1;
  padding-right: 40px;
}

.kritik-left h2 {
  font-size: 2rem;
  color: white;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 1px;
}

.kritik-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.kritik-form-box {
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid #1e90ff;
  border-radius: 15px;
  padding: 35px 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 10px 35px rgba(30, 144, 255, 0.3);
}

.kritik-form-box h4 {
  text-align: center;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 600;
}

.kritik-form-box input,
.kritik-form-box textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 13px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  color: #333;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.kritik-form-box input:focus,
.kritik-form-box textarea:focus {
  outline: none;
  border-color: #1e90ff;
  background: white;
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
}

.kritik-form-box textarea {
  min-height: 110px;
  resize: vertical;
}

.kritik-form-box button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.kritik-form-box button:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
}

/* ===== FOOTER - TIDAK DIUBAH ===== */
footer {
  width: 100%;
  bottom: 0;
  background: #0f172ade;
  color: #fff;
  padding: 50px 0 20px;
  border-top-left-radius: 0px;
  font-size: 13px;
  line-height: 1.6;
}

.footer-main {
  width: 85%;
  margin: auto;
  max-width: 1200px;
}

.footer-banner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 35px;
  margin-bottom: 25px;
}

.footer-col {
  flex: 1;
}

.footer-left {
  flex: 1.6;
  padding-right: 15px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
}

.footerImg {
  width: 45px;
  height: 45px;
}

.footer-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: #ddd;
  text-align: justify;
}

.footer-office h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-office .office-name {
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px 0;
  font-size: 13px;
  line-height: 1.5;
}

.footer-office .office-address {
  margin: 0 0 12px 0;
  line-height: 1.6;
  font-size: 13px;
  color: #ddd;
}

.footer-office p {
  margin: 8px 0;
  line-height: 1.6;
  font-size: 13px;
  color: #ddd;
}

.footer-office p strong {
  color: #fff;
  font-weight: 600;
  margin-right: 5px;
}

.footer-phone,
.footer-email {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-phone:hover,
.footer-email:hover {
  color: #fff;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 0px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  color: #b8b8d8;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  font-size: 13px;
  line-height: 1.6;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-right h3 {
  font-size: 1.2rem;
  margin-bottom: 0px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  margin-top: 0;
}

.footer-right .social-link {
  color: #1a1a2e;
  background: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  min-width: 150px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-right .social-link i {
  font-size: 1.1rem;
}

.footer-right .social-link span {
  font-size: 13px;
  font-weight: 600;
}

.footer-right .social-link:hover {
  transform: translateY(-3px);
  background: #f5f5f5;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
}

.footer-container {
  text-align: center;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid rgba(253, 251, 251, 0.623);
}

.footer-container p {
  margin: 0;
  color: #bbb;
  font-size: 13px;
}

/* ===== ANIMASI KEYFRAMES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes floatAnimation {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.8);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .keterangan {
    padding: 60px 40px;
  }

  .keterangan-icon {
    width: 150px;
    height: 150px;
  }

  .keterangan-icon img {
    width: 110px;
    height: 110px;
  }

  .keterangan h2 {
    font-size: 1.8rem;
  }

  .keterangan h2 span {
    font-size: 1.8rem;
  }

  .info-section {
    flex-direction: column;
    gap: 60px;
    padding: 100px 20px;
  }

  .info-card {
    padding: 50px 70px;
  }

  .departemen-title {
    font-size: 2rem;
  }

  .dept-button {
    min-width: 180px;
    font-size: 0.9rem;
  }

  .dept-info-box {
    padding: 40px;
  }

  .kritik-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .kritik-left {
    padding-right: 0;
    text-align: center;
  }

  .footer-main {
    width: 90%;
  }

  .footer-banner {
    gap: 25px;
  }

  .footer-left {
    flex: 1.4;
  }

  .footer-right .social-link {
    min-width: 140px;
    padding: 9px 16px;
  }
}

@media (max-width: 768px) {
  .keterangan {
    padding: 50px 30px;
  }

  .keterangan-icon {
    width: 130px;
    height: 130px;
    margin-bottom: 30px;
  }

  .keterangan-icon img {
    width: 100px;
    height: 100px;
  }

  .keterangan h2 {
    font-size: 1.6rem;
  }

  .keterangan h2 span {
    font-size: 1.6rem;
  }

  .keterangan p {
    font-size: 0.95rem;
  }

  .info-section {
    gap: 50px;
    padding: 80px 20px;
  }

  .info-card {
    padding: 40px 60px;
  }

  .info-card img {
    width: 180px;
    height: 180px;
  }

  .departemen-title {
    font-size: 1.8rem;
  }

  .dept-button {
    min-width: 160px;
    font-size: 0.85rem;
    padding: 12px 24px;
  }

  .dept-info-box {
    padding: 35px;
  }

  .dept-description p {
    font-size: 1rem;
  }

  .kritik-left h2 {
    font-size: 1.8rem;
  }

  .kritik-form-box {
    padding: 30px 35px;
  }

  footer {
    padding: 40px 0 20px;
  }

  .footer-main {
    width: 92%;
  }

  .footer-banner {
    flex-wrap: wrap;
    gap: 30px;
  }

  .footer-left,
  .footer-office {
    flex: 1 1 100%;
    padding-right: 0;
  }

  .footer-links,
  .footer-right {
    flex: 1 1 45%;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-right .social-link {
    width: 100%;
    min-width: auto;
  }

  .footer-desc {
    text-align: left;
  }

  .footer-title {
    font-size: 1.4rem;
  }

  .footer-office h3,
  .footer-links h3,
  .footer-right h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .keterangan {
    padding: 40px 20px;
  }

  .keterangan-icon {
    width: 120px;
    height: 120px;
  }

  .keterangan-icon img {
    width: 90px;
    height: 90px;
  }

  .keterangan h2 {
    font-size: 1.4rem;
  }

  .keterangan h2 span {
    font-size: 1.4rem;
  }

  .keterangan p {
    font-size: 0.9rem;
  }

  .info-card {
    padding: 35px 50px;
  }

  .info-card img {
    width: 160px;
    height: 160px;
  }

  .departemen-title {
    font-size: 1.6rem;
  }

  .dept-button {
    min-width: 140px;
    font-size: 0.8rem;
    padding: 10px 20px;
  }

  .dept-info-box {
    padding: 30px;
  }

  .dept-description p {
    font-size: 0.95rem;
  }

  .kritik-left h2 {
    font-size: 1.5rem;
  }

  .kritik-form-box {
    padding: 25px 30px;
  }

  footer {
    padding: 30px 0 15px;
  }

  .footer-main {
    width: 95%;
  }

  .footer-banner {
    flex-direction: column;
    gap: 25px;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .footer-left,
  .footer-office,
  .footer-links,
  .footer-right {
    flex: 1 1 100%;
    padding-right: 0;
  }

  .footer-logo {
    gap: 10px;
  }

  .footerImg {
    width: 40px;
    height: 40px;
  }

  .footer-title {
    font-size: 1.3rem;
  }

  .footer-desc {
    font-size: 12px;
    text-align: left;
  }

  .footer-office h3,
  .footer-links h3,
  .footer-right h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .footer-office .office-name,
  .footer-office .office-address,
  .footer-office p {
    font-size: 12px;
  }

  .footer-links ul li a {
    font-size: 12px;
  }

  .footer-right {
    align-items: stretch;
  }

  .footer-right .social-link {
    width: 100%;
    padding: 12px 18px;
    justify-content: flex-start;
  }

  .footer-container {
    margin-top: 20px;
    padding-top: 15px;
  }

  .footer-container p {
    font-size: 11px;
  }
}

@media (max-width: 375px) {
  .footer-main {
    width: 93%;
  }

  .footer-title {
    font-size: 1.2rem;
  }

  .footer-desc {
    font-size: 11px;
  }

  .footer-right .social-link {
    padding: 10px 15px;
    font-size: 0.85rem;
  }

  .footer-right .social-link span {
    font-size: 12px;
  }
}