@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* =============================================
   AVYAN FINSERV — Brand Design System
   Primary: #5B21B6 (Purple)  
   Accent:  #7C3AED (Violet)
   Dark:    #1E1B4B (Deep Indigo/Charcoal)
   Gold:    #F59E0B (Amber Highlight)
   ============================================= */

:root {
  --brand-purple: #5B21B6;
  --brand-purple-mid: #6D28D9;
  --brand-violet: #7C3AED;
  --brand-light: #EDE9FE;
  --brand-dark: #1E1B4B;
  --brand-charcoal: #374151;
  --brand-gold: #F59E0B;
  --brand-gold-light: #FEF3C7;

  /* Surfaces */
  --bg-white: #FFFFFF;
  --bg-off: #F9FAFB;
  --bg-light: #F3F4F6;
  --bg-muted: #EDE9FE;
  --border: #E5E7EB;
  --border-mid: #D1D5DB;

  /* Text */
  --text-main: #111827;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --text-inverse: #FFFFFF;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-sm: 0 4px 6px -1px rgba(91, 33, 182, .08), 0 2px 4px -1px rgba(91, 33, 182, .04);
  --shadow-md: 0 10px 15px -3px rgba(91, 33, 182, .1), 0 4px 6px -2px rgba(91, 33, 182, .05);
  --shadow-lg: 0 20px 25px -5px rgba(91, 33, 182, .12), 0 10px 10px -5px rgba(91, 33, 182, .06);
  --shadow-xl: 0 25px 50px -12px rgba(91, 33, 182, .2);
  --shadow-glow: 0 0 0 4px rgba(124, 58, 237, .2);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #5B21B6 0%, #7C3AED 100%);
  --grad-dark: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
  --grad-subtle: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Transitions */
  --t-fast: all 0.18s ease-in-out;
  --t-mid: all 0.35s cubic-bezier(.16, 1, .3, 1);
}

/* ====================== RESET ====================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--t-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =================== TYPOGRAPHY =================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-body);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-purple {
  color: var(--brand-purple-mid);
}

.text-gold {
  color: var(--brand-gold);
}

.text-white {
  color: var(--text-inverse);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

/* =================== LAYOUT =================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-fluid {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 90px 0;
}

.section-pad-sm {
  padding: 60px 0;
}

.bg-white {
  background-color: var(--bg-white);
}

.bg-off {
  background-color: var(--bg-off);
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-purple {
  background: var(--grad-primary);
}

.bg-dark {
  background: var(--grad-dark);
}

/* =================== TOP BAR =================== */
.top-bar {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, .85);
  font-size: .8rem;
  font-weight: 500;
  padding: 9px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tb-contacts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tb-contact {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tb-contact svg {
  opacity: .7;
  flex-shrink: 0;
}

.tb-actions {
  display: flex;
  gap: 16px;
}

.tb-actions a {
  color: var(--brand-gold);
  font-weight: 600;
}

.tb-actions a:hover {
  color: #FCD34D;
}

/* =================== HEADER =================== */
header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: var(--t-mid);
}

header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin-left: 32px;
}

.nav-desktop .nav-cta {
  margin-left: auto !important;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--r-sm);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
}

.nav-item svg {
  transition: var(--t-fast);
}

.nav-item:hover,
.nav-item.active {
  color: var(--brand-violet);
  background: var(--bg-muted);
}

.nav-item:hover svg {
  transform: rotate(180deg);
}

/* Mega Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  padding: 20px;
  min-width: 700px;
  display: none;
  z-index: 1000;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  display: block;
  animation: dropIn .18s ease-out;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-header {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.dropdown-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--t-fast);
}

.dropdown-link:hover {
  background: var(--bg-muted);
  color: var(--brand-violet);
}

.dl-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-violet);
  flex-shrink: 0;
  font-size: .9rem;
}

.dropdown-link:hover .dl-icon {
  background: var(--brand-light);
}

.nav-cta {
  margin-left: 12px;
}

.mobile-toggle {
  display: none;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
}

/* Mobile nav (hidden by default) */
.mobile-nav {
  display: none;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 20px;
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
}

.mob-section {
  margin-bottom: 20px;
}

.mob-section-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

.mob-link {
  display: block;
  padding: 9px 12px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--r-sm);
}

.mob-link:hover {
  background: var(--bg-muted);
  color: var(--brand-violet);
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--r-sm);
  padding: 11px 24px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(91, 33, 182, .35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(91, 33, 182, .45);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--brand-violet);
  border-color: var(--brand-violet);
}

