/* Hapus sidebar, kembalikan topbar */
/* Topbar modern horizontal */
/* --- Classic Modern Topbar --- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 36px;
  height: 62px;
  background: #f8fafc;
  border-bottom: 1.5px solid #e2e8f0;
  /* Pertebal shadow agar tidak menyatu dengan hero */
  box-shadow: 0 6px 24px 0 rgba(30,40,60,0.16), 0 1.5px 0 #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
}

.topbar .brand {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #23424a;
  text-shadow: none;
  padding: 0 0.5rem 0 0;
  line-height: 1;
}

/* === MENU DESKTOP === */
.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  position: relative;
}

.menu > li > a,
.menu > li > .dropdown-toggle {
  display: block;
  padding: 10px 18px 10px 18px;
  color: #23424a;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.01rem;
  border-radius: 6px;
  background: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: none;
}

/* Desktop vs Mobile text */
.desktop-text { display: inline; }
.mobile-text  { display: none; }

.menu > li > a:hover,
.menu > li > .dropdown-toggle:hover,
.menu > li > a:focus,
.menu > li > .dropdown-toggle:focus {
  background: #e2e8f0;
  color: #1a3a2d;
  box-shadow: 0 2px 8px 0 rgba(30,40,60,0.08);
}

.login-btn {
  background: #23424a;
  color: #fff !important;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  padding: 8px 18px;
  margin-left: 8px;
  box-shadow: 0 2px 8px 0 rgba(30,40,60,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.login-btn:hover, .login-btn:focus {
  background: #1a3a2d;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(30,40,60,0.13);
}

/* Submenu (dropdown) */
.submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  box-shadow: 0 8px 32px 0 rgba(30,40,60,0.10);
  z-index: 200;
  padding: 6px 0;
  margin-top: 2px;
}

.submenu li a {
  display: block;
  padding: 9px 18px;
  color: #23424a;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.98rem;
  font-weight: 400;
  background: none;
  transition: background 0.16s, color 0.16s;
}

.submenu li a:hover {
  background: #e2e8f0;
  color: #1a3a2d;
}

/* Default: submenu hidden */
.has-dropdown > .submenu {
  display: none;
}

/* Dipakai JS (mobile & desktop): kalau ada class .open → tampil */
.has-dropdown.open > .submenu {
  display: block;
}

/* Desktop only: boleh buka pakai hover juga */
@media (min-width: 901px) {
  .has-dropdown:hover > .submenu {
    display: block;
  }
}


/* === HAMBURGER BUTTON === */
/* === HAMBURGER BUTTON – DEFAULT: HIDDEN (DESKTOP) === */
.hamburger {
  display: none;               /* ⬅️ desktop: hidden */
  position: relative;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  background: #e5edf5;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

/* 3 garis */
.hamburger span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #1f2933;
  transform: translateX(-50%);
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

/* posisi awal: atas - tengah - bawah */
.hamburger span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -6px);
}
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translate(-50%, 0);
}
.hamburger span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, 6px);
}

/* saat open → X di tengah */
.hamburger.open span:nth-child(1) {
  transform: translate(-50%, 0) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translate(-50%, 0) rotate(-45deg);
}

/* === TAMPILKAN HAMBURGER HANYA DI MOBILE === */
@media (max-width: 900px) {
  .hamburger {
    display: inline-flex;      /* ⬅️ mobile: kelihatan */
  }
}

/* ===================== */
/*  RESPONSIVE TOPBAR    */
/* ===================== */
@media (max-width: 900px) {
  .topbar {
    padding: 0 14px;
    height: 60px;
    border-radius: 0 0 18px 18px;
    position: sticky;
    top: 0;
    z-index: 200;
  }

  .topbar .brand {
    font-size: 1rem;
    padding: 0 4px 0 0;
  }

  .hamburger {
    display: inline-flex;
  }

  /* Menu jadi dropdown full width */
  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #f8fafc;
    padding: 8px 12px 12px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15,23,42,0.18);
    display: none;
  }

  .menu.open {
    display: flex;
  }

  .menu > li > a,
  .menu > li > .dropdown-toggle {
    padding: 10px 10px;
    font-size: 0.95rem;
    border-radius: 6px;
  }

  .submenu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 4px 12px;
    margin-top: 4px;
  }

  .submenu li a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  /* Teks desktop di-hide, mobile di-show */
  .desktop-text { display: none; }
  .mobile-text  { display: inline; }
}

