/* ============================================================
   Prolife Wealth Management - Main Stylesheet
   ============================================================ */

/* CSS Custom Properties */
:root {
  --primary: #0d47a1;
  --primary-dark: #0a3d8f;
  --secondary: #1565c0;
  --accent: #00897b;
  --accent-light: #00bfa5;
  --white: #ffffff;
  --off-white: #f8faff;
  --light-gray: #f1f4f9;
  --gray: #90a4ae;
  --dark-gray: #546e7a;
  --text-dark: #1a237e;
  --text-body: #37474f;
  --text-light: #607d8b;
  --danger: #e53935;
  --warning: #f9a825;
  --success: #2e7d32;
  --border: #e3e8f0;
  --shadow-sm: 0 2px 8px rgba(13, 71, 161, 0.08);
  --shadow-md: 0 4px 20px rgba(13, 71, 161, 0.12);
  --shadow-lg: 0 8px 40px rgba(13, 71, 161, 0.18);
  --shadow-xl: 0 16px 60px rgba(13, 71, 161, 0.22);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--text-body);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { line-height: 1.75; color: var(--text-body); }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--secondary); }

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

ul { list-style: none; }

button { cursor: pointer; font-family: var(--font-primary); }

input, select, textarea {
  font-family: var(--font-primary);
  font-size: 1rem;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.section-lg {
  padding: 100px 0;
}

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

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-dark { color: var(--text-dark); }
.text-light { color: var(--text-light); }
.text-muted { color: var(--gray); }

.bg-primary { background-color: var(--primary); }
.bg-light { background-color: var(--light-gray); }
.bg-white { background-color: var(--white); }
.bg-off-white { background-color: var(--off-white); }
.bg-dark { background-color: #0a1628; }

.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

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

.w-100 { width: 100%; }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: rgba(0, 137, 123, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title h2 {
  margin-bottom: 16px;
}

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

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 16px auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 6px 25px rgba(13, 71, 161, 0.45);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #00bfa5);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 137, 123, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #00695c, var(--accent));
  box-shadow: 0 6px 25px rgba(0, 137, 123, 0.45);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  color: var(--primary);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #1ebe5d, #0f7a6d);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-xl {
  padding: 18px 48px;
  font-size: 1.1rem;
}

.btn-block { width: 100%; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
  padding: 16px 0;
}

.header.transparent {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 28px;
  height: 28px;
}

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

.logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.header.transparent .logo-name { color: var(--white); }
.header.scrolled .logo-name { color: var(--primary); }

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.header.transparent .nav-link { color: rgba(255,255,255,0.9); }
.header.scrolled .nav-link { color: var(--text-body); }

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(13, 71, 161, 0.06);
}

.header.transparent .nav-link:hover,
.header.transparent .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  background: none;
  border: none;
}

.hamburger:hover { background: rgba(13, 71, 161, 0.08); }

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.header.transparent .hamburger span { background: var(--white); }

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav .nav-link {
  font-size: 1.1rem;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  color: var(--text-body);
  display: block;
  border-bottom: 1px solid var(--border);
}

.mobile-nav .nav-link:hover {
  background: var(--light-gray);
  color: var(--primary);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 24px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #0a3d8f 70%, #004d40 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::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");
}

.hero-bg-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--white);
}

.hero-circle-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  animation: floatCircle 8s ease-in-out infinite;
}

.hero-circle-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  animation: floatCircle 6s ease-in-out infinite reverse;
}

.hero-circle-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  left: 45%;
  opacity: 0.04;
  animation: floatCircle 10s ease-in-out infinite;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-eyebrow i { color: #ffd740; }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero h1 span {
  color: #ffd740;
  position: relative;
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

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

.hero-stat .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffd740;
  font-family: var(--font-heading);
  display: block;
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

/* Hero Form */
.hero-form-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  animation: fadeInRight 0.8s ease 0.3s forwards;
  opacity: 0;
  position: relative;
}

