/* =========================================================
   SHASHIKANT SHARMA INSURANCE PROFESSIONAL
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (ROOT VARIABLES)
   --------------------------------------------------------- */
:root {
    /* Primary Brand Colors - Updated to New Blue Tone */
    --color-primary: #273992;
    --color-primary-dark: #1e2c70; /* Slightly darker shade for hover states */
    --color-primary-light: #3b52d4; /* Lighter shade */
    --color-primary-xlight: rgba(39, 57, 146, 0.08);

    --color-accent: #fdb614;
    --color-accent-dark: #e5a412;

    /* Neutral Colors - Updated Backgrounds and Text */
    --color-white: #ffffff;
    --color-off-white: #fffff0;
    --color-light-gray: #f2f2e9;
    --color-mid-gray: #bfc8d9;

    /* Text Colors - Updated to New Black */
    --color-text-muted: #666666;
    --color-text-body: #4a4a4a;
    --color-text-heading: #231f20;
    --color-dark: #231f20;

    /* Semantic Colors */
    --color-success: #16a34a;
    --color-border: #e2e2d5;

    /* Typography */
    --font-display: "Playfair Display", Georgia, serif;
    --font-heading: "Outfit", "Segoe UI", sans-serif;
    --font-body: "DM Sans", "Helvetica Neue", sans-serif;

    /* Font Sizes */
    /* --fs-xs: 0.75rem; */
    /* --fs-sm: 0.875rem; */
    /* --fs-base: 1rem; */
    /* --fs-md: 1.125rem; */
    /* --fs-lg: 1.25rem; */
    --fs-xs: 0.85rem;
    --fs-sm: 0.95rem;
    --fs-base: 1.1rem;
    --fs-md: 1.05rem;
    --fs-lg: 1.35rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 1.875rem;
    --fs-3xl: 2.25rem;
    --fs-4xl: 3rem;
    --fs-5xl: 3.75rem;
    --fs-6xl: 4.5rem;

    /* Font Weights */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-black: 900;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:
        0 1px 3px rgba(39, 57, 146, 0.08), 0 1px 2px rgba(39, 57, 146, 0.06);
    --shadow-md:
        0 4px 16px rgba(39, 57, 146, 0.1), 0 2px 6px rgba(39, 57, 146, 0.06);
    --shadow-lg:
        0 10px 40px rgba(39, 57, 146, 0.14), 0 4px 12px rgba(39, 57, 146, 0.08);
    --shadow-xl:
        0 20px 60px rgba(39, 57, 146, 0.18), 0 8px 24px rgba(39, 57, 146, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Layout */
    --container-max: 1200px;
    --container-wide: 1400px;
    --header-height: 80px;
    --section-py: var(--space-24);
}

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

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

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    color: var(--color-text-body);
    background-color: var(--color-off-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ---------------------------------------------------------
   3. TYPOGRAPHY
   --------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--color-text-heading);
    line-height: 1.2;
}

h1 {
    font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
}
h2 {
    font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl));
}
h3 {
    font-size: clamp(var(--fs-xl), 2.5vw, var(--fs-2xl));
}
h4 {
    font-size: var(--fs-xl);
}
h5 {
    font-size: var(--fs-lg);
}
h6 {
    font-size: var(--fs-md);
}

p {
    margin-bottom: var(--space-4);
    line-height: 1.75;
}
p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
}

/* ---------------------------------------------------------
   4. UTILITY CLASSES
   --------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section-py {
    padding: var(--section-py) 0;
}
.section-py-lg {
    padding: var(--space-32) 0;
}

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

.label-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    background: var(--color-primary-xlight);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    border: 1px solid rgba(26, 79, 160, 0.15);
    margin-bottom: var(--space-5);
}

.label-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.section-heading {
    font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl));
    color: var(--color-text-heading);
    margin-bottom: var(--space-5);
    line-height: 1.15;
}

.section-heading span {
    color: var(--color-primary);
    position: relative;
}

.section-subtext {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    max-width: 560px;
    line-height: 1.75;
}

.section-subtext.centered {
    margin: 0 auto;
}

/* ---------------------------------------------------------
   5. BUTTONS
   --------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.02em;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(26, 79, 160, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26, 79, 160, 0.38);
}

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

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

.btn-outline-dark {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    /*  */
    border-width: 2px;
    padding: var(--space-3) var(--space-8);
    border-radius: var(--radius-full);
    display: inline-block;
    text-align: center;
}