@media (max-width: 700px) {
  .topbar {
    border-radius: 0 0 12px 12px;
  }
}

/* Page-specific styles from home/index.php */

.company-info-item h3 {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.company-info-grid {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .company-info-grid {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .company-info-item h3 {
    justify-content: center;
  }
}

.company-info-item .icon {
  width: 24px;
  height: 24px;
  color: #23424a;
}

.company-info-item address,
.social-media-list li a {
  font-style: normal;
  color: #5a7881;
  text-decoration: none;
  transition: color 0.3s;
}

.social-media-list {
  list-style: none;
  padding: 0;
}

.social-media-list li {
  margin-bottom: 8px;
}

.social-media-list li a:hover {
  color: #23424a;
  text-decoration: underline;
}

/* Modern Hero Section with Ava Card */
.hero.hero-modern {
  display: flex !important; /* Override the grid !important */
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
  max-width: none;
  margin: 0;
  padding: 7vh 8vw 5vh;
  min-height: 100vh;
  background: linear-gradient(120deg, #f8fafc 0%, #e3f6e8 100%);
  border-radius: 0;
  box-shadow: 0 16px 48px 0 rgba(30, 60, 40, 0.10), 0 2px 24px 0 rgba(30, 60, 40, 0.08);
}

.hero-modern-inner {
  width: 100%;
  max-width: 900px;
  margin-left: 2vw;
  margin-top: 0;
}

.hero-modern-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #1a3a2d;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero-modern-subtitle {
  font-size: 1.25rem;
  color: #3a4d3c;
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-modern-btns {
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.hero-modern-btns a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  background: #f5f7f838;
  color: #2b503b;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 2px solid #314233;
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.22);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  will-change: transform, background, box-shadow;
  text-shadow: 0 0 6px rgba(0,0,0,0.28), 0 0 2px rgba(0,0,0,0.18);
}

.hero-modern-btns .login-btn {
  color: #2b503b !important;
  background: #f5f7f838;
  border: 2px solid #314233;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(0,0,0,0.28), 0 0 2px rgba(0,0,0,0.18);
}

.hero-modern-btns .login-btn:hover,
.hero-modern-btns .login-btn:focus {
  background: #89b2a7;
  border-color: #124b27;
  color: #ffffff !important;
}

.hero-modern-btns a:hover {
  background: #89b2a7;
  border-color: #124b27;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.hero-ava-wrapper {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-ava-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  padding: 28px 26px 26px;
  box-shadow: 0 18px 50px rgba(22, 60, 40, 0.20);
  border: 1px solid rgba(18, 66, 38, 0.14);
  text-align: center;
  max-width: 360px;
  width: 100%;
}

.hero-ava-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #18412f;
  margin-bottom: 10px;
}

.hero-ava-text {
  font-size: 0.98rem;
  color: #42584a;
  margin-bottom: 18px;
}

.hero-ava-visual {
  width: 180px;
  height: 180px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 10%, #fefcf7 0%, #e3f6e8 55%, #cdebd9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-ava-visual img {
  width: 140px;
  height: auto;
  display: block;
}

.hero-ava-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid #204f37;
  background: #ffffff;
  color: #204f37;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.hero-ava-btn:hover {
  background: #204f37;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(20, 70, 45, 0.35);
}

.hero-ava-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: #3c5244;
  text-align: left;
}

.hero-ava-highlights li::before {
  content: "•";
  color: #1f7a45;
  font-weight: 900;
  display: inline-block;
  width: 1rem;
  margin-left: -0.4rem;
}