.btn-outline:hover {
  background: var(--brand-violet);
  color: white;
}

.btn-white {
  background: white;
  color: var(--brand-purple);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold {
  background: var(--brand-gold);
  color: #1C1917;
  box-shadow: 0 4px 14px rgba(245, 158, 11, .35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-lg {
  padding: 14px 32px;
  font-size: .95rem;
  border-radius: var(--r-md);
}

.btn-xl {
  padding: 16px 40px;
  font-size: 1rem;
  border-radius: var(--r-md);
}

.btn-block {
  width: 100%;
}

/* ========== HERO — Main Landing ========== */
.hero-main {
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  color: white;
}

.hero-main::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  top: -300px;
  right: -200px;
  background: radial-gradient(circle, rgba(124, 58, 237, .25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-main::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  bottom: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(245, 158, 11, .1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--brand-gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.hero-main h1 {
  color: white;
  margin-bottom: 20px;
}

.hero-main h1 span {
  color: var(--brand-gold);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-trust-strip {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
}

.trust-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-gold);
}

.trust-label {
  font-size: .8rem;
  color: rgba(255, 255, 255, .65);
  font-weight: 500;
}

/* Hero Lead Form Card */
.hero-form-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-form-card h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.hero-form-card>p {
  color: rgba(255, 255, 255, .65);
  font-size: .88rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-sm);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  transition: var(--t-fast);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, .4);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, .15);
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .2);
}

.form-control option {
  color: var(--text-main);
  background: white;
}

.form-note {
  font-size: .75rem;
  color: rgba(255, 255, 255, .4);
  text-align: center;
  margin-top: 12px;
}

/* ========== SECTION LABELS ========== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand-violet);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand-violet);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

.section-head {
  margin-bottom: 50px;
}

/* ========== SERVICE CATEGORY CARDS ========== */
.service-cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-cats-grid.desktop-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-cats-grid.desktop-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--r-md);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: var(--t-mid);
  cursor: pointer;
  text-decoration: none;
}

.cat-card:hover {
  border-color: var(--brand-violet);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.cat-card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--r-md);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
  transition: var(--t-fast);
}

.cat-card:hover .cat-card-icon {
  background: var(--brand-violet);
}

.cat-card h4 {
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text-main);
}

.cat-card p {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 0;
}

/* ========== WHY CHOOSE US ========== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: var(--t-fast);
}

.why-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.why-text h4 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.why-text p {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Image side */
.why-visual-block {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--grad-primary);
  padding: 40px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.why-visual-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,.15)"/></svg>') repeat;
}

.why-visual-cred {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .12);
  border-radius: var(--r-md);
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .15);
}

.cred-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-gold);
}

.cred-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, .8);
}

/* ========== TESTIMONIALS ========== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 30px;
  transition: var(--t-mid);
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}

.testi-stars {
  color: var(--brand-gold);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-text {
  font-size: .95rem;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 700;
  font-size: .9rem;
}

.testi-role {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ========== STATS STRIP ========== */
.stats-strip {
  background: var(--grad-primary);
  padding: 50px 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 900;
  color: white;
}

.stat-label {
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
  font-weight: 500;
  margin-top: 4px;
}

