/* ============================================================
   SABATU Rehabilitation Center – Main Stylesheet
   ============================================================ */

/* ---- 1. CSS CUSTOM PROPERTIES ---- */
:root {
  --green-900: #0d3d1a;
  --green-800: #155d27;
  --green-700: #1a7a32;
  --green-600: #22a244;
  --green-500: #2ecc5a;
  --green-400: #5cd98a;
  --green-100: #e8f8ed;
  --green-50:  #f3fdf6;
  --red-500:   #e53e3e;
  --red-600:   #c53030;
  --gold-400:  #f6c90e;
  --white:     #ffffff;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-300:  #d1d5db;
  --gray-400:  #9ca3af;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-800:  #1f2937;
  --gray-900:  #111827;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Playfair Display', serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.10);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 76px;
}

/* ---- 2. RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

/* Accessibility – High Contrast Mode (WCAG AAA Compliant) */
html.high-contrast,
body.high-contrast {
  /* Override CSS variables for complete dark/high-contrast visibility */
  --green-900: #00ff66;
  --green-800: #00e65c;
  --green-700: #00ff66;
  --green-600: #00e65c;
  --green-500: #00ff66;
  --green-400: #39ff14;
  --green-100: #003311;
  --green-50:  #001f0a;
  --gold-400:  #ffea00;
  --red-500:   #ff4d4d;
  --red-600:   #ff6666;
  --white:     #121212;
  --gray-50:   #181818;
  --gray-100:  #242424;
  --gray-200:  #383838;
  --gray-300:  #555555;
  --gray-400:  #9ca3af;
  --gray-500:  #d1d5db;
  --gray-600:  #e5e7eb;
  --gray-700:  #f3f4f6;
  --gray-800:  #ffffff;
  --gray-900:  #ffffff;
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Base text & typography contrast */
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6,
body.high-contrast p,
body.high-contrast span:not(.badge-dot):not(.slider-dot),
body.high-contrast li,
body.high-contrast label,
body.high-contrast td,
body.high-contrast th,
body.high-contrast strong,
body.high-contrast b,
body.high-contrast dt,
body.high-contrast dd {
  color: #ffffff;
}

/* Accent text */
body.high-contrast .hero-accent,
body.high-contrast .stat-num,
body.high-contrast .logo-name,
body.high-contrast .section-eyebrow,
body.high-contrast .footer-brand-name,
body.high-contrast .footer-col-title {
  color: #00ff66 !important;
}

/* Backgrounds & Sections */
body.high-contrast main,
body.high-contrast section,
body.high-contrast .bg-soft,
body.high-contrast .form-section {
  background-color: #000000 !important;
}

/* Cards & containers */
body.high-contrast .service-card,
body.high-contrast .info-card,
body.high-contrast .card,
body.high-contrast .testi-card,
body.high-contrast .why-item,
body.high-contrast .faq-item,
body.high-contrast .form-card,
body.high-contrast .form-wrapper,
body.high-contrast .table-wrapper,
body.high-contrast .slider-card,
body.high-contrast .item-card,
body.high-contrast .about-image-card,
body.high-contrast .info-highlight {
  background: #141414 !important;
  border: 2px solid #555555 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.high-contrast .service-card:hover,
body.high-contrast .about-image-card:hover,
body.high-contrast .info-card:hover,
body.high-contrast .faq-item:hover,
body.high-contrast .slider-card:hover {
  border-color: #00ff66 !important;
}

/* Eyebrows / Badges */
body.high-contrast .section-eyebrow,
body.high-contrast .hero-badge {
  background: #002e0e !important;
  color: #00ff66 !important;
  border: 1.5px solid #00ff66 !important;
}

/* Navbar & Header */
body.high-contrast header,
body.high-contrast #navbar {
  background: #000000 !important;
  border-bottom: 2px solid #00ff66 !important;
  box-shadow: 0 2px 10px rgba(0, 255, 102, 0.2) !important;
}
body.high-contrast .logo-tagline {
  color: #d1d5db !important;
}
body.high-contrast .nav-link {
  color: #ffffff !important;
}
body.high-contrast .nav-link:hover,
body.high-contrast .nav-link:focus,
body.high-contrast .nav-link.active {
  color: #00ff66 !important;
  background: #1a1a1a !important;
}
body.high-contrast .dropdown-menu {
  background: #141414 !important;
  border: 2px solid #00ff66 !important;
}
body.high-contrast .dropdown-item {
  color: #ffffff !important;
  border-bottom: 1px solid #333333 !important;
}
body.high-contrast .dropdown-item:hover {
  background: #222222 !important;
  color: #00ff66 !important;
}
body.high-contrast .hamburger span {
  background: #ffffff !important;
}

/* High Contrast Toggle Button */
body.high-contrast .nav-contrast-btn {
  background: #ffff00 !important;
  color: #000000 !important;
  border-color: #ffff00 !important;
}

/* Buttons */
body.high-contrast .btn-primary,
body.high-contrast .nav-cta {
  background: #00a030 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border: 2px solid #00ff66 !important;
}
body.high-contrast .btn-primary:hover,
body.high-contrast .nav-cta:hover {
  background: #00ff66 !important;
  color: #000000 !important;
}
body.high-contrast .btn-outline {
  border: 2px solid #00ff66 !important;
  color: #00ff66 !important;
  background: transparent !important;
}
body.high-contrast .btn-outline:hover {
  background: #00ff66 !important;
  color: #000000 !important;
}
body.high-contrast .btn-white {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #ffffff !important;
}
body.high-contrast .btn-white:hover {
  background: #dddddd !important;
}
body.high-contrast .btn-ghost {
  background: #1f1f1f !important;
  color: #ffffff !important;
  border: 1px solid #666666 !important;
}

/* Links */
body.high-contrast a:not(.btn):not(.nav-cta):not(#whatsapp-float):not(.nav-logo) {
  color: #5cd98a;
  text-decoration: underline;
}
body.high-contrast a:not(.btn):not(.nav-cta):not(#whatsapp-float):not(.nav-logo):hover {
  color: #ffffff;
}

/* Form Controls & Inputs */
body.high-contrast input,
body.high-contrast select,
body.high-contrast textarea {
  background: #0d0d0d !important;
  color: #ffffff !important;
  border: 2px solid #888888 !important;
}
body.high-contrast input:focus,
body.high-contrast select:focus,
body.high-contrast textarea:focus {
  border-color: #00ff66 !important;
  outline: 2px solid #00ff66 !important;
}
body.high-contrast ::placeholder {
  color: #a0aec0 !important;
}

/* Steps & Badges */
body.high-contrast .step-num {
  background: #00ff66 !important;
  color: #000000 !important;
  font-weight: 800 !important;
}

/* Hero Section */
body.high-contrast .hero {
  background-image: linear-gradient(135deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.95) 100%) !important;
}
body.high-contrast .hero-stats {
  background: #111111 !important;
  border: 2px solid #00ff66 !important;
}
body.high-contrast .hero-card-float {
  background: #111111 !important;
  color: #ffffff !important;
  border: 2px solid #00ff66 !important;
}

