/* ============================================================
   Allstate Insurance Quotes — Bold Modern Theme
   Colors: Electric Blue + Emerald Green + Near-Black
   ============================================================ */

:root {
  --blue: #1a56db;
  --blue-dark: #1443b0;
  --blue-light: #dbeafe;
  --emerald: #059669;
  --emerald-light: #d1fae5;
  --dark: #0f172a;
  --dark2: #1e293b;
  --gray: #64748b;
  --light: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow-sm: 0 2px 12px rgba(26, 86, 219, 0.10);
  --shadow: 0 8px 32px rgba(26, 86, 219, 0.14);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.18);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; }

/* ============================================================
   AOS overrides — base hidden state
   ============================================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos="fade-left"] { transform: translateX(-40px); }
[data-aos="fade-right"] { transform: translateX(40px); }
[data-aos="fade-up"]   { transform: translateY(40px); }
[data-aos="zoom-in"]   { transform: scale(0.88); opacity: 0; }
[data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   Top Bar
   ============================================================ */
.top-bar {
  background: linear-gradient(90deg, var(--blue-dark) 0%, #4f46e5 100%);
  padding: 9px 0;
  font-size: 0.8rem;
  font-weight: 500;
}

.top-bar-link {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}
.top-bar-link:hover { color: #a5f3fc; }

.top-bar-social {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.top-bar-social:hover { color: #a5f3fc; }

/* ============================================================
   Navbar
   ============================================================ */
.main-navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 86, 219, 0.08);
  padding: 14px 0;
  transition: box-shadow 0.3s, padding 0.3s;
}

.main-navbar.scrolled {
  box-shadow: 0 4px 28px rgba(15, 23, 42, 0.12);
  padding: 10px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.brand-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--blue), #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
}

.brand-accent {
  background: linear-gradient(90deg, var(--blue), var(--emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-navbar .nav-link {
  color: var(--dark2) !important;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--emerald));
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--blue) !important;
  background: var(--blue-light);
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--blue), #4f46e5);
  color: var(--white) !important;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.35);
}

.btn-primary-custom:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.45);
  color: var(--white) !important;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0c4a6e 100%);
  overflow: hidden;
}

/* Animated gradient mesh */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(26, 86, 219, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 20%, rgba(79, 70, 229, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 10% 90%, rgba(5, 150, 105, 0.2) 0%, transparent 60%);
  animation: meshShift 8s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0%   { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 6s ease-in-out infinite;
}
.hero-orb-1 {
  width: 420px; height: 420px;
  right: -80px; top: -80px;
  background: radial-gradient(circle, rgba(26,86,219,0.25) 0%, transparent 70%);
  animation-duration: 7s;
}
.hero-orb-2 {
  width: 280px; height: 280px;
  right: 20%; bottom: 10%;
  background: radial-gradient(circle, rgba(5,150,105,0.2) 0%, transparent 70%);
  animation-duration: 9s;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 180px; height: 180px;
  left: 10%; top: 20%;
  background: radial-gradient(circle, rgba(79,70,229,0.25) 0%, transparent 70%);
  animation-duration: 5s;
  animation-delay: -1.5s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-24px) scale(1.04); }
}

/* Grid lines overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 60px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 86, 219, 0.2);
  border: 1px solid rgba(26, 86, 219, 0.4);
  color: #93c5fd;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: pillfadeIn 0.8s ease 0.2s both;
}

.hero-pill .dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}

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

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
  animation: slideUp 0.8s ease 0.4s both;
}

.hero-title .gradient-text {
  background: linear-gradient(90deg, #60a5fa, #34d399, #818cf8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s linear infinite;
}

@keyframes gradientFlow {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

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

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 36px;
  animation: slideUp 0.8s ease 0.6s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
  animation: slideUp 0.8s ease 0.8s both;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--blue), #4f46e5);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(26, 86, 219, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero-primary:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(26, 86, 219, 0.6);
}

.btn-hero-outline {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  animation: slideUp 0.8s ease 1s both;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
}

.hero-stat {
  flex: 1;
  min-width: 120px;
  padding: 0 24px 0 0;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Hero Image Side */
