/**
 * Prep Saudi — modern homepage overrides
 * Scoped to .index-page so other pages stay unchanged.
 */

.index-page {
  --home-navy: #0a1628;
  --home-navy-soft: #0f2744;
  --home-blue: #2563eb;
  --home-blue-light: #3b82f6;
  --home-accent: #06b6d4;
  --home-surface: #f8fafc;
  --home-text: #334155;
  --home-heading: #0f172a;
  --home-radius: 16px;
  --home-radius-lg: 24px;
  --home-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --home-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --home-font: "Plus Jakarta Sans", "Poppins", sans-serif;
}

.index-page body,
.index-page {
  font-family: var(--home-font);
}

/* ---- Top bar ---- */
.index-page .info-bar {
  background: var(--home-navy) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  padding: 0.5rem 0 !important;
}

.index-page .info-bar span {
  opacity: 0.9;
}

.index-page .info-bar a {
  color: inherit;
  text-decoration: none;
}

.index-page .info-bar a:hover {
  color: var(--home-accent);
}

/* ---- Header ---- */
.index-page .header {
  top: 36px;
  padding: 0.75rem 0;
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.35s ease;
}

.index-page .scrolled .header {
  top: 0;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  padding: 0.5rem 0;
}

.index-page .scrolled .header .brand-name {
  color: #fff;
}

.index-page .scrolled .header .brand-tagline {
  color: rgba(255, 255, 255, 0.65);
}

.index-page .scrolled .header .navmenu a:not(.nav-portal-link) {
  color: rgba(255, 255, 255, 0.85);
}

.index-page .scrolled .header .navmenu a:not(.nav-portal-link):hover,
.index-page .scrolled .header .navmenu a:not(.nav-portal-link).active {
  color: #fff;
}

.index-page .scrolled .header .btn-getstarted {
  background: linear-gradient(135deg, var(--home-blue), var(--home-blue-light));
  color: #fff;
}

/* ---- Brand logo ---- */
.brand-logo {
  text-decoration: none !important;
  gap: 0.65rem;
}

.brand-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--home-blue) 0%, var(--home-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.brand-logo-mark svg {
  width: 24px;
  height: 24px;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--home-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
}

.index-page .logo h1.sitename {
  display: none;
}

/* ---- Nav & CTA ---- */
.index-page .navmenu a {
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.index-page .btn-getstarted {
  border-radius: 50px !important;
  padding: 0.55rem 1.35rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  background: linear-gradient(135deg, var(--home-blue), var(--home-blue-light)) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.index-page .btn-getstarted:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45) !important;
}

.index-page .navmenu a.nav-portal-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem !important;
  margin-left: 0.25rem;
  border-radius: 50px !important;
  background: linear-gradient(135deg, #06b6d4, #22d3ee) !important;
  border: none !important;
  color: #0a1628 !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
  white-space: nowrap;
}

.index-page .navmenu a.nav-portal-link:hover,
.index-page .navmenu a.nav-portal-link.active {
  background: linear-gradient(135deg, #22d3ee, #67e8f9) !important;
  color: #0a1628 !important;
  transform: translateY(-1px);
}

.index-page .scrolled .header .navmenu a.nav-portal-link {
  background: linear-gradient(135deg, var(--home-blue), var(--home-blue-light)) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.index-page .scrolled .header .navmenu a.nav-portal-link:hover {
  background: linear-gradient(135deg, var(--home-blue-light), #60a5fa) !important;
  color: #fff !important;
}

/* ---- Hero ---- */
.index-page .hero {
  min-height: 92vh;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, var(--home-navy) 0%, var(--home-navy-soft) 45%, #1e3a5f 100%);
  overflow: hidden;
}

.index-page .hero .hero-bg {
  opacity: 0.07 !important;
  object-position: center;
}

.index-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37, 99, 235, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.index-page .hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--home-surface), transparent);
  z-index: 2;
  pointer-events: none;
}

.index-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.index-page .hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
  animation: home-pulse 2s infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.index-page .hero h2 {
  font-family: var(--home-font);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.index-page .hero h2 .hero-highlight {
  background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.index-page .hero > .container > .row > .col-lg-6 > p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.index-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.index-page a.hero-btn-portal {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem !important;
  background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%) !important;
  color: #0a1628 !important;
  font-weight: 700 !important;
  font-size: 0.9375rem !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 8px 28px rgba(6, 182, 212, 0.45) !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.index-page a.hero-btn-portal:hover {
  color: #0a1628 !important;
  background: linear-gradient(135deg, #22d3ee 0%, #67e8f9 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(6, 182, 212, 0.55) !important;
}

.index-page .hero-portal-callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  margin-bottom: 2rem;
  max-width: 540px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: var(--home-radius);
  backdrop-filter: blur(10px);
}

.index-page .hero-portal-callout-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(37, 99, 235, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #67e8f9;
  font-size: 1.2rem;
}

.index-page .hero-portal-callout-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #67e8f9;
  margin-bottom: 0.35rem;
}

.index-page .hero-portal-callout-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.65rem;
}

.index-page .hero-portal-callout-body p strong {
  color: #fff;
  font-weight: 600;
}

.index-page a.hero-portal-callout-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.25rem;
  padding: 0.6rem 1.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: #0a1628 !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #22d3ee, #67e8f9) !important;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.35) !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.index-page a.hero-portal-callout-btn:hover {
  color: #0a1628 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5) !important;
}

