/* ============================================================
   Your CareCrew — Mobile-First Stylesheet
   ============================================================ */

/* ============================================================
   1. CSS RESET & CUSTOM PROPERTIES
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand colours */
  --navy:        #1B2B4B;
  --navy-mid:    #253A62;
  --navy-light:  #2E4A7A;
  --gold:        #C9973A;
  --gold-light:  #E8BF75;
  --gold-pale:   #FDF8EE;
  --cream:       #F8F5EF;
  --white:       #FFFFFF;
  --charcoal:    #2D2D2D;
  --grey:        #6B7280;
  --grey-light:  #9CA3AF;
  --border:      #E8E2D8;
  --green:       #2E7D5E;
  --green-bg:    #EAF4F0;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-bengali: 'Hind Siliguri', sans-serif;

  /* Layout */
  --nav-height: 72px;
  --container:  1100px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Shadows  (r g b / a) */
  --shadow-sm: 0 2px 8px  rgba(27, 43, 75, 0.08);
  --shadow-md: 0 4px 16px rgba(27, 43, 75, 0.12);
  --shadow-lg: 0 8px 32px rgba(27, 43, 75, 0.16);

  /* Misc */
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
}

/* ============================================================
   2. BENGALI FONT MODE
   ============================================================ */

.lang-bn,
.lang-bn *,
.lang-bn h1,
.lang-bn h2,
.lang-bn h3,
.lang-bn h4,
.lang-bn h5,
.lang-bn h6,
.lang-bn p,
.lang-bn span,
.lang-bn a,
.lang-bn button,
.lang-bn label,
.lang-bn input,
.lang-bn textarea,
.lang-bn select,
.lang-bn li {
  font-family: var(--font-bengali), sans-serif;
}

/* ============================================================
   3. CONTAINER
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ============================================================
   4. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Primary — gold background, navy text */
.btn-primary {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Outline — white border for dark backgrounds */
.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Navy */
.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background-color: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Sizes */
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  min-height: 56px;
  padding: 0 36px;
  font-size: 17px;
  border-radius: var(--radius-md);
}

/* ============================================================
   5. SECTION UTILITIES
   ============================================================ */

.section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.6;
  margin-top: 12px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

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

/* ============================================================
   6. FADE-IN ANIMATION
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }
.fade-in.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   7. HEADER & NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-height);
  background-color: transparent;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background-color: var(--navy);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background-color: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* Nav links — hidden on mobile */
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: block;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition), background-color var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
  color: var(--gold-light);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.lang-toggle:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition);
  flex-shrink: 0;
}

.nav-hamburger:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav dropdown */
.mobile-nav {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px 24px;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 800;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.mobile-nav a:last-of-type {
  border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold-light);
}

.mobile-nav .mobile-nav-btn {
  margin-top: 16px;
  width: 100%;
}

/* ============================================================
   8. HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 151, 58, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -200px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 74, 122, 0.45) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  background-color: rgba(201, 151, 58, 0.18);
  border: 1px solid rgba(201, 151, 58, 0.4);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Hero visual card (desktop right side) */
.hero-visual {
  display: none;
  position: relative;
  z-index: 2;
}

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
  min-width: 300px;
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-card-list li:last-child {
  border-bottom: none;
}

.hero-card-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold);
  flex-shrink: 0;
}

/* Scroll arrow */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

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

/* ============================================================
   9. STATS BAR
   ============================================================ */

.stats-bar {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item:nth-child(even) {
  border-right: none;
}

.stat-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--grey);
  letter-spacing: 0.02em;
}

/* ============================================================
   10. SERVICES
   ============================================================ */

.services-section {
  background-color: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

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

.service-card.featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: var(--gold);
  color: var(--white);
}

.service-card.featured .service-name {
  color: var(--white);
}

.service-card.featured .service-desc {
  color: rgba(255, 255, 255, 0.75);
}

.service-badge-popular {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.service-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.service-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
}