.hero-image-wrap {
  position: relative;
  animation: slideUp 0.9s ease 0.5s both;
}

.hero-image-wrap img {
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  width: 100%;
}

.hero-badge-float {
  position: absolute;
  background: rgba(255,255,255,0.98);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 4s ease-in-out infinite;
}

.hero-badge-float-1 {
  bottom: -20px;
  left: -28px;
}

.hero-badge-float-2 {
  top: -20px;
  right: -18px;
}

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

.float-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.float-icon-blue  { background: var(--blue-light); color: var(--blue); }
.float-icon-green { background: var(--emerald-light); color: var(--emerald); }

.float-label { font-size: 0.7rem; font-weight: 600; color: var(--gray); }
.float-value { font-size: 0.95rem; font-weight: 800; color: var(--dark); }

/* ============================================================
   Quote Banner
   ============================================================ */
.quote-banner {
  background: var(--white);
  padding: 40px 0;
}

.quote-card {
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
  border-radius: var(--radius);
  padding: 32px 40px;
  border: 1.5px solid rgba(26, 86, 219, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.quote-card h3 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

/* ============================================================
   Sections
   ============================================================ */
.section-padding { padding: 96px 0; }

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-light), var(--emerald-light));
  color: var(--blue);
  border: 1px solid rgba(26, 86, 219, 0.2);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto;
}

/* ============================================================
   Service Cards
   ============================================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1.5px solid var(--border);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-light), var(--emerald-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 86, 219, 0.3);
}

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

.service-card > * { position: relative; z-index: 1; }

.service-icon-wrap {
  width: 66px; height: 66px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--blue-light), rgba(5,150,105,0.12));
  transition: transform 0.3s;
}
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(-4deg); }

.service-icon {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card h5 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.service-link {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
}
.service-link:hover { gap: 10px; color: var(--emerald); }

/* ============================================================
   Why Choose Us
   ============================================================ */
.why-list { display: flex; flex-direction: column; gap: 22px; }

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--white);
  border-radius: 12px;
  border: 1.5px solid var(--border);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.why-item:hover {
  border-color: rgba(26,86,219,0.3);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.why-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--blue), #4f46e5);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
}

.why-item h6 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
  font-size: 0.95rem;
}

.why-item p { font-size: 0.82rem; color: var(--gray); margin: 0; }

/* ============================================================
   Stats Section
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 60%, #0c4a6e 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.stats-item { padding: 20px; position: relative; }

.stats-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stats-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.stats-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
  height: 80px;
  margin: auto;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1.5px solid var(--border);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  top: -10px; right: 20px;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: var(--blue-light);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

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

.testimonial-card > * { position: relative; z-index: 1; }

.stars i { color: #fbbf24; font-size: 0.85rem; }

.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray);
  font-style: italic;
  margin: 12px 0 24px;
  line-height: 1.8;
}

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

.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue-light);
}

.testimonial-author strong { font-size: 0.9rem; color: var(--dark); }

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #4f46e5 50%, var(--emerald) 100%);
  background-size: 200% 200%;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  animation: ctaGrad 8s ease infinite;
}

@keyframes ctaGrad {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto;
}

.btn-cta-white {
  background: var(--white);
  color: var(--blue);
  border: none;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta-white:hover {
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.btn-cta-outline {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-cta-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.8);
  color: var(--white);
  transform: translateY(-3px);
}

/* ============================================================
   Footer
   ============================================================ */
.main-footer {
  background: var(--dark);
  padding: 80px 0 0;
  color: #94a3b8;
}

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .brand-text { font-size: 1rem; color: var(--white); }