.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-form-title {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.hero-form-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.hero-form-card .form-group {
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.form-control:hover {
  border-color: var(--secondary);
}

.form-control::placeholder {
  color: var(--gray);
  font-size: 0.9rem;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2390a4ae' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.form-trust i { color: var(--success); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--primary);
  padding: 16px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.95);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 24px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.trust-item:last-child { border-right: none; }

.trust-item i { color: #ffd740; font-size: 0.9rem; }

.trust-item strong {
  font-weight: 700;
  color: #ffd740;
}

/* ============================================================
   KNOWLEDGE CATEGORY CARDS
   ============================================================ */
.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-color, var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.category-card-1 { --card-color: #1565c0; }
.category-card-2 { --card-color: #00897b; }
.category-card-3 { --card-color: #e53935; }
.category-card-4 { --card-color: #f9a825; }

.category-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: transform var(--transition);
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(-5deg);
}

.category-icon-1 { background: rgba(21, 101, 192, 0.1); color: #1565c0; }
.category-icon-2 { background: rgba(0, 137, 123, 0.1); color: #00897b; }
.category-icon-3 { background: rgba(229, 57, 53, 0.1); color: #e53935; }
.category-icon-4 { background: rgba(249, 168, 37, 0.1); color: #f9a825; }

.category-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.category-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ============================================================
   WHY FINANCIAL KNOWLEDGE SECTION
   ============================================================ */
.why-section {
  background: var(--off-white);
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.why-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 1.4rem;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.stat-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 71, 161, 0.06);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.stat-highlight i { color: var(--accent); }

/* ============================================================
   CALCULATORS SECTION
   ============================================================ */
.calculators-section {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
  position: relative;
  overflow: hidden;
}

.calculators-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.calculators-section .section-title .eyebrow {
  background: rgba(255,255,255,0.15);
  color: #ffd740;
}

.calculators-section .section-title h2 { color: var(--white); }
.calculators-section .section-title p { color: rgba(255,255,255,0.8); }
.calculators-section .divider {
  background: linear-gradient(90deg, #ffd740, #fff);
}

.calc-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.calc-tab {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
}

.calc-tab:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

.calc-tab.active {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.calc-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.calc-panel.active { display: block; }

.calc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin: 0 auto;
}

.calc-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.calc-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.calc-card-header h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.calc-card-header p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.calc-inputs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.calc-result {
  background: linear-gradient(135deg, #f0f4ff, #e8f5e9);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 24px;
  border: 1px solid rgba(13, 71, 161, 0.1);
  display: none;
  animation: slideUp 0.4s ease;
}

.calc-result.show { display: block; }

.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.calc-result-item {
  text-align: center;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.calc-result-item .value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.calc-result-item .label {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

.calc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.range-input-wrapper {
  position: relative;
}

.range-input-wrapper .form-control {
  padding-right: 60px;
}

.range-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-image .blog-icon {
  font-size: 3rem;
  color: rgba(255,255,255,0.2);
}

.blog-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-health { background: rgba(21, 101, 192, 0.9); color: var(--white); }
.badge-life { background: rgba(0, 137, 123, 0.9); color: var(--white); }
.badge-motor { background: rgba(229, 57, 53, 0.9); color: var(--white); }
.badge-mf { background: rgba(249, 168, 37, 0.9); color: var(--text-dark); }
.badge-tax { background: rgba(103, 58, 183, 0.9); color: var(--white); }
.badge-general { background: rgba(84, 110, 122, 0.9); color: var(--white); }

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.blog-card-meta i { color: var(--accent); }

.blog-card h3 {
  font-size: 0.98rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color var(--transition);
}

.blog-card:hover h3 { color: var(--primary); }

.blog-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.read-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.read-link:hover { gap: 8px; }

.read-time {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   PORTFOLIO REVIEW CTA
   ============================================================ */
.portfolio-review {
  background: linear-gradient(135deg, #004d40, #00695c);
  position: relative;
  overflow: hidden;
}

.portfolio-review::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.portfolio-review-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.portfolio-review-content h2 { color: var(--white); }
.portfolio-review-content p { color: rgba(255,255,255,0.85); }

.portfolio-benefits {
  margin: 24px 0;
}

.portfolio-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.portfolio-benefit i {
  color: #ffd740;
  font-size: 1rem;
  flex-shrink: 0;
}

.portfolio-form {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.portfolio-form .form-control {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.portfolio-form .form-control::placeholder { color: rgba(255,255,255,0.5); }
.portfolio-form .form-control:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.portfolio-form .form-label { color: rgba(255,255,255,0.85); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--off-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content {}

.about-content h2 {
  margin-bottom: 16px;
}

.about-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.metric-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.metric-card .metric-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.metric-card .metric-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

.about-visual {
  position: relative;
}

.about-image-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-image-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.about-image-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  line-height: 1.5;
}

.about-feature i {
  color: #ffd740;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--light-gray);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  /* Let JS/CSS control widths cleanly */
  touch-action: pan-y;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  align-items: stretch;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  /* Width is set dynamically by JS via data-visible attribute on track */
  flex-shrink: 0;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

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

/* 3 visible (default desktop) */
.testimonials-track[data-visible="3"] .testimonial-card {
  min-width: calc(33.333% - 16px);
  width: calc(33.333% - 16px);
}

/* 2 visible (tablet) */
.testimonials-track[data-visible="2"] .testimonial-card {
  min-width: calc(50% - 12px);
  width: calc(50% - 12px);
}

/* 1 visible (mobile) */
.testimonials-track[data-visible="1"] .testimonial-card {
  min-width: 100%;
  width: 100%;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #f9a825;
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: rgba(13, 71, 161, 0.08);
  font-family: Georgia, serif;
  position: absolute;
  top: -20px;
  left: -10px;
  line-height: 1;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-info h5 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  /* Larger tap target on touch */
  -webkit-tap-highlight-color: transparent;
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.05);
}

.slider-btn:active {
  transform: scale(0.95);
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 200px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.slider-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
  transform: none;
}

/* Swipe hint text on mobile — shown via JS */
.slider-swipe-hint {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 8px;
  display: none;
}

/* Counter badge shown on mobile */
.slider-counter {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  min-width: 40px;
  text-align: center;
  display: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0a1628;
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}

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

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg { width: 26px; height: 26px; }

.footer-logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-logo-tagline {
  font-size: 0.6rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.6);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-link i {
  font-size: 0.7rem;
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.85rem;
}

.footer-contact-text {
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.footer-contact-text a {
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}

.footer-contact-text a:hover { color: var(--accent); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-bottom-link:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   WHATSAPP STICKY BUTTON
   ============================================================ */
.whatsapp-sticky {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 990;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  transition: transform var(--transition);
}

.whatsapp-sticky:hover {
  transform: scale(1.1);
  color: var(--white);
}

.whatsapp-sticky::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-sticky::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  animation: pulse 2s ease-in-out infinite 0.5s;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: #0a1628;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid #0a1628;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.whatsapp-sticky:hover .whatsapp-tooltip { opacity: 1; }

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
.chatbot-widget {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 980;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* Prevent widget from ever overlapping the fixed header */
  max-height: calc(100vh - 90px);
}

.chatbot-toggle {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.chatbot-toggle .notification-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid var(--white);
  animation: pulse 2s infinite;
}

.chatbot-window {
  width: 360px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  margin-bottom: 16px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  /* Dynamic max-height: never taller than viewport minus header (70px) + bottom offset (100px) + toggle (56px) + margin (16px) */
  max-height: min(520px, calc(100vh - 260px));
}

.chatbot-window.open {
  display: flex;
  animation: slideUp 0.3s ease;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.chatbot-header-info h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.chatbot-header-info span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chatbot-header-info span::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #4caf50;
  border-radius: 50%;
  display: inline-block;
}

.chatbot-header-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.chatbot-header-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-header-btn:hover { background: rgba(255,255,255,0.25); }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  max-height: 320px;
  background: #f8faff;
}

.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  animation: fadeIn 0.3s ease;
  max-width: 90%;
}

.chat-msg-bot {
  align-self: flex-start;
}

.chat-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  flex-shrink: 0;
  align-self: flex-end;
}

.chat-msg-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 260px;
}

.chat-msg-bot .chat-msg-bubble {
  background: var(--white);
  color: var(--text-body);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.chat-msg-user .chat-msg-bubble {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-msg-time {
  font-size: 0.68rem;
  color: var(--text-light);
  align-self: flex-end;
  margin-bottom: 2px;
  padding: 0 4px;
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.chat-option-btn {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  font-family: var(--font-primary);
}

.chat-option-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  width: fit-content;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--gray);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.chatbot-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
  display: flex;
  gap: 8px;
}

.chatbot-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition);
  font-family: var(--font-primary);
}

.chatbot-input:focus { border-color: var(--primary); }

.chatbot-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-send:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 400px;
  animation: slideInRight 0.3s ease;
  transition: all var(--transition);
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }

.toast-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--danger); }
.toast.warning .toast-icon { color: var(--warning); }
.toast .toast-icon { color: var(--primary); }

.toast-content {}

.toast-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.toast-message {
  font-size: 0.82rem;
  color: var(--text-light);
}

.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px;
  transition: color var(--transition);
  flex-shrink: 0;
}

.toast-close:hover { color: var(--text-dark); }

.toast.hiding {
  animation: slideOutRight 0.3s ease forwards;
}

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 60%, #004d40 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::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");
}

.page-hero-inner { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--white); }

.breadcrumb span { color: rgba(255,255,255,0.5); }

.breadcrumb .current { color: rgba(255,255,255,0.9); }

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section { padding: 70px 0; }

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.content-main {}

.content-sidebar {}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.sidebar-card h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  color: var(--text-dark);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-body);
  transition: all var(--transition);
}

.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--primary); padding-left: 8px; }
.sidebar-link i { color: var(--accent); font-size: 0.8rem; }

.prose h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  color: var(--text-dark);
  padding-top: 16px;
  border-top: 2px solid var(--border);
}

.prose h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }

.prose h3 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--primary);
}

.prose p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--text-body);
}

