:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --gradient-hero: from-blue-300/60 via-white to-yellow-100;
  --gradient-hero-dark: from-blue-900/60 via-gray-900 to-yellow-900/30;
  --gradient-keunggulan: from-blue-50 to-blue-200;
  --gradient-jadwal: from-white via-blue-50 to-blue-100;
  --gradient-cta: from-blue-700 to-blue-400;
  --text-primary: #1e3a8a;
  --text-secondary: #1f2937;
  --text-muted: #4b5563;
  --card-bg: rgba(255, 255, 255, 0.88);
  --card-border: #e0e7ef;
  --navbar-bg: rgba(255, 255, 255, 0.87);
  --icon-bg: #f3f4f6;
}

.dark {
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --gradient-hero: from-blue-900/30 via-gray-900 to-blue-900/50;
  --gradient-keunggulan: from-gray-900 to-blue-900;
  --gradient-jadwal: from-gray-900 via-blue-900/70 to-blue-900;
  --gradient-cta: from-blue-900 to-blue-700;
  --text-primary: #e5e7eb;
  --text-secondary: #f3f4f6;
  --text-muted: #9ca3af;
  --card-bg: rgba(31, 41, 55, 0.85);
  --card-border: #374151;
  --navbar-bg: rgba(17, 24, 39, 0.9);
  --icon-bg: #374151;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  transition: background-color 0.3s ease;
  overflow-x: hidden;
  max-width: 100vw;
}
/* Additional styles to enhance design */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, #3b82f6, #2563eb);
}

.dark .gradient-text {
  background-image: linear-gradient(135deg, #60a5fa, #93c5fd);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.navbar-glass {
  background: var(--navbar-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1.2px solid var(--card-border);
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2.2rem;
  text-align: center;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.glass-card {
  background: var(--card-bg);
  border-radius: 1.7rem;
  box-shadow: 0 8px 28px 0 rgba(30, 64, 175, 0.09);
  border: 1.5px solid var(--card-border);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.icon-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 1.1rem;
  box-shadow: 0 2px 12px 0 rgba(30, 64, 175, 0.09);
  margin: 0 auto 1rem auto;
  background: var(--icon-bg);
  transition: background-color 0.3s ease;
}

/* Dark mode toggle */
.dark-toggle {
  width: 48px;
  height: 24px;
  background: #e5e7eb;
  border-radius: 24px;
  padding: 2px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dark-toggle-circle {
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transform: translateX(0);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.dark .dark-toggle {
  background: #3b82f6;
}

.dark .dark-toggle-circle {
  transform: translateX(24px);
  background: #1f2937;
}

/* Existing styles */
/* Fix for floating WhatsApp button */
.floating-wa-btn {
  position: fixed;
  z-index: 9999; /* Increased z-index to ensure visibility */
  right: 2rem;
  bottom: 2rem;
  background: linear-gradient(135deg, #25d366 60%, #128c7e 100%);
  color: white;
  border-radius: 50%;
  width: 60px; /* Slightly larger */
  height: 60px; /* Slightly larger */
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  outline: none;
  opacity: 1; /* Ensure it's visible */
  visibility: visible; /* Ensure it's visible */
  transform: scale(1); /* Ensure it's not scaled down */
}

.floating-wa-btn:hover {
  box-shadow: 0 0 24px 8px rgba(37, 211, 102, 0.5);
  transform: scale(1.05);
}

/* Add a subtle animation to draw attention */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.floating-wa-btn {
  animation: pulse 2s ease-in-out infinite;
}

.wa-popup {
  display: none;
  position: fixed;
  z-index: 50;
  right: 2.4rem;
  bottom: 6.2rem;
  width: 350px;
  max-width: 92vw;
  background: var(--bg-primary);
  border-radius: 1.3rem;
  box-shadow: 0 8px 32px 0 rgba(30, 64, 175, 0.1);
  border: 1.5px solid var(--card-border);
  animation: fadeIn 0.17s;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.wa-popup.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wa-popup-header {
  border-radius: 1.3rem 1.3rem 0 0;
  background: #1d4ed8;
  color: white;
  padding: 1.1rem 1.2rem 0.7rem 1.2rem;
  font-weight: 700;
  font-size: 1.09rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.5px;
}

.wa-popup-close {
  cursor: pointer;
  color: white;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
}

.wa-popup-body {
  padding: 1.1rem 1.3rem 1.2rem 1.3rem;
  color: var(--text-secondary);
  font-size: 1.01rem;
}

.wa-cs-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--card-border);
}

.wa-cs-box:last-child {
  border-bottom: none;
}

.wa-cs-status {
  background: #e0fbe5;
  color: #059669;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  padding: 0.19rem 0.65rem;
  font-weight: 600;
}

.wa-cs-btn {
  margin-left: auto;
  background: #1d4ed8;
  color: white;
  border-radius: 9999px;
  padding: 0.32rem 1.02rem;
  font-size: 0.98rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 10px 0 #1d4ed822;
}

.wa-cs-btn:hover {
  background: #2563eb;
  box-shadow: 0 2px 18px 0 #1d4ed855;
}

@media (max-width: 640px) {
  .wa-popup {
    right: 0.5rem;
    width: 95vw;
  }

  .floating-wa-btn {
    right: 1.1rem;
    bottom: 1.1rem;
  }
}
.container {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

.limit-width {
  max-width: 100%;
  width: 100%;
}

/* Fix for potential blob overflow */
.blur-3xl {
  overflow: hidden;
}

img,
svg,
iframe,
video {
  max-width: 100%;
  max-height: 300px;
}

/* Fix for embedded content */
.instagram-embed-container,
.tiktok-embed-container {
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

.instagram-media,
.tiktok-embed {
  max-width: 100% !important;
  width: 100% !important;
}
