/* ==========================================================================
   sagakatiga - Modern OHS/K3 Training Landing Page Design System
   Color Palette:
   - Primary: #316D3C (Forest Green)
   - Secondary / Accent: #11446F (Navy / Deep Blue)
   - Background: #F4F1DE (Soft Off-White)
   - Typography: #2B303A (Dark Graphite)
   - Surface / Card: #FFFFFF (Pure White)
   ========================================================================== */

:root {
  --color-primary: #316D3C;
  --color-primary-dark: #24522D;
  --color-primary-light: #448F53;
  --color-primary-subtle: #EBF3ED;
  --color-accent: #11446F;
  --color-accent-dark: #0E3A5F;
  --color-accent-light: #5296CC;
  --color-accent-subtle: #F0F6FB;
  --color-bg: #F4F1DE;
  --color-surface: #FFFFFF;
  --color-text: #2B303A;
  --color-text-muted: #596172;
  --color-border: #E2DFD0;
  --color-border-light: #ECEAE0;
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
}

body {
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F4F1DE;
}
::-webkit-scrollbar-thumb {
  background: #B6C9BA;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #316D3C;
}

/* Selection Color */
::selection {
  background-color: #316D3C;
  color: #FFFFFF;
}

/* Glassmorphism & Elevation */
.glass-nav {
  background: rgba(244, 241, 222, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(49, 109, 60, 0.12);
}

.card-hover-effect {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover-effect:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -10px rgba(43, 48, 58, 0.08), 0 0 0 1px rgba(49, 109, 60, 0.15);
}

/* Subtle pattern for Hero & Sections */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(49, 109, 60, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-dot-pattern-navy,
.bg-dot-pattern-atlantic {
  background-image: radial-gradient(rgba(17, 68, 111, 0.12) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
}

/* Pulse animation for Live Badges */
@keyframes soft-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
  }
}

.pulse-dot {
  animation: soft-pulse 2s infinite ease-in-out;
}

/* Custom Accordion Transition */
.accordion-content {
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Floating WhatsApp Pulse */
@keyframes wa-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.floating-wa-btn {
  animation: wa-glow 2.5s infinite;
}

/* Badge styling */
.badge-forest {
  background-color: rgba(49, 109, 60, 0.12);
  color: #316D3C;
  border: 1px solid rgba(49, 109, 60, 0.25);
}

.badge-navy,
.badge-atlantic {
  background-color: rgba(17, 68, 111, 0.12);
  color: #11446F;
  border: 1px solid rgba(17, 68, 111, 0.25);
}

/* High contrast subtle card borders */
.border-k3 {
  border: 1px solid #E5E1D0;
}

/* Number Step Indicator */
.step-number {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Tab active indicator transition */
.tab-btn {
  transition: all 0.25s ease;
}

.tab-btn.active {
  background-color: #316D3C;
  color: #FFFFFF;
  border-color: #316D3C;
  box-shadow: 0 4px 14px rgba(49, 109, 60, 0.25);
}

#hero-section {
  background-image: url('../img/banner.webp');
  background-size: 80%;
  background-position: 230% 8%;
  background-repeat: no-repeat;
}

#whyus-section {
  background-image: url('../img/whyUsCropped2.webp');
  background-size: 90%;
  background-position: 150% 30%;
  background-repeat: no-repeat;
}
