/* 
  iPride Notary, Fingerprinting & Apostilles 
  Global Design System & Stylesheet (Vanilla CSS - Premium Light Theme)
*/

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

:root {
  /* Dynamic Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Color System (Light-First Branding) */
  --primary: #00cc99;          /* iPride Mint Green */
  --primary-hover: #00b386;    /* Deeper Mint Green for hover contrast */
  --primary-rgb: 0, 204, 153;
  
  --secondary: #d4af37;        /* Brushed Accent Gold */
  --secondary-hover: #c5a02e;  /* Deeper Accent Gold */
  --secondary-rgb: 212, 175, 55;

  /* Premium Light Theme Colors mapped to original variable names */
  --dark-slate: #F8FAFC;       /* Softest gray-blue background */
  --dark-card: #FFFFFF;        /* Pure white card backgrounds */
  --dark-border: #E2E8F0;      /* Soft slate border */
  
  --light-bg: #FFFFFF;         
  --light-card: #F8FAFC;       
  --light-border: #E2E8F0;     
  --section-alt: #F8FAFC;     
  
  --text-primary: #0F172A;     /* Deep slate for headings & body text */
  --text-secondary: #475569;   /* Slate-gray for descriptions & labels */
  --text-muted: #64748B;       /* Light slate-gray for footnotes */
  
  --white: #FFFFFF;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;

  /* Transitions & Effects */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.05);
  --shadow-md: 0 10px 30px rgba(15,23,42,0.06);
  --shadow-lg: 0 20px 40px rgba(15,23,42,0.1);
  --shadow-glow: 0 0 20px rgba(var(--primary-rgb), 0.15);
  
  /* Layout Metrics */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --max-width: 1200px;
  --header-height: 95px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--dark-slate);
}

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background-color: var(--dark-slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.content-link {
  color: var(--primary-hover);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.content-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

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

/* Utility Layouts */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  padding-left: 24px !important;
  padding-right: 24px !important;
  width: 100%;
}

.container.detail-grid,
.container.photos-layout,
.detail-grid,
.photos-layout {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.section {
  padding: 45px 0;
  position: relative;
  background-color: var(--white);
}

.section-alt,
.section.section-alt {
  background-color: var(--light-card);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

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

.grid {
  display: grid;
  gap: 24px;
}

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

/* Navigation Bar */
body {
  padding-top: 36px;
}

body.scrolled {
  padding-top: 36px;
}

.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  background-color: #F0FCF9;
  color: #1b2330;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1001;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  font-family: var(--font-display);
  letter-spacing: 0.3px;
  padding: 0 16px;
  box-sizing: border-box;
}

.announcement-bar a {
  color: #1b2330;
  text-decoration: underline;
  margin-left: 6px;
  font-weight: 800;
  transition: opacity 0.2s ease;
}

.announcement-bar a:hover {
  opacity: 0.85;
}

.nav-header {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: top 0.3s ease, height var(--transition-smooth), background-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.nav-header.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  height: 75px;
  top: 0;
}

body.scrolled .announcement-bar {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  height: 75px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: height var(--transition-smooth);
}

.nav-header.scrolled .logo-image {
  height: 62px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  color: var(--text-primary);
}

.logo-text span {
  display: block;
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--primary);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

#nav-services::after {
  display: none !important;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.3);
}

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

.btn-secondary:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 4px 15px rgba(var(--secondary-rgb), 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--white);
  color: var(--text-primary);
  border: 1.5px solid var(--dark-border);
  box-shadow: var(--shadow-sm);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

