/**
 * InsureWithChetan - Digital Silk Dark Royal Navy Stylesheet
 * Advisor: Chetan Sharma
 */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Outfit:wght@400;500;600;700;800&family=Pinyon+Script&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-obsidian: #0A1931;
  --color-obsidian-card: #12274E;
  --color-obsidian-light: #163265;
  --color-royal-blue: #1D4ED8;
  --color-royal-vibrant: #2563EB;
  --color-gold: #C5A880;
  --color-gold-light: #DFBE8E;
  --color-gold-dark: #9E7D47;
  --color-champagne: #F5EFEB;
  --color-slate-subtle: #94A3B8;
  --color-border-dark: rgba(96, 165, 250, 0.18);
  --color-border-light: #E2E8F0;
  --color-surface-light: #F8F9FA;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-script: 'Alex Brush', 'Pinyon Script', cursive;
  --font-cursive: 'Alex Brush', 'Pinyon Script', cursive;
  --font-editorial: 'Alex Brush', 'Pinyon Script', cursive;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  color: #334155;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  width: 100%;
  background-color: #FFFFFF;
  color: #334155;
}

h1, h2, h3, h4, h5, h6, .font-heading, .font-serif {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #0A1931;
}

/* Preserved Signature Royal Blue / Navy Sections */
.hero-swiper-section,
.blue-section,
.site-footer {
  color: #FFFFFF;
}

.hero-swiper-section h1,
.hero-swiper-section h2,
.hero-swiper-section h3,
.hero-swiper-section h4,
.hero-swiper-section p,
.blue-section h1,
.blue-section h2,
.blue-section h3,
.blue-section h4,
.blue-section p,
.site-footer h2,
.site-footer h3 {
  color: #FFFFFF !important;
}

.font-script,
.font-cursive,
.font-editorial {
  font-family: var(--font-script) !important;
  font-style: normal !important;
  font-weight: 400 !important;
}

/* Luxury Script Accents in Headings */
.font-script-accent {
  font-family: var(--font-script) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  display: inline-block;
  font-size: 1.18em;
  line-height: 1;
  padding: 0 0.12em;
}

/* High-intent Single H1 Editorial Treatment */
h1 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.22;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.3;
}

p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

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

/* Strict SVG Icon Constraints & Zero-CLS Sizing */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

svg.w-3\.5 { width: 0.875rem !important; height: 0.875rem !important; }
svg.w-4 { width: 1rem !important; height: 1rem !important; }
svg.w-5 { width: 1.25rem !important; height: 1.25rem !important; }
svg.w-6 { width: 1.5rem !important; height: 1.5rem !important; }
svg.w-7 { width: 1.75rem !important; height: 1.75rem !important; }
svg.w-8 { width: 2rem !important; height: 2rem !important; }
svg.w-10 { width: 2.5rem !important; height: 2.5rem !important; }
svg.w-12 { width: 3rem !important; height: 3rem !important; }

/* Accessibility: Focus Rings for WCAG AA */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* Container & Layout */
.container-luxury {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-luxury {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Luxury Pill Badges */
.badge-luxury {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(197, 168, 128, 0.12);
  color: var(--color-gold-dark);
  border: 1px solid rgba(197, 168, 128, 0.35);
}

.badge-luxury-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-gold-light);
  border: 1px solid rgba(197, 168, 128, 0.3);
}

/* Luxury Buttons */
.btn-luxury-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0A1931;
  background: linear-gradient(135deg, #DFBE8E 0%, #C5A880 50%, #9E7D47 100%);
  border: 1px solid #DFBE8E;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
  transition: var(--transition-smooth);
}

.btn-luxury-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 168, 128, 0.4);
  filter: brightness(1.05);
}

.btn-luxury-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1E293B;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.btn-luxury-outline:hover {
  background: #F8FAFC;
  border-color: #1D4ED8;
  color: #1D4ED8;
  transform: translateY(-2px);
}