.btn-outline-dark:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    /*  */
    box-shadow: 0 4px 12px rgba(39, 57, 146, 0.2);
}

.btn-accent {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(244, 166, 35, 0.3);
}

.btn-accent:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--fs-base);
}

.btn svg,
.btn i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ---------------------------------------------------------
   6. NAVIGATION / HEADER
   --------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-base);
    padding: var(--space-4) 0;
}

.site-header.transparent {
    background: transparent;
}

.site-header.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    padding: var(--space-3) 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.site-logo img {
    height: 64px;
    width: auto;
    transition: all var(--transition-base);
}

.site-header.scrolled .logo-white {
    display: none;
}
.site-header.scrolled .logo-color {
    display: block;
}
.site-header:not(.scrolled) .logo-color {
    display: none;
}
.site-header:not(.scrolled) .logo-white {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-base);
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
    transition: width var(--transition-base);
}

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

.nav-link:hover {
    color: var(--color-white);
}

.site-header.scrolled .nav-link {
    color: var(--color-text-body);
}

.site-header.scrolled .nav-link:hover {
    color: var(--color-primary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.header-phone {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: color var(--transition-base);
}

.header-phone:hover {
    color: var(--color-white);
}

.site-header.scrolled .header-phone {
    color: var(--color-primary);
}

.header-phone svg {
    width: 16px;
    height: 16px;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    cursor: pointer;
}

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

.site-header.scrolled .nav-toggle span {
    background: var(--color-primary);
}

/* =========================================================
   NEW SLIDING MOBILE NAV (RIGHT DRAWER)
   ========================================================= */

.mobile-nav-wrapper {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    display: flex;
    justify-content: flex-end;
}

.mobile-nav-wrapper.open {
    visibility: visible;
}

/* Dark semi-transparent background */
.mobile-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-nav-wrapper.open .mobile-nav-overlay {
    opacity: 1;
}

/* The actual Sliding Drawer */
.mobile-nav-drawer {
    position: relative;
    width: 85%;
    max-width: 340px;
    height: 100%;
    background: var(--color-white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: var(--space-6) var(--space-8);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto;
}

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

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav-logo {
    height: 40px;
    width: auto;
}

.mobile-nav-close {
    background: var(--color-primary-xlight);
    color: var(--color-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.mobile-nav-close:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: rotate(90deg);
}

/* Drawer Links */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: auto;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
    padding: var(--space-3) 0;
    transition: all var(--transition-base);
    text-align: left;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-primary);
    padding-left: var(--space-2);
}

/* Bottom CTA and Phone */
.mobile-nav-bottom {
    margin-top: var(--space-10);
}

.header-phone-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    color: var(--color-text-body);
    font-size: var(--fs-md);
    font-family: var(--font-heading);
    font-weight: var(--fw-semibold);
}

.header-phone-mobile svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

/* ---------------------------------------------------------
   7. HERO SECTION
   --------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--color-primary-dark) 0%,
        var(--color-primary) 50%,
        var(--color-primary-light) 100%
    );
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle at 20% 50%,
            rgba(255, 255, 255, 0.04) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(244, 166, 35, 0.08) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 60% 80%,
            rgba(255, 255, 255, 0.03) 0%,
            transparent 40%
        );
    pointer-events: none;
}

.hero-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-geo::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 55%;
    height: 130%;
    background: rgba(255, 255, 255, 0.03);
    transform: skewX(-12deg);
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-geo::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 45%;
    height: 60%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    transform: rotate(-20deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-16);
    padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
    width: 100%;
}

.hero-text {
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-badge-text {
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-title em {
    font-style: italic;
    color: var(--color-accent);
}

.hero-desc {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: var(--space-10);
    line-height: 1.75;
    max-width: 480px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-black);
    color: var(--color-white);
    line-height: 1;
}

.hero-stat-label {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-1);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-frame img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 50, 112, 0.4) 0%,
        transparent 60%
    );
}

.hero-card-float {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: float 4s ease-in-out infinite;
}

.hero-card-float.card-1 {
    bottom: var(--space-8);
    left: calc(-1 * var(--space-8));
}

.hero-card-float.card-2 {
    top: var(--space-8);
    right: calc(-1 * var(--space-8));
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-xlight);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.hero-card-label {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
}

.hero-card-sub {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* ---------------------------------------------------------
   8. ABOUT SECTION
   --------------------------------------------------------- */
.about-section {
    padding: var(--section-py) 0;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--color-off-white);
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.about-image-main {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-exp-badge {
    position: absolute;
    bottom: var(--space-8);
    right: calc(-1 * var(--space-6));
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-5) var(--space-6);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-exp-number {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: var(--fw-black);
    line-height: 1;
    display: block;
}

.about-exp-text {
    font-size: var(--fs-xs);
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-top: var(--space-1);
}

/* .about-text-area {
} */

.about-points {
    margin-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.about-point {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.about-point:hover {
    background: var(--color-primary-xlight);
    border-color: rgba(26, 79, 160, 0.2);
    transform: translateX(4px);
}

.about-point-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-point-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

.about-point-title {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-1);
}

.about-point-desc {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

.about-cta {
    margin-top: var(--space-8);
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    align-items: center;
}

/* ---------------------------------------------------------
   9. SERVICES SECTION
   --------------------------------------------------------- */
.services-section {
    padding: var(--section-py) 0;
    background: var(--color-off-white);
    position: relative;
    overflow: hidden;
}

.services-section::after {
    content: "";
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(26, 79, 160, 0.05) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.services-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-16);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

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

.service-card-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-xlight);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    transition: all var(--transition-base);
}

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

.service-card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--color-primary);
    transition: color var(--transition-base);
}