.index-page a.hero-btn-primary {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem !important;
  background: linear-gradient(135deg, var(--home-blue), var(--home-blue-light)) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.4) !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.index-page a.hero-btn-primary:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.5) !important;
}

.index-page .hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.index-page .hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.index-page .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.index-page .hero .stats-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--home-radius);
  backdrop-filter: blur(12px);
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.index-page .hero .stats-item:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(96, 165, 250, 0.35);
  transform: translateY(-3px);
}

.index-page .hero .stat-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(6, 182, 212, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  font-size: 1.1rem;
}

.index-page .hero .stat-body {
  text-align: left;
  min-width: 0;
}

.index-page .hero .stats-item span {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  padding-bottom: 0;
  margin-bottom: 0.15rem;
  font-family: var(--home-font);
  line-height: 1.1;
}

.index-page .hero .stats-item span::after {
  display: none;
}

.index-page .hero .stats-item p {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin: 0;
}

.index-page .hero > .container > .row {
  align-items: center;
}

.index-page .hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 380px;
  overflow: visible;
}

.index-page .hero-visual-illustration {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  width: 100%;
  max-width: none;
  overflow: visible;
}

.index-page .hero-illustration {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

.index-page .hero-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* ---- Featured services ---- */
.index-page .featured-services {
  margin-top: -48px;
  position: relative;
  z-index: 5;
  padding-bottom: 4rem;
}

.index-page .featured-services .service-card {
  background: #fff;
  border-radius: var(--home-radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--home-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.index-page .featured-services .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--home-blue), var(--home-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.index-page .featured-services .service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--home-shadow-lg);
  border-color: rgba(37, 99, 235, 0.12);
}

.index-page .featured-services .service-card:hover::before {
  opacity: 1;
}

.index-page .featured-services .service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.index-page .featured-services .service-card:hover .service-card-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(6, 182, 212, 0.14));
}

.index-page .featured-services .service-card-icon i {
  font-size: 1.4rem;
  color: var(--home-blue);
  transition: color 0.25s;
}

.index-page .featured-services .service-card:hover .service-card-icon i {
  color: var(--home-blue-light);
}

.index-page .featured-services .service-card .title {
  font-family: var(--home-font);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--home-heading);
  margin-bottom: 0.65rem;
}

.index-page .featured-services .service-card .description {
  color: var(--home-text);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.index-page .featured-services .service-card .readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--home-blue);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.index-page .featured-services .service-card .readmore:hover {
  gap: 0.65rem;
  color: var(--home-blue-light);
}

/* ---- Client Portal section ---- */
.index-page .client-portal {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #fff 0%, var(--home-surface) 100%);
  position: relative;
}

.index-page .client-portal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.12), transparent);
}

.index-page .portal-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--home-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.index-page .portal-showcase-content h2 {
  font-family: var(--home-font);
  font-weight: 800;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  color: var(--home-heading);
  margin-bottom: 1rem;
}

.index-page .portal-lead {
  color: var(--home-text);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.index-page .portal-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.index-page .portal-feature-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--home-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.index-page .portal-feature-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--home-shadow-lg);
}

.index-page .portal-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--home-blue);
  font-size: 1.1rem;
}

.index-page .portal-feature-list h5 {
  font-family: var(--home-font);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--home-heading);
  margin-bottom: 0.2rem;
}

.index-page .portal-feature-list p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--home-text);
  margin: 0;
}

.index-page .portal-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.index-page a.btn-portal-primary {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem !important;
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.9375rem !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35) !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.index-page a.btn-portal-primary:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #3b82f6, #60a5fa) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45) !important;
}

.index-page a.btn-portal-secondary {
  display: inline-flex !important;
  align-items: center;
  padding: 0.9rem 1.65rem !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 0.9375rem !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  border: 2px solid #cbd5e1 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.index-page a.btn-portal-secondary:hover {
  color: #2563eb !important;
  border-color: #2563eb !important;
  background: #f8fafc !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12) !important;
}

.index-page .portal-showcase {
  position: relative;
  padding: 0 0 1rem 1rem;
}