/* Dark variant of outline button for Hero and deep blue sections */
.btn-luxury-outline-dark,
.hero-swiper-section .btn-luxury-outline,
.blue-section .btn-luxury-outline,
.site-footer .btn-luxury-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-luxury-outline-dark:hover,
.hero-swiper-section .btn-luxury-outline:hover,
.blue-section .btn-luxury-outline:hover,
.site-footer .btn-luxury-outline:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.btn-luxury-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #0A1931;
  border: 1px solid rgba(197, 168, 128, 0.4);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-luxury-dark:hover {
  background: #163265;
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

/* Header & Navigation - Crisp White Luxury Aesthetic */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}

.top-bar {
  background: #071326;
  border-bottom: 1px solid rgba(96, 165, 250, 0.12);
  padding: 0.45rem 0;
  font-size: 0.82rem;
  color: #94A3B8;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1E293B;
  letter-spacing: 0.01em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #1D4ED8;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1D4ED8;
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Mega Dropdown - White Card Aesthetic */
.dropdown-parent {
  position: relative;
}

.dropdown-menu-luxury {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 60;
}

.dropdown-parent:hover .dropdown-menu-luxury,
.dropdown-parent:focus-within .dropdown-menu-luxury {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item-luxury {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: #334155;
  transition: var(--transition-smooth);
}

.dropdown-item-luxury:hover {
  background: #EFF6FF;
  color: #1D4ED8;
  padding-left: 1.5rem;
}

/* Swiper Hero Styling */
.hero-swiper-section {
  position: relative;
  background: #0A1931;
  color: #FFFFFF;
  min-height: 85vh;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-wrapper {
  height: 100%;
}

.hero-swiper .swiper-slide {
  height: auto;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.hero-swiper .container-luxury {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-slide-grid {
  flex: 1 1 0%;
  display: grid;
  height: 100%;
  align-items: stretch;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 18, 36, 0.98) 0%,
    rgba(6, 18, 36, 0.92) 45%,
    rgba(10, 25, 49, 0.70) 100%
  );
}

@media (max-width: 1023px) {
  .hero-slide-bg::after {
    background: rgba(6, 18, 36, 0.94);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 860px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #FFFFFF !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-title .font-script-accent {
  font-size: 1.15em;
  display: inline-block;
  line-height: 1.0;
  color: var(--color-gold) !important;
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: clamp(2.5rem, 2.8vw, 3.35rem);
    line-height: 1.12;
  }
}

@media (min-width: 1536px) {
  .hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
  }
}

.hero-broker-cutout {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: flex-end;
}

.hero-broker-cutout:hover {
  transform: translateY(-4px);
}

.hero-broker-cutout picture {
  display: block;
  line-height: 0;
}

.hero-broker-cutout img {
  display: block;
  vertical-align: bottom;
  margin-bottom: 0;
}

.hero-trust-badge {
  line-height: 1.4 !important;
}

.hero-trust-badge * {
  line-height: inherit;
}

.swiper-button-prev-luxury, .swiper-button-next-luxury {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.3);
  background: rgba(10, 25, 49, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.swiper-button-prev-luxury:hover, .swiper-button-next-luxury:hover {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: #0A1931;
}

.swiper-pagination-luxury {
  position: absolute;
  bottom: 2.5rem !important;
  left: 50% !important;
  transform: translateX(-50%);
  display: none;
  gap: 0.5rem;
  z-index: 20;
}

.swiper-pagination-bullet {
  width: 32px !important;
  height: 3px !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.3) !important;
  opacity: 1 !important;
  transition: var(--transition-smooth);
}

.swiper-pagination-bullet-active {
  width: 48px !important;
  background: var(--color-gold) !important;
}

/* Service Cards (Strict Priority Ordering) - Clean White Surface */
.service-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -5px rgba(10, 25, 49, 0.12);
  border-color: #2563EB;
  background: #FFFFFF;
}

.service-card-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #CBD5E1;
  line-height: 1;
}

.carrier-badge-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.carrier-badge-item img,
.carrier-badge-item svg {
  max-height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.carrier-badge-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(10, 25, 49, 0.08);
  border-color: #2563EB;
  background: #FFFFFF;
}

