/*
Theme Name: House of Insurance & Investments
Theme URI: #
Author: SAJ CK
Author URI: #
Description: Professional guidance for Insurance, Investments & Financial Goals WordPress Theme.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: house-of-insurance
*/

/* ==========================================================================
   House of Insurance & Investments - Universal 'Outfit' Design System
   All Typography Powered by Google Font: Outfit (300 to 900)
   ========================================================================== */

:root {
  /* Brand Palette */
  --navy-dark: #0b1a3d;
  --navy-card: #132454;
  --navy-deep: #08122d;
  --navy-text: #0e1b40;

  --ochre-gold: #cf9137;
  --ochre-light: #e5a448;
  --ochre-hover: #b87c28;

  /* Gold Gradient Presets */
  --gold-gradient: linear-gradient(135deg, #e5a448 0%, #cf9137 60%, #b87c28 100%);
  --gold-gradient-hover: linear-gradient(135deg, #f0b45b 0%, #da9c3e 60%, #c48730 100%);
  --gold-gradient-light: linear-gradient(135deg, #fff2cc 0%, #f7c96e 40%, #e5a448 100%);
  --gold-gradient-text: linear-gradient(135deg, #f7c96e 0%, #e5a448 45%, #cf9137 100%);

  --whatsapp-green: #0ea85c;
  --whatsapp-hover: #0c8f4e;

  --bg-light: #f4f6fc;
  --bg-card-service: #eef2fb;
  --bg-pure-white: #ffffff;

  --text-muted: #52607f;
  --text-light-muted: #8c9bb7;
  --text-white-sub: rgba(255, 255, 255, 0.88);

  /* Universal Font Family */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-quote: 'Geologica', sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

section[id],
div[id],
main[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-pure-white);
  color: var(--navy-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==================== TYPOGRAPHY UTILITIES ==================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--navy-text);
  line-height: 1.2;
}

.text-ochre {
  background: var(--gold-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--ochre-gold);
  display: inline-block;
}

.text-ochre-light {
  background: var(--gold-gradient-light);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--ochre-light);
  display: inline-block;
}

.text-dark-navy {
  color: var(--navy-text);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--ease);
}

ul {
  list-style: none;
}

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

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

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--ease);
  text-align: center;
  white-space: nowrap;
}