.index-page .portal-showcase-frame {
  position: absolute;
  inset: 1.25rem 1.25rem 0 0;
  border-radius: var(--home-radius-lg);
  border: 2px solid rgba(6, 182, 212, 0.25);
  z-index: 0;
}

.index-page .portal-showcase-img {
  position: relative;
  z-index: 1;
  border-radius: var(--home-radius-lg);
  box-shadow: var(--home-shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.index-page .portal-showcase-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--home-heading);
}

.index-page .portal-showcase-badge i {
  color: var(--home-blue);
}

/* ---- Section titles ---- */
.index-page .section-title {
  text-align: center;
  padding: 0 0 2.5rem;
  margin-bottom: 0;
}

.index-page .section-title span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--home-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  position: static;
}

.index-page .section-title h2 {
  font-family: var(--home-font);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--home-heading);
  text-transform: none;
  margin-bottom: 0.75rem;
  padding-bottom: 0;
}

.index-page .section-title p {
  color: var(--home-text);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ---- Quote form ---- */
.index-page .get-quote {
  background: linear-gradient(180deg, var(--home-surface) 0%, #fff 100%);
  padding: 5rem 0 6rem;
  position: relative;
}

.index-page .get-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 800px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.15), transparent);
}

.index-page .quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--home-radius-lg);
  overflow: hidden;
  box-shadow: var(--home-shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.index-page .quote-sidebar {
  background: linear-gradient(160deg, var(--home-navy) 0%, var(--home-navy-soft) 50%, #1e3a5f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.index-page .quote-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(37, 99, 235, 0.3) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.index-page .quote-sidebar-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.index-page .quote-sidebar > .quote-sidebar-inner > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  font-weight: 500;
}

.index-page .quote-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
}

.index-page .quote-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.index-page .quote-contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  font-size: 1.1rem;
}

.index-page .quote-contact-list strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.2rem;
}

.index-page .quote-contact-list a,
.index-page .quote-contact-list span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  text-decoration: none;
}

.index-page .quote-contact-list a:hover {
  color: var(--home-accent);
}

.index-page .quote-form-card {
  background: #fff;
  padding: 2.5rem;
}

.index-page .form-floating-group {
  margin-bottom: 0;
}

.index-page .get-quote label {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--home-heading);
  margin-bottom: 0.45rem;
}

.index-page .get-quote .form-control,
.index-page .get-quote .form-select-custom {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.index-page .get-quote .form-control::placeholder {
  color: #94a3b8;
}

.index-page .get-quote .form-control:focus,
.index-page .get-quote .form-select-custom:focus {
  outline: none;
  border-color: var(--home-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.index-page .get-quote .form-control.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.index-page .quote-form-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.index-page .get-quote .btn-quote-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--home-blue), var(--home-blue-light));
  border: none;
  border-radius: 50px;
  padding: 0.9rem 2.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.index-page .get-quote .btn-quote-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, var(--home-blue-light), var(--home-blue));
}

.index-page .get-quote #formMessage {
  margin-top: 1rem;
  border-radius: 12px;
}

/* ---- About ---- */
.index-page .about {
  padding: 6rem 0;
  background: #fff;
}

.index-page .about-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--home-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.index-page .about .content h3 {
  font-family: var(--home-font);
  font-weight: 800;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  color: var(--home-heading);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.index-page .about .about-lead {
  color: var(--home-text);
  line-height: 1.75;
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.index-page .about-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.index-page .about .content ul.about-features li {
  margin-top: 0;
}

.index-page .about-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--home-surface);
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.index-page .about-features li:hover {
  transform: translateX(4px);
  box-shadow: var(--home-shadow);
  border-color: rgba(37, 99, 235, 0.1);
}

.index-page .about-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--home-blue);
  font-size: 1.25rem;
}

.index-page .about-features h5 {
  font-family: var(--home-font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--home-heading);
  margin-bottom: 0.25rem;
}

.index-page .about-features p {
  color: var(--home-text);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.index-page .about-media {
  position: relative;
  padding: 0 1rem 1rem 0;
}

.index-page .about-media-frame {
  position: absolute;
  inset: 1.5rem 0 0 1.5rem;
  border-radius: var(--home-radius-lg);
  border: 2px solid rgba(37, 99, 235, 0.2);
  z-index: 0;
}

.index-page .about-photo {
  position: relative;
  z-index: 1;
  border-radius: var(--home-radius-lg);
  box-shadow: var(--home-shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.index-page .about-media-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--home-heading);
}

.index-page .about-media-badge i {
  color: var(--home-blue);
}

/* ---- Services cards ---- */
.index-page .services {
  background: var(--home-surface);
  padding: 5rem 0;
}

.index-page .services .card {
  border: none;
  border-radius: var(--home-radius-lg);
  overflow: hidden;
  box-shadow: var(--home-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.index-page .services .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--home-shadow-lg);
}

.index-page .services .card-img {
  overflow: hidden;
}

.index-page .services .card-img img {
  transition: transform 0.4s ease;
}

.index-page .services .card:hover .card-img img {
  transform: scale(1.05);
}

.index-page .services .card h3 {
  font-family: var(--home-font);
  font-weight: 700;
  padding: 1.25rem 1.5rem 0;
  color: var(--home-heading);
}

.index-page .services .card > p {
  padding: 0 1.5rem;
  color: var(--home-text);
}

.index-page .services .card ul {
  padding: 0 1.5rem 1.5rem;
}

.index-page .services .card ul li {
  color: var(--home-text);
  font-size: 0.9rem;
}

.index-page .services .card ul li i {
  color: #22c55e;
}

/* ---- CTA ---- */
.index-page .call-to-action {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.index-page .call-to-action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.92), rgba(37, 99, 235, 0.85));
  z-index: 1;
}

