/* ============================================================
   LOYAL INSURANZ - style.css
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary:     #1F3A5F; /* Deep Navy Blue */
  --primary-dark:#2C4A73; /* Dark Blue */
  --accent-red:  #C63D3D; /* Red */
  --accent-red-hover: #A83232; /* Dark Red */
  --accent-green:#2E7D5B; /* Green */
  --accent-green-hover: #25664A; /* Dark Green */
  --gold:        #C9A25D; /* Gold */
  --bg-light:    #F5F1E8; /* Light Background */
  --bg-card:     #F3F4F6; /* Card Background */
  --white:       #FFFFFF;
  --text-primary:#1A1A1A;
  --text-secondary:#555555;
  --text-light:  #777777;

  /* Compatibility Mapping */
  --blue:        var(--primary);
  --blue-dark:   var(--primary-dark);
  --blue-light:  rgba(31, 58, 95, 0.08);
  --blue-mid:    rgba(31, 58, 95, 0.15);
  --red:         var(--accent-red);
  --red-dark:    var(--accent-red-hover);
  --green:       var(--accent-green);
  --green-dark:  var(--accent-green-hover);
  --bg:          var(--bg-light);
  --text-dark:   var(--text-primary);
  --text-mid:    var(--text-secondary);

  --shadow-sm:   0 2px 12px rgba(31, 58, 95, 0.1);
  --shadow-md:   0 8px 30px rgba(31, 58, 95, 0.15);
  --shadow-lg:   0 20px 60px rgba(31, 58, 95, 0.2);
  --radius:      12px;
  --radius-sm:   8px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 96px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-red {
  background: linear-gradient(135deg, var(--accent-red) 0%, #d32f2f 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(198,61,61,0.3);
}
.btn-red:hover {
  background: linear-gradient(135deg, var(--accent-red-hover) 0%, var(--accent-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(198,61,61,0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #b88e4b 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201,162,93,0.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #b88e4b 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,162,93,0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--accent-green) 0%, #1a5a41 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(46,125,91,0.3);
}
.btn-whatsapp:hover {
  background: linear-gradient(135deg, var(--accent-green-hover) 0%, var(--accent-green) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46,125,91,0.4);
}

.btn-sm  { padding: 10px 22px; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }

/* ---------- Section Headers ---------- */
.section-badge {
  display: inline-block;
  background: rgba(201,162,93,0.1);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(201,162,93,0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title.left { text-align: left; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(30,79,161,0.08);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(30,79,161,0.15);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}
.nav-logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link:hover::after, .nav-link.active::after { width: 60%; background: var(--gold); }

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--green);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-left: 10px;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(37,211,102,0.3);
}
.nav-whatsapp:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(26, 42, 68, 0.9) 0%, rgba(46, 74, 115, 0.8) 100%), 
              url('../images/hero-bg.jpeg') no-repeat center center / cover;
  padding: 40px 0 0; /* Removed bottom padding */
  overflow: hidden;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,79,161,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 580px;
}

/* Hero Left */
.hero-content { flex: 1; max-width: 580px; animation: fadeInUp 0.7s ease both; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(5px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
  animation: pulse-dot 2s infinite;
}

.hero-heading {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-heading span {
  font-size: 0.75em;
  font-weight: 500;
  opacity: 0.95;
}
.hero-heading .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), transparent);
  border-radius: 2px;
  opacity: 0.4;
}

.hero-sub {
  font-size: 1.35rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-weight: 400;
  line-height: 1.4;
}
.hero-sub strong { color: var(--gold); font-weight: 700; }

.hero-tagline.ref-tagline {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 40px;
  padding: 0;
  background: none;
  border-left: none;
  display: block;
  line-height: 1.5;
  font-weight: 600;
}
.hero-tagline.ref-tagline span {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.8;
  display: block;
  margin-top: 5px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero-buttons .btn {
  padding: 16px 36px;
  border-radius: 4px; /* Squarer buttons as in reference */
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  width: fit-content;
}
.stat-item { text-align: center; padding: 0 20px; }
.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.75rem; color: var(--text-secondary); font-weight: 500; }
.stat-divider {
  width: 1px;
  height: 40px;
  background: #eee;
}

/* Hero Right */
.hero-image {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  animation: fadeInRight 0.8s ease 0.2s both;
}

.image-backdrop {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--blue-light) 0%, var(--blue-mid) 60%, transparent 80%);
  border-radius: 50%;
}