.btn-consultation {
  background: linear-gradient(135deg, #e5a448 0%, #cf9137 60%, #b87c28 100%);
  color: #ffffff;
  padding: 10px 18px;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  /* box-shadow: 0 4px 14px rgba(207, 145, 55, 0.35); */
}

.btn-consultation:hover {
  background: linear-gradient(135deg, #f0b45b 0%, #da9c3e 60%, #c48730 100%);
  transform: translateY(-2px);
  /* box-shadow: 0 6px 18px rgba(207, 145, 55, 0.45); */
}

.btn-gold {
  background: linear-gradient(135deg, #e5a448 0%, #cf9137 60%, #b87c28 100%);
  color: #ffffff;
  /* box-shadow: 0 6px 20px rgba(207, 145, 55, 0.35); */
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f0b45b 0%, #da9c3e 60%, #c48730 100%);
  transform: translateY(-2px);
  /* box-shadow: 0 10px 24px rgba(207, 145, 55, 0.45); */
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  /* box-shadow: 0 6px 18px rgba(14, 168, 92, 0.3); */
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  /* box-shadow: 0 10px 22px rgba(14, 168, 92, 0.4); */
}

.btn-block {
  width: 100%;
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  /* border-bottom: 1px solid rgba(14, 27, 64, 0.06); */
  transition: var(--ease);
}

/* Adjust header and scroll offset when WordPress Admin Bar is visible */
body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar {
  scroll-padding-top: 122px;
}

body.admin-bar section[id],
body.admin-bar div[id],
body.admin-bar main[id] {
  scroll-margin-top: 122px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar {
    scroll-padding-top: 136px;
  }

  body.admin-bar section[id],
  body.admin-bar div[id],
  body.admin-bar main[id] {
    scroll-margin-top: 136px;
  }
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(11, 26, 61, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-self: start;
}

.main-nav {
  justify-self: center;
}

.logo-img {
  height: 66px;
  width: auto;
  object-fit: contain;
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .nav-list li {
  list-style: none;
}

.nav-link,
.main-nav .nav-list a {
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--navy-text);
  padding: 8px 0;
  position: relative;
  transition: var(--ease);
  text-decoration: none;
  display: inline-block;
}

.nav-link:hover,
.nav-link.active,
.main-nav .nav-list a:hover,
.main-nav .nav-list a.active,
.main-nav .nav-list .current-menu-item>a {
  color: var(--ochre-gold);
}

.nav-link::after,
.main-nav .nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after,
.main-nav .nav-list a:hover::after,
.main-nav .nav-list a.active::after,
.main-nav .nav-list .current-menu-item>a::after {
  width: 100%;
}

.drawer-link.active {
  color: var(--ochre-gold);
  font-weight: 700;
}

.header-action {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--navy-text);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  height: 100vh;
  background: #ffffff;
  z-index: 1050;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.35s ease;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.drawer-logo {
  height: 38px;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--navy-text);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-nav ul,
.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-nav li {
  list-style: none;
}

.drawer-link,
.drawer-nav a {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy-text);
  text-decoration: none;
  transition: var(--ease);
}

.drawer-link:hover,
.drawer-nav a:hover,
.drawer-nav .current-menu-item>a {
  color: var(--ochre-gold);
}

.drawer-cta-wrap {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

/* ==================== HERO SECTION ==================== */
.hero-section {
  /* background-color: var(--bg-light); */
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 0px;
}

.hero-heading {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-description {
  font-size: clamp(.9rem, 1.1vw, 1.125rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.68;
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-btn {
  padding: 14px 28px;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-image-box {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.hero-image-box::before {
  content: "";
  position: absolute;
  background-image: url(assets/img/hero_bg.png);
  background-repeat: no-repeat;
  bottom: 0;
  left: 100px;
  width: 730px;
  height: 448px;
  background-size: 100%;
  z-index: -1;
  animation: heroFadeIn 1.2s ease 0.1s both;
}

.hero-advisors-image {
  width: 100%;
  height: auto;
  display: block;
  animation: heroScaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

/* Floating Advisor Badges */
.hero-badges-wrapper {
  position: absolute;
  bottom: 24px;
  right: 0px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  z-index: 10;
  max-width: 500px;
}

.hero-advisor-badge {
  flex: 1;
  background: rgba(14, 27, 64, 0.763);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: var(--ease);
}

.hero-advisor-badge.badge-left {
  animation: heroBadgeSlide 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-advisor-badge.badge-right {
  animation: heroBadgeSlide 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.hero-advisor-badge:hover {
  transform: translateY(-4px);
  border-color: var(--ochre-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 14px rgba(207, 145, 55, 0.25);
}

.badge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.badge-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--ochre-gold);
  flex-shrink: 0;
}

.badge-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.badge-title-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.badge-name {
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.15;
}

.badge-role {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ochre-light);
  line-height: 1.2;
}

.badge-body {
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
}

.badge-body p+p {
  margin-top: 3px;
}

@media (max-width: 600px) {
  .hero-badges-wrapper {
    position: static;
    margin-top: 16px;
    flex-direction: column;
    gap: 10px;
  }
}

/* ==================== DARK SECTION: STATS + HERITAGE ==================== */
.dark-section-wrapper {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 54px 0 84px;
  position: relative;
  margin-top: -1px;
}

/* Stats */
.stats-container {
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-val {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 3.4vw, 3.4rem);
  font-weight: 700;
  background: linear-gradient(90deg,
      #cf9137 0%,
      #e5a448 25%,
      #fff6e0 50%,
      #e5a448 75%,
      #cf9137 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--ochre-light);
  line-height: 1.15;
  margin-bottom: 6px;
  display: inline-block;
  animation: goldShimmer 3.5s ease-in-out infinite;
}

@keyframes goldShimmer {
  0% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }

  100% {
    background-position: 0% center;
  }
}

.trusted-val {
  font-weight: 300;
  letter-spacing: 0.02em;
}

.stat-lbl {
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-white-sub);
  text-transform: uppercase;
}

/* Heritage White Card */
.heritage-container {
  position: relative;
}

.heritage-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 40px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  color: var(--navy-text);
}

.heritage-sub {
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-light-muted);
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.heritage-head {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.24;
  margin-bottom: 18px;
}

.heritage-p {
  color: var(--navy-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.68;
  margin-bottom: 24px;
}

.heritage-points {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.heritage-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--navy-text);
}

.star-icon {
  color: var(--ochre-gold);
  font-size: 0.9rem;
}

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

.heritage-logo-img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* ==================== EXPERTISE & SERVICES ==================== */
.expertise-section {
  padding: 76px 0 84px;
  background-color: var(--bg-pure-white);
}

.section-main-title {
  font-size: clamp(1.85rem, 2.7vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.24;
  margin-bottom: 44px;
}

/* Interactive 10 Cards Grid */
.services-interactive-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0 auto;
}

.service-item-card {
  background-color: var(--bg-card-service);
  border-radius: var(--radius-md);
  padding: 26px 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 165px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item-card.reveal {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  transition-delay: var(--reveal-delay, 0s);
}

/* Hover Effect */
.service-item-card:hover {
  background-color: #ffffff;
  transform: translateY(-6px);
  border-color: var(--ochre-gold);
  box-shadow: 0 14px 30px rgba(11, 26, 61, 0.1), 0 0 10px rgba(207, 145, 55, 0.15);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transition-delay: 0s !important;
}

.service-item-icon {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.service-item-icon img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.service-item-card:hover .service-item-icon img {
  transform: scale(1.12);
}

.service-item-title {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy-text);
  line-height: 1.25;
  transition: color 0.3s ease;
}

.service-item-card:hover .service-item-title {
  color: var(--ochre-gold);
}

/* ==================== WHY CHOOSE US ==================== */
.why-section {
  background-color: var(--bg-light);
  background-image: url('assets/img/bg.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 520px auto;
  padding: 76px 0 76px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 44px;
  text-align: left;
}

.why-card {
  position: relative;
  background-color: var(--navy-card);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 20px 36px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(11, 26, 61, 0.1);
  cursor: pointer;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why-card.reveal {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

/* Smooth Gold Gradient Overlay for seamless 60fps fade in/out */
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
  pointer-events: none;
}

/* Hover Effect - Smooth Upward Lift & Gold Fade-in */
.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 42px rgba(211, 147, 54, 0.35);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: 0s !important;
}

.why-card:hover::before {
  opacity: 1;
}

.why-card.card-navy {
  background-color: var(--navy-card);
  color: #ffffff;
}

.why-card.card-gold {
  background: var(--gold-gradient);
  color: #ffffff;
}

.why-card-inner {
  position: relative;
  z-index: 3;
}

.why-title {
  font-family: var(--font-main);
  font-size: clamp(1.15rem, 1.35vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.why-desc {
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.9);
}

/* Watermark Background Icon at bottom right */
.why-card-bg-icon {
  position: absolute;
  bottom: -12px;
  right: -8px;
  font-size: 5.2rem;
  color: #ffffff;
  opacity: 0.13;
  pointer-events: none;
  transform: rotate(-10deg);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 2;
}

.why-card:hover .why-card-bg-icon {
  opacity: 0.28;
  transform: scale(1.1) rotate(0deg);
}

.slogan-banner {
  text-align: center;
  padding-top: 6px;
}

.slogan-text {
  font-family: var(--font-main);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--navy-text);
}

/* ==================== TESTIMONIAL (SWIPER) ==================== */
.quote-section {
  padding: 76px 0 84px;
  background-color: var(--bg-pure-white);
  position: relative;
}

.quote-mark {
  font-size: clamp(4.2rem, 5.8vw, 6rem);
  font-weight: 700;
  line-height: 0.8;
  background: var(--gold-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--ochre-gold);
  font-family: var(--font-quote);
  margin-bottom: 16px;
  display: inline-block;
}

.testimonialSwiper {
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.testimonialSwiper .swiper-slide {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.testimonialSwiper .swiper-slide-active {
  opacity: 1;
}

.quote-text {
  font-family: var(--font-main);
  font-size: clamp(1.4rem, 1.8vw, 1.60rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: var(--navy-text);
  margin-bottom: 18px;
}

.quote-author {
  font-family: var(--font-main);
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #7b8aa7;
}

/* Swiper Pagination Dots (Expanding Gold Pill Indicator) */
.testimonialSwiper .swiper-pagination {
  position: relative;
  margin-top: 28px;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.testimonialSwiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: #cbd5e1;
  opacity: 1;
  margin: 0 !important;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonialSwiper .swiper-pagination-bullet:hover {
  background: #94a3b8;
}

.testimonialSwiper .swiper-pagination-bullet-active {
  width: 28px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--ochre-gold);
  transform: none;
  box-shadow: none;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section-dark {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 76px 0 84px;
}

.contact-container {
  max-width: 1200px !important;
}

.contact-header-wrap {
  margin-bottom: 44px;
}

.contact-sec-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.contact-sec-sub {
  font-family: var(--font-main);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 400;
}

.contact-columns {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
  align-items: stretch;
}

.contact-card-white {
  background: #ffffff;
  color: var(--navy-text);
  border-radius: var(--radius-lg);
  padding: 25px 25px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-card-h3 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 5px;
}

.contact-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef2fa;
  color: var(--navy-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row-text {
  font-family: var(--font-main);
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--navy-text);
}

.contact-row-text a:hover {
  color: var(--ochre-gold);
}

/* Contact Form */
.contact-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-inputs-row {
  display: flex;
  gap: 14px;
}

.flex-1 {
  flex: 1;
}

.form-item input,
.form-item textarea {
  width: 100%;
  background: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px 20px;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-text);
  outline: none;
}

.form-item textarea {
  border-radius: 16px;
  min-height: 105px;
  resize: vertical;
}

.form-item input:focus,
.form-item textarea:focus {
  box-shadow: 0 0 0 3px var(--ochre-light);
}

.btn-submit-form {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
}

.toast-success {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(14, 168, 92, 0.2);
  border: 1px solid var(--whatsapp-green);
  border-radius: var(--radius-sm);
  color: #4ade80;
  font-size: 0.9rem;
}

/* Fix CF7 wrapper spans breaking field widths */
.contact-form-fields .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Ensure vertical spacing between rows */
.contact-form-fields .form-inputs-row {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.contact-form-fields .form-item {
  flex: 1;
}

/* Base input styling match */
.contact-form-fields input[type="text"],
.contact-form-fields input[type="email"],
.contact-form-fields input[type="tel"],
.contact-form-fields textarea {
  width: 100%;
  border-radius: 20px;
  border: 1px solid transparent;
  padding: 15px 20px;
  box-sizing: border-box;
}

/* Gold button restoration */
.contact-form-fields .btn-gold {
  width: 100%;
  background-color: #d39336;
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 20px;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
}

/* ==================== FOOTER ==================== */
.site-footer-white {
  background-color: #ffffff;
  padding: 32px 0 24px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(14, 27, 64, 0.08);
  margin-bottom: 18px;
}

.footer-links-nav {
  display: flex;
  gap: 28px;
}

.footer-links-nav ul,
.footer-nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-nav li {
  list-style: none;
}

.footer-links-nav a {
  font-family: var(--font-main);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--navy-text);
  text-decoration: none;
  transition: var(--ease);
}

.footer-links-nav a:hover,
.footer-links-nav .current-menu-item>a {
  color: var(--ochre-gold);
}

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

.footer-social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0f3fa;
  color: var(--navy-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--ease);
}

.footer-social-icons a:hover {
  background: var(--gold-gradient);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(207, 145, 55, 0.35);
}

.footer-bottom-row {
  font-family: var(--font-main);
  font-size: 0.84rem;
  font-weight: 400;
  color: #8c9bb7;
  text-align: left;
}

/* ==================== RESPONSIVENESS ==================== */
@media (max-width: 1100px) {
  .services-interactive-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 950px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-advisors-image {
    width: 100%;
    height: auto;
    display: block;
    margin-left: -100px;
    margin-top: 50px;
  }

  .hero-badges-wrapper {
    right: 50px;
    max-width: none;
    left: 50px;
  }

  .badge-body {
    text-align: left;
  }

  .logo-img {
    height: 46px;
  }

  .btn {
    font-size: 0.8rem;
  }

  .hero-btn {
    padding: 10px 20px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .heritage-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 24px;
  }

  .heritage-points {
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .contact-columns {
    grid-template-columns: 1fr;
  }
	
  .main-nav,
  .site-header .btn-consultation {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }	
	
	
}

@media (max-width: 768px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
	  height:65px;
  }



  .services-interactive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .why-card {
    min-height: 240px;
  }

  .form-inputs-row {
    flex-direction: column;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }



  .hero-advisor-badge {
    background: rgb(14 27 64);
    box-shadow: none;
    border: none;
    backdrop-filter: none;
  }

  .hero-badges-wrapper {
    margin-top: -1px;
    margin-bottom: 20px;
  }

  .container {
    padding: 0 15px;
  }

}

@media (max-width: 480px) {

  .hero-advisors-image {
    margin-left: -50px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }
  .header-inner {
	  height:55px;
  }
  .footer-links-nav {
    display: flex;
    gap: 20px;
    flex-direction: column;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    width: 100%;
  }

  .footer-bottom-row {

    text-align: center;
  }

  .contact-card-white {
    padding: 24px 18px;
  }
}

/* ==================== HERO LOAD KEYFRAMES ==================== */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(35px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes heroScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(20px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes heroBadgeSlide {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==================== SCROLL REVEAL ANIMATIONS ==================== */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal-fade-up {
  transform: translateY(36px);
}

.reveal-fade-left {
  transform: translateX(-40px);
}

.reveal-fade-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.94) translateY(24px);
}

.reveal.revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}