/* ========== FINAL CTA ========== */
.cta-strip {
  background: var(--grad-dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip h2 {
  color: white;
  margin-bottom: 14px;
}

.cta-strip p {
  color: rgba(255, 255, 255, .7);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.cta-btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== FOOTER ========== */
footer {
  background: #0D0B1E;
  color: rgba(255, 255, 255, .75);
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.footer-brand .logo img {
  height: 42px;
}

.footer-desc {
  font-size: .88rem;
  line-height: 1.7;
  margin-top: 14px;
  color: rgba(255, 255, 255, .55);
}

.footer-col h5 {
  color: white;
  font-size: .9rem;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}

.footer-links a:hover {
  color: var(--brand-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .82rem;
  color: rgba(255, 255, 255, .35);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: var(--brand-gold);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: var(--grad-dark);
  color: white;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(124, 58, 237, .2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .55);
}

.breadcrumb a:hover {
  color: var(--brand-gold);
}

.breadcrumb span {
  color: rgba(255, 255, 255, .85);
}

.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, .75);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ========== INNER PAGE LAYOUT ========== */
.inner-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  align-items: start;
  padding: 70px 0 100px;
}

.page-content {
  min-width: 0;
}

.content-block {
  margin-bottom: 50px;
}

.content-block h2 {
  margin-bottom: 16px;
  font-size: 1.75rem;
}

.content-block h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: var(--brand-purple);
}

.content-block p {
  line-height: 1.75;
}

/* Feature Grid */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.feat-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  transition: var(--t-fast);
}

.feat-item:hover {
  border-color: var(--brand-light);
  box-shadow: var(--shadow-sm);
}

.feat-icon {
  background: var(--bg-muted);
  color: var(--brand-violet);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feat-text h4 {
  font-size: .95rem;
  margin-bottom: 4px;
}

.feat-text p {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Process Steps */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.proc-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.proc-step:last-child {
  border-bottom: none;
}

.proc-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
}

.proc-body h4 {
  margin-bottom: 6px;
}

.proc-body p {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Docs checklist */
.docs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: .9rem;
}

.doc-item::before {
  content: '📄';
  font-size: 1rem;
}

/* Pricing table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table th {
  background: var(--grad-primary);
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-size: .88rem;
  font-weight: 700;
}

.price-table td {
  padding: 12px 18px;
  font-size: .88rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:nth-child(even) td {
  background: var(--bg-off);
}

/* ========== STICKY LEAD FORM ========== */
.sticky-sidebar {
  position: sticky;
  top: 90px;
}

.lead-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.lead-card-header {
  background: var(--grad-primary);
  padding: 24px 26px;
  color: white;
}

.lead-card-header h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.lead-card-header p {
  color: rgba(255, 255, 255, .75);
  font-size: .85rem;
  margin-bottom: 0;
}

.lead-card-body {
  padding: 24px 26px;
}

.lead-form-light .form-label {
  color: var(--text-main);
}

.lead-form-light .form-control {
  background: var(--bg-off);
  border-color: var(--border);
  color: var(--text-main);
}

.lead-form-light .form-control::placeholder {
  color: var(--text-light);
}

.lead-form-light .form-control:focus {
  border-color: var(--brand-violet);
  background: white;
  box-shadow: var(--shadow-glow);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 26px;
  border-top: 1px solid var(--border);
  background: var(--bg-off);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ========== AD BANNER AREA on INNER PAGES ========== */
.ad-slot {
  background: var(--bg-off);
  border: 1px dashed var(--border-mid);
  border-radius: var(--r-md);
  padding: 16px 20px;
  text-align: center;
  font-size: .75rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.related-services {
  margin-top: 40px;
}

.related-services h3 {
  margin-bottom: 18px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.related-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--t-fast);
}

.related-link:hover {
  border-color: var(--brand-violet);
  color: var(--brand-violet);
  background: var(--bg-muted);
}

/* ========== FAQ ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

details[open] {
  border-color: var(--brand-violet);
  box-shadow: var(--shadow-sm);
}

summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--brand-violet);
  flex-shrink: 0;
  transition: var(--t-fast);
}

details[open] summary::after {
  content: '−';
}

details p {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}

/* ========== ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .top-bar {
    display: none;
  }

  .nav-desktop {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .service-cats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .inner-layout {
    grid-template-columns: 1fr;
  }

  .sticky-sidebar {
    position: static;
  }

  .testi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .service-cats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feat-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .hero-trust-strip {
    gap: 16px;
  }

  .service-cats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ====================================================
   INNER PAGE STYLES — Sub-service & Category Pages
   ==================================================== */

.page-hero {
  background: var(--grad-dark);
  padding: 100px 0 60px;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(124, 58, 237, .3) 0%, transparent 70%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  font-family: 'Outfit', sans-serif;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.72;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}

.breadcrumb a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: white;
}

.inner-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  padding: 56px 0;
  align-items: start;
}

.content-block {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  margin-bottom: 28px;
}

.content-block h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-light);
}

.content-block p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 12px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.feat-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-off);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.feat-text h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.feat-text p {
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.proc-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg-off);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.proc-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proc-body h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--brand-purple);
  margin-bottom: 4px;
}

.proc-body p {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq-list summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-main);
  cursor: pointer;
  background: var(--bg-off);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .2s;
}

.faq-list summary:hover,
.faq-list details[open] summary {
  background: var(--brand-light);
  color: var(--brand-purple);
}

.faq-list details p {
  padding: 16px 20px;
  font-size: .88rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
  border-top: 1px solid var(--border);
}

.related-services {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-bottom: 28px;
}

.related-services h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.related-link {
  display: block;
  padding: 12px 16px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand-purple);
  text-decoration: none;
  transition: all .2s;
}