.image-ring {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.2);
  animation: spin-slow 20s linear infinite;
  pointer-events: none;
}
.ring-1 { width: 400px; height: 400px; }
.ring-2 { width: 460px; height: 460px; border-style: dotted; animation-direction: reverse; animation-duration: 30s; }

.consultant-img {
  position: relative;
  z-index: 10; /* Standing in front of the wave */
  max-height: 450px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 20px 40px rgba(30,79,161,0.25));
  transform: scale(1.4) translateY(18px); /* Anchored to bottom */
  transform-origin: bottom center;
}

.floating-card {
  position: absolute;
  z-index: 5;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--blue-mid);
  animation: float 4s ease-in-out infinite;
}
.card-1 { bottom: 120px; left: -10px;   animation-delay: 0s; }
.card-2 { top: 60px;    right: -10px;   animation-delay: 2s; }
.card-icon { font-size: 1.6rem; }
.floating-card strong { display: block; font-size: 0.85rem; color: var(--text-dark); line-height: 1.2; }
.floating-card small  { font-size: 0.75rem; color: var(--text-light); }

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
}
.hero-wave svg { width: 100%; display: block; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--white);
  padding: 56px 0;
  border-bottom: 1px solid var(--blue-mid);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 36px;
  border-right: 1px solid var(--blue-mid);
  transition: var(--transition);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--blue-light); border-radius: var(--radius-sm); }

.trust-icon-wrap {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(31,58,95,0.2);
}