.footer-desc { font-size: 0.85rem; color: #64748b; line-height: 1.9; }

.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.footer-contact-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.footer-contact-link:hover { color: #60a5fa; }

.footer-heading {
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links li a::before {
  content: '';
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s;
  border-radius: 2px;
}
.footer-links li a:hover { color: #60a5fa; }
.footer-links li a:hover::before { width: 12px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #475569;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: #64748b;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

/* ============================================================
   Page Banner
   ============================================================ */
.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0 80px;
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(30,27,75,0.82) 50%, rgba(12,74,110,0.85) 100%);
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item a { color: #60a5fa; text-decoration: none; }
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ============================================================
   About Page
   ============================================================ */
.about-stat-box {
  background: linear-gradient(135deg, var(--blue-light), var(--emerald-light));
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1.5px solid rgba(26,86,219,0.12);
  transition: transform 0.25s, box-shadow 0.25s;
}
.about-stat-box:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.about-stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-label { font-size: 0.78rem; color: var(--gray); font-weight: 600; }

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1.5px solid var(--border);
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(26,86,219,0.25);
}

.featured-value {
  background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 100%);
  color: var(--white);
  border-color: transparent;
}
.featured-value h5,
.featured-value p { color: rgba(255,255,255,0.9); }

.value-icon {
  width: 68px; height: 68px;
  background: var(--blue-light);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--blue);
  transition: transform 0.3s;
}
.value-card:hover .value-icon { transform: rotate(-8deg) scale(1.1); }
.featured-icon { background: rgba(26,86,219,0.2); color: #60a5fa; }

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1.5px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.team-img {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--blue), var(--emerald)) border-box;
}

/* ============================================================
   Services Page
   ============================================================ */
.service-detail-section { padding: 60px 0 90px; }

.service-detail-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--blue), #4f46e5);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(26,86,219,0.3);
}

.service-features-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.service-features-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--dark);
  padding: 10px 14px;
  background: var(--light);
  border-radius: 8px;
  transition: background 0.2s;
}
.service-features-list li:hover { background: var(--blue-light); }
.service-features-list li i { color: var(--emerald); flex-shrink: 0; margin-top: 2px; }

.feature-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  border: 1.5px solid var(--border);
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(26,86,219,0.25);
}

.feature-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--blue-light), var(--emerald-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--blue);
  transition: transform 0.3s;
}
.feature-box:hover .feature-icon { transform: scale(1.15); }

/* ============================================================
   Legal Pages
   ============================================================ */
.legal-content-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 52px 60px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) { .legal-content-box { padding: 30px 22px; } }

.legal-meta {
  background: linear-gradient(135deg, var(--blue-light), var(--emerald-light));
  border-radius: 10px;
  padding: 16px 22px;
  margin-bottom: 32px;
  border-left: 4px solid var(--blue);
}

.legal-heading {
  color: var(--dark);
  font-weight: 800;
  font-size: 1.1rem;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--light);
  position: relative;
}
.legal-heading::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 50px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--emerald));
}

.legal-list {
  padding-left: 20px;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 2;
}
.legal-list li { margin-bottom: 4px; }

.legal-contact-box {
  background: linear-gradient(135deg, var(--blue-light), var(--emerald-light));
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 16px;
  border: 1.5px solid rgba(26,86,219,0.15);
}
.legal-contact-box a { color: var(--blue); text-decoration: none; font-weight: 600; }
.legal-contact-box a:hover { color: var(--emerald); }

/* ============================================================
   Utilities
   ============================================================ */
.bg-light { background-color: var(--light) !important; }
.text-accent { color: var(--emerald); }

/* Scroll to top button */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--blue), #4f46e5);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
}
#scrollTop.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#scrollTop:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* Progress bar */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--emerald));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
  .hero-section { min-height: 80vh; }
  .section-padding { padding: 64px 0; }
  .hero-badge-float { display: none; }
  .quote-card { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
  .top-bar .d-flex.gap-4 { flex-direction: column; gap: 4px !important; }
  .top-bar { font-size: 0.72rem; }
  .hero-stat { padding: 0 12px 0 0; }
  .hero-title { font-size: 2.1rem; }
  .stats-number { font-size: 2.2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 0; }
}