.prose ul, .prose ol {
  margin: 16px 0 20px 0;
  padding-left: 0;
}

.prose ul li, .prose ol li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.prose ol {
  counter-reset: list-counter;
  list-style: none;
}

.prose ol li {
  counter-increment: list-counter;
}

.prose ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-box {
  background: rgba(13, 71, 161, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box.accent {
  background: rgba(0, 137, 123, 0.05);
  border-left-color: var(--accent);
}

.info-box.warning {
  background: rgba(249, 168, 37, 0.05);
  border-left-color: var(--warning);
}

.info-box h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.info-box p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--text-body);
}

/* ============================================================
   COMPARISON TABLES
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
}

.comparison-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 600;
}

.comparison-table th:first-child {
  background: var(--primary-dark);
}

.comparison-table td {
  padding: 12px 18px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}

.comparison-table tr:nth-child(even) td { background: var(--off-white); }
.comparison-table tr:hover td { background: rgba(13, 71, 161, 0.04); }
.comparison-table td:first-child { font-weight: 600; color: var(--text-dark); }

.comparison-table .check { color: var(--success); }
.comparison-table .cross { color: var(--danger); }
.comparison-table .partial { color: var(--warning); }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { background: var(--off-white); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition);
  gap: 16px;
}

.faq-question:hover { background: var(--off-white); }

.faq-question.active {
  color: var(--primary);
  background: rgba(13, 71, 161, 0.04);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-question.active .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
}

.faq-answer.open {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0;
}

/* ============================================================
   BLOG PAGE STYLES
   ============================================================ */