.related-link:hover {
  background: var(--brand-light);
  border-color: var(--brand-violet);
  transform: translateX(3px);
}

.ad-slot {
  background: var(--bg-light);
  border: 2px dashed var(--border-mid);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: .8rem;
  font-style: italic;
  margin-bottom: 28px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-sidebar {
  position: sticky;
  top: 100px;
}

.lead-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.lead-card-header {
  background: var(--grad-primary);
  padding: 24px 28px;
  color: white;
}

.lead-card-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.lead-card-header p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .8);
  margin: 0;
}

.lead-card-body {
  padding: 24px 28px;
}

.lead-form-light .form-control {
  border: 1.5px solid var(--border-mid);
  background: var(--bg-off);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: .88rem;
  width: 100%;
  box-sizing: border-box;
}

.lead-form-light .form-control:focus {
  outline: none;
  border-color: var(--brand-violet);
  background: white;
  box-shadow: var(--shadow-glow);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-off);
}

.trust-badge {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-light);
  border-radius: var(--r-md);
}

.why-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.why-text p {
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.why-visual-cred {
  background: var(--grad-dark);
  border-radius: var(--r-xl);
  padding: 40px;
  color: white;
}

.cred-item {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.cred-item:last-child {
  border-bottom: none;
}

.cred-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-gold);
}

.cred-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .inner-layout {
    grid-template-columns: 1fr;
  }

  .sticky-sidebar {
    position: static;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .content-block {
    padding: 24px 20px;
  }

  .lead-card-body {
    padding: 20px;
  }
}