.service-card:hover .service-card-icon svg {
    color: var(--color-white);
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-3);
}

.service-card-desc {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

.services-cta-banner {
    background: linear-gradient(
        135deg,
        var(--color-primary-dark),
        var(--color-primary)
    );
    border-radius: var(--radius-2xl);
    padding: var(--space-12) var(--space-16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.services-cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.services-cta-banner::after {
    content: "";
    position: absolute;
    bottom: -60%;
    right: 5%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.services-cta-text {
    position: relative;
    z-index: 1;
}

.services-cta-text h3 {
    font-size: var(--fs-2xl);
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.services-cta-text p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
    margin: 0;
}

.services-cta-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ---------------------------------------------------------
   10. WHY CHOOSE US SECTION
   --------------------------------------------------------- */
.why-section {
    padding: var(--section-py) 0;
    background: var(--color-white);
}

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

/* .why-text-col {
} */

.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    margin-top: var(--space-10);
}

.why-feature {
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.why-feature:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-xlight);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-xlight);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    transition: all var(--transition-base);
}

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

.why-feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    transition: color var(--transition-base);
}

.why-feature:hover .why-feature-icon svg {
    color: var(--color-white);
}

.why-feature-title {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-2);
}

.why-feature-desc {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

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

.why-quote-card {
    background: var(--color-primary-dark);
    border-radius: var(--radius-2xl);
    padding: var(--space-10) var(--space-10);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-6);
}

.why-quote-card::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 160px;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -20px;
    left: var(--space-6);
    line-height: 1;
    pointer-events: none;
}

.why-quote-text {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: var(--color-white);
    line-height: 1.65;
    font-style: italic;
    position: relative;
    z-index: 1;
    margin: 0;
}

.why-quote-author {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-accent);
    margin-top: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    z-index: 1;
}

.why-quote-author::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--color-accent);
    flex-shrink: 0;
}

