/* =============================================
   Eastern Atlantic Group — Global Styles
   ============================================= */

:root {
  --navy: #0f1e3c;
  --navy-light: #1a2f57;
  --gold: #c9a84c;
  --gold-light: #e2c472;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-100: #f0f4f8;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15, 30, 60, 0.08);
  --shadow-lg: 0 8px 40px rgba(15, 30, 60, 0.14);
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { color: var(--gray-600); line-height: 1.75; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* ── Layout ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header p { margin-top: 1rem; font-size: 1.05rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: var(--font);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  transition: all var(--transition);
}

nav.scrolled {
  background: rgba(15, 30, 60, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

nav.transparent {
  background: transparent;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 62px;
  width: auto;
  display: block;
  border-radius: 6px;
}

/* Footer logo — white pill so it reads cleanly on the dark background */
.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
  background: rgba(255,255,255,0.96);
  border-radius: 10px;
  padding: 7px 14px;
  margin-bottom: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

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

.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 1.5rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mobile-menu a:last-child { border-bottom: none; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1d3a6e 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.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='%23c9a84c' 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");
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 span { color: var(--gold); }

.hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item { }
.stat-item .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-item .num span { color: var(--gold); }
.stat-item p {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

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

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.06));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card h3 { margin-bottom: 0.6rem; color: var(--navy); }
.service-card p { font-size: 0.9rem; }

.service-card-img {
  height: 160px;
  margin: -2rem -2rem 1.5rem;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1.2rem;
  transition: gap var(--transition);
}

.service-card:hover .learn-more { gap: 10px; }

/* ── WHY US ── */
.why-us {
  background: var(--gray-100);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-us-visual {
  position: relative;
}

.why-card-stack {
  position: relative;
  height: 420px;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.floating-card:nth-child(1) { left: 0; top: 0; width: 260px; }
.floating-card:nth-child(2) { right: 0; top: 80px; width: 220px; }
.floating-card:nth-child(3) { left: 30px; bottom: 0; width: 240px; }

.floating-card .card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.floating-card h4 { color: var(--navy); font-size: 1rem; margin-bottom: 0.3rem; }
.floating-card p { font-size: 0.82rem; color: var(--gray-600); }

.card-pill {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}

.why-content .section-label { text-align: left; }
.why-content h2 { margin-bottom: 1.2rem; }
.why-content > p { margin-bottom: 2rem; }

.why-list { display: flex; flex-direction: column; gap: 1rem; }

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-item-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.why-item-text h4 { color: var(--navy); margin-bottom: 2px; }
.why-item-text p { font-size: 0.88rem; }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--navy); }
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p { color: rgba(255,255,255,0.6); }
.testimonials .section-label { color: var(--gold); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201, 168, 76, 0.3);
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

.author-info strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.author-info span {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
}

/* ── Instagram Feature Section ── */
.instagram-feature {
  background: var(--white);
}

.instagram-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4.5rem;
  align-items: center;
}

.instagram-reel-wrap {
  width: 100%;
  max-width: 420px;
}

/* Make the Instagram blockquote fill its container */
.instagram-reel-wrap .instagram-media {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 960px) {
  .instagram-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .instagram-reel-wrap {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ── Audience / Segment Pages ── */
.audience-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
}

.audience-intro-visual {
  position: relative;
}

.audience-intro-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 20px;
}

.audience-float-stat {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--white);
  border-radius: 16px;
  padding: 1.4rem 1.7rem;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  max-width: 230px;
}
.audience-float-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.audience-float-stat span {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.4;
  display: block;
}

/* Navy stats band */
.audience-stats-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.audience-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.audience-stat .num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.audience-stat p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

/* Pain-point cards */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.5rem;
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.pain-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.pain-card h3 { color: var(--navy); margin-bottom: 0.6rem; font-size: 1.15rem; }
.pain-card p { font-size: 0.92rem; }

/* Compliance note */
.compliance-note {
  max-width: 880px;
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--gray-400);
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 900px) {
  .audience-intro { grid-template-columns: 1fr; gap: 3.5rem; }
  .audience-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .audience-float-stat { left: 50%; transform: translateX(-50%); bottom: -20px; }
}
@media (max-width: 560px) {
  .audience-stats-grid { grid-template-columns: 1fr; }
}

/* ── SPECIALTY SPOTLIGHT (homepage audience section) ── */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.spotlight-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.spotlight-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.spotlight-card h3 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.spotlight-card > p {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.spotlight-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.spotlight-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.spotlight-features li::before {
  content: '→';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.spotlight-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
@media (max-width: 900px) {
  .spotlight-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .spotlight-grid { grid-template-columns: 1fr; }
}

/* ── AI CHATBOT — ALYSSA ── */
.chat-bubble-wrap {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 1000;
}
.chat-bubble {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--navy);
  border: 2.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 22px rgba(0,0,0,0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
  overflow: hidden;
}
.chat-bubble:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 30px rgba(0,0,0,0.4);
}
.chat-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
/* Red notification dot on the bubble */
.chat-notif-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 15px;
  height: 15px;
  background: #ef4444;
  border-radius: 50%;
  border: 2.5px solid #fff;
  display: none;
  animation: notifPulse 2s ease-in-out infinite;
}
.chat-bubble-wrap.has-notification .chat-notif-dot {
  display: block;
}
@keyframes notifPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
/* Chat panel */
.chat-panel {
  position: fixed;
  bottom: 5.75rem;
  right: 1.75rem;
  width: 360px;
  max-height: 530px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.95);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.chat-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}