/* Section Header Typography */
.section-header {
  max-width: 700px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.section-tagline {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title-large {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-desc-large {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Cards & Layout Items */
.card {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: var(--shadow-md);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition-fast);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(var(--primary-rgb), 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.card-title {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card-text {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.card-link svg {
  transition: transform var(--transition-fast);
}

.card:hover .card-link svg {
  transform: translateX(4px);
}

/* Make entire card clickable via link pseudo-element overlay */
.card-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

/* Ensure other interactive links inside cards remain clickable */
a.card-price-text,
.card a:not(.card-link) {
  position: relative;
  z-index: 2;
}

/* Badge Highlight Pills */
.badge-pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  width: fit-content;
}

.badge-pill.primary {
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-hover);
}

.badge-pill.secondary {
  background-color: rgba(var(--secondary-rgb), 0.08);
  color: var(--secondary-hover);
}

/* Card Footer Row & Price Text */
.card-footer-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--dark-border);
}

.card-footer-row .card-link {
  margin-top: 0;
}

.card-price-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-hover);
}

a.card-price-text {
  color: var(--primary-hover);
  text-decoration: underline;
  transition: var(--transition-fast);
}

a.card-price-text:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Dynamic Forms (Multi-step, Custom Inputs) */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--dark-card);
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.15);
}

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

/* Accordion FAQs */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--dark-border);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
}

.faq-trigger svg {
  transition: transform var(--transition-smooth);
  color: var(--text-secondary);
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-content-inner {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Footer Section (Premium Light Theme) */
.footer {
  background-color: #F8FAFC;
  border-top: 1px solid var(--dark-border);
  padding: 45px 0 30px;
  color: var(--text-secondary);
}

.footer-grid {
  margin-bottom: 60px;
}

.footer-grid-5 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}

.footer-col h4:not(:first-of-type) {
  margin-top: 32px;
}

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

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

.footer-contact-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-info a {
  transition: var(--transition-fast);
  color: inherit;
}

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

.footer-contact-info svg {
  color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 14px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 14px;
}

/* Trust Stripe Styles */
.trust-stripe {
  background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.04), rgba(var(--secondary-rgb), 0.03));
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
  padding: 24px 0;
  text-align: center;
}

.trust-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trust-badge-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.trust-badge-item .plus-align {
  position: relative;
  top: -1.5px;
}

/* Google Review Rating Stripe Styles */
.rating-stripe {
  display: block;
  background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.04), rgba(var(--secondary-rgb), 0.03));
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
  padding: 20px 0;
  text-align: center;
}

.rating-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
}

.rating-label {
  color: var(--text-secondary);
}

.rating-highlight {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 17px;
  font-family: var(--font-display);
}

.rating-stars {
  display: flex;
  gap: 3px;
  align-items: center;
}

.rating-star-box {
  background-color: #00cc99;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.rating-star-box svg {
  width: 14px;
  height: 14px;
  fill: white;
}

.rating-details {
  color: var(--text-primary);
}

.rating-details span {
  text-decoration: underline;
  font-weight: 600;
}

.rating-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.rating-brand svg {
  color: #00cc99;
  width: 18px;
  height: 18px;
}

/* Services Grid styling */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.service-card-new {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: var(--transition-smooth);
  height: 100%;
}

.service-card-new:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Color thematic borders & accenting */
.service-card-new.accent-primary {
  border-top: 4px solid var(--primary);
}
.service-card-new.accent-secondary {
  border-top: 4px solid var(--secondary);
}

.service-card-new:hover.accent-primary {
  border-color: rgba(var(--primary-rgb), 0.3);
  border-top-color: var(--primary);
}
.service-card-new:hover.accent-secondary {
  border-color: rgba(var(--secondary-rgb), 0.3);
  border-top-color: var(--secondary);
}

/* Badge inside card */
.service-card-new .card-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.service-card-new.accent-primary .card-badge {
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-hover);
}

.service-card-new.accent-secondary .card-badge {
  background-color: rgba(var(--secondary-rgb), 0.08);
  color: var(--secondary-hover);
}

