/* ==========================================================================
   INSURANCE ADDA - PREMIUM DESIGN SYSTEM & CORE STYLES
   Brand Identity: Midnight Navy, Royal Blue, Luxury Gold, Soft Ivory & White
   Advisor: Ravi Kumar G.R. | 15+ Years Experience | 500+ Families Secured
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cinzel:wght@600;700&display=swap');

:root {
  /* Brand Color Palette */
  --color-midnight: #0B1730;
  --color-midnight-rgb: 11, 23, 48;
  --color-royal: #183B69;
  --color-royal-rgb: 24, 59, 105;
  --color-navy: #0B1730;
  --color-navy-surface: #102142;
  --color-navy-card: #14274F;
  --color-navy-border: rgba(200, 164, 93, 0.24);

  /* Luxury Gold Accents */
  --color-gold: #C8A45D;
  --color-gold-rgb: 200, 164, 93;
  --color-gold-light: #DFBE7A;
  --color-gold-dark: #9F7E3B;
  --color-gold-glow: rgba(200, 164, 93, 0.28);
  --color-gold-soft: rgba(200, 164, 93, 0.08);
  --color-gold-border: rgba(200, 164, 93, 0.35);

  /* Backgrounds & Neutrals */
  --color-ivory: #F7F5F0;
  --color-ivory-soft: #FDFCFA;
  --color-white: #FFFFFF;
  --color-text-main: #111D33;
  --color-text-muted: #5D6D82;
  --color-text-light: #8E9EAF;
  --color-border-subtle: rgba(24, 59, 105, 0.1);
  --color-card-border: rgba(200, 164, 93, 0.18);

  /* Functional Colors */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE5D;
  --color-whatsapp-hover: #128C7E;
  --color-success: #10B981;
  --color-error: #EF4444;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-display: 'Cinzel', 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 23, 48, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 23, 48, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 23, 48, 0.12);
  --shadow-gold: 0 8px 28px rgba(200, 164, 93, 0.22);
  --shadow-dark: 0 20px 50px rgba(5, 12, 26, 0.45);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing & Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --container-max: 1240px;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-ivory);
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-midnight);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.text-gold {
  color: var(--color-gold) !important;
}

.text-white {
  color: var(--color-white) !important;
}

.text-muted-dark {
  color: #B4C0D3 !important;
}

/* Label Pill / Eyebrow */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(200, 164, 93, 0.12);
  border: 1px solid rgba(200, 164, 93, 0.4);
  color: var(--color-gold-dark);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
}

.eyebrow-badge.badge-dark {
  background: rgba(200, 164, 93, 0.15);
  border-color: rgba(223, 190, 122, 0.4);
  color: var(--color-gold-light);
}

.eyebrow-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Section Header Structure */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Layout Containers & Wrappers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-padding-sm {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.bg-ivory {
  background-color: var(--color-ivory);
}

.bg-white {
  background-color: var(--color-white);
}

.bg-midnight {
  background-color: var(--color-midnight);
  color: var(--color-white);
}

.bg-royal {
  background-color: var(--color-royal);
  color: var(--color-white);
}

/* ==========================================================================
   Interactive Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Gold Gradient Button */
.btn-gold {
  background: linear-gradient(135deg, #DFBE7A 0%, #C8A45D 50%, #9F7E3B 100%);
  color: var(--color-midnight);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 18px rgba(200, 164, 93, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #E6CB8E 0%, #D4B26C 50%, #AA8946 100%);
  box-shadow: 0 8px 25px rgba(200, 164, 93, 0.5);
  transform: translateY(-2px);
  color: var(--color-midnight);
}

/* Royal Navy Primary */
.btn-royal {
  background-color: var(--color-royal);
  color: var(--color-white);
  border: 1px solid rgba(200, 164, 93, 0.25);
  box-shadow: 0 4px 15px rgba(24, 59, 105, 0.2);
}

.btn-royal:hover {
  background-color: var(--color-midnight);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 23, 48, 0.3);
  color: var(--color-white);
}

/* Outline Gold */
.btn-outline-gold {
  background: transparent;
  color: var(--color-gold-light);
  border: 1.5px solid var(--color-gold);
}

.btn-outline-gold:hover {
  background: rgba(200, 164, 93, 0.15);
  color: #FFFFFF;
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
}

/* Outline Navy */
.btn-outline-navy {
  background: transparent;
  color: var(--color-midnight);
  border: 1.5px solid var(--color-royal);
}

.btn-outline-navy:hover {
  background: var(--color-royal);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* WhatsApp Specialized Button */
.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1.15rem 2.25rem;
  font-size: 1.05rem;
}

/* Glassmorphism & Gold border cards */
.luxury-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.luxury-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 164, 93, 0.45);
}

.dark-luxury-card {
  background: linear-gradient(180deg, var(--color-navy-surface) 0%, var(--color-midnight) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-navy-border);
  box-shadow: var(--shadow-dark);
  transition: all var(--transition-smooth);
}

.dark-luxury-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 16px 38px rgba(11, 23, 48, 0.6), 0 0 20px rgba(200, 164, 93, 0.15);
}

/* ==========================================================================
   Trust Strip Banner
   ========================================================================== */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 1.85rem 2rem;
  box-shadow: var(--shadow-md);
  margin-top: 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.trust-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(200, 164, 93, 0.12);
  border: 1px solid rgba(200, 164, 93, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  flex-shrink: 0;
}

.trust-icon-box svg {
  width: 26px;
  height: 26px;
}

.trust-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-midnight);
  line-height: 1.1;
}

.trust-label {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