/* Pop-in animation for auto-open (feels like a received message) */
@keyframes chatPanelIn {
  0%   { opacity: 0; transform: translateY(30px) scale(0.88); }
  65%  { transform: translateY(-6px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-panel.open.first-open {
  animation: chatPanelIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.chat-panel-header {
  background: var(--navy);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
}
.chat-panel-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.35);
}
.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.chat-panel-header strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}
.chat-panel-header span {
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.chat-online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
}
.chat-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  line-height: 1;
  transition: color 0.15s;
  flex-shrink: 0;
}
.chat-close-btn:hover { color: #fff; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-behavior: smooth;
}
.chat-msg {
  max-width: 84%;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  font-size: 0.865rem;
  line-height: 1.55;
  word-break: break-word;
}
.chat-msg.bot {
  background: var(--gray-100);
  color: var(--navy);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.chat-msg.user {
  background: var(--navy);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
.chat-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.7rem 0.875rem;
  background: var(--gray-100);
  border-radius: 14px;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
  width: fit-content;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.35;
  animation: chatBounce 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes chatBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-5px); opacity: 0.9; }
}
.chat-input-wrap {
  padding: 0.8rem 0.9rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: #fff;
  flex-shrink: 0;
}
.chat-input-wrap input {
  flex: 1;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font-size: 0.865rem;
  font-family: inherit;
  color: var(--navy);
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
}
.chat-input-wrap input:focus { border-color: var(--navy); }
.chat-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.chat-send-btn:hover { background: var(--gold); color: var(--navy); }
.chat-send-btn:disabled { opacity: 0.45; cursor: not-allowed; }
@media (max-width: 420px) {
  .chat-panel { width: calc(100vw - 2rem); right: 1rem; bottom: 5.5rem; }
  .chat-bubble-wrap { right: 1rem; bottom: 1rem; }
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, #a67c30 100%);
  padding: 80px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 { color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-inner p { color: rgba(15,30,60,0.7); margin-top: 0.5rem; }

/* ── FOOTER ── */
footer {
  background: #080f1e;
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  cursor: pointer;
}

.social-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ── Nav social icons ── */
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0.25rem;
}

.nav-social-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  transition: all var(--transition);
  flex-shrink: 0;
}

.nav-social-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ── NAV DROPDOWN ── */
.nav-dropdown-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-dropdown-trigger:hover { color: #fff; }
.nav-dropdown-trigger::after { display: none !important; }
.nav-dropdown-arrow {
  font-size: 0.55rem;
  transition: transform var(--transition);
  display: inline-block;
}
.nav-dropdown-wrap:hover .nav-dropdown-arrow,
.nav-dropdown-wrap:focus-within .nav-dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  min-width: 210px;
  padding: 0.4rem 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.7rem 1.25rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-dropdown a:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.06);
}
.nav-dropdown a::after { display: none !important; }