.credentials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.credential-card {
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.credential-card:hover {
    background: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.credential-badge {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-black);
    color: var(--color-primary);
    display: block;
    margin-bottom: var(--space-1);
}

.credential-title {
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
    display: block;
    margin-bottom: var(--space-2);
}

.credential-desc {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ---------------------------------------------------------
   11. ONTARIO MAP / COVERAGE SECTION
   --------------------------------------------------------- */
.coverage-section {
    padding: var(--section-py) 0;
    background: var(--color-primary-dark);
    position: relative;
    overflow: hidden;
}

.coverage-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 30% 50%,
            rgba(43, 111, 212, 0.3) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse at 80% 30%,
            rgba(244, 166, 35, 0.06) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.coverage-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* .coverage-text {
} */

.coverage-text .label-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

.coverage-text .label-tag::before {
    background: var(--color-accent);
}

.coverage-heading {
    color: var(--color-white);
    margin-bottom: var(--space-5);
}

.coverage-desc {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: var(--space-8);
}

.coverage-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-10);
}

.coverage-point {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-sm);
}

.coverage-point-check {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.coverage-point-check svg {
    width: 12px;
    height: 12px;
    color: var(--color-accent);
}

.coverage-map-col {
    display: flex;
    justify-content: center;
}

.coverage-map-frame {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    backdrop-filter: blur(8px);
}

.coverage-map-frame img {
    width: 100%;
    max-width: 380px;
    filter: brightness(1.1) saturate(0.8);
    opacity: 0.9;
}

/* ---------------------------------------------------------
   12. CONTACT / CTA SECTION
   --------------------------------------------------------- */
.contact-cta-section {
    padding: var(--section-py) 0;
    background: var(--color-white);
}

.contact-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-form-wrap {
    background: var(--color-off-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    border: 1px solid var(--color-border);
}

.contact-form-wrap h3 {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-2);
}

.contact-form-wrap p {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-8);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.form-label {
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--color-text-body);
    background: var(--color-white);
    transition: all var(--transition-base);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 79, 160, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-mid-gray);
}

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

.form-submit-row {
    margin-top: var(--space-2);
}

.form-submit-row .btn {
    width: 100%;
}

/* .contact-info-col {
} */

.contact-info-col .section-heading {
    margin-bottom: var(--space-5);
}

.contact-info-col .section-subtext {
    margin-bottom: var(--space-10);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.contact-card:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-xlight);
    transform: translateX(4px);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

.contact-card-label {
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-1);
}

.contact-card-value {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
    margin: 0;
}

.contact-card-value a {
    color: var(--color-primary);
    transition: color var(--transition-base);
}

.contact-card-value a:hover {
    color: var(--color-primary-dark);
}

/* ---------------------------------------------------------
   13. FOOTER
   --------------------------------------------------------- */
.site-footer {
    background: var(--color-dark);
    padding: var(--space-16) 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--color-primary),
        var(--color-accent),
        var(--color-primary)
    );
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* .footer-brand {
} */

.footer-logo {
    margin-bottom: var(--space-5);
}

.footer-logo img {
    /* height: 50px; */
    height: 64px;
    width: auto;
}

.footer-about {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-base);
    font-size: var(--fs-sm);
}

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

.footer-col-title {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-5);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-link::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--color-primary-light);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.footer-link:hover {
    color: var(--color-white);
    padding-left: var(--space-2);
}

