/* General styling for body */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fafafa;
  color: #333;
  box-sizing: border-box;
}

/* Header */
  /* Fade-in animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Hover effect on header text */
  header:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);  /* Subtle increase in shadow on hover */
    transform: scale(1.03);  /* Slight zoom effect */
  }

  header:hover h1 {
    color: #90a4ae;  /* Subtle color change */
    transform: translateY(-5px);  /* Slight upward movement */
    transition: transform 0.3s ease, color 0.3s ease;
  }

  header:hover p {
    color: #90a4ae;  /* Change subtitle color */
    opacity: 1;  /* Make subtitle fully visible */
    font-weight: 400;
    transition: color 0.3s ease, opacity 0.3s ease;
  }

h1 {
  margin: 0;
  font-size: 2.5em; /* Adjusted size */
  letter-spacing: 1px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Section styling */
section {
  padding: 40px;
  margin: 30px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
/* Styling for the footer */
footer {
  background-color: #333; /* Dark background for contrast */
  color: #fff; /* Light text color for readability */
  text-align: center; /* Center-align the text */
  padding: 20px 0; /* Add padding for spacing */
  font-family: 'Arial', sans-serif; /* Modern, clean font */
  letter-spacing: 1px; /* Slightly spread out the letters for better readability */
  border-top: 2px solid #ccc; /* Add a subtle border to the top */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
}

footer p {
  margin: 0; /* Remove default margin for a more compact look */
  font-size: 14px; /* Adjust the font size for a better look */
}

/* Add hover effect for a more interactive feel */
footer:hover {
  background-color: #444; /* Slightly lighter background when hovered */
  transition: background-color 0.3s ease; /* Smooth transition */
}

/* Responsive design for different screen sizes */
@media (max-width: 768px) {
  footer {
    padding: 15px 0; /* Less padding on smaller screens */
  }

  footer p {
    font-size: 12px; /* Smaller text on mobile devices */
  }
}

@media (max-width: 480px) {
  footer {
    padding: 10px 0; /* Even less padding on very small screens */
  }

  footer p {
    font-size: 10px; /* Further smaller text on very small screens */
  }
}


/* CSS for responsive images */
section#dokumen img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .bubble-menu {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    font-size: 1.8em;
  }

  nav {
    left: -100%;
  }

  nav.active {
    left: 0;
  }

  section {
    padding: 25px;
    margin: 15px;
  }

}