/* Responsive for hero-modern */
@media (max-width: 900px) {
  .hero.hero-modern {
    flex-direction: column;
    text-align: center;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .hero-modern-inner {
    margin-left: 0;
    align-items: center;
  }
  .hero-modern-btns {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-ava-wrapper {
    width: 100%;
    margin-top: 24px;
  }
  .hero-ava-highlights {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .hero.hero-modern {
    padding: 32px 8vw 32px 8vw;
  }
  .hero-modern-title {
    font-size: 2rem;
  }
  .hero-modern-btns {
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* Hero Section Two Table Layout (masih dipakai halaman lain) */
.hero {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: stretch;
  max-width: 1120px;
  margin: 48px auto 0 auto;
  gap: 32px;
}

.hero-left, .hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-left .hero-outline,
.hero-right .hero-outline {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-right table {
  width: 100%;
  height: 100%;
}

.hero-btn-group .btn-explore {
  flex: 1 1 100%;
  min-width: 0;
  margin-right: 0;
  margin-left: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #e5f4e0 100%);
  box-shadow: 0 6px 18px rgba(30, 60, 40, 0.22), 0 2px 0 rgba(255,255,255,0.08) inset;
  color: #2b503b;
  font-weight: 700;
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.3));
  text-align: center;
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
}

/* Hero Section Button Group Horizontal & 3D */
.hero-btn-group {
  margin-top: 32px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

.hero-btn-group .btn-primary {
  min-width: 180px;
  flex: 1 1 0;
  text-align: center;
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 2px rgba(255,255,255,0.3));
  box-shadow: 0 6px 18px rgba(30, 60, 40, 0.22), 0 2px 0 rgba(255,255,255,0.08) inset;
  border: none;
  background: linear-gradient(180deg, #ffffff 0%, #e5f4e0 100%);
  color: #2b503b;
  font-weight: 700;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  position: relative;
}

.hero-btn-group .btn-primary.btn-3d {
  box-shadow: 0 8px 24px rgba(30, 60, 40, 0.28), 0 2px 0 rgba(255,255,255,0.10) inset;
  background: linear-gradient(180deg, #678b17 0%, #2b503b 100%);
  border-radius: 10px;
}

.hero-btn-group .btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 8px rgba(30, 60, 40, 0.18);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { }

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff; /* teks default putih biar kontras dengan background ombak */
  min-height: 100vh;
  position: relative;
  z-index: 0;
  padding-bottom: 100px;
}

/* Home page: allow vertical scroll with extra space */
.page-home {
  min-height: 140vh;
}

.page-home ::marker {
  color: #23424a;
}

/* Login page layout */
.login-container {
  width: 100%;
  max-width: 420px;
  margin: 32px auto;
  padding: 24px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.login-container h1 { text-align: center; margin-bottom: 16px; }

.login-form { display: grid; gap: 12px; }

.login-form label {
  font-size: 0.95rem;
  color: #e5e7eb;
}

.login-form input {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.login-form input::placeholder { color: rgba(255,255,255,0.7); }

.login-help {
  text-align: center;
  margin-top: 10px;
  color: #e5e7eb;
}

.login-back {
  color: #38bdf8;
  text-decoration: none;
}

.login-back:hover { text-decoration: underline; }

/* Background SVG */
.wavy-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
}

/* Sidebar styles */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: #56716bde;
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-shadow: 8px 0 32px 0 #56716b44, 0 2px 0 rgba(255,255,255,0.08) inset;
  border-radius: 0 32px 32px 0;
  padding-top: 0;
  min-height: 100vh;
  overflow-y: auto;
}
.sidebar-brand {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #fff;
  padding: 32px 24px 18px 24px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 8px;
}
.sidebar-menu {
  list-style: none;
  padding: 0 0 0 0;
  margin: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sidebar-menu li {
  width: 100%;
}
.sidebar-menu li a {
  display: block;
  padding: 14px 28px;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-left: 4px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.sidebar-menu li a:hover, .sidebar-menu li a:focus {
  background: #89b2a7;
  color: #fff;
  border-left: 4px solid #2b503b;
}
.sidebar-section {
  padding: 10px 24px 4px 24px;
  color: #b6e0d8;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-top: 12px;
  margin-bottom: 2px;
  pointer-events: none;
}

@media (max-width: 900px) {
  .sidebar {
    width: 160px;
  }
  .sidebar-brand, .sidebar-section, .sidebar-menu li a {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 700px) {
  .sidebar {
    position: static;
    width: 100vw;
    height: auto;
    flex-direction: row;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 12px 48px 0 #56716b88, 0 2px 0 rgba(255,255,255,0.08) inset;
  }
  .sidebar-brand {
    padding: 18px 14px;
    font-size: 1.1rem;
    border-bottom: none;
    margin-bottom: 0;
  }
  .sidebar-menu {
    flex-direction: row;
    gap: 0;
    width: 100%;
    justify-content: flex-end;
  }
  .sidebar-menu li {
    width: auto;
  }
  .sidebar-menu li a {
    padding: 12px 10px;
    font-size: 0.98rem;
    border-left: none;
    border-bottom: 2px solid transparent;
  }
  .sidebar-menu li a:hover, .sidebar-menu li a:focus {
    border-left: none;
    border-bottom: 2px solid #2b503b;
  }
  .sidebar-section {
    display: none;
  }
}

/* Main content shift for sidebar */
.container-tables.with-sidebar {
  margin-left: 220px;
  transition: margin-left 0.2s;
}
@media (max-width: 900px) {
  .sidebar {
    width: 160px;
  }
  .container-tables.with-sidebar {
    margin-left: 160px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: static;
    width: 100vw;
    height: auto;
    min-height: unset;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 12px 48px 0 #56716b88, 0 2px 0 rgba(255,255,255,0.08) inset;
    z-index: 20;
  }
  .container-tables.with-sidebar {
    margin-left: 0;
  }
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1120px;
  margin: 48px auto 0 auto; /* margin-top agar tidak menempel dengan topbar */
  padding: 80px 16px 64px;
  gap: 32px;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 120px 0 rgba(15, 23, 40, 0.28), 0 2px 24px 0 rgba(15, 23, 40, 0.18);
}
.hero-logo-small {
  max-height: 80px !important;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -30% -10% 0 -10%;
  background:
    radial-gradient(160px 120px at 15% 20%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(220px 160px at 85% 15%, rgba(255, 255, 255, 0.18), transparent),
    radial-gradient(320px 220px at 50% 90%, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.hero-text, .hero-image {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: none;
}

.hero-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #f3f4f6;
  text-shadow: none;
}

/* Tight outline box around hero copy */
.hero-outline {
  border: 2px solid rgba(0,0,0,0.9);
  border-radius: 10px;
  padding: 16px;
  background: url('WhatsApp Image 2025-09-25 at 12.32.52_f3d0b03a.jpg') center center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(8px);
  z-index: 0;
}
.hero-outline > * {
  position: relative;
  z-index: 1;
}

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  background: #2b503b;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-primary:hover {
  background: #0284c7;
}

/* Back Home floating button */
.back-home-btn {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #f5f7f838; /* brighter */
  color: #325645;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 2px solid #314233;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 2px 0 rgba(0,0,0,0.35) inset;
  transform: translateZ(0);
  transition: bottom 0.3s ease;
}

/* Adjust floating buttons when footer is visible */
body.show-footer .back-home-btn {
  bottom: 120px;
}

.back-home-btn:hover {
  background: #89b2a7;
  border-color: #124b27;
  color: #ffffff;
}


@media (prefers-reduced-motion: no-preference) {
  .back-home-btn {
    animation: bh-bounce 2.2s ease-in-out infinite;
  }
}

@keyframes bh-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Daftar Sekarang floating button */
.daftar-sekarang-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #f5f7f838; /* brighter */
  color: #325645;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 2px solid #314233;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 2px 0 rgba(0,0,0,0.35) inset;
  transform: translateZ(0);
  transition: bottom 0.3s ease;
}

/* Adjust floating buttons when footer is visible */
body.show-footer .daftar-sekarang-btn {
  bottom: 120px;
}

.daftar-sekarang-btn:hover {
  background: #89b2a7;
  border-color: #124b27;
  color: #ffffff;
}


@media (prefers-reduced-motion: no-preference) {
  .daftar-sekarang-btn {
    animation: ds-bounce 2.2s ease-in-out infinite;
  }
}

@keyframes ds-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Login button in topbar */
.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
   background: #f5f7f838; /* Kembalikan background button ke semitransparent putih */
   color: #2b503b; /* Ubah warna font button utama Hero Section menjadi hijau */
  color: #325645;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 2px solid #314233;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.login-btn:hover {
  background: #89b2a7;
  border-color: #124b27;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}


/* Consultation Section */
.consultation-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 16px 120px;
  position: relative;
  z-index: 1;
}

.consultation-table {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  will-change: transform, background, box-shadow;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.consultation-table h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  letter-spacing: 0.3px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.consultation-table p {
  font-size: 1rem;
  color: #f8fafc;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Consultation button in section */
.consultation-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  background: #f5f7f838;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 2px solid #314233;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  will-change: transform, background, box-shadow;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.consultation-btn:hover {
  background: #89b2a7;
  border-color: #124b27;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.consultation-icon {
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.3));
}

/* Footer */
.site-footer {
  margin-top: 40px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.08);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}
.site-footer .footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px;
  text-align: center;
  color: #e5e7eb;
}

/* Footer skyline */
.footer-skyline {
  width: 100%;
  height: 95px; /* lebih kecil */
  overflow: visible;
}
.footer-skyline svg {
  display: block;
  width: 100%;
  height: 100%;
  margin-top: -56px;
}
.footer-skyline .landmark { fill: #ffffff; }

/* Top skyline strip under the nav */
.top-skyline {
  width: 100%;
  height: 110px;
  overflow: hidden;
  background: transparent;
}
.top-skyline svg { width: 100%; height: 100%; display: block; }
.top-skyline .landmark { fill: #ffffff; }
.footer-skyline .ground {
  fill: #0a0a0a;
  stroke: none;
}

/* Footer text aktif kembali */
/* (hapus override display: none) */

/* Footer visible only when at page bottom */
body.show-footer .site-footer {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Hero image */
.hero-image { 
  align-self: center; 
  display: flex; 
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  position: relative;
}

.hero-logo {
  height: auto;
  width: auto;
  max-height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.25));
  animation: hero-float 5s ease-in-out infinite;
}

.consultation-hint {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  animation: float-hint 3s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes float-hint {
  0%, 100% { 
    transform: translateX(-50%) translateY(0); 
  }
  50% { 
    transform: translateX(-50%) translateY(-5px); 
  }
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Tables page */
.container-tables {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 16px 64px;
  display: grid;
  gap: 24px;
}
.table-card {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
}
.table-card h2 { 
  margin-bottom: 12px; 
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.table-card table { width: 100%; border-collapse: collapse; }
.table-card th, .table-card td { border-bottom: 1px solid rgba(255,255,255,0.12); padding: 10px 8px; text-align: left; }
.table-card thead th { color: #bef0ff; }
.page-explore .title-table {
  width: auto;
  margin: 8px 0 12px;
  background: #ffffff;
  color: #0f5132;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.page-explore .title-table td {
  padding: 8px 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
  border-bottom: none;
}
/* Home page - white table with text shadow */
.page-home .table-card table {
  background: #ffffff;
  color: #0f172a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.page-home .table-card td, .page-home .table-card th {
  color: #0f172a;
  border-bottom: 1px solid rgba(15,23,42,0.12);
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.page-home .table-card thead th { background: #f8fafc; }
.page-home .table-card tr:hover td { background: #f1f5f9; }
/* Explore page - white tables, green text with shadow */
.page-explore .table-card table {
  background: #ffffff;
  color: #0f5132; /* hijau gelap agar kontras */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.page-explore .table-card thead th {
  background: #f1f5f9;
  color: #0f5132;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  font-weight: 700;
}
.page-explore .table-card td, .page-explore .table-card th {
  border-bottom: 1px solid rgba(15,81,50,0.15);
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  color: #0f5132;
}
.page-explore .table-card tr:hover td {
  background: #f8fafc;
}

/* Contact options layout */
.contact-options {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 240px;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.15s ease, background 0.15s ease;
}
.contact-card:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); }
.contact-title { font-weight: 700; font-size: 1.15rem; }
.contact-sub { opacity: 0.9; margin-top: 4px; }

/* Responsif */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text { order: 2; }
  .hero-image { order: 1; height: auto; }
  .hero-logo { max-height: 220px; }
  .menu { gap: 12px; }
  .submenu {
    position: static;
    box-shadow: none;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 6px;
  }
}

/* Registration Page */
.register-container {
  width: 100%;
  max-width: 600px;
  margin: 96px auto;
  padding: 24px;
}

.register-card {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.register-card h1 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.register-subtitle {
  text-align: center;
  margin-bottom: 32px;
  color: #f3f4f6;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.register-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.95rem;
  color: #e5e7eb;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.form-group input,
.form-group select {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.7);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.form-group select option {
  background: #1f2937;
  color: #fff;
}

.checkbox-group {
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #38bdf8;
  border-color: #38bdf8;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after  content
.registration-note {
  text-align: center;
  margin: 16px 0;
  padding: 12px 16px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
}

.registration-note p {
  margin: 0;
  color: #e0f2fe;
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  line-height: 1.4;
}

.register-btn {
  width: 100%;
  padding: 16px 24px;
  border-radius: 8px;
  background: #2b503b;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-shadow: 1px 1px 2px rgba(3, 2, 2, 0.3);
  margin-top: 8px;
}

.register-btn:hover {
  background: #1b7a51;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.register-btn:active {
  transform: translateY(0);

}

/* Accessible focus outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn-primary:focus-visible,
.menu a:focus-visible,
.submenu a:focus-visible,
.login-back:focus-visible,
.contact-card:focus-visible,
.register-btn:focus-visible {
  outline: 3px solid #cad6db;
  outline-offset: 3px;
  border-radius: 6px;
}
/* Blog listing */
.blog-main { width:100%; }
.blog-filter { display:flex; justify-content:center; margin:8px 0 4px; }
.blog-filter-select { min-width:280px; padding:12px 14px; border-radius:8px; border:1px solid rgba(255,255,255,0.2); background:rgba(255,255,255,0.08); color:#fff; }
.blog-filter-select:focus { outline:none; border-color:rgba(110,231,255,0.6); box-shadow:0 0 0 2px rgba(110,231,255,0.25); }

.blog-feed { padding:24px; }
.blog-feed-title { margin-bottom:16px; }
.blog-list { display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width: 720px) {
  .blog-list { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}

.blog-card { border-radius:12px; background:rgba(15,29,34,0.75); border:1px solid rgba(255,255,255,0.08); transition:transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.blog-card-link { display:flex; flex-direction:column; gap:10px; padding:20px; color:inherit; text-decoration:none; height:100%; }
.blog-card-topic { align-self:flex-start; font-size:0.7rem; letter-spacing:0.08em; text-transform:uppercase; background:rgba(110,231,255,0.12); color:#9dfff7; border-radius:999px; padding:4px 10px; border:1px solid rgba(110,231,255,0.35); }
.blog-card-subtitle { font-size:0.9rem; opacity:0.72; }
.blog-card-summary { opacity:0.86; line-height:1.5; font-size:0.95rem; }
.blog-card-footer { margin-top:auto; display:flex; justify-content:space-between; align-items:center; font-size:0.8rem; opacity:0.7; }
.blog-card-read { color:#6ee7ff; font-weight:600; transition:color 0.2s ease; }
.blog-card:hover { transform:translateY(-4px); border-color:rgba(110,231,255,0.4); background:rgba(15,29,34,0.9); }
.blog-card:hover .blog-card-read { color:#a5f3fc; }
.blog-empty { text-align:center; margin-top:16px; opacity:0.75; }

.blog-article-card { padding:28px; display:flex; flex-direction:column; gap:16px; }
.blog-back-link { color:#6ee7ff; font-size:0.9rem; text-decoration:none; }
.blog-back-link:hover { text-decoration:underline; }
.blog-article-title { font-size:2rem; margin:0; }
.blog-article-subtitle { font-size:1.05rem; opacity:0.8; margin:0; }
.blog-article-meta { font-size:0.85rem; opacity:0.7; }
.blog-article-content p { line-height:1.7; margin-bottom:1rem; }
.blog-article-content p:last-child { margin-bottom:0; }

.blog-admin-card { background:rgba(10,22,25,0.85); }
.blog-settings-form input,
.blog-settings-form select,
.blog-settings-form textarea { width:100%; margin-top:6px; border-radius:8px; border:1px solid rgba(255,255,255,0.18); padding:10px 12px; background:rgba(255,255,255,0.08); color:#fff; }
.blog-settings-form textarea { resize:vertical; }
.blog-settings-form input:focus,
.blog-settings-form select:focus,
.blog-settings-form textarea:focus { outline:none; border-color:rgba(110,231,255,0.6); box-shadow:0 0 0 2px rgba(110,231,255,0.25); }
.blog-settings-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:12px; }
.blog-settings-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.blog-posts-table { width:100%; border-collapse:collapse; margin-top:12px; }
.blog-posts-table th,
.blog-posts-table td { border-bottom:1px solid rgba(255,255,255,0.15); padding:10px; text-align:left; vertical-align:top; }
.blog-posts-table tbody tr:hover { background:rgba(255,255,255,0.04); }/* Zoom effect for consultation table */
.consultation-table.zoom-in {
  transform: scale(1.15);
  background: rgba(0,0,0,0.8);
  backdrop-filter: none;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 25px 70px rgba(0,0,0,0.6);
  z-index: 10;
  position: relative;
}

/* Hide other content when consultation is zoomed */
.consultation-section.zoom-mode .consultation-table {
  transform: translate(-50%, -50%) scale(1.3);
  background: rgba(0,0,0,0.95);
  backdrop-filter: none;
  border: 3px solid rgba(255,255,255,0.4);
  box-shadow: 0 40px 100px rgba(0,0,0,0.9);
  z-index: 1000;
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  max-width: 85vw;
  width: 650px;
  padding: 50px;
}

.consultation-section.zoom-mode::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 999;
  backdrop-filter: none;
}

/* Floating button indicators */
.back-home-btn::before {
  content: '<';
  margin-right: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.daftar-sekarang-btn::before {
  content: '*';
  margin-right: 8px;
  font-size: 1rem;
}

.login-btn::before 
  

/* Blog page footer override */
.page-blog .site-footer {
  position: static;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.profile-section {
  position: relative;
  margin: 48px 0 90px 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #23424a;
  overflow: hidden;
  box-shadow: 0 24px 80px 0 rgba(30,40,60,0.13), 0 2px 24px 0 rgba(15, 23, 40, 0.10), 0 0 0 1.5px #b6e0d8 inset;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  backdrop-filter: blur(8px) saturate(1.15);
  border: 1.5px solid #b6e0d8;
  position: relative;
  animation: fadeInProfile 1.2s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInProfile {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.profile-modern-layout {
  display: flex;
  flex-direction: row;
  gap: 0;
  min-height: 420px;
}
.profile-visual-col {
  flex: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 260px;
  background: none;
}
.profile-visual-bg {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 60% at 60% 60%, #b6e0d8 0%, #e3f6e8 100%, #fff 120%);
  opacity: 0.38;
  filter: blur(2px) brightness(1.08);
  z-index: 1;
  border-radius: 40px 0 0 40px;
}
.profile-visual-img {
  width: 92%;
  max-width: 340px;
  min-width: 180px;
  z-index: 2;
  filter: drop-shadow(0 12px 40px rgba(30,40,60,0.18)) blur(0.5px);
  border-radius: 32px;
  background: rgba(255,255,255,0.82);
  object-fit: contain;
  margin: 0 auto;
  display: block;
  border: 2.5px solid #b6e0d8;
  transition: box-shadow 0.22s, border 0.22s;
  box-shadow: 0 0 0 4px #e3f6e8cc;
}
.profile-content-col {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 54px 0 54px 0;
  max-width: 700px;
  margin: 0 auto;
}
.profile-head.section-header {
  text-align: center;
  margin: 0 0 1.2rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.profile-title {
  font-size: clamp(2.1rem, 6vw, 3rem);
  line-height: 1.25;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.7rem 0;
  text-shadow:6px 10px 28px rgba(0,0,0,0.45), 0 2px 0 rgba(0,0,0,0.22);
  text-align: center;
}
.profile-unique-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #2b503b;
  margin: 1.1rem 0 0.2rem 0;
  text-align: left;
  letter-spacing: 0.01em;
  text-shadow: none;
}
.profile-subtitle {
  text-shadow:none;
  margin: 0 0 0.7rem 0;
  font-size: 1.01rem;
  color: #e3f6e8;
  font-weight: 400;
}
.profile-modern-grid {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-top: 0.7rem;
  justify-content: center;
}
.profile-modern-card {
  background: rgba(255,255,255,0.72);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(30,40,60,0.13), 0 0 0 2.5px #b6e0d8 inset;
  padding: 32px 22px 28px 22px;
  border: 1.5px solid #b6e0d8;
  min-width: 0;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.22s, transform 0.18s, border 0.22s, background 0.22s;
  z-index: 2;
  backdrop-filter: blur(4px) saturate(1.12);
  border-image: linear-gradient(120deg, #b6e0d8 60%, #e3f6e8 100%) 1;
  animation: fadeInProfileCard 1.2s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInProfileCard {
  from { opacity: 0; transform: translateY(32px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.profile-modern-card:hover {
  box-shadow: 0 24px 64px 0 #b6e0d8cc, 0 0 0 2.5px #2b503b inset;
  border-color: #2b503b;
  background: rgba(255,255,255,0.92);
  transform: translateY(-6px) scale(1.045);
}
.profile-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px 0 #b6e0d8cc;
  border: 2px solid #b6e0d8;
  background: linear-gradient(120deg, #e3f6e8 0%, #fff 100%);
}
.profile-modern-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #23424a;
  margin: 0 0 8px 0;
  text-align: left;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px #b6e0d8cc;
}
.profile-modern-card p {
  color: #314358;
  font-size: 1.04rem;
  margin: 0;
  text-align: left;
  opacity: 0.92;
}
@media (max-width: 900px) {
  .profile-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .profile-modern-layout {
    flex-direction: column;
  }
  .profile-visual-col {
    display: none;
  }
  .profile-content-col {
    padding: 36px 2vw 36px 2vw;
  }
  .profile-modern-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.profile-section::before {
  content: '';
  position: absolute;
  inset: -30% -10% 0 -10%;
  background:
    radial-gradient(160px 120px at 15% 20%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(220px 160px at 85% 15%, rgba(255, 255, 255, 0.18), transparent),
    radial-gradient(320px 220px at 50% 90%, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 2vw + 1rem, 2.75rem);
}

.profile-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 7vw, 60px);
}

.profile-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(15, 23, 40, 0.74);
}

.profile-title {
  font-size: clamp(2.1rem, 6vw, 3rem);
  line-height: 1.25;
  font-weight: 900;
  color: #23424a;
  margin: 0 0 0.7rem 0;
  text-shadow:6px 10px 28px rgba(0,0,0,0.45), 0 2px 0 rgba(0,0,0,0.22);
  text-align: center;}
.profile-unique-title {
  font-size: clamp(2.1rem, 6vw, 3rem);
  line-height: 1.25;
  font-weight: 900;
  color: #23424a;
  margin: 1.2rem 0 0.2rem 0;
  text-align: center;
  text-shadow:6px 10px 28px rgba(0,0,0,0.45), 0 2px 0 rgba(0,0,0,0.22);
  text-shadow:6px 10px 28px rgba(0,0,0,0.45), 0 2px 0 rgba(0,0,0,0.22);
  text-shadow:none;
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 3rem);
  line-height: 1.25;
}

.profile-subtitle {
  text-shadow:none;
  margin: 0;
  font-size: 1.90rem;
  color: rgba(15, 23, 40, 0.78);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 4vw, 28px);
}

.profile-card {
  text-shadow:0.5px 0.5px 1.5px rgba(0,0,0,0.10);
  padding: clamp(24px, 5vw, 32px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 38px rgba(15, 23, 40, 0.12);
  backdrop-filter: blur(2px);
}

.profile-card h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
  color: #0f1728;
}

.profile-card p {
  margin: 0;
  color: #314358;
  font-size: 0.98rem;
}

@media (max-width: 720px) {
  .profile-section {
    margin: 72px auto;
    border-radius: 32px;
  }

  .profile-eyebrow {
    letter-spacing: 0.26em;
  }
}

@media (max-width: 520px) {
  .profile-section {
    padding: 48px 22px 54px;
  }

  .profile-card {
    border-radius: 20px;
  }
}

/* Responsive for Consultation Section */
@media (max-width: 600px) {
  .consultation-table {
    padding: 24px;
  }

  .consultation-table h2 {
    font-size: 1.25rem;
  }
}

/* Responsive for Floating Buttons */
@media (max-width: 768px) {
  .back-home-btn,
  .daftar-sekarang-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .back-home-btn {
    left: 15px;
    bottom: 15px;
  }

  .daftar-sekarang-btn {
    right: 15px;
    bottom: 15px;
  }

  body.show-footer .back-home-btn,
  body.show-footer .daftar-sekarang-btn {
    bottom: 110px; /* Adjust based on footer height */
  }
}

/* Force horizontal padding on sections on mobile */
@media (max-width: 900px) {
  .page-home .profile-section,
  .page-home .our-mascots-section {
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* Flasher messages */
.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

.alert-danger strong {
  font-weight: 700;
}

.alert .btn-close {
  padding: 0.5rem 0.5rem;
  margin: -0.5rem -0.5rem -0.5rem auto;
  background-color: transparent;
  border: 0;
  opacity: 0.5;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: inherit;
}

.alert .btn-close:hover {
  opacity: 0.75;
}