.footer-link:hover::before {
    opacity: 1;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    background: rgba(26, 79, 160, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-icon svg {
    width: 14px;
    height: 14px;
    color: var(--color-primary-light);
}

.footer-contact-text {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
    margin: 0;
}

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

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

.footer-bottom {
    padding: var(--space-6) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copy {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal-links {
    display: flex;
    gap: var(--space-5);
}

.footer-legal-links a {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.35);
    transition: color var(--transition-base);
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------------------
   14. KEYFRAME ANIMATIONS
   --------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* Scroll-triggered reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ---------------------------------------------------------
   15. RESPONSIVE — TABLET (≤1024px)
   --------------------------------------------------------- */
@media (max-width: 1024px) {
    :root {
        --section-py: var(--space-20);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        padding-top: calc(var(--header-height) + var(--space-10));
    }
    .hero-visual {
        display: none;
    }
    .hero-text {
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-badge {
        margin: 0 auto var(--space-6);
    }
    .hero-desc {
        margin: 0 auto var(--space-10);
    }

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

    .about-inner {
        grid-template-columns: 1fr;
    }
    .about-image-area {
        display: none;
    }

    .why-inner {
        grid-template-columns: 1fr;
    }
    .why-visual-col {
        order: -1;
    }

    .coverage-inner {
        grid-template-columns: 1fr;
    }
    .coverage-map-col {
        order: -1;
    }

    .contact-cta-inner {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ---------------------------------------------------------
   16. RESPONSIVE — MOBILE (≤768px)
   --------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --section-py: var(--space-16);
        --header-height: 64px;
    }

    .container {
        padding: 0 var(--space-5);
    }

    .main-nav {
        display: none;
    }
    .header-phone {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .site-header .btn {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    .why-features {
        grid-template-columns: 1fr;
    }
    .credentials-row {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }

    .services-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--space-8);
    }
    .services-cta-actions {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-legal-links {
        justify-content: center;
    }

    .hero-card-float {
        display: none;
    }

    .about-exp-badge {
        right: 0;
        bottom: var(--space-5);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-5);
    }
    .about-cta {
        flex-direction: column;
    }
}
/* =========================================================
   17. INNER PAGES & HERO STYLES
   ========================================================= */

.page-hero {
    position: relative;
    padding: calc(var(--header-height) + var(--space-20)) 0 var(--space-20);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-services {
    /* Insurance related background image */
    background-image:
        linear-gradient(
            135deg,
            rgba(15, 50, 112, 0.9) 0%,
            rgba(26, 79, 160, 0.8) 100%
        ),
        url("../images/hero-couple.jpg");
}

.hero-about {
    /* Office/Professional background image */
    background-image:
        linear-gradient(
            135deg,
            rgba(15, 50, 112, 0.9) 0%,
            rgba(26, 79, 160, 0.8) 100%
        ),
        url("../images/about-insurance.webp");
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
    color: var(--color-white);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

/* Gradient Text inside Hero */
.page-hero-title span {
    background: linear-gradient(to right, var(--color-accent), #ffd166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.page-hero-desc {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Layout Utilities */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.gap-sm {
    gap: var(--space-4);
}
.gap-md {
    gap: var(--space-6);
}
.gap-lg {
    gap: var(--space-10);
}
.gap-xl {
    gap: var(--space-16);
}
.align-center {
    align-items: center;
}
.bg-white {
    background-color: var(--color-white);
}
.bg-off-white {
    background-color: var(--color-off-white);
}
.bg-primary-dark {
    background-color: var(--color-primary-dark);
}
.text-white {
    color: var(--color-white);
}
.text-primary-dark {
    color: var(--color-primary-dark);
}
.text-body {
    color: var(--color-text-body);
}
.border-top {
    border-top: 1px solid var(--color-border);
}
.mb-md {
    margin-bottom: var(--space-6);
}
.mb-lg {
    margin-bottom: var(--space-8);
}
.mb-xl {
    margin-bottom: var(--space-12);
}
.mt-sm {
    margin-top: var(--space-4);
}
.mt-md {
    margin-top: var(--space-6);
}
.mt-lg {
    margin-top: var(--space-10);
}
.opacity-80 {
    opacity: 0.8;
}
.w-full {
    width: 100%;
}

/* Image Wrappers */
.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* Modern Services Grid */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.service-modern-card {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.smc-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-xlight);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.smc-icon svg {
    width: 24px;
    height: 24px;
}
.smc-title {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-3);
    color: var(--color-text-heading);
}
.smc-desc {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    flex-grow: 1;
}
.smc-link {
    margin-top: var(--space-4);
    color: var(--color-primary);
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
}
.smc-link:hover {
    color: var(--color-accent);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-6);
}

.step-card {
    background: var(--color-off-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    border: 1px solid var(--color-border);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    box-shadow: 0 0 0 6px var(--color-primary-xlight);
}

.step-card h4 {
    margin-bottom: var(--space-3);
    color: var(--color-text-heading);
}
.step-card p {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    margin: 0;
}

/* Benefits List */
.benefit-list {
    list-style: none;
    padding: 0;
}
.benefit-list li {
    position: relative;
    padding-left: var(--space-8);
    margin-bottom: var(--space-4);
    font-size: var(--fs-md);
}
.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: var(--fs-xl);
    line-height: 1;
}

/* CTA Box */
.cta-box-light {
    background: var(--color-white);
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    text-align: center;
}

/* Credential List */
.credential-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}
.cred-item {
    display: flex;
    gap: var(--space-5);
    align-items: flex-start;
}
.cred-icon {
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    min-width: 80px;
    text-align: center;
}
.cred-text h4 {
    margin-bottom: var(--space-1);
    color: var(--color-text-heading);
}
.cred-text p {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    margin: 0;
}

/* Areas Grid */
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}
.area-tag {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
    transition: all var(--transition-base);
}
.area-tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.bg-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

@media (max-width: 1024px) {
    .grid-2-cols {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   18. NEW UI COMPONENTS & OVERRIDES
   ========================================================= */

.hero-bg-image {
    background-image:
        linear-gradient(
            135deg,
            /* rgba(15, 50, 112, 0.9) 0%, */ rgba(51, 79, 126, 0.9) 0%,
            rgba(23, 90, 190, 0.8) 100%
        ),
        url("../images/hero-couple.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-bg-image .hero-geo,
.hero-bg-image .hero-visual {
    display: none;
}
.container-hero-center {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.hero-content-centered {
    padding: calc(var(--header-height) + var(--space-20)) 0 var(--space-20);
}
.hero-title-large {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-6);
}
.hero-title-large em {
    font-style: italic;
    color: var(--color-accent);
}
.hero-desc-centered {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto var(--space-10);
    max-width: 700px;
    line-height: 1.6;
}
.hero-actions-centered {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}
.hero-stats-centered {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
}

/* Common Hero Backgrounds */
.hero-contact {
    background-image:
        linear-gradient(
            135deg,
            rgba(15, 50, 112, 0.9) 0%,
            rgba(26, 79, 160, 0.8) 100%
        ),
        url("../images/hero-couple.jpg");
}
.hero-privacy {
    background-image:
        linear-gradient(
            135deg,
            rgba(15, 50, 112, 0.9) 0%,
            rgba(26, 79, 160, 0.8) 100%
        ),
        url("../images/about-insurance.webp");
}

/* About Page Specifics */
.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}
.feature-card-clean {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}
.feature-card-clean:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}
.fcc-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary-xlight);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}
.fcc-icon svg {
    width: 24px;
    height: 24px;
}
.feature-card-clean h3 {
    margin-bottom: var(--space-2);
    font-size: var(--fs-lg);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 4px solid var(--color-white);
}

.services-pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}
.service-pill {
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
}
.service-pill:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.cta-mini-box {
    background: var(--color-white);
    border: 1px solid var(--color-border);

    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
    margin-top: var(--space-10);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.cta-mini-box h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    font-size: var(--fs-xl);
}

.cta-mini-box p {
    color: var(--color-text-body);
    margin-bottom: var(--space-5);
}

.cta-mini-box .btn-primary {
    display: inline-flex;
    width: auto;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.cta-mini-box .btn-primary:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

/* Contact & Forms Improvements */
.premium-shadow {
    box-shadow: var(--shadow-xl);
    background: var(--color-white);
    border: none;
}
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: var(--space-6);
}
.form-success-msg {
    background: var(--color-success);
    color: var(--color-white);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
    font-weight: var(--fw-medium);
}

/* Privacy & Prose Typography */
.prose-content {
    background: var(--color-white);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.prose-content h2 {
    color: var(--color-primary-dark);
    font-size: var(--fs-xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    border-bottom: 2px solid var(--color-primary-xlight);
    padding-bottom: var(--space-2);
}
.prose-content h2:first-child {
    margin-top: 0;
}
.prose-content p {
    font-size: var(--fs-md);
    line-height: 1.8;
    color: var(--color-text-body);
}
.prose-content ul {
    padding-left: var(--space-6);
    margin-bottom: var(--space-6);
    list-style-type: disc;
}
.prose-content li {
    margin-bottom: var(--space-2);
    line-height: 1.7;
}
.contact-box-inline {
    background: var(--color-off-white);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
}
.date-updated {
    margin-top: var(--space-8);
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    text-align: right;
}

/* Utility layout tweaks */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.mt-12 {
    margin-top: var(--space-12);
}
.area-tag.bg-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.area-tag.bg-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

/* =========================================================
   19. BLOG MODULE STYLES
   ========================================================= */

/* Blog Hero Background */
.hero-blog {
    background-image: linear-gradient(
        135deg,
        rgba(39, 57, 146, 0.95) 0%,
        rgba(26, 79, 160, 0.9) 100%
    );
}

/* Blog Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

/* Blog Card Design */
.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.blog-card-image-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--color-primary-dark),
        var(--color-primary-light)
    );
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image-placeholder {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.blog-card-content {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.blog-date svg {
    width: 16px;
    height: 16px;
}

.blog-card-title {
    font-size: var(--fs-xl);
    line-height: 1.3;
    margin-bottom: var(--space-3);
}

.blog-card-title a {
    color: var(--color-text-heading);
}

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

.blog-card-excerpt {
    color: var(--color-text-body);
    font-size: var(--fs-md);
    flex-grow: 1;
    margin-bottom: var(--space-5);
}

.blog-read-more {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--color-primary);
    font-size: var(--fs-sm);
    display: inline-flex;
    align-items: center;
}

.blog-read-more:hover {
    color: var(--color-accent);
}

/* Single Blog Page Styles */
.single-blog-hero {
    padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-12);
    background: var(--color-off-white);
}

.single-blog-title {
    font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
    color: var(--color-primary-dark);
    margin: var(--space-6) 0;
}

.single-blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    color: var(--color-text-muted);
    font-weight: var(--fw-medium);
}

.meta-divider {
    color: var(--color-mid-gray);
}

.article-prose {
    padding: var(--space-12) var(--space-10);
    border-top: 5px solid var(--color-primary);
}

.article-prose .lead-text {
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
    color: var(--color-text-heading);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-6);
    margin-bottom: var(--space-8);
}

.article-prose blockquote {
    background: var(--color-primary-xlight);
    border-left: 4px solid var(--color-accent);
    padding: var(--space-6) var(--space-8);
    margin: var(--space-8) 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: var(--fs-lg);
    font-style: italic;
    color: var(--color-primary-dark);
}

.article-prose blockquote p {
    margin: 0;
}

/* Article Footer CTA */
.article-footer-cta {
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.article-footer-cta .flex-row {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.article-footer-cta h3 {
    color: var(--color-text-heading);
    margin-bottom: var(--space-1);
    font-size: var(--fs-xl);
}

.article-footer-cta p {
    margin: 0;
    color: var(--color-text-muted);
}

.af-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.af-icon svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .article-footer-cta {
        flex-direction: column;
        text-align: center;
    }
    .article-footer-cta .flex-row {
        flex-direction: column;
    }
    .article-prose {
        padding: var(--space-8) var(--space-6);
    }
}

/* Positioning Utilities */
.position-relative {
    position: relative;
}

.hero-img-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(39, 57, 146, 0.95) 0%,
        rgba(26, 79, 160, 0.85) 100%
    );
}