/* Mobile Fix for Hero Trust Strip */
@media (max-width: 768px) {
  .hero-badge {
    white-space: nowrap !important;
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
  }

  .hero-trust-strip {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .hero-trust-strip .trust-item {
    flex: 1;
    text-align: center;
    padding: 0;
  }

  .hero-trust-strip .trust-number {
    font-size: 1.25rem !important;
    line-height: 1.2;
  }

  .hero-trust-strip .trust-label {
    font-size: 0.7rem !important;
    line-height: 1.2;
    margin-top: 4px;
  }
}

/* 1. Prevent the whole website from scrolling sideways */
html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* 2. Fix the spacing on the mobile scroll grid so it doesn't push the screen */
@media (max-width: 768px) {
  .mobile-scroll-grid {
    /* Remove the negative margins if you added them previously */
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 4px;
    padding-right: 4px;
    width: 100%;
  }
}

/* Mobile Fix for Why Choose Us Visual Block */
@media (max-width: 768px) {

  .why-visual-block,
  .why-visual-cred {
    width: 100% !important;
    /* Forces the box to not exceed screen width */
    box-sizing: border-box !important;
    /* Includes padding in the width calculation */
    padding-left: 16px;
    padding-right: 16px;
  }

  .cred-item {
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column;
    /* Stacks the number and label neatly */
    align-items: flex-start;
    /* Aligns text to the left, change to center if preferred */
    margin-bottom: 16px;
    /* Adds breathing room between items */
  }

  .cred-label {
    white-space: normal !important;
    /* FORCES text to wrap to the next line */
    word-wrap: break-word !important;
    /* Breaks long words if necessary */
    overflow-wrap: break-word !important;
    font-size: 0.85rem;
    /* Slightly smaller font to fit better on mobile */
    line-height: 1.5;
    /* Improves readability for multi-line text */
    width: 100%;
  }
}

/* =============================================
   BREADCRUMB NAVIGATION
   ============================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: rgba(255, 255, 255, .65);
  transition: color .15s;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255, 255, 255, .35); margin: 0 4px; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero {
  background: var(--grad-dark);
  padding: 80px 0 60px;
  color: white;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  top: -300px; right: -150px;
  background: radial-gradient(circle, rgba(124,58,237,.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.about-hero-inner { position: relative; z-index: 1; }
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
  margin-top: 28px;
}
.about-hero h1 { color: white; margin-bottom: 20px; }
.about-hero p  { color: rgba(255,255,255,.78); line-height: 1.75; margin-bottom: 36px; font-size: 1.05rem; }

.about-stat-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.about-stat { text-align: center; }
.about-stat .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: var(--brand-gold);
}
.about-stat .lbl { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: 4px; }

.hero-cred-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  backdrop-filter: blur(10px);
}
.hero-cred-card h3 { color: white; font-size: 1.1rem; margin-bottom: 20px; }
.cred-badge {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.cred-badge:last-child { border-bottom: none; }
.badge-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.badge-text { font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.55; }
.badge-text strong { display: block; color: white; margin-bottom: 2px; }

/* Mission / Vision cards */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 60px;
}
.mv-card {
  padding: 36px 32px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.mv-card.mission::before { background: var(--grad-primary); }
.mv-card.vision::before  { background: linear-gradient(90deg, #F59E0B, #EF4444); }
.mv-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--brand-violet);
  margin-bottom: 10px;
}
.mv-card h3 { margin-bottom: 12px; }
.mv-card p  { color: var(--text-muted); line-height: 1.75; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.value-card {
  padding: 28px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-white);
  text-align: center;
  transition: var(--t-mid);
}
.value-card:hover {
  border-color: var(--brand-violet);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.value-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h4 { margin-bottom: 8px; }
.value-card p  { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 16px 80px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 32px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brand-violet);
  border: 2px solid var(--brand-light);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.timeline-item:not(:last-child) .timeline-dot::after {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 2px;
  bottom: calc(-32px - 4px);
  background: var(--border);
}
.timeline-year {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem; font-weight: 700;
  color: var(--brand-violet);
  margin-top: 2px;
}
.timeline-title { font-weight: 700; margin-bottom: 4px; color: var(--text-main); }
.timeline-text  { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}
.team-card {
  padding: 24px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-white);
  text-align: center;
  transition: var(--t-mid);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.team-name  { font-weight: 700; margin-bottom: 4px; }
.team-role  { font-size: .78rem; color: var(--brand-violet); font-weight: 600; margin-bottom: 10px; }
.team-bio   { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* CTA block on about */
.about-cta {
  background: var(--grad-dark);
  border-radius: var(--r-lg);
  padding: 64px 40px;
  text-align: center;
  color: white;
}
.about-cta h2 { color: white; margin-bottom: 16px; }
.about-cta p  { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 32px; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-page-hero {
  background: var(--grad-dark);
  padding: 80px 0 60px;
  color: white;
}
.contact-hero-inner { text-align: center; }
.contact-hero-inner h1 { color: white; margin-bottom: 16px; }
.contact-hero-inner p  { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  padding: 64px 0;
  align-items: start;
}

.contact-form-block { }
.contact-form-block h2 { margin-bottom: 8px; }
.contact-form-block > p { color: var(--text-muted); margin-bottom: 28px; }

/* Override form controls for light background on contact page */
.contact-form .form-label { color: var(--text-main); }
.contact-form .form-control {
  background: var(--bg-white);
  border: 1.5px solid var(--border-mid);
  color: var(--text-main);
}
.contact-form .form-control::placeholder { color: var(--text-light); }
.contact-form .form-control:focus {
  border-color: var(--brand-violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
  background: white;
}
.contact-form .form-control option { color: var(--text-main); background: white; }

.contact-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3 { font-size: 1.05rem; margin-bottom: 20px; }
.info-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.info-item:last-of-type { border-bottom: none; margin-bottom: 16px; }
.info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.info-label { font-size: .75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.info-value { font-weight: 600; color: var(--text-main); font-size: .9rem; }
.info-value a { color: var(--brand-violet); }
.info-value a:hover { text-decoration: underline; }

.whatsapp-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  width: 100%;
  transition: var(--t-fast);
}
.whatsapp-btn:hover { background: #1ebe5d; color: white; transform: translateY(-2px); }

.hours-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.hours-card h4 { margin-bottom: 16px; font-size: .95rem; }
.hours-row {
  display: flex; justify-content: space-between;
  font-size: .875rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
}
.hours-row:last-child { border-bottom: none; }
.open-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
  vertical-align: middle;
}

.map-embed {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* =============================================
   LEGAL PAGES (Privacy / Terms / Disclaimer)
   ============================================= */
.page-hero {
  background: var(--grad-dark);
  padding: 70px 0 50px;
  color: white;
}
.page-hero-inner { text-align: left; }
.page-hero-inner .breadcrumb a { color: rgba(255,255,255,.6); }
.page-hero-inner .breadcrumb span { color: rgba(255,255,255,.4); margin: 0 8px; }
.page-hero-inner h1 { color: white; margin: 16px 0 14px; }
.page-hero-inner p  { color: rgba(255,255,255,.7); max-width: 580px; margin: 0; font-size: 1.05rem; }

.legal-content {
  padding: 70px 0 80px;
}
.legal-content .container-sm {
  /* already has max-width + margin auto */
}
.last-updated {
  display: inline-block;
  background: var(--bg-muted);
  color: var(--brand-violet);
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.legal-content h2 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
  color: var(--text-main);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
}
.legal-content h2:first-of-type { margin-top: 24px; }
.legal-content p  { color: var(--text-body); line-height: 1.8; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.legal-content ul li { color: var(--text-body); line-height: 1.7; margin-bottom: 6px; font-size: .95rem; }
.legal-content a  { color: var(--brand-violet); }
.legal-content a:hover { text-decoration: underline; }

/* =============================================
   RESPONSIVE — ABOUT & CONTACT PAGES
   ============================================= */
@media (max-width: 900px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-cred-card { order: -1; }
  .about-stat-row { grid-template-columns: repeat(2,1fr); }
  .mv-grid        { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .timeline-item  { grid-template-columns: 16px 70px 1fr; gap: 10px; }
}
@media (max-width: 600px) {
  .values-grid    { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: 1fr; }
  .about-stat-row { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .about-cta      { padding: 40px 20px; }
  .timeline-item  { grid-template-columns: 14px 1fr; gap: 8px; }
  .timeline-year  { grid-column: 2; }
  .timeline-title { grid-column: 2; }
  .timeline-text  { grid-column: 2; }
}

/* ========================================================================= */
/* SERVICE PAGES (INNER)                                                     */
/* ========================================================================= */

.service-header {
  padding: 80px 20px 60px;
  background: var(--bg-muted);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.service-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  color: var(--brand-dark);
}

.service-details {
  padding: 80px 20px;
  background: var(--bg-off);
}

.service-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.service-content h2,
.service-content h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--brand-dark);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.service-list-item {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--t-mid);
}

.service-list-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-violet);
}

.service-list-item h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--brand-purple);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.service-sidebar {
  position: relative;
}

.sticky-form {
  position: sticky;
  top: 100px;
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.sticky-form h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

/* Responsive Service Pages */
@media (max-width: 900px) {
  .service-details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .service-list {
    grid-template-columns: 1fr;
  }
  .service-header h1 {
    font-size: 2.2rem;
  }
  .service-header {
    padding: 60px 20px 40px;
  }
}

/* Mobile Horizontal Scroll Styles */
  @media (max-width: 768px) {
    .mobile-scroll-grid {
      display: flex !important;
      flex-wrap: nowrap;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x mandatory;
      gap: 16px;
      /* Adds padding so the shadow isn't cut off and scrollbar has room */
      padding-bottom: 20px; 
      /* Optional: negative margin to make it bleed to the edge of the mobile screen */
      margin-left: -15px;
      margin-right: -15px;
      padding-left: 15px;
      padding-right: 15px;
    }
    
    .mobile-scroll-grid > .cat-card {
      /* Card width on mobile: shows 1 full card and a peek of the next one to indicate scrolling */
      flex: 0 0 75%; 
      max-width: 280px;
      scroll-snap-align: center;
      margin-bottom: 0; 
    }

    /* Customizing the mobile scrollbar to look sleek */
    .mobile-scroll-grid::-webkit-scrollbar {
      height: 6px;
    }
    .mobile-scroll-grid::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 8px;
    }
    .mobile-scroll-grid::-webkit-scrollbar-thumb {
      background: var(--brand-gold, #cfa85e); /* Uses your gold brand color if defined, otherwise gray */
      border-radius: 8px;
    }
  }
  
/* Custom Visible Horizontal Scrollbar for Mobile */
@media (max-width: 768px) {
    
    .mobile-scroll-grid {
        /* Firefox support */
        scrollbar-width: thin; 
        scrollbar-color: var(--brand-gold, #cfa85e) #f1f1f1;
        /* Ensure there is enough space at the bottom for the shadow AND the scrollbar */
        padding-bottom: 24px !important; 
    }

    /* Chrome, Safari, and Edge styling */
    .mobile-scroll-grid::-webkit-scrollbar {
        display: block; /* Make sure it shows */
        height: 6px; /* Thickness of the horizontal scrollbar */
    }

    .mobile-scroll-grid::-webkit-scrollbar-track {
        background: #f8f9fa; /* Light gray track background */
        border-radius: 8px;
        margin: 0 20px; /* Keeps the scrollbar track inside the screen bounds */
    }

    .mobile-scroll-grid::-webkit-scrollbar-thumb {
        background: var(--brand-gold, #cfa85e); /* Your brand gold color */
        border-radius: 8px;
    }
}