/* ===========================
   GLOBAL RESET & BASE
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Quicksand", sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #0f1724;
  background-color: #ffffff;
}

/* ===========================
   NAVBAR
=========================== */
header.navbar-container {
  width: 100%;
  max-width: 1200px;
  padding: 1rem 1.25rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  width: 150px;
  height: auto;
  display: block;
}

/* Navbar list */
.nav-list ul {
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-list li {
  list-style: none;
}

/* Nav Links */
.nav-list a {
  text-decoration: none;
  color: #0f1724;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.nav-list a:hover,
.nav-list a.active {
  background: #2d3e50;
  color: #ffffff;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* ===========================
   MAIN LAYOUT
=========================== */
main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.content {
  display: flex;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.content-description {
  flex: 1.1;
  min-width: 260px;
}

.title {
  margin: 0 0 1rem 0;
  font-size: 3.2rem;
  line-height: 1.02;
  color: #102236;
  font-weight: 700;
}

.content-description p {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 54ch;
  margin-bottom: 1.25rem;
}

/* CTA */
.btn-primary {
  display: inline-block;
  background: #2d3e50;
  color: #fff;
  padding: 0.8rem 2.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.12s ease;
}

.btn-primary:hover {
  background: transparent;
  color: #2d3e50;
  border: 2px solid #2d3e50;
}

/* Quick Links Cards */
.quick-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.card-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  background: #f5f7fb;
  color: #0f1724;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(16, 34, 54, 0.04);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.card-link i {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
  color: #2d3e50;
  box-shadow: 0 1px 3px rgba(16, 34, 54, 0.06);
}

.card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(16, 34, 54, 0.08);
}

/* Image */
.content-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-image img {
  width: 360px;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(16, 34, 54, 0.08);
  object-fit: cover;
}

/* ===========================
   SOCIAL MEDIA STICKY
=========================== */
main aside {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  pointer-events: none;
}

.social-media {
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.social-media ul {
  padding: 1.5rem 0.9rem;
  margin: auto 0;
  background: #2d3e50;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.social-media a {
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  transition: color 0.12s ease;
}

.social-media a:hover {
  color: #89b0d9;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  text-align: center;
  padding: 20px;
  background-color: #f5f5f5;
  color: #444;
  font-size: 14px;
  margin-top: 40px;
}

/* ===========================
   RESPONSIVE BREAKPOINTS
=========================== */

@media (max-width: 900px) {
  main {
    padding: 1.25rem;
  }

  .content {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }

  .title {
    font-size: 2.4rem;
  }

  .content-image img {
    width: 300px;
  }
}

@media (max-width: 768px) {

  /* Hide default navbar */
  .nav-list ul {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    right: 10px;
    top: 70px;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  }

  .nav-list ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 520px) {
  header.navbar-container {
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
  }

  .title {
    font-size: 2rem;
  }

  .card-link {
    padding: 0.45rem 0.6rem;
    font-size: 0.95rem;
  }

  .content-image img {
    width: 220px;
  }

  /* Hide social media on tiny screens */
  .social-media ul {
    display: none;
  }
}

/* Notification / spinner (global tambahan) */
.notif {
  display: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 10px;
}

.notif.success {
  background: #e6ffef;
  color: #0a6b3b;
  border: 1px solid #b6f0cf;
}

.notif.error {
  background: #ffeced;
  color: #b00020;
  border: 1px solid #f3bfc1;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0, 0, 0, 0.08);
  border-top-color: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  vertical-align: middle;
  margin-left: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Modal basic (global) */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.modal .panel {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 92%;
  max-width: 520px;
  box-shadow: 0 12px 40px rgba(16, 34, 54, 0.2);
  text-align: center;
}

/* Notifications & spinner (global) */
.notif {
  display: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  margin-top: 10px;
}

.notif.success {
  background: #e6ffef;
  color: #0a6b3b;
  border: 1px solid #b6f0cf;
}

.notif.error {
  background: #ffeced;
  color: #b00020;
  border: 1px solid #f3bfc1;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0, 0, 0, 0.08);
  border-top-color: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Modal */
.modal,
.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.modal .panel,
.auth-panel {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 92%;
  max-width: 520px;
  box-shadow: 0 12px 40px rgba(16, 34, 54, 0.2);
  text-align: center;
}