.single-blog-hero {
    position: relative;
    overflow: hidden;
    background: transparent !important;
    padding: calc(var(--header-height) + var(--space-20)) 0 var(--space-20);
}

.single-blog-hero .single-blog-title {
    color: var(--color-white);
}

.single-blog-hero .single-blog-meta {
    color: rgba(255, 255, 255, 0.85);
}

.single-blog-hero .meta-divider {
    color: rgba(255, 255, 255, 0.4);
}

.single-blog-hero .label-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.single-blog-hero .label-tag::before {
    background: var(--color-accent);
}

.hero-blog {
    background-image: none !important;
}

.blog-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.blog-card:hover .blog-card-image-wrap img {
    transform: scale(1.05);
}

.blog-image-placeholder {
    display: none !important;
}
/* =========================================================
   20. BLOG LAYOUT WITH SIDEBAR
   ========================================================= */

.blog-layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--space-12);
    align-items: start;
}

.blog-layout-with-sidebar .article-prose {
    padding: var(--space-10) var(--space-8);
}

/* Sidebar Container */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.sidebar-widget {
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: var(--fs-lg);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--color-primary-xlight);
}

.widget-category-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
}

.widget-category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-body);
    font-size: var(--fs-md);
    padding: var(--space-2) 0;
    transition: all var(--transition-fast);
    border-bottom: 1px dashed var(--color-border);
}