/* Google Reviews Card - White Surface */
.review-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.review-card:hover {
  border-color: #2563EB;
  background: #FFFFFF;
  box-shadow: 0 16px 30px rgba(10, 25, 49, 0.1);
}

/* Global Unified Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 49, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: var(--transition-smooth);
  color: #1E293B;
}

.modal-overlay.active .modal-dialog {
  transform: scale(1);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Honeypot field (strictly off-screen for bots) */
.form-trap-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  tabindex: -1 !important;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 110;
  max-width: 440px;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-30px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-success {
  background: #0A1931;
  border: 1px solid var(--color-gold);
  color: #FFFFFF;
}

.toast-error {
  background: #7F1D1D;
  border: 1px solid #EF4444;
  color: #FFFFFF;
}

/* Responsive Utilities & Layout Fallbacks */
@media (max-width: 1024px) {
  .hero-content {
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
  }
}

/* Resilient Core Layout Utilities - Base Declarations */
.hidden { display: none !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.inline { display: inline !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }
.flex-col { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.flex-grow { flex-grow: 1 !important; }
.shrink-0 { flex-shrink: 0 !important; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

/* Responsive Media Query Overrides (Must follow base utilities) */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .sm\:flex-row { flex-direction: row !important; }
  .sm\:inline { display: inline !important; }
  .sm\:inline-block { display: inline-block !important; }
  .sm\:block { display: block !important; }
  .sm\:flex { display: flex !important; }
  .sm\:hidden { display: none !important; }
  .sm\:text-xl { font-size: 1.25rem !important; }
  .sm\:text-2xl { font-size: 1.5rem !important; }
  .sm\:text-3xl { font-size: 1.875rem !important; }
  .sm\:text-4xl { font-size: 2.25rem !important; }
  .sm\:text-5xl { font-size: 3rem !important; }
  .sm\:p-8 { padding: 2rem !important; }
  .sm\:p-10 { padding: 2.5rem !important; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .md\:flex-row { flex-direction: row !important; }
  .md\:inline { display: inline !important; }
  .md\:inline-block { display: inline-block !important; }
  .md\:block { display: block !important; }
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
  .md\:divide-y-0 > :not([hidden]) ~ :not([hidden]) { border-top-width: 0 !important; }
  .md\:divide-x > :not([hidden]) ~ :not([hidden]) { border-left-width: 1px !important; }
  .md\:pt-0 { padding-top: 0 !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .lg\:col-span-2 { grid-column: span 2 / span 2 !important; }
  .lg\:col-span-3 { grid-column: span 3 / span 3 !important; }
  .lg\:col-span-4 { grid-column: span 4 / span 4 !important; }
  .lg\:col-span-5 { grid-column: span 5 / span 5 !important; }
  .lg\:col-span-6 { grid-column: span 6 / span 6 !important; }
  .lg\:col-span-7 { grid-column: span 7 / span 7 !important; }
  .lg\:flex { display: flex !important; }
  .lg\:block { display: block !important; }
  .lg\:inline { display: inline !important; }
  .lg\:inline-block { display: inline-block !important; }
  .lg\:hidden { display: none !important; }
  .lg\:text-4xl { font-size: 2.25rem !important; }
  .lg\:text-6xl { font-size: 3.75rem !important; }
}

/* Dedicated Navigation & CTA Class Guarantees */
.site-nav-desktop {
  display: none !important;
}

@media (min-width: 1024px) {
  .site-nav-desktop {
    display: flex !important;
    align-items: center !important;
  }
}

.gap-1 { gap: 0.25rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-7 { gap: 1.75rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-10 { gap: 2.5rem !important; }
.gap-12 { gap: 3rem !important; }
.gap-16 { gap: 4rem !important; }

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem !important; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem !important; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem !important; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem !important; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem !important; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem !important; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem !important; }

.w-full { width: 100% !important; }
.h-full { height: 100% !important; }
.w-auto { width: auto !important; }
.h-auto { height: auto !important; }
.max-w-fit { max-width: fit-content !important; }
.max-w-xs { max-width: 20rem !important; }
.max-w-xl { max-width: 36rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }
.inset-0 { inset: 0 !important; }
.overflow-hidden { overflow: hidden !important; }
.rounded { border-radius: 0.25rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-full { border-radius: 9999px !important; }
.border { border-width: 1px !important; }
.border-b { border-bottom-width: 1px !important; }
.border-t { border-top-width: 1px !important; }
.border-y { border-top-width: 1px !important; border-bottom-width: 1px !important; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important; }

.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-16 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-24 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pt-6 { padding-top: 1.5rem !important; }
.pt-8 { padding-top: 2rem !important; }
.pt-16 { padding-top: 4rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-4 { padding-bottom: 1rem !important; }
.pb-6 { padding-bottom: 1.5rem !important; }
.pb-8 { padding-bottom: 2rem !important; }
.pb-12 { padding-bottom: 3rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-16 { margin-bottom: 4rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-12 { margin-top: 3rem !important; }
.mt-auto { margin-top: auto !important; }
.ml-auto { margin-left: auto !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 0.75rem !important; }

.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
.text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }

.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.tracking-widest { letter-spacing: 0.1em !important; }
.uppercase { text-transform: uppercase !important; }
.italic { font-style: italic !important; }

.text-white { color: #FFFFFF !important; }
.text-slate-100 { color: #F1F5F9 !important; }
.text-slate-200 { color: #E2E8F0 !important; }
.text-slate-300 { color: #CBD5E1 !important; }
.text-slate-400 { color: #94A3B8 !important; }
.text-slate-500 { color: #64748B !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-800 { color: #1E293B !important; }
.text-slate-900 { color: #0F172A !important; }
.text-red-500 { color: #EF4444 !important; }
.text-amber-800 { color: #B45309 !important; }
.text-amber-900 { color: #78350F !important; }

.bg-white { background-color: #FFFFFF !important; }
.bg-slate-50 { background-color: #F8FAFC !important; }
.bg-slate-100 { background-color: #F1F5F9 !important; }
.bg-slate-200 { background-color: #E2E8F0 !important; }
.bg-amber-50 { background-color: #FFFBEB !important; }
.bg-amber-100 { background-color: #FEF3C7 !important; }
.bg-amber-50\/60 { background-color: rgba(254, 243, 199, 0.6) !important; }
.bg-amber-50\/70 { background-color: rgba(254, 243, 199, 0.7) !important; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05) !important; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05) !important; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1) !important; }
.border-slate-100 { border-color: #F1F5F9 !important; }
.border-slate-200 { border-color: #E2E8F0 !important; }
.border-slate-300 { border-color: #CBD5E1 !important; }
.border-amber-200 { border-color: #FDE68A !important; }
.border-amber-300 { border-color: #FCD34D !important; }

/* Form Controls - Crisp White Theme */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  border-radius: 6px !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  background-color: #FFFFFF !important;
  border-color: #2563EB !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

select option {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}

/* Dark Form Controls Support for Signature Blue Sections */
.dark-form-controls input[type="text"],
.dark-form-controls input[type="email"],
.dark-form-controls input[type="tel"],
.dark-form-controls input[type="number"],
.dark-form-controls select,
.dark-form-controls textarea {
  background-color: #071529 !important;
  border: 1px solid #1E3A68 !important;
  color: #FFFFFF !important;
}

/* Real-Time URL / Link Detection Error Styles */
.url-link-error {
  color: #DC2626 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  margin-top: 0.45rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 0.4rem 0.65rem !important;
  background-color: #FEF2F2 !important;
  border: 1px solid #FCA5A5 !important;
  border-radius: 0.375rem !important;
}

.url-link-error.hidden {
  display: none !important;
}

textarea.has-url-error {
  border-color: #EF4444 !important;
  background-color: #FEF2F2 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25) !important;
  color: #7F1D1D !important;
}

button[type="submit"]:disabled,
button[type="submit"].btn-disabled-url {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: grayscale(0.85) !important;
  box-shadow: none !important;
  transform: none !important;
}


/* Hide scrollbar for horizontal swipe sections */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