.service-card-new .card-title-new {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.service-card-new .card-desc-new {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 120px;
}

.service-card-new .card-features-new {
  list-style: none;
  width: 100%;
  margin: 0 0 30px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card-new .card-features-new li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.service-card-new .card-features-new li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.service-card-new.accent-primary .card-features-new li svg {
  color: var(--primary);
}

.service-card-new.accent-secondary .card-features-new li svg {
  color: var(--secondary);
}

.service-card-new .card-link-new {
  margin-top: auto; /* Push CTA to bottom */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.service-card-new.accent-primary .card-link-new {
  color: var(--primary-hover);
}
.service-card-new.accent-primary .card-link-new:hover {
  color: var(--primary);
}

.service-card-new.accent-secondary .card-link-new {
  color: var(--secondary-hover);
}
.service-card-new.accent-secondary .card-link-new:hover {
  color: var(--secondary);
}

.service-card-new .card-link-new svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card-new .card-link-new:hover svg,
.service-card-new:hover .card-link-new svg {
  transform: translateX(4px);
}

/* Make entire new service card clickable as well */
.card-link-new::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.service-card-new a:not(.card-link-new) {
  position: relative;
  z-index: 2;
}

/* Responsive for Services Grid */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .service-card-new .card-desc-new {
    min-height: auto !important;
    margin-bottom: 12px !important;
  }
  
  .service-card-new .card-features-new {
    margin-bottom: 20px !important;
  }
  
  /* Hide redundant inline hero CTAs on mobile viewports */
  .hero-buttons,
  .hero-btns,
  .hero-buttons-wrapper {
    display: none !important;
  }
}

/* Service Section & Details Layout */
.service-section {
  padding: 55px 0;
  border-bottom: 1px solid var(--dark-border);
}

.service-section-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.service-details h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.service-details p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  margin-bottom: 24px;
}

.service-details ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
}

.service-details ul li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-visual-panel {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.service-price-tag {
  display: inline-block;
  background-color: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .service-section {
    padding: 35px 0;
  }
  .service-section-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-details h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .service-details p {
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 14px;
  }
  .service-visual-panel {
    padding: 24px 16px;
  }
}

/* Booking Cards & Grid */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.booking-card-tile {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.booking-card-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.booking-card-tile .card-icon-small {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.booking-card-tile.notary-theme .card-icon-small {
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.booking-card-tile.fingerprint-theme .card-icon-small {
  background-color: rgba(var(--secondary-rgb), 0.08);
  color: var(--secondary);
  border: 1px solid rgba(var(--secondary-rgb), 0.15);
}

.booking-card-tile.apostille-theme .card-icon-small {
  background-color: rgba(var(--secondary-rgb), 0.08);
  color: var(--secondary);
  border: 1px solid rgba(var(--secondary-rgb), 0.15);
}

.booking-card-tile .card-icon-small svg {
  width: 24px;
  height: 24px;
}

.booking-card-tile .booking-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.booking-card-tile .booking-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.booking-card-tile .btn-book {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

@media (max-width: 992px) {
  .booking-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid-5 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px !important;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .nav-header.scrolled {
    height: 60px;
  }
  .logo-image {
    height: 52px;
  }
  .nav-header.scrolled .logo-image {
    height: 44px;
  }
  .section { padding: 45px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid-5 {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
}

/* Quick Resource Links Banner */
.quick-links-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--dark-border);
}

.quick-link-col {
  padding: 50px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: background-color 0.3s ease;
}

.quick-link-col-1 {
  background-color: var(--white);
}

.quick-link-col-2 {
  background-color: var(--dark-slate);
}

.quick-link-col-3 {
  background-color: #f1f5f9;
}

.quick-link-icon-wrapper {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.quick-link-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--white);
  color: #212935;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 0;
  box-shadow: var(--shadow-sm);
}

.quick-link-title {
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.quick-link-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 24px;
}

.quick-links-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-family: inherit;
  height: 42px;
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
  background: transparent;
  padding: 0 28px;
  font-weight: 700;
  border-radius: 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: auto;
}

.quick-links-btn:hover {
  background-color: var(--text-primary);
  color: var(--white);
  border-color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-links-btn-primary {
  border-color: var(--primary);
  color: var(--text-primary);
}

.quick-links-btn-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #1b2330;
}

.quick-links-btn-secondary {
  border-color: var(--secondary);
  color: var(--text-primary);
}

.quick-links-btn-secondary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: #1b2330;
}

/* Responsive Grid for Quick Links */
@media (max-width: 768px) {
  .quick-links-banner {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }
  .quick-link-col {
    padding: 40px 24px;
  }
}

/* Global subpage back-link layout fix & premium hover */
.back-link {
  display: flex !important;
  align-items: center;
  gap: 6px;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  width: fit-content;
  transition: var(--transition-fast);
}

.back-link:hover {
  color: var(--primary-hover) !important;
}

.back-link svg {
  transition: transform var(--transition-fast);
}

.back-link:hover svg {
  transform: translateX(-4px);
}

/* ==========================================================================
   Premium UI/UX Enhancements (Scroll Progress, Back-to-Top, Hover Animations)
   ========================================================================== */

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--primary);
  width: 0%;
  z-index: 10000;
  transition: width 0.1s ease-out;
}