.blog-page { background: var(--off-white); }

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.cat-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
}

.cat-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cat-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.blog-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-sidebar {}

.blog-sidebar .sidebar-card {}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-body);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
}

.page-btn:hover, .page-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}

.contact-info-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-info-content p,
.contact-info-content a {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

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

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-top: 24px;
}

.map-container iframe { display: block; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; }

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(30px);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

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

@keyframes floatCircle {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}

@keyframes typingBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-4px); opacity: 1; }
}

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

.spinner-primary {
  border-color: rgba(13, 71, 161, 0.2);
  border-top-color: var(--primary);
}

/* ============================================================
   TAGS / BADGES
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.tag-primary {
  background: rgba(13, 71, 161, 0.1);
  color: var(--primary);
}

.tag-accent {
  background: rgba(0, 137, 123, 0.1);
  color: var(--accent);
}

.tag-success {
  background: rgba(46, 125, 50, 0.1);
  color: var(--success);
}

.tag-warning {
  background: rgba(249, 168, 37, 0.15);
  color: #e65100;
}

.tag-danger {
  background: rgba(229, 57, 53, 0.1);
  color: var(--danger);
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

.trust-badge i { color: var(--primary); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 500;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   HIGHLIGHT BOX
   ============================================================ */
.highlight-box {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.05), rgba(0, 137, 123, 0.05));
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 28px 0;
}