/* Mobile menu sub-items (Who We Serve) */
.mobile-menu-sub {
  padding-left: 2.5rem !important;
  font-size: 0.9rem !important;
  opacity: 0.8;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.footer-contact-item .icon {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2px;
}

.footer-contact-item span {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.partner-badge span { color: var(--gold); font-weight: 700; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 140px 0 80px;
  text-align: center;
  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='%23c9a84c' 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");
}

.page-hero .section-label { margin-bottom: 0.75rem; }

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  position: relative;
}

.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--gold); }

/* ── ABOUT PAGE ── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-block {
  position: relative;
}

.about-image {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.about-image::after {
  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='%23c9a84c' fill-opacity='0.06'%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");
}

.about-badge-corner {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge-corner .big-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge-corner span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 2px;
}

.about-content .section-label { text-align: left; }
.about-content h2 { margin-bottom: 1.25rem; }
.about-content > p { margin-bottom: 1rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  background: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-card:hover h3, .value-card:hover p { color: rgba(255,255,255,0.85); }
.value-card:hover h3 { color: var(--white); }

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h3 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1.1rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
  transition: transform var(--transition);
}

.team-card:hover { transform: translateY(-4px); }

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  color: var(--gold);
  box-shadow: 0 8px 24px rgba(15,30,60,0.15);
}

.team-card h4 { color: var(--navy); margin-bottom: 4px; }
.team-card .title { color: var(--gold); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.87rem; }

/* ── SERVICES PAGE ── */
.services-detailed { background: var(--gray-100); }

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

.service-detail-card:hover { box-shadow: var(--shadow-lg); }
.service-detail-card.reverse { direction: rtl; }
.service-detail-card.reverse > * { direction: ltr; }

.service-detail-visual {
  height: 280px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.service-detail-content .section-label { text-align: left; }
.service-detail-content h2 { margin-bottom: 1rem; font-size: 1.8rem; }
.service-detail-content > p { margin-bottom: 1.5rem; }

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.service-feature::before {
  content: '✓';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ── FAQ PAGE ── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.faq-sidebar { position: sticky; top: 100px; }
.faq-sidebar h3 { color: var(--navy); margin-bottom: 1rem; }
.faq-sidebar p { margin-bottom: 2rem; font-size: 0.9rem; }

.faq-contact-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.faq-contact-card h4 { color: var(--white); margin-bottom: 0.5rem; }
.faq-contact-card p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 1.5rem; }

.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.accordion-item.open { box-shadow: var(--shadow); }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: var(--white);
  transition: background var(--transition);
}

.accordion-item.open .accordion-header {
  background: var(--navy);
}

.accordion-header h4 {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
}

.accordion-item.open .accordion-header h4 { color: var(--white); }

.accordion-toggle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-600);
  transition: all var(--transition);
}

.accordion-item.open .accordion-toggle {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--white);
}

.accordion-body p {
  padding: 1rem 1.5rem 1.5rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--gray-100);
}