/* Floating Back-to-Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--dark-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 999;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background-color: var(--primary);
  color: #1b2330;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.back-to-top-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.back-to-top-btn:hover svg {
  transform: translateY(-2px);
}

/* Active Page Navigation Highlight */
.nav-link.active-page {
  color: var(--primary-hover) !important;
  font-weight: 700;
}

.nav-link.active-page::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

/* Enhanced 3D Hover & Glow states on Cards */
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: var(--shadow-md), 0 10px 25px rgba(var(--primary-rgb), 0.08);
}

.service-card-new:hover.accent-primary {
  box-shadow: var(--shadow-md), 0 10px 25px rgba(var(--primary-rgb), 0.08);
}

.service-card-new:hover.accent-secondary {
  box-shadow: var(--shadow-md), 0 10px 25px rgba(var(--secondary-rgb), 0.06);
}

.booking-card-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 10px 25px rgba(var(--primary-rgb), 0.06);
  border-color: rgba(var(--primary-rgb), 0.4);
}

#booking-section {
  text-align: center;
}

/* ==========================================================================
   Global Modal System (e.g. How It Works Popups)
   ========================================================================== */

/* Modal Backdrop style */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Box container */
.modal-container {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 580px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 36px;
  position: relative;
  transform: translateY(30px);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.active .modal-container {
  transform: translateY(0);
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background-color: var(--dark-slate);
  color: var(--text-primary);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

/* Modal Header title */
.modal-header-title {
  font-size: 22px;
  margin-bottom: 24px;
  padding-right: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 16px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 800;
}

/* Modal Body scroll area */
.modal-body {
  padding-bottom: 12px;
}

/* Steps styling in modal */
.modal-step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  text-align: left;
}

.modal-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
  font-size: 14px;
  z-index: 2;
}

.modal-step-line {
  position: absolute;
  left: 16px;
  top: 32px;
  bottom: -24px;
  width: 2px;
  background-color: var(--dark-border);
  z-index: 1;
}

.modal-step-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: var(--font-display);
  margin-top: 5px;
}

.modal-step-content p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.modal-link {
  color: var(--primary);
  text-decoration: none;
}

.modal-link:hover {
  text-decoration: underline;
}

.modal-footer {
  border-top: 1px solid var(--dark-border);
  padding-top: 20px;
  margin-top: 12px;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Mobile Sticky Bottom Action Strip */
.mobile-sticky-action-strip {
  display: none;
}

@media (max-width: 992px) {
  .mobile-sticky-action-strip {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(64px + env(safe-area-inset-bottom));
    background-color: var(--dark-slate);
    border-top: 1px solid var(--dark-border);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    gap: 12px;
    z-index: 1040;
    box-sizing: border-box;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }
  
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  }
  
  .mobile-sticky-action-strip .strip-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
  }
  
  .btn-call-strip {
    color: var(--secondary);
    background-color: rgba(var(--secondary-rgb), 0.08);
    border: 1px solid rgba(var(--secondary-rgb), 0.25);
  }
  
  .btn-call-strip:hover {
    background-color: var(--secondary);
    color: var(--white);
  }
  
  .btn-book-strip {
    color: var(--dark-slate);
    background-color: var(--primary);
    border: 1px solid var(--primary);
  }
  
  .btn-book-strip:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
  }

  /* Ensure chat widget is layered cleanly above the mobile sticky action strip */
  chat-widget {
    z-index: 1050;
  }
}

