/* =============================================
   Jammie Dodgers Childminding – Main Stylesheet
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #FF6B6B;
  --primary-dark: #e85555;
  --primary-light: #fff0f0;
  --secondary: #4ECDC4;
  --secondary-dark: #3ab5ad;
  --secondary-light: #e8faf9;
  --accent: #FFE66D;
  --accent-dark: #f5d500;
  --purple: #C3A6FF;
  --green: #A8E6CF;
  --orange: #FFB347;

  --text-dark: #1a1a2e;
  --text-body: #4a4a6a;
  --text-muted: #8a8aaa;

  --bg-white: #ffffff;
  --bg-soft: #f8f7ff;
  --bg-card: #ffffff;

  --border: #e8e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --navbar-height: 72px;
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
}

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

.section {
  padding: 80px 0;
}

.bg-soft {
  background: var(--bg-soft);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.45);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px;
  box-shadow: 0 3px 12px rgba(255, 107, 107, 0.3);
}

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

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark) !important;
  font-family: var(--font-heading);
}

.logo-icon {
  font-size: 2rem;
  line-height: 1;
}

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

.logo-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
  background: var(--primary-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: left;
}

.hamburger.active span:first-child {
  transform: rotate(45deg) translateY(-1px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:last-child {
  transform: rotate(-45deg) translateY(1px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  background: linear-gradient(135deg, #fff5f5 0%, #fff8f0 50%, #f0fffe 100%);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -150px;
  left: -100px;
  animation: floatShape 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: var(--accent);
  top: 30%;
  left: 40%;
  animation: floatShape 6s ease-in-out infinite 2s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary-dark);
  background: var(--secondary-light);
  border: 1px solid var(--secondary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.highlight {
  color: var(--primary);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--accent);
  opacity: 0.5;
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-body);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

.stat:first-child {
  padding-left: 0;
}

.stat strong {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero illustration */
.hero-illustration {
  position: relative;
  height: 480px;
}

.illo-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border-radius: 40% 60% 50% 50% / 40% 40% 60% 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 40% 60% 50% 50% / 40% 40% 60% 60%; }
  25% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  75% { border-radius: 60% 40% 50% 60% / 30% 70% 40% 70%; }
}

.illo-main-icon {
  font-size: 5rem;
}

.illo-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}

.illo-card-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.illo-card-2 {
  top: 10%;
  right: 0%;
  animation-delay: 1s;
}

.illo-card-3 {
  bottom: 15%;
  left: 0%;
  animation-delay: 2s;
}

.illo-icon {
  font-size: 1.75rem;
}

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

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--bg-white);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
}

.trust-icon {
  font-size: 1.25rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  padding-bottom: 60px;
}

.about-img-bg {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.about-img-bg::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='%23FF6B6B' fill-opacity='0.06'%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");
}

.about-img-bg::after {
  content: '🌟';
  position: absolute;
  font-size: 6rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.4;
}

.about-img-card {
  position: absolute;
  bottom: 0;
  right: -20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  max-width: 240px;
  font-size: 0.875rem;
  border-left: 4px solid var(--primary);
}

.about-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.about-img-text {
  font-style: italic;
  color: var(--text-body);
  line-height: 1.5;
}

.about-badge-float {
  position: absolute;
  top: -16px;
  left: -16px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  text-align: center;
}

.about-badge-float strong {
  font-size: 1.125rem;
}

.about-content {
  max-width: 520px;
}

.about-content .section-label {
  margin-bottom: 12px;
}

.about-content p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.about-features {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.about-feature p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-color, var(--primary));
  opacity: 0;
  transition: opacity var(--transition);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-card.featured {
  background: linear-gradient(135deg, #fff5f5, #f0fffe);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.service-card.featured::before {
  opacity: 1;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.service-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(255, 107, 107, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon {
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.8125rem;
  color: var(--text-body);
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-dark);
  font-weight: 700;
}

/* ---------- Daily Life / Timeline ---------- */
.daily-life {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

.daily-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.daily-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 2px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 32px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}

.timeline-item:nth-child(odd) .timeline-time {
  text-align: right;
  order: 0;
}

.timeline-item:nth-child(odd) .timeline-dot {
  order: 1;
}

.timeline-item:nth-child(odd) .timeline-content {
  order: 2;
}

.timeline-item:nth-child(even) .timeline-time {
  text-align: left;
  order: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
  order: 1;
}

.timeline-item:nth-child(even) .timeline-content {
  order: 0;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content .timeline-icon {
  float: right;
}

.timeline-time {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.03em;
}

.timeline-dot {
  width: 32px;
  height: 32px;
  background: var(--bg-white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.15);
  flex-shrink: 0;
  justify-self: center;
}

.timeline-content {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.timeline-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.timeline-content p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

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

.why-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.why-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: linear-gradient(135deg, #fff5f5 0%, #f0fffe 100%);
}

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

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

.testimonial-card.featured {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card:not(.featured):hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  font-size: 0.875rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--text-body);
}

.testimonial-card.featured blockquote {
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card.featured .author-avatar {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-card.featured .testimonial-author strong {
  color: #fff;
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.testimonial-card.featured .testimonial-author span {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-label {
  margin-bottom: 12px;
}

.contact-info .section-title {
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-item a:hover {
  color: var(--primary);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text-dark);
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: all var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8aaa' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
  margin: 0;
}

.form-check label a {
  color: var(--primary);
}

.form-success {
  margin-top: 16px;
  padding: 0;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.form-success.visible {
  max-height: 100px;
  padding: 16px;
  background: #e8faf3;
  color: #2a9d6a;
  border: 1px solid #a3e4c4;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
  color: #fff !important;
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-brand .logo-text small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.footer-links li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links li a:hover {
  color: var(--primary);
}

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Back To Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.45);
}

/* ---------- Scroll Animations ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

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

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

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-illustration {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .daily-timeline::before {
    left: 16px;
    transform: none;
  }

  .timeline-item {
    grid-template-columns: 32px 1fr;
    gap: 16px;
  }

  .timeline-item:nth-child(odd) .timeline-time,
  .timeline-item:nth-child(even) .timeline-time {
    display: none;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    order: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    order: 1;
    text-align: left;
  }

  .timeline-item:nth-child(even) .timeline-content .timeline-icon {
    float: none;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card.featured {
    transform: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 768px) {
  :root {
    --navbar-height: 64px;
  }

  .section {
    padding: 60px 0;
  }

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

  /* Mobile Nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-slow);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px 16px;
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  .nav-links .btn-nav {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    padding: 0 8px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

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

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .trust-inner {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

/* ---------- Focus Styles (Accessibility) ---------- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- Print ---------- */
@media print {
  .navbar,
  .back-to-top,
  .hero-bg-shapes {
    display: none !important;
  }
}