.highlight-box h3 {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 1.15rem;
}

/* ============================================================
   FEATURE LIST
   ============================================================ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.feature-item i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form .form-control {
  flex: 1;
  border-radius: var(--radius-full);
}

.newsletter-form .btn {
  flex-shrink: 0;
  border-radius: var(--radius-full);
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-bar-wrapper {
  background: var(--light-gray);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
  margin: 8px 0;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

/* ============================================================
   CARD GRID VARIATIONS
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

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

.feature-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(13, 71, 161, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
  font-size: 1.4rem;
  transition: all var(--transition);
}

.feature-card:hover .feature-card-icon {
  background: var(--primary);
  color: var(--white);
}

.feature-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   STICKY CTA BAR
   ============================================================ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 970;
  background: var(--primary);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -4px 20px rgba(13, 71, 161, 0.3);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.sticky-cta-bar.show { transform: translateY(0); }
.sticky-cta-bar p { color: rgba(255,255,255,0.9); font-size: 0.9rem; margin: 0; }

/* ============================================================
   OVERLAY
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   MISC
   ============================================================ */
.divider-line {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.icon-box-primary { background: rgba(13, 71, 161, 0.1); color: var(--primary); }
.icon-box-accent { background: rgba(0, 137, 123, 0.1); color: var(--accent); }
.icon-box-success { background: rgba(46, 125, 50, 0.1); color: var(--success); }
.icon-box-warning { background: rgba(249, 168, 37, 0.1); color: var(--warning); }

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .header, .footer, .whatsapp-sticky, .chatbot-widget, .back-to-top { display: none !important; }
  body { font-size: 12pt; }
  a[href]::after { content: " (" attr(href) ")"; }
}

/* ===================================================
   IMAGE ENHANCEMENTS
   =================================================== */

/* Hero image */
.hero-visual-img {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}
.hero-floating-img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  display: block;
  margin: 0 auto;
  animation: floatUp 6s ease-in-out infinite;
  border: 4px solid rgba(255,255,255,0.2);
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* Category card images */
.category-card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  margin: -24px -24px 20px -24px;
  width: calc(100% + 48px);
  position: relative;
}
.category-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover .category-card-img-wrap img {
  transform: scale(1.08);
}
.category-card-img-wrap .category-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13,71,161,0.7) 100%);
}

/* Blog card real images */
.blog-card-image {
  height: 220px !important;
  overflow: hidden;
  position: relative;
  border-radius: 16px 16px 0 0;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}
.blog-card-image .blog-card-badge {
  position: absolute !important;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.blog-icon { display: none !important; }

/* About section image */
.about-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13,71,161,0.2);
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.about-img-wrap:hover img {
  transform: scale(1.03);
}
.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(13,71,161,0.92);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.about-img-badge strong {
  display: block;
  font-size: 1.4rem;
  color: #ffd740;
}

/* Testimonial real photos */
.testimonial-avatar {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  padding: 0 !important;
  font-size: 0 !important;
  flex-shrink: 0;
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Page hero background image */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
}
.page-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.page-hero-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  position: relative;
}
.page-hero-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.page-hero-img-wrap .img-overlay-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Content section images */
.content-img-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(13,71,161,0.15);
}
.content-img-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.content-img-card:hover img {
  transform: scale(1.04);
}

/* Why section images */
.why-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  display: block;
}

/* Blog page images */
.blog-post-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}

/* Team/advisor card */
.advisor-img-wrap {
  text-align: center;
  margin-bottom: 24px;
}
.advisor-img-wrap img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e3f2fd;
  box-shadow: 0 8px 24px rgba(13,71,161,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero-split {
    grid-template-columns: 1fr;
  }
  .page-hero-img-wrap {
    order: -1;
  }
  .page-hero-img-wrap img {
    height: 260px;
  }
  .hero-floating-img {
    display: none;
  }
}

/* ============================================================
   FOUNDER & ABOUT SECTION
   ============================================================ */

.founder-section {
  background: var(--off-white);
  overflow: hidden;
}