.widget-category-list li a:hover {
    color: var(--color-primary);
    padding-left: var(--space-2);
    border-color: var(--color-primary-light);
}

.widget-category-list li a span {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    background: var(--color-white);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
}

.widget-recent-posts {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.recent-post-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    transition: transform var(--transition-base);
}

.recent-post-item:hover {
    transform: translateX(4px);
}

.rp-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.rp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rp-text h4 {
    font-size: var(--fs-sm);
    margin-bottom: var(--space-1);
    color: var(--color-text-heading);
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.recent-post-item:hover .rp-text h4 {
    color: var(--color-primary);
}

.rp-date {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

.widget-sticky-cta {
    background: linear-gradient(
        135deg,
        var(--color-primary-dark),
        var(--color-primary)
    );
    color: var(--color-white);
    position: sticky;
    top: calc(
        var(--header-height) + var(--space-6)
    ); /* Makes it stick when scrolling */
    border: none;
    box-shadow: var(--shadow-lg);
}

.widget-sticky-cta h3 {
    color: var(--color-white);
    font-size: var(--fs-xl);
    margin-bottom: var(--space-3);
    border: none;
    padding: 0;
}

.widget-sticky-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-sm);
}

.widget-sticky-cta .cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.widget-sticky-cta .cta-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-accent);
}