.index-page .call-to-action > img {
  opacity: 0.35;
}

.index-page .call-to-action .container {
  position: relative;
  z-index: 2;
}

.index-page .call-to-action h3 {
  font-family: var(--home-font);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.index-page .call-to-action p {
  font-size: 1.0625rem;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.index-page .call-to-action .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  background: #fff;
  color: var(--home-navy);
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.index-page .call-to-action .cta-btn:hover {
  color: var(--home-navy);
  transform: translateY(-2px) scale(1.02);
}

/* ---- Features ---- */
.index-page .features {
  padding: 5rem 0;
}

.index-page .features .features-item {
  padding: 2rem 0;
}

.index-page .features .features-item h3 {
  font-family: var(--home-font);
  font-weight: 700;
  color: var(--home-heading);
}

.index-page .features .features-item img {
  border-radius: var(--home-radius-lg);
  box-shadow: var(--home-shadow);
}

.index-page .features .features-item ul li i {
  color: var(--home-blue);
}

/* ---- Footer ---- */
.index-page .footer {
  background: var(--home-navy) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.index-page .footer .brand-logo .brand-name {
  font-size: 1.35rem;
}

.index-page .footer .brand-tagline {
  color: rgba(255, 255, 255, 0.5);
}

.index-page .footer-about p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.index-page .footer .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, transform 0.2s;
}

.index-page .footer .social-links a:hover {
  background: var(--home-blue);
  transform: translateY(-2px);
}

/* ---- Responsive ---- */
@media (min-width: 992px) {
  .index-page .hero {
    overflow: visible;
  }

  .index-page .hero-visual {
    min-height: 460px;
  }

  .index-page .hero-visual-illustration {
    width: 115%;
  }

  .index-page .hero-illustration {
    width: 120%;
    transform: scale(1.18);
    transform-origin: center center;
  }
}

@media (min-width: 1200px) {
  .index-page .hero-visual-illustration {
    width: 125%;
  }

  .index-page .hero-illustration {
    transform: scale(1.28);
  }
}

@media (min-width: 1400px) {
  .index-page .hero-visual-illustration {
    width: 135%;
  }

  .index-page .hero-illustration {
    transform: scale(1.35);
  }
}

@media (max-width: 991px) {
  .index-page .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .index-page .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .brand-tagline {
    display: none;
  }

  .index-page .quote-layout {
    grid-template-columns: 1fr;
  }

  .index-page .quote-sidebar-inner {
    padding: 2rem 1.5rem;
  }

  .index-page .quote-contact-list {
    margin-top: 0;
  }

  .index-page .quote-form-card {
    padding: 2rem 1.5rem;
  }

  .index-page .about-media {
    margin-bottom: 1rem;
  }

  .index-page .portal-feature-list {
    grid-template-columns: 1fr;
  }

  .index-page .portal-showcase {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 575px) {
  .index-page .quote-form-card {
    padding: 1.5rem;
  }

  .index-page .hero-stats {
    gap: 0.5rem;
  }

  .index-page .hero .stats-item {
    padding: 0.85rem 0.75rem;
    gap: 0.6rem;
  }

  .index-page .hero .stat-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .index-page .hero .stats-item span {
    font-size: 1.25rem;
  }

  .index-page .quote-form-actions {
    justify-content: stretch;
  }

  .index-page .get-quote .btn-quote-submit {
    width: 100%;
    justify-content: center;
  }

  .index-page .hero-illustration {
    max-width: none;
    transform: none;
  }

  .index-page .hero-visual-illustration {
    width: 100%;
  }

  .index-page .hero-visual {
    min-height: 280px;
  }

  .index-page .navmenu a.nav-portal-link {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .index-page .portal-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .index-page a.btn-portal-primary,
  .index-page a.btn-portal-secondary {
    justify-content: center;
    width: 100%;
  }

  .index-page .hero-portal-callout {
    margin-bottom: 1.5rem;
  }
}