/* Footer */
body.high-contrast footer,
body.high-contrast #main-footer {
  background: #0a0a0a !important;
  border-top: 2px solid #00ff66 !important;
}
body.high-contrast .footer-brand-tagline,
body.high-contrast .footer-address p {
  color: #e5e7eb !important;
}
body.high-contrast .footer-link {
  color: #ffffff !important;
  text-decoration: none !important;
}
body.high-contrast .footer-link:hover {
  color: #00ff66 !important;
  text-decoration: underline !important;
}
body.high-contrast .footer-bottom {
  border-top: 1px solid #333333 !important;
  color: #cccccc !important;
}

/* Sliders */
body.high-contrast .slider-btn {
  background: #111111 !important;
  color: #ffffff !important;
  border: 2px solid #00ff66 !important;
}
body.high-contrast .slider-dot {
  background: #555555 !important;
  border: 1px solid #ffffff !important;
}
body.high-contrast .slider-dot.active {
  background: #00ff66 !important;
}

/* Override light inline backgrounds */
body.high-contrast [style*="background:#dcfce7"],
body.high-contrast [style*="background: #dcfce7"],
body.high-contrast [style*="background:#f0fdf4"],
body.high-contrast [style*="background: #f0fdf4"],
body.high-contrast [style*="background:#ecfdf5"],
body.high-contrast [style*="background: #ecfdf5"] {
  background: #00290e !important;
}
body.high-contrast [style*="background:#fef3c7"],
body.high-contrast [style*="background: #fef3c7"] {
  background: #332b00 !important;
}
body.high-contrast [style*="color:#15803d"],
body.high-contrast [style*="color: #15803d"],
body.high-contrast [style*="color:#166534"],
body.high-contrast [style*="color: #166534"] {
  color: #00ff66 !important;
}
body.high-contrast [style*="color:#92400e"],
body.high-contrast [style*="color: #92400e"] {
  color: #ffea00 !important;
}