/* ============================================================
   11. HOW IT WORKS
   ============================================================ */

.hiw-section {
  background-color: var(--white);
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 56px;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.65;
}

/* ============================================================
   12. PORTFOLIO / PROVIDER CARDS
   ============================================================ */

.portfolio-section {
  background-color: var(--cream);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  margin-bottom: 40px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  background-color: var(--white);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-btn.active {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

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

.provider-card-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Avatar fallback when no photo */
.provider-avatar {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 700;
  color: var(--gold);
}

.provider-card-body {
  padding: 16px;
}

.provider-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.provider-service {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}

.provider-exp {
  font-size: 12px;
  color: var(--grey-light);
  margin-bottom: 12px;
}

.provider-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-verified {
  background-color: var(--green-bg);
  color: var(--green);
}

.badge-approved {
  background-color: #EEF2FF;
  color: #4F46E5;
}

.badge-checked {
  background-color: var(--gold-pale);
  color: #92650A;
}

/* ============================================================
   13. TESTIMONIALS
   ============================================================ */

.testimonials-section {
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background-color: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.star {
  color: var(--gold);
  font-size: 16px;
}

.testimonial-text {
  font-size: 15px;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  flex-shrink: 0;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.author-location {
  font-size: 12px;
  color: var(--grey-light);
  margin-top: 2px;
}

/* ============================================================
   14. CTA SECTION
   ============================================================ */

.cta-section {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 151, 58, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 520px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.cta-secondary-link {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
  transition: color var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-secondary-link:hover {
  color: var(--white);
}

/* ============================================================
   15. STICKY CTA (mobile only)
   ============================================================ */

.sticky-cta {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 700;
  background-color: var(--navy);
  padding: 12px 20px;
  box-shadow: 0 -4px 16px rgba(27, 43, 75, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-cta-inner {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sticky-cta .btn {
  flex: 1;
  min-height: 48px;
}

/* ============================================================
   16. FORMS
   ============================================================ */

.form-wrapper {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

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

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

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

label .required {
  color: #DC2626;
  margin-left: 3px;
}

.form-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background-color: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--grey-light);
}

.form-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 43, 75, 0.12);
  background-color: var(--white);
}

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

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}

/* File upload */
.file-upload-wrapper {
  position: relative;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  background-color: var(--cream);
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
  text-align: center;
}

.file-upload-label:hover {
  border-color: var(--gold);
  background-color: var(--gold-pale);
}

.file-upload-label svg {
  width: 28px;
  height: 28px;
  color: var(--grey-light);
}

.file-upload-label span {
  font-size: 14px;
  color: var(--grey);
}

.file-upload-label small {
  font-size: 12px;
  color: var(--grey-light);
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background-color: var(--cream);
  flex-shrink: 0;
  margin-top: 2px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}

.form-checkbox input[type="checkbox"]:checked {
  background-color: var(--navy);
  border-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFFFFF' d='M10 3L5 8.5 2 5.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.form-checkbox label {
  font-size: 14px;
  font-weight: 400;
  color: var(--grey);
  cursor: pointer;
  margin-bottom: 0;
}

/* Success message */
.form-success-msg {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background-color: var(--green-bg);
  border: 1px solid rgba(46, 125, 94, 0.3);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--green);
  font-weight: 500;
  margin-top: 20px;
}

.form-success-msg.show {
  display: flex;
}

.form-error-msg {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background-color: #fff5f5;
  border: 1px solid rgba(200, 50, 50, 0.25);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: #c0392b;
  font-weight: 500;
  margin-top: 20px;
}

/* ============================================================
   17. CONTACT INFO BOX
   ============================================================ */

.contact-info-box {
  background-color: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  color: var(--white);
}

.contact-info-box h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50px;
  background-color: rgba(201, 151, 58, 0.2);
  border: 1px solid rgba(201, 151, 58, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

/* ============================================================
   18. PAGE HERO
   ============================================================ */

.page-hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  padding: 140px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 151, 58, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.65;
}

/* ============================================================
   19. ABOUT — VALUES GRID
   ============================================================ */

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.value-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
}

/* ============================================================
   20. PROCESS STEPS
   ============================================================ */

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.process-step {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.process-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.process-step p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
}

/* ============================================================
   21. FAQ
   ============================================================ */

.faq-list {
  margin-top: 40px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--white);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 20px;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: background-color var(--transition);
}

.faq-question:hover {
  background-color: var(--cream);
}

.faq-question span {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================
   22. FOOTER
   ============================================================ */

.site-footer {
  background-color: var(--navy);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

/* Footer logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background-color: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  flex-shrink: 0;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 24px;
}

/* Social links */
.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* Footer columns */
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ============================================================
   CONTACT LAYOUT (used on contact page)
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.clients-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* ============================================================
   BREAKPOINTS — 640px
   ============================================================ */

@media (min-width: 640px) {
  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-item {
    border-bottom: none;
  }

  .stat-item:nth-child(even) {
    border-right: 1px solid var(--border);
  }

  .stat-item:last-child {
    border-right: none;
  }

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

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  /* Values */
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   BREAKPOINTS — 768px
   ============================================================ */

@media (min-width: 768px) {
  /* Nav */
  .nav-links {
    display: flex;
  }

  .nav-hamburger {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  /* Hero two-column layout */
  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
  }

  .hero-visual {
    display: flex;
    justify-content: flex-end;
  }

  /* How It Works — horizontal */
  .hiw-steps {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
  }

  .hiw-step {
    flex: 1;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 16px;
  }

  /* Connector line between steps */
  .hiw-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(50% + 36px);
    right: calc(-50% + 36px);
    height: 2px;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    z-index: 0;
  }

  .step-num {
    position: relative;
    z-index: 1;
  }

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

  /* Sticky CTA */
  .sticky-cta {
    display: none;
  }

  /* Footer grid */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
  }

  /* Footer bottom */
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ============================================================
   BREAKPOINTS — 1024px
   ============================================================ */

@media (min-width: 1024px) {
  /* Services */
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact layout */
  .contact-layout {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }

  /* Clients layout */
  .clients-layout {
    grid-template-columns: 1fr 400px;
    align-items: start;
  }
}

/* ============================================================
   UTILITIES — bg variants, story stats, why grid, mission cards
   ============================================================ */

.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy  { background: var(--navy); }

/* Story stats box (About page) */
.story-stats-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: center;
}
.story-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.story-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* Why grid (About & clients page) */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.why-card-icon { font-size: 32px; margin-bottom: 12px; }
.why-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.why-card p  { font-size: 13px; color: var(--grey); line-height: 1.6; }

/* Mission cards */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.mission-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.mission-card-icon { font-size: 28px; margin-bottom: 10px; }
.mission-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.mission-card p  { font-size: 13px; color: var(--grey); line-height: 1.6; }

/* Trust pills (page hero inline) */
.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

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

/* Hero visual card */
.hero-visual {
  display: none;
  flex-shrink: 0;
}
.hero-preview-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 280px;
  backdrop-filter: blur(10px);
}
.hero-preview-card .preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-preview-card .preview-title {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.hero-preview-card .preview-heading {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
}
.preview-stars { color: var(--gold); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.preview-stat {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.preview-stat strong { color: var(--gold-light); }

@media (min-width: 640px) {
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .mission-grid  { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .story-layout  { grid-template-columns: 1fr 280px; }
  .hero-visual   { display: flex; align-items: center; }
  .why-grid      { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   PRINT
   ============================================================ */

@media print {
  .site-header,
  .sticky-cta,
  .mobile-nav {
    display: none !important;
  }
}

/* ── Service Area Banner ─────────────────────────────────── */
.service-banner {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-top: 2px solid var(--gold);
}
.service-banner span {
  display: inline-block;
  max-width: 700px;
}
