/* 
   AlloSoinDomicile - Design System & Styling
   Author: Antigravity AI
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Color & Theme Variables */
:root, html[data-theme="blue"] {
  --primary: #0a6bc2;
  --primary-hover: #08569c;
  --primary-light: #f0f6fc;
  --secondary: #e1edff;
  --text-dark: #0c1a30;
  --text-muted: #53647e;
  --bg-light: #f5f8ff;
  --bg-white: #ffffff;
  --dark-navy: #0b1325;
  --dark-navy-light: #16223f;
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;
  --success: #10b981;
  --whatsapp: #25d366;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Theme-specific overrides & extra layout variables */
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: var(--border-color);
  --hero-bg-start: #f0f6fc;
  --hero-bg-end: #ffffff;
  --faq-bg: #fafbfc;
  --faq-bg-active: #ffffff;
  --card-bg: #ffffff;
  --card-border: var(--border-color);

  /* Map Colors */
  --map-water: #e1f0ff;
  --map-sand: #d0e2f5;
  --map-river: #c5e1ff;
  --map-text: #718096;
}

html[data-theme="green"] {
  --primary: #0f766e;
  --primary-hover: #115e59;
  --primary-light: #f0fdfa;
  --secondary: #ccfbf1;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --bg-light: #f4fbf7;
  --bg-white: #ffffff;
  --dark-navy: #064e3b;
  --dark-navy-light: #022c22;
  --border-color: #e5e7eb;
  --border-focus: #14b8a6;
  --success: #10b981;
  --whatsapp: #25d366;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: var(--border-color);
  --hero-bg-start: #f0fdfa;
  --hero-bg-end: #ffffff;
  --faq-bg: #f4fbf7;
  --faq-bg-active: #ffffff;
  --card-bg: #ffffff;
  --card-border: var(--border-color);
  
  /* Map Colors */
  --map-water: #ccfbf1;
  --map-sand: #f0fdfa;
  --map-river: #99f6e4;
  --map-text: #4b5563;
}

html[data-theme="purple"] {
  --primary: #6d28d9;
  --primary-hover: #5b21b6;
  --primary-light: #f5f3ff;
  --secondary: #ede9fe;
  --text-dark: #1f2937;
  --text-muted: #4b5563;
  --bg-light: #faf5ff;
  --bg-white: #ffffff;
  --dark-navy: #3b0764;
  --dark-navy-light: #2e0854;
  --border-color: #e5e7eb;
  --border-focus: #8b5cf6;
  --success: #10b981;
  --whatsapp: #25d366;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: var(--border-color);
  --hero-bg-start: #f5f3ff;
  --hero-bg-end: #ffffff;
  --faq-bg: #faf5ff;
  --faq-bg-active: #ffffff;
  --card-bg: #ffffff;
  --card-border: var(--border-color);
  
  /* Map Colors */
  --map-water: #ede9fe;
  --map-sand: #f5f3ff;
  --map-river: #ddd6fe;
  --map-text: #4b5563;
}

html[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --primary-light: #1e293b;
  --secondary: #1e3a8a;
  --text-dark: #f8fafc;
  --text-muted: #cbd5e1;
  --bg-light: #0f172a;
  --bg-white: #1e293b;
  --dark-navy: #020617;
  --dark-navy-light: #0f172a;
  --border-color: #334155;
  --border-focus: #3b82f6;
  --success: #10b981;
  --whatsapp: #25d366;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --header-bg: rgba(30, 41, 59, 0.95);
  --header-border: var(--border-color);
  --hero-bg-start: #0f172a;
  --hero-bg-end: #1e293b;
  --faq-bg: #0f172a;
  --faq-bg-active: #1e293b;
  --card-bg: #1e293b;
  --card-border: var(--border-color);
  
  /* Map Colors */
  --map-water: #1e3a8a;
  --map-sand: #0f172a;
  --map-river: #1d4ed8;
  --map-text: #cbd5e1;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.section-padding {
  padding: 80px 0;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: #d0e3ff;
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--border-color);
  background-color: transparent;
  color: var(--text-dark);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
  transform: translateY(-1px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background-color: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--header-border);
  z-index: 1000;
  transition: var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.logo svg {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 15px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
  padding: 60px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-dark);
  font-weight: 800;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: var(--transition);
}

.hero-image-container:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: var(--bg-white);
  padding: 16px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--primary);
  animation: float 3s ease-in-out infinite;
}