/* Responsive Design */
@media (max-width: 992px) {
    .blog-layout-with-sidebar {
        grid-template-columns: 1fr;
    }

    .widget-sticky-cta {
        position: relative;
        top: 0;
    }
}
/* =========================================================
   21. PREMIUM SERVICE CARDS & MAP FORMATTING
   ========================================================= */

.premium-service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8) var(--space-6);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.premium-service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        var(--color-primary-xlight) 0%,
        transparent 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary-light);
}

.premium-service-card:hover::after {
    opacity: 1;
}

.psc-icon {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    box-shadow: 0 4px 15px rgba(39, 57, 146, 0.1);
    transition: all 0.3s ease;
}

.premium-service-card:hover .psc-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

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

.psc-title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-3);
    color: var(--color-text-heading);
}

.psc-desc {
    color: var(--color-text-body);
    font-size: var(--fs-md);
    flex-grow: 1;
    line-height: 1.6;
}

.psc-link {
    margin-top: var(--space-5);
    color: var(--color-primary);
    font-weight: var(--fw-bold);
    font-size: var(--fs-md);
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.psc-link:hover {
    color: var(--color-accent);
}

.map-image-wrapper {
    position: relative;
}
.map-image-wrapper::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    background: var(--color-primary-xlight);
    border-radius: var(--radius-xl);
    z-index: -1;
}
.drop-shadow-2xl {
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}
.max-w-md {
    max-width: 450px;
}
/* =========================================================
   22. MOBILE HORIZONTAL SCROLL FIXES
   ========================================================= */

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.btn {
    white-space: normal;
    text-align: center;
}

.hero-actions-centered,
.hero-stats-centered {
    flex-wrap: wrap;
}

.contact-card-value,
.contact-card-value a {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Mobile Specific Adjustments */
@media (max-width: 480px) {
    /* Home Page Hero fixes */
    .hero-actions-centered {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions-centered .btn {
        width: 100%;
    }
    .hero-stats-centered {
        gap: var(--space-5);
        flex-direction: column;
        align-items: center;
    }
    .hero-title-large {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }
    .services-modern-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   23. FLOATING WHATSAPP BUTTON
   ========================================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: all 0.3s ease;
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    .floating-whatsapp svg {
        width: 28px;
        height: 28px;
    }
}
/* =========================================================
   24. BACK TO TOP BUTTON
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(253, 182, 20, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}