/* ── Founder Profile Card ───────────────────────────────────── */
.founder-profile-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Decorative top accent bar */
.founder-profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* ── Photo column ────────────────────────────────────────────── */
.founder-photo-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.founder-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: var(--shadow-lg);
}

.founder-photo-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.founder-photo-wrap:hover img {
  transform: scale(1.03);
}

.founder-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}

.founder-photo-badge i {
  font-size: 1.4rem;
  color: #ffd740;
}

/* ── Credential pills ─────────────────────────────────────── */
.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credential-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition);
}

.credential-pill i {
  color: var(--primary);
  font-size: 0.88rem;
  flex-shrink: 0;
}

.credential-pill:hover {
  background: rgba(13, 71, 161, 0.05);
  border-color: var(--primary);
  color: var(--primary);
}

.credential-pill--highlight {
  background: linear-gradient(135deg, rgba(13,71,161,0.07), rgba(0,137,123,0.07));
  border-color: rgba(13,71,161,0.2);
  font-weight: 600;
  color: var(--primary);
}

/* ── Bio column ──────────────────────────────────────────────── */
.founder-bio-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.founder-name-block {
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 4px;
}

.founder-name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 6px;
}

.founder-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.3px;
}

.founder-bio-lead {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.75;
  font-weight: 500;
}

.founder-bio-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* ── Role timeline ───────────────────────────────────────────── */
.founder-roles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
  margin: 4px 0;
}

.founder-role {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.role-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--gray);
  flex-shrink: 0;
  margin-top: 5px;
  transition: all var(--transition);
}

.role-dot--active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,137,123,0.2);
  width: 12px;
  height: 12px;
  margin-top: 4px;
}

.founder-role div strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.founder-role div span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.founder-cta {
  align-self: flex-start;
  margin-top: 8px;
}

/* ── Vision Block ────────────────────────────────────────────── */
.vision-block {
  background: linear-gradient(135deg, var(--primary) 0%, #0a3d8f 50%, #004d40 100%);
  border-radius: var(--radius-xl);
  padding: 52px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.vision-block::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");
}

.vision-block-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.vision-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ffd740;
  flex-shrink: 0;
}

.vision-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.vision-heading {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.35;
}

.vision-text-col p {
  color: rgba(255,255,255,0.85);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.vision-quote {
  margin: 24px 0 0;
  padding: 20px 24px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  border-left: 3px solid #ffd740;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
  color: #fff;
  line-height: 1.65;
  position: relative;
}

.vision-quote .fa-quote-left {
  color: #ffd740;
  margin-right: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.vision-quote .fa-quote-right {
  color: #ffd740;
  margin-left: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ── Approach / 3 Pillars ────────────────────────────────────── */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.approach-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.approach-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

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

.approach-card:hover::after {
  transform: scaleX(1);
}

.approach-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.approach-icon--blue {
  background: rgba(13, 71, 161, 0.1);
  color: var(--primary);
}

.approach-icon--green {
  background: rgba(0, 137, 123, 0.1);
  color: var(--accent);
}

.approach-icon--gold {
  background: rgba(249, 168, 37, 0.12);
  color: #e65100;
}

.approach-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.approach-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ── Metrics Bar ─────────────────────────────────────────────── */
.founder-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 48px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.fmetric {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.fmetric-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.fmetric-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-light);
}

.fmetric-divider {
  width: 1px;
  height: 52px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Brand Tagline Closing ───────────────────────────────────── */
.brand-tagline-block {
  text-align: center;
}

.brand-tagline-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.brand-tagline-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), #ffd740);
}

.brand-tagline-trio {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.brand-trio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.brand-trio-item i {
  font-size: 1.3rem;
  color: var(--accent);
}

.brand-trio-sep {
  font-size: 1.6rem;
  color: var(--border);
  font-weight: 300;
  line-height: 1;
}

.brand-tagline-sub {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 560px;
  line-height: 1.75;
  text-align: center;
  font-style: italic;
}

.brand-tagline-brand {
  font-size: 0.95rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
}

.brand-tagline-brand strong {
  color: var(--primary);
  font-size: 1.05rem;
}

/* ── Section eyebrow (used in about section) ─────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: rgba(0,137,123,0.1);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