/* ---- 3. SKIP LINK ---- */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--green-700); color: var(--white);
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-weight: 700; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---- 4. NAVBAR CONTRAST BUTTON ---- */
.nav-contrast-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray-100); color: var(--gray-700);
  font-weight: 700; font-size: 16px; line-height: 1;
  transition: background var(--transition), color var(--transition);
  border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
.nav-contrast-btn:hover, .nav-contrast-btn:focus {
  background: var(--green-700); color: #fff; border-color: var(--green-700);
  outline: 2px solid var(--green-400); outline-offset: 2px;
}
body.high-contrast .nav-contrast-btn {
  background: #00c040; color: #000; border-color: #00c040;
}

/* ---- 5. FLOATING WHATSAPP ---- */
#whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9000;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff; padding: 14px 22px 14px 16px;
  border-radius: 50px; box-shadow: var(--shadow-lg);
  font-weight: 700; font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wa-pulse 3s ease-in-out infinite;
}
#whatsapp-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow-xl); animation: none; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), var(--shadow-lg); }
  50%       { box-shadow: 0 0 0 14px rgba(37,211,102,0), var(--shadow-lg); }
}

/* ---- 6. NAVBAR ---- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
  transition: background var(--transition), box-shadow var(--transition);
  height: var(--nav-h);
}
header.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo img {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--green-100);
  object-fit: cover;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-weight: 800; font-size: 18px; color: var(--green-800); letter-spacing: 1px; }
.logo-tagline { font-size: 11px; color: var(--gray-500); font-weight: 500; }

.nav-menu {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14.5px; color: var(--gray-700);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link:focus { color: var(--green-700); background: var(--green-50); }
.nav-link.active { color: var(--green-700); background: var(--green-100); }
.nav-cta {
  background: linear-gradient(135deg, var(--green-700), var(--green-600)) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 12px rgba(34,162,68,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(34,162,68,0.4) !important; background: var(--green-800) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-toggle { background: none; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); min-width: 220px; overflow: hidden;
  border: 1px solid var(--gray-100); z-index: 100;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-item {
  display: block; padding: 12px 20px;
  font-size: 14px; font-weight: 500; color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
  border-bottom: 1px solid var(--gray-100);
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: var(--green-50); color: var(--green-700); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--green-50); }
.hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--gray-700); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ---- 7. LAYOUT UTILITIES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.bg-soft { background: var(--gray-50); }
.mt-1 { margin-top: 1.5rem; }

/* ---- 8. SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--green-700); background: var(--green-100);
  padding: 6px 16px; border-radius: 50px; margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  color: var(--gray-900); margin-bottom: 16px; line-height: 1.25;
}
.section-subtitle {
  font-size: 17px; color: var(--gray-600);
  max-width: 580px; margin: 0 auto; line-height: 1.7;
}

/* ---- 9. BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 15px;
  transition: all var(--transition); cursor: pointer;
  white-space: nowrap; border: 2px solid transparent;
}
.btn:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 100%);
  color: var(--white); box-shadow: 0 4px 14px rgba(34,162,68,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,162,68,0.45); background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 100%); }
.btn-outline {
  border-color: var(--green-700); color: var(--green-700);
  background: transparent;
}
.btn-outline:hover { background: var(--green-700); color: var(--white); }
.btn-ghost { color: var(--gray-600); background: var(--gray-100); border-color: var(--gray-200); }
.btn-ghost:hover { background: var(--gray-200); }
.btn-white { background: var(--white); color: var(--green-800); font-weight: 800; }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-outline-white { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

/* ---- 10. HERO SECTION ---- */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  display: flex; align-items: center;
  background-image: 
    linear-gradient(135deg, rgba(8, 42, 18, 0.84) 0%, rgba(13, 68, 30, 0.74) 50%, rgba(6, 28, 12, 0.86) 100%),
    url('../logo/background.jpeg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative; overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; animation: float1 8s ease-in-out infinite; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; left: 10%; background: rgba(255,255,255,0.03); animation: float2 10s ease-in-out infinite; }
.shape-3 { width: 200px; height: 200px; top: 30%; left: 40%; background: rgba(46,204,90,0.1); animation: float3 6s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0) rotate(0deg)} 50%{transform:translate(-20px,30px) rotate(5deg)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-20px)} }
@keyframes float3 { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }

.hero-content {
  position: relative; z-index: 2;
  flex: 1; padding: 80px 24px 60px;
  max-width: 650px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9);
  padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2); margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 8px; height: 8px; background: var(--green-400);
  border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1; transform:scale(1)} 50%{opacity:0.6; transform:scale(1.3)} }

.hero-title {
  font-family: var(--font-display); font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 24px;
}
.hero-accent {
  background: linear-gradient(90deg, var(--green-400), #b5f5c8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px; color: rgba(255,255,255,0.82);
  line-height: 1.75; margin-bottom: 36px; max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.1); border-radius: var(--radius-md);
  padding: 20px 28px; border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px); width: fit-content;
}
.stat-item { text-align: center; padding: 0 24px; }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; }
.stat-num {
  display: block; font-size: 36px; font-weight: 800; color: var(--green-400);
  font-family: var(--font-display); line-height: 1;
}
.stat-suffix { font-size: 28px; font-weight: 800; color: var(--green-400); vertical-align: super; }
.stat-label { display: block; font-size: 12px; color: rgba(255,255,255,0.7); font-weight: 500; margin-top: 4px; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.2); }

.hero-image-side {
  position: relative; flex: 1; display: flex; align-items: center;
  justify-content: center; min-height: 600px;
}
.hero-img-wrapper {
  width: 340px; height: 340px;
  background: rgba(255,255,255,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 80px rgba(46,204,90,0.2);
  animation: hero-float 5s ease-in-out infinite;
}
.hero-logo-big {
  width: 280px; height: 280px; object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}
@keyframes hero-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }

.hero-card-float {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(12px);
  color: #fff; padding: 12px 18px; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 600; border: 1px solid rgba(255,255,255,0.3);
  box-shadow: var(--shadow-md); white-space: nowrap;
}
.card-float-icon { font-size: 20px; }
.card-float-1 { top: 15%; left: 0; animation: float2 7s ease-in-out infinite; }
.card-float-2 { bottom: 20%; right: 0; animation: float1 8s ease-in-out infinite; }