.trust-text h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 4px;
}
.trust-text p { font-size: 0.82rem; color: var(--text-light); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: linear-gradient(135deg, #1A2A44 0%, #2E4A73 100%);
  color: var(--white);
}

.services .section-title { color: var(--white); }
.services .section-subtitle { color: rgba(255,255,255,0.8); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border-color: var(--gold);
}

.service-card-top {
  padding: 30px 24px 20px;
  text-align: center;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon.motor { color: #1e4fa1; }
.service-icon.health { color: #c63d3d; }
.service-icon.travel { color: #c9a25d; }
.service-icon.business { color: #2e7d5b; }

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0;
}

.service-features-list {
  list-style: none;
  padding: 24px;
  margin: 0;
  flex-grow: 1;
}
.service-features-list li {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-features-list li span {
  color: #3e7e55;
  font-weight: 800;
  font-size: 0.8rem;
}

.service-quote {
  padding: 0 24px;
  font-style: italic;
  font-size: 0.88rem;
  color: #666;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

.service-card-actions {
  padding: 0 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.btn-quote-gold {
  width: 100%;
  text-align: center;
  background: linear-gradient(to bottom, #d4af37, #b8860b);
  color: var(--white);
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(184,134,11,0.2);
  transition: opacity 0.2s;
}
.btn-quote-gold:hover { opacity: 0.9; }

.btn-whatsapp-text {
  color: #2e7d5b;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-whatsapp-text:hover { opacity: 0.8; }

.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.service-card-footer {
  background: #f8f8f8;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #888;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.service-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-icon-wrap.motor    { background: rgba(31,58,95,0.1); color: var(--primary); }
.service-icon-wrap.health   { background: rgba(198,61,61,0.1); color: var(--accent-red); }
.service-icon-wrap.business { background: rgba(46,125,91,0.1); color: var(--accent-green); }

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-features {
  margin-bottom: 24px;
}
.service-features li {
  font-size: 0.82rem;
  color: var(--text-mid);
  padding: 5px 0;
  border-bottom: 1px solid var(--bg);
  font-weight: 500;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us { background: var(--white); }

.why-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}

.why-points { display: flex; flex-direction: column; gap: 28px; }

.why-item {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
}
.why-item:hover {
  border-color: var(--blue-mid);
  background: var(--blue-light);
  transform: translateX(4px);
}

.why-check {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.why-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.why-content p { font-size: 0.87rem; color: var(--text-light); line-height: 1.6; }

.why-card-big {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 90px;
}
.why-big-icon { font-size: 3rem; margin-bottom: 16px; }
.why-card-big h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.why-card-big p  { font-size: 0.9rem; opacity: 0.85; margin-bottom: 28px; }

.why-companies {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.why-companies span {
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  position: relative;
  background: url('../images/about-bg.png') no-repeat center center/cover;
  padding: 100px 0;
  color: var(--primary); /* Using navy from reference */
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75); /* Increased opacity for maximum legibility */
  backdrop-filter: blur(2px);
  z-index: 1;
}

.about-container {
  position: relative;
  z-index: 2;
}

.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-text-content {
  flex: 1;
  max-width: 580px;
}

.about-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
}

.about-intro {
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.about-intro strong {
  font-weight: 800;
  color: var(--primary);
}

.about-story {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.about-checklist {
  list-style: none;
  margin-bottom: 40px;
}

.about-checklist li {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon {
  color: var(--gold);
  font-weight: 900;
}

.about-philosophy {
  margin-top: 35px;
  padding: 20px 25px;
  background: rgba(31, 58, 95, 0.03);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  animation: fadeIn 0.8s ease both;
}

.philosophy-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.philosophy-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary); /* Navy blue for high contrast visibility */
  line-height: 1.3;
}

/* CTA Box */
.about-cta-box {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-width: 600px;
}

.cta-box-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
}

.cta-box-text strong {
  font-weight: 800;
  color: #000;
}

.cta-phone {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1F3A5F;
  text-align: center;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 0.95rem;
  text-transform: none;
  font-weight: 600;
}

.about-cta-section {
  background: var(--white);
  position: relative;
  z-index: 2;
}

.about-cta-box.centered {
  margin: 0 auto;
}

.about-image-side {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.about-person-img {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4 / 5; /* Creating a portrait fit */
  object-fit: cover; /* Ensuring the image fills the portrait frame */
  border-radius: 10%; /* Curving the image by 15% as requested */
  filter: drop-shadow(0 15px 40px rgba(0,0,0,0.15));
  border: 4px solid var(--white); /* Adding a frame for the portrait look */
  box-shadow: 0 10px 30px rgba(31, 58, 95, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
  .about-flex {
    flex-direction: column;
    text-align: center;
  }
  .about-text-content {
    max-width: 100%;
  }
  .about-checklist li {
    justify-content: center;
  }
  .about-image-side {
    order: -1;
    justify-content: center;
    margin-bottom: 40px;
  }
  .cta-phone {
    font-size: 2.5rem;
  }
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog {
  background: linear-gradient(135deg, #1A2A44 0%, #2E4A73 100%);
  color: var(--white);
}

.blog .section-title { color: var(--white); }
.blog .section-subtitle { color: rgba(255,255,255,0.8); }

.blog-grid {
  display: flex;
  justify-content: center;
}

.video-featured {
  width: 100%;
  max-width: 1000px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: 1.6fr 1.2fr;
  border: 1px solid rgba(0,0,0,0.05);
}

.video-player {
  background: #000;
  position: relative;
}

.video-aspect-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.video-aspect-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to bottom right, var(--white), #f9fafb);
}

.video-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 18px;
  line-height: 1.3;
}

.video-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

@media (max-width: 991px) {
  .video-featured {
    grid-template-columns: 1fr;
  }
  .video-content {
    padding: 32px 24px;
  }
}

/* ============================================================
   QUOTE FORM SECTION
   ============================================================ */
.quote-section {
  position: relative;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  overflow: hidden;
}
.quote-bg-overlay {
  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.04'%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");
  pointer-events: none;
}
.quote-section::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.quote-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 70px;
  align-items: center;
}

.section-badge.light {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

.quote-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.quote-title span { color: #90c5ff; }

.quote-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 28px;
}

.quote-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quote-perks li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* Form Styling */
.quote-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--bg);
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--text-light);
  pointer-events: none;
}

.input-wrap input,
.input-wrap select {
  width: 100%;
  padding: 13px 14px 13px 44px;
  border: 1.5px solid var(--blue-mid);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.input-wrap input::placeholder { color: #aaa; }
.input-wrap input:focus,
.input-wrap select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,79,161,0.12);
}
.input-wrap input.error,
.input-wrap select.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,57,53,0.1);
}

.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  color: var(--text-light);
  pointer-events: none;
  font-size: 0.9rem;
}

.error-msg {
  display: block;
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 5px;
  min-height: 16px;
  font-weight: 500;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.form-success.hidden { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #152a45; /* Slightly darker than Deep Navy for depth */
  color: rgba(255,255,255,0.75);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo .logo-text  { color: var(--white); }
.footer-logo .logo-accent { color: var(--gold); }

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  color: rgba(255,255,255,0.65);
}

.footer-wa { font-size: 0.85rem; }

.footer-links-col h4,
.footer-contact-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links-col ul li {
  margin-bottom: 12px;
}
.footer-links-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-links-col a:hover { color: var(--white); padding-left: 4px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
}
.contact-item svg { color: var(--gold); min-width: 18px; }
.contact-item a { color: rgba(255,255,255,0.65); transition: var(--transition); }
.contact-item a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.footer-bottom strong { color: var(--gold); }
.footer-note { font-size: 0.75rem !important; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
}
.floating-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: wa-ring 2.5s ease-out infinite;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes spin-slow {
  from { transform: translateX(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg); }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.1); }
}
@keyframes wa-ring {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid   { grid-template-columns: repeat(2, 1fr); }
  .why-layout          { grid-template-columns: 1fr; }
  .why-visual          { display: none; }
  .quote-container     { grid-template-columns: 1fr; }
  .quote-content       { text-align: center; }
  .quote-perks         { align-items: center; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }

  /* Hamburger */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s;
    pointer-events: none;
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-whatsapp { width: 100%; justify-content: center; margin: 8px 0 0; border-radius: var(--radius-sm); }

  /* Hero */
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding-top: 20px;
    padding-bottom: 0;
    min-height: unset;
  }
  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-buttons .btn { flex: 1; justify-content: center; min-width: 140px; }
  .hero-stats { width: auto; flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .hero-image { width: 100%; }
  .consultant-img { height: 320px; }
  .ring-1, .ring-2 { display: none; }
  .floating-card { display: none; }

  /* Trust */
  .trust-grid { grid-template-columns: 1fr; gap: 0; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--blue-mid); padding: 20px 24px; }
  .trust-item:last-child { border-bottom: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .featured-badge { display: none; }

  /* About */
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .section-title.left { text-align: center; }
  .about-highlights { flex-direction: column; gap: 12px; }
  .experience-badge { display: none; }

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

  /* Quote */
  .quote-form-wrap { padding: 28px 22px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-wa { width: 100%; justify-content: center; }

  /* Floating WA */
  .floating-whatsapp { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-stats { gap: 14px; }
  .stat-item { padding: 0 12px; }
}
/* ---------- Extreme Mobile Polish (< 480px) ---------- */
@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.2rem;
  }
  .hero-sub {
    font-size: 1.1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .section-pad {
    padding: 60px 0;
  }
  .about-title {
    font-size: 2.2rem;
  }
  .cta-phone {
    font-size: 2.2rem;
  }
  .about-cta-box {
    padding: 24px 16px;
  }
  .footer-grid {
    gap: 30px;
  }
}

/* ---------- Performance & Smoothness ---------- */
img {
  content-visibility: auto;
}
.btn, .service-card, .nav-link, .trust-item {
  will-change: transform;
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.reviews {
  background-color: #f9fbfd;
  text-align: center;
  padding: 40px 0 10px; /* Very small bottom padding */
}

.reviews .section-header {
  margin-bottom: 20px;
}

.rating-badges {
  font-weight: 600;
  color: var(--primary);
  margin-top: -10px;
  margin-bottom: 20px; /* Reduced from 30px */
  font-size: 1.1rem;
}

.reviews-widget-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  min-height: auto; /* Removed fixed min-height to reduce ghost space */
}

@media (max-width: 768px) {
  .reviews-widget-wrapper {
    margin-bottom: 30px;
  }
  .rating-badges {
    font-size: 1rem;
  }
}