.hero-badge .count {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hero-badge .label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Services Grid */
.services-section {
  background-color: var(--bg-light);
}

.section-header {
  max-width: 600px;
  margin: 0 auto 56px auto;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  display: block;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Caregivers Section */
.caregivers-section {
  background-color: var(--bg-white);
}

.caregivers-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.caregivers-info h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.caregivers-info p {
  margin-bottom: 24px;
  font-size: 16px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-dark);
}

.benefit-item svg {
  color: var(--success);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.caregivers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.caregiver-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.caregiver-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.caregiver-img {
  height: 240px;
  background-color: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.caregiver-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caregiver-body {
  padding: 20px;
  text-align: center;
}

.caregiver-body h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.caregiver-body .title {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

/* Testimonials */
.testimonials-section {
  background-color: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #ffb400;
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.testimonial-author {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
}

.testimonial-loc {
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  margin-bottom: 16px;
  background-color: var(--faq-bg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.faq-icon {
  transition: var(--transition);
  color: var(--text-muted);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 24px;
}

.faq-content p {
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 15px;
}

/* Active FAQ item */
.faq-item.active {
  background-color: var(--faq-bg-active);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-content {
  padding: 0 24px 20px 24px;
}

/* Get In Touch Card */
.contact-section {
  background-color: var(--bg-light);
}

.contact-card {
  background: var(--dark-navy);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-xl);
  color: #fff;
}

.contact-info-panel {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel h2 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 24px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  background-color: var(--dark-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item-details h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-item-details p {
  color: #a0aec0;
  font-size: 14px;
}

.contact-visual-panel {
  background: linear-gradient(135deg, var(--dark-navy-light) 0%, var(--dark-navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
}

.contact-badge-247 {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 24px 32px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  border-left: 6px solid var(--primary);
}

.contact-badge-247 svg {
  color: var(--primary);
  width: 32px;
  height: 32px;
}

.contact-badge-247 h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-badge-247 p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer styling */
.footer {
  background-color: var(--dark-navy);
  color: #a0aec0;
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--dark-navy-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-logo svg {
  width: 32px;
  height: 32px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: #a0aec0;
  transition: var(--transition);
}

.footer-link:hover {
  color: #fff;
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  background-color: var(--dark-navy-light);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--dark-navy-light);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-xl);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #1ebe57;
}

/* Booking Layout */
.booking-section {
  background-color: var(--bg-light);
  padding: 60px 0;
}

.booking-header {
  margin-bottom: 40px;
}

.booking-header h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}

.booking-header p {
  font-size: 16px;
  color: var(--text-muted);
}

.booking-container {
  display: grid;
  grid-template-columns: 1.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

/* Booking Form */
.booking-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group-section {
  margin-bottom: 40px;
}

.form-group-section:last-of-type {
  margin-bottom: 32px;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.form-section-title svg {
  color: var(--primary);
  width: 24px;
  height: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full-width {
  grid-column: span 2;
}

.form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}

.form-field input::placeholder, .form-field textarea::placeholder {
  color: #a0aec0;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

/* Submit Button & Consent text */
.form-submit-container {
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  margin-top: 32px;
}

.btn-submit {
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
  justify-content: center;
  background-color: #0275d8;
  color: #fff;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

.btn-submit:hover {
  background-color: #015bb3;
  transform: translateY(-1px);
}

.btn-submit svg {
  font-size: 20px;
}

.consent-text {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* Sidebar styling */
.booking-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card.highlighted {
  background-color: var(--primary);
  color: #fff;
  border-color: transparent;
}

.sidebar-card.highlighted h3 {
  color: #fff;
}

.sidebar-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
}

.sidebar-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.sidebar-benefit-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.sidebar-card.highlighted .sidebar-benefit-item svg {
  color: #fff;
}

.sidebar-card:not(.highlighted) .sidebar-benefit-item svg {
  color: var(--primary);
}

/* Map area styling */
.map-description {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.map-container {
  height: 220px;
  border-radius: var(--border-radius-sm);
  background-color: #eef2f6;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.map-svg-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.map-pin {
  position: absolute;
  color: var(--primary);
  transform: translate(-50%, -100%);
  cursor: pointer;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.map-pin.main-pin {
  color: var(--text-dark);
  z-index: 10;
}

.map-pin:hover {
  transform: translate(-50%, -100%) scale(1.2);
}

.map-tooltip {
  position: absolute;
  background-color: var(--text-dark);
  color: #fff;
  padding: 6px 10px;
  border-radius: var(--border-radius-sm);
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -130%);
  opacity: 0;
  transition: var(--transition);
  z-index: 20;
}

.map-pin:hover + .map-tooltip {
  opacity: 1;
}

/* Help card styling */
.help-card {
  border: 2px dashed var(--primary);
  background-color: var(--primary-light);
  border-radius: var(--border-radius-md);
  padding: 24px;
  text-align: center;
}

.help-card h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.help-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-hover);
}

.help-phone svg {
  font-size: 24px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 40px;
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-visual-panel {
    padding: 40px;
  }
  .booking-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }

  .nav.active {
    display: flex;
  }

  .header-cta {
    display: none; /* Hide button on mobile inside header */
  }

  .menu-toggle {
    display: block;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badge {
    left: 10px;
  }

  .caregivers-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .caregivers-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .benefits-list {
    align-items: center;
    margin-bottom: 30px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .booking-card {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  .form-field.full-width {
    grid-column: span 1;
  }
}

/* Header Actions & Theme Switcher Styles */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-switcher {
  position: relative;
  display: inline-block;
}

.theme-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-dark);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-btn:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

.theme-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  min-width: 170px;
  z-index: 1001;
  display: none;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-dropdown.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.theme-opt {
  background: none;
  border: none;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--border-radius-sm);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.theme-opt:hover {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.theme-opt.active {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.theme-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-dot.blue { background-color: #0a6bc2; }
.theme-dot.green { background-color: #0f766e; }
.theme-dot.purple { background-color: #6d28d9; }
.theme-dot.dark { background-color: #1e293b; }

/* SVG Map Theme Support */
.map-svg-container path {
  transition: fill 0.3s ease, stroke 0.3s ease;
}

/* Adjustments for custom themes in dark mode */
html[data-theme="dark"] img {
  opacity: 0.9;
}

html[data-theme="dark"] .hero-badge {
  border-left-color: var(--primary);
}

html[data-theme="dark"] .sidebar-card:not(.highlighted) {
  background-color: var(--bg-white);
}

html[data-theme="dark"] .faq-header h3 {
  color: var(--text-dark);
}
. l o g o - i m a g e   {   m a x - h e i g h t :   6 0 p x ;   w i d t h :   a u t o ;   }  
 