/* ---- 11. SERVICES HIGHLIGHT ---- */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 860px; margin: 0 auto;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--green-600), var(--green-400));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--green-200); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-featured {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 100%);
  color: var(--white); border-color: transparent;
  box-shadow: 0 10px 40px rgba(21,93,39,0.35);
}
.service-card-featured::before { background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1)); }
.service-card-featured .service-card-title { color: var(--white); }
.service-card-featured .service-card-desc { color: rgba(255,255,255,0.85); }
.service-card-featured .service-link { color: var(--green-300); }
.service-badge-featured {
  position: absolute; top: 20px; right: 20px;
  background: var(--gold-400); color: var(--gray-900);
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 50px; letter-spacing: 0.5px;
}
.service-icon-wrap {
  width: 72px; height: 72px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-icon-1 { background: var(--green-100); color: var(--green-700); }
.service-icon-2 { background: rgba(255,255,255,0.2); color: var(--white); }
.service-icon-3 { background: #e8f4fd; color: #2563eb; }
.service-card-title { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.service-card-desc { font-size: 14.5px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }
.service-link {
  font-size: 14px; font-weight: 700; color: var(--green-700);
  transition: gap var(--transition), color var(--transition);
  display: inline-flex; align-items: center; gap: 4px;
}
.service-link:hover { color: var(--green-600); gap: 8px; }

/* ---- 12. WHY US ---- */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.why-desc { font-size: 16px; color: var(--gray-600); line-height: 1.8; margin-bottom: 32px; }
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-100); transition: box-shadow var(--transition), border-color var(--transition);
}
.why-item:hover { box-shadow: var(--shadow-md); border-color: var(--green-200); }
.why-icon {
  width: 28px; height: 28px; background: var(--green-600); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0; margin-top: 2px;
}
.why-item strong { display: block; font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.why-item p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.why-visual {
  position: relative; height: 480px;
  background: url('../logo/sabatu.jpeg') center / cover no-repeat;
  border-radius: var(--radius-lg);
}
.why-card {
  position: absolute; display: flex; flex-direction: column; gap: 4px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 20px 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100);
  animation: float-card 6s ease-in-out infinite;
}
.why-card strong { font-size: 18px; font-weight: 800; color: var(--gray-900); }
.why-card span { font-size: 13px; color: var(--gray-500); }
.why-card-icon { font-size: 28px; margin-bottom: 6px; }
.why-card-1 { top: 0; left: 0; animation-delay: 0s; }
.why-card-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 2s; }
.why-card-3 { bottom: 0; left: 10%; animation-delay: 4s; }
@keyframes float-card {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}
.why-card-2 { animation-name: float-card-2; }
@keyframes float-card-2 {
  0%,100%{transform:translateY(-50%)}
  50%{transform:translateY(calc(-50% - 10px))}
}
.why-logo-circle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--green-100); display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--green-200); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.why-logo-circle img { width: 160px; height: 160px; object-fit: contain; }

/* ---- 13. TESTIMONIALS ---- */
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px;
}
.testi-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testi-card-accent {
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  border: none; color: var(--white);
}
.testi-card-accent .testi-text { color: rgba(255,255,255,0.9); }
.testi-card-accent .testi-name { color: var(--white); }
.testi-card-accent .testi-role { color: rgba(255,255,255,0.7); }
.testi-stars { color: var(--gold-400); font-size: 20px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-text {
  font-size: 15px; line-height: 1.75; color: var(--gray-700);
  font-style: italic; margin-bottom: 24px; flex: 1;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-card-accent .testi-avatar { background: rgba(255,255,255,0.25); }
.testi-name { display: block; font-weight: 700; font-size: 15px; color: var(--gray-900); }
.testi-role { font-size: 13px; color: var(--gray-400); }
.testi-cta { text-align: center; }

/* ---- 14. CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 60%, var(--green-700) 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--white); margin-bottom: 16px; }
.cta-desc { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.75; margin-bottom: 32px; max-width: 500px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-info { display: flex; flex-direction: column; gap: 16px; }
.cta-info-item { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.85); font-size: 15px; }
.cta-info-icon { font-size: 22px; }

/* ---- 15. FOOTER ---- */
footer {
  background: var(--gray-900); color: var(--gray-300);
}
.footer-top {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding: 64px 24px 48px; align-items: flex-start;
}
.footer-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; width: 260px; }
.footer-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.1); }
.footer-brand-name { font-weight: 800; font-size: 16px; color: var(--white); }
.footer-brand-tagline { font-size: 12px; color: var(--green-400); font-style: italic; margin-top: 2px; }
.footer-nav { display: flex; gap: 48px; flex: 1; flex-wrap: wrap; }
.footer-col { min-width: 140px; }
.footer-col-title { font-weight: 700; font-size: 14px; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 14px; color: var(--gray-400); transition: color var(--transition); }
.footer-link:hover { color: var(--green-400); }
.footer-address p { font-size: 14px; color: var(--gray-400); margin-bottom: 8px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: var(--gray-500);
}
.footer-wcag { font-size: 12px; }

/* ---- 16. ANIMATIONS ---- */
.animate-fade-up {
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
}
.animate-slide-right {
  opacity: 0; transform: translateX(60px);
  animation: slideRight 0.8s ease 0.4s forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes slideRight { to { opacity: 1; transform: translateX(0); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---- 17. PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  padding: calc(var(--nav-h) + 60px) 0 60px;
  text-align: center; color: var(--white); position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--white));
}
.page-hero-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); font-weight: 700; margin-bottom: 16px; }
.page-hero-desc { font-size: 17px; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; line-height: 1.75; }