/* Premium Native Reviews Carousel */
.reviews-carousel-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.review-card-native {
  width: 100%;
  flex-shrink: 0;
  padding: 32px 24px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-stars {
  color: #ffb800;
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
  font-weight: 500;
  max-width: 720px;
}

.review-author {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 16px;
  margin-bottom: 4px;
}

.review-role {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--dark-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .review-text {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* ==========================================================================
   Pricing Card Styles for State & Apostille Pages
   ========================================================================== */
.pricing-card {
  background-color: var(--white) !important;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.pricing-card.featured-card {
  border: 2px solid var(--primary) !important;
  box-shadow: var(--shadow-md) !important;
}

.pricing-card:hover {
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pricing-card.featured-card:hover {
  border-color: var(--primary) !important;
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-4px);
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 204, 153, 0.25);
}

.pricing-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 12px;
  margin-bottom: 8px;
  text-align: center;
}

.pricing-card-price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card-price span {
  font-size: 48px;
  font-weight: 800;
  margin-right: 2px;
}

.pricing-card-features {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 0 24px 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
  width: 100%;
}

.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  list-style: none !important;
}

.pricing-card-features li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-card-button {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-smooth);
  margin-top: auto;
}

.pricing-card-button.solid {
  background-color: var(--primary);
  color: var(--white) !important;
  border: 2px solid var(--primary);
}

.pricing-card-button.solid:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.pricing-card-button.outline {
  background-color: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}

.pricing-card-button.outline:hover {
  background-color: var(--primary);
  color: var(--white) !important;
}

/* ==========================================================================
   Steps Grid / How It Works Process Styling (Option 1: Clean Floating)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  position: relative;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.steps-grid.steps-grid-3,
.steps-grid:has(> :last-child:nth-child(3)) {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
}

.steps-grid.steps-grid-5,
.steps-grid:has(> :last-child:nth-child(5)) {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1240px;
  gap: 24px;
}

.step-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  position: relative;
  transition: transform 0.3s ease;
  height: auto !important;
  box-sizing: border-box;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: none !important;
  border-color: transparent !important;
}

.step-card h3,
.step-card h4 {
  font-size: 17px !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-top: 14px !important;
  margin-bottom: 8px !important;
  text-align: center !important;
}

.step-card p {
  font-size: 14.5px !important;
  color: var(--text-secondary) !important;
  line-height: 1.6 !important;
  margin: 0 auto !important;
  text-align: center !important;
  max-width: 320px !important;
}

/* Responsive Process Connector Arrows */
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 2;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (min-width: 992px) {
  .step-card:not(:last-child)::after {
    right: -24px;
    top: 25px; /* Aligns with the center of the 50px circular number badge */
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2300cc99' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
  }
  .steps-grid.steps-grid-5 .step-card:not(:last-child)::after,
  .steps-grid:has(> :last-child:nth-child(5)) .step-card:not(:last-child)::after {
    right: -16px;
  }
}

@media (max-width: 991px) {
  .steps-grid,
  .steps-grid.steps-grid-3,
  .steps-grid.steps-grid-5,
  .steps-grid:has(> :last-child:nth-child(3)),
  .steps-grid:has(> :last-child:nth-child(5)) {
    grid-template-columns: 1fr !important;
    gap: 44px !important;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .step-card:not(:last-child)::after {
    right: auto !important;
    top: auto !important;
    bottom: -31px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2300cc99' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  }
}

/* ==========================================================================
   Global Steps Container / Process Cards (Apostille & Translation Format)
   ========================================================================== */
.steps-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.step-item {
  flex: 1;
  min-width: 280px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 36px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transition: var(--transition-smooth);
}

.step-item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 204, 153, 0.3);
  box-shadow: 0 20px 40px rgba(0, 204, 153, 0.08);
}

.step-item:hover .step-icon-wrapper {
  transform: scale(1.05);
}