.accordion-item.open .accordion-body {
  max-height: 400px;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-detail-text strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-detail-text span {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 { color: var(--navy); margin-bottom: 0.5rem; }
.contact-form-wrap > p { margin-bottom: 2rem; font-size: 0.9rem; }

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success .check { font-size: 3rem; margin-bottom: 1rem; }
.form-success h4 { color: var(--navy); margin-bottom: 0.5rem; }
.form-success p { font-size: 0.9rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .why-us-grid,
  .about-story,
  .faq-grid,
  .contact-layout { grid-template-columns: 1fr; }

  .why-us-visual { display: none; }

  .service-detail-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail-card.reverse { direction: ltr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

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

@media (max-width: 768px) {
  section { padding: 70px 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-stats { gap: 1.5rem; }

  .services-grid { grid-template-columns: 1fr; }

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

  .cta-inner { flex-direction: column; text-align: center; }

  .footer-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .about-badge-corner { position: static; margin-top: 1.5rem; display: inline-flex; gap: 0.5rem; align-items: center; }

  .about-image { height: 300px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 1rem; }
}

/* =============================================
   PHOTO & IMAGE OVERRIDES
   ============================================= */

.hero {
  background:
    linear-gradient(135deg, rgba(15,30,60,0.88) 0%, rgba(26,47,87,0.84) 60%, rgba(29,58,110,0.80) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.about-image {
  background: var(--gray-200);
  display: block;
  font-size: 0;
}
.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.service-detail-visual {
  overflow: hidden;
  display: block;
  font-size: 0;
  background: var(--gray-200);
}
.service-detail-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.team-avatar {
  background: var(--gray-200);
  font-size: 0;
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================
   BLOG STYLES
   ============================================= */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.blog-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  padding: 3px 10px;
  border-radius: 100px;
}
.blog-date { font-size: 0.78rem; color: var(--gray-400); }
.blog-read-time { font-size: 0.78rem; color: var(--gray-400); }

.blog-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.blog-card p {
  font-size: 0.87rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}
.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition);
}
.blog-card:hover .read-more { gap: 10px; }

/* Featured blog post */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.blog-featured:hover { box-shadow: 0 12px 48px rgba(15,30,60,0.18); }
.blog-featured-img {
  height: 420px;
  overflow: hidden;
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-featured:hover .blog-featured-img img { transform: scale(1.03); }
.blog-featured-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-content h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.blog-featured-content > p { font-size: 0.95rem; margin-bottom: 1.5rem; }

.blog-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}
.author-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.blog-author span { font-size: 0.8rem; color: var(--gray-600); }
.blog-author strong { display: block; font-size: 0.82rem; color: var(--navy); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  font-family: var(--font);
}
.page-btn:hover, .page-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { height: 240px; }
  .about-img { height: 300px; }
}

/* =============================================
   HERO LAYOUT — two-column with quote widget
   ============================================= */

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

.hero-layout .hero-content {
  max-width: none;
}

.hero-layout .hero-stats {
  margin-top: 2.5rem;
  padding-top: 2rem;
}

/* =============================================
   QUOTE WIDGET
   ============================================= */

.quote-widget {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  z-index: 2;
}

.qw-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(201,168,76,0.08));
  border: 1px solid rgba(201,168,76,0.45);
  color: #a8821e;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.qw-title {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.qw-sub {
  color: var(--gray-600);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

/* Progress */
.qw-progress {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 0;
}

.qw-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.qw-dot.qw-active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15,30,60,0.3);
}

.qw-dot.qw-done {
  background: var(--gold);
  color: var(--navy);
}

.qw-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  margin: 0 8px;
  transition: background 0.4s ease;
}

.qw-line.qw-done { background: var(--gold); }

/* Step panels */
.qw-panel { display: none; }

.qw-panel.qw-active {
  display: block;
  animation: qwFadeIn 0.3s ease;
}

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

/* Form elements inside widget */
.quote-widget .form-group {
  margin-bottom: 0.85rem;
}

.quote-widget .form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}

.qw-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.qw-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.14);
  background: #fff;
}

.qw-input.qw-error-field { border-color: #e53e3e; }

/* Toggle buttons */
.toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.toggle-btn {
  padding: 10px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  background: var(--off-white);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #fff;
}

.toggle-btn.qw-selected {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

/* Error text */
.qw-err {
  font-size: 0.78rem;
  color: #e53e3e;
  min-height: 1rem;
  margin-bottom: 0.3rem;
}

/* CTA button */
.qw-cta {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* Success state */
.qw-success-wrap {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.qw-check {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(16,185,129,0.35);
}

.qw-success-wrap h4 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.qw-success-wrap p {
  font-size: 0.9rem;
  max-width: 280px;
  margin: 0 auto;
  color: var(--gray-600);
}

/* Lock line */
.qw-lock {
  font-size: 0.72rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  transition: color 0.3s;
}

/* Responsive: stack columns on smaller screens */
@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-layout .hero-content { text-align: center; }
  .hero-layout .hero-badge { margin: 0 auto 1.5rem; }
  .hero-layout .hero-stats { justify-content: center; }

  .quote-widget {
    max-width: 500px;
    margin: 0 auto;
  }
}