/* ---- 18. FORM STYLES ---- */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-weight: 600; font-size: 14px;
  color: var(--gray-700); margin-bottom: 8px;
}
.form-label .required { color: var(--red-500); margin-left: 2px; }
.form-control {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 2px solid var(--gray-200); font-family: inherit; font-size: 15px;
  color: var(--gray-800); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none; -webkit-appearance: none;
}
.form-control:focus {
  outline: none; border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(34,162,68,0.12);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-error { font-size: 13px; color: var(--red-500); margin-top: 6px; display: none; }

/* ---- 19. CARD GRIDS (reusable) ---- */
.info-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Galeri grid */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3;
  position: relative; background: var(--gray-100); cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(13,61,26,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 700; font-size: 16px; }

/* FAQ */
.faq-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 12px;
}
.faq-question {
  width: 100%; text-align: left; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 15px; color: var(--gray-800);
  background: var(--white); transition: background var(--transition);
  cursor: pointer;
}
.faq-question:hover { background: var(--green-50); }
.faq-question[aria-expanded="true"] { background: var(--green-50); color: var(--green-700); }
.faq-icon { font-size: 20px; transition: transform 0.3s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-answer.open { max-height: 300px; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 15px; color: var(--gray-600); line-height: 1.75; }

/* ---- 20. MAPS EMBED ---- */
.maps-wrapper {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
}
.maps-wrapper iframe { display: block; width: 100%; height: 420px; border: none; }

/* ---- 21. BREADCRUMB ---- */
.breadcrumb {
  background: var(--gray-50); padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  margin-top: var(--nav-h);
}
.breadcrumb-list { display: flex; align-items: center; gap: 8px; list-style: none; }
.breadcrumb-item a { font-size: 14px; color: var(--green-700); font-weight: 500; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-separator { color: var(--gray-400); font-size: 14px; }
.breadcrumb-item.current { font-size: 14px; color: var(--gray-500); }

/* ---- 22. RESPONSIVE ---- */
@media (max-width: 1024px) {
  :root { --nav-h: 64px; }
  header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--white);
  }
  .hamburger {
    display: flex;
    cursor: pointer;
    border: none;
    background: transparent;
    z-index: 1002;
    padding: 10px;
  }
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px 48px;
    gap: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-110%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-link {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--gray-800);
    min-height: 48px;
    width: 100%;
  }
  .nav-link:hover, .nav-link:focus {
    background: var(--green-50);
    color: var(--green-700);
  }
  .nav-cta {
    text-align: center;
    justify-content: center;
    margin-top: 8px;
    padding: 14px 20px !important;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--gray-50);
    display: none;
    border-radius: var(--radius-sm);
    margin: 4px 0 8px 12px;
    padding: 6px 0;
    border-left: 3px solid var(--green-600);
  }
  .dropdown-menu.open {
    display: block !important;
  }
  .dropdown-item {
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .dropdown-item:hover {
    background: var(--green-100);
    color: var(--green-800);
  }
  .nav-dropdown .dropdown-toggle {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  .nav-contrast-btn {
    align-self: flex-start;
    margin: 8px 14px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    cursor: pointer;
  }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { height: 360px; }
}
@media (max-width: 768px) {
  .hero-content { padding: 60px 24px 40px; max-width: 100%; }
  .hero-image-side { display: none; }
  .hero-title { font-size: 38px; }
  .hero-stats { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-brand { width: 100%; }
  .footer-nav { gap: 32px; }
  #whatsapp-float span { display: none; }
  #whatsapp-float { padding: 14px; border-radius: 50%; }
}
@media (max-width: 480px) {
  .section-pad { padding: 64px 0; }
  .hero-actions .btn { width: 100%; }
  .stat-item { padding: 0 14px; }
  .stat-num { font-size: 28px; }
}/* About page image card */
.about-image-card {
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-image-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.about-image-card:hover .about-main-img {
  transform: scale(1.04);
}