.step-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.step-icon-wrapper.primary {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 20px rgba(0, 204, 153, 0.12);
  color: var(--primary);
}

.step-icon-wrapper.secondary {
  border: 2px solid var(--secondary);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.12);
  color: var(--secondary);
}

.step-item h3 {
  font-size: 18px !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin: 0 0 8px 0 !important;
  text-align: center !important;
}

.step-item p {
  font-size: 14px !important;
  color: var(--text-secondary) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  text-align: center !important;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  margin-top: 36px;
  color: var(--primary);
  opacity: 0.4;
  font-size: 24px;
  font-weight: 700;
  user-select: none;
  align-self: flex-start;
}

@media (max-width: 991px) {
  .step-connector {
    display: none !important;
  }
  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 20px !important;
  }
  .step-item {
    width: 100%;
    max-width: 420px;
  }
}



/* ==========================================================================
   FBI Background Check & Apostille Bundle Section
   ========================================================================== */
.fbi-bundle-section {
  background-color: var(--white);
  color: var(--text-primary);
  padding: 80px 0;
  border-bottom: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
}

.fbi-bundle-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.fbi-bundle-card {
  background-color: var(--light-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 991px) {
  .fbi-bundle-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* ==========================================================================
   Apostille Eligible Documents Tabs Navigation (Mobile Responsive)
   ========================================================================== */
.apostille-tabs {
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE and Edge */
}

.apostille-tabs::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Opera */
}

/* Mobile Segmented Control: All tabs 100% visible at all times with zero horizontal scroll */
@media (max-width: 820px) {
  .apostille-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 5px !important;
    overflow: visible !important;
    white-space: normal !important;
    margin: 0 auto 28px !important;
    padding: 5px !important;
    background: #f1f5f9 !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .apostille-tab-btn {
    padding: 10px 4px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #64748b !important;
    border: none !important;
    font-weight: 700 !important;
    white-space: normal !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }

  .apostille-tab-btn:not(.active) {
    color: #64748b !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .apostille-tab-btn.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(var(--primary-rgb), 0.3) !important;
  }

  .apostille-tab-btn .tab-indicator {
    display: none !important;
  }
}

/* ==========================================================================
   Mobile & Coverage Service Areas (Mobile Centering)
   ========================================================================== */
@media (max-width: 768px) {
  .container,
  .detail-grid,
  .photos-layout {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  #coverage-section .grid-3 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  #coverage-section .grid-3 > div {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-left: 0 !important;
    text-align: center !important;
    width: 100% !important;
  }
}

  /* Hide decorative vector illustrations on mobile */
  svg[viewBox="0 0 400 300"] {
    display: none !important;
  }

  div:has(> svg[viewBox="0 0 400 300"]) {
    display: none !important;
  }

  .grid.grid-2:has(svg[viewBox="0 0 400 300"]) {
    gap: 0 !important;
    margin-bottom: 36px !important;
  }

  /* Limit section padding across mobile view */
  section:not([class*="hero"]):not(.hero-section),
  .section,
  .section-alt,
  .service-section,
  .about-section,
  .why-section,
  .fbi-bundle-section,
  #how-it-works,
  #process-section,
  #state-directory-section,
  #hague-countries,
  #faq-section,
  #translation-section,
  #booking-section,
  #quick-links-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  /* Reduce bottom padding on hero sections before next section */
  .apostille-hero,
  .subpage-hero,
  .blog-post-hero,
  .blog-hero,
  .booking-hero,
  .translation-hero,
  .notary-hero,
  .fingerprint-hero,
  .tracking-hero,
  .policy-hero,
  .hero-section {
    padding-bottom: 36px !important;
  }

  /* Compact section headers on mobile */
  .section-header {
    margin-bottom: 24px !important;
  }

  .section-title-large {
    margin-bottom: 14px !important;
  }

  /* Prevent trailing elements in containers from creating double spacing */
  .apostille-hero .grid.grid-2:last-child,
  .apostille-hero .grid.grid-2:last-of-type,
  .container > .grid:last-child {
    margin-bottom: 0 !important;
  }
}

@keyframes speedCardFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



