/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Use This File To Add Site Specific Styles and Override Theme and Plugin Defaults CSS
 * Don't Edit the original CSS files
*/

:root {
    /* Brand Colors */
    --blue: #366293;
    --blue-dark: #2a4d73;
    --blue-light: #4a7ab0;
    --orange: #e35e2e;
    --orange-dark: #c94d1f;
    --orange-light: #f07a4a;
    --gray: #959599;
    --gray-light: #b8b8bc;
    --gray-dark: #6b6b6f;

    /* Neutrals */
    --navy: #1a2d45;
    --cream: #f9f7f4;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f4f5f7;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-800: #1f2937;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Heading Sizes (responsive via clamp) */
    --h1-size: clamp(36px, 4vw, 50px);
    --h2-size: clamp(28px, 3.5vw, 32px);
    --h3-size: clamp(22px, 3vw, 28px);
    --h4-size: clamp(18px, 2.5vw, 24px);
    --h5-size: clamp(16px, 2vw, 20px);
    --h6-size: clamp(14px, 1.5vw, 18px);

    /* Home-specific heading sizes (only where different) */
    --h1-home-size: clamp(34px, 4vw, 50px);
    --h2-home-size: clamp(28px, 3.5vw, 42px);
    --h3-home-size: clamp(22px, 3vw, 32px);

    --section-padding: clamp(40px, 8vw, 100px);
    --card-padding: clamp(20px, 4vw, 40px);
    --card-border-radius: 20px;

    /* Repeated shadow values — used on cards, CTA, contact form */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Repeated hover shadow on orange buttons */
    --shadow-orange: 0 8px 16px rgba(227, 94, 46, 0.35);

    /* Repeated translucent white values (used across dark backgrounds) */
    --white-60: rgba(255, 255, 255, 0.6);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-80: rgba(255, 255, 255, 0.8);

    /* Transition — used everywhere as 0.2s or 0.3s ease */
    --transition: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* Container max-width — repeated as 1300px and 1340px */
    --container-max: 1340px;
    --container-footer-max: 1300px;

    /* Hover lift — used on nearly every card */
    --hover-lift: translateY(-4px);
}

/*!  RESET & BASE ===== */

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

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--orange);
}

a:hover {
    color: var(--orange-light);
}

/*! ===== TYPOGRAPHY ===== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1.6rem;
    color: var(--navy);
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

h4 {
    font-size: var(--h4-size);
}

h5 {
    font-size: var(--h5-size);
}

h6 {
    font-size: var(--h6-size);
}

/* Home page hero sizing (only h1-h3 differ) */
.home h1 {
    font-size: var(--h1-home-size);
}

.home h2 {
    font-size: var(--h2-home-size);
}

.home h3 {
    font-size: var(--h3-home-size);
}

p {
    margin-bottom: 1.6rem;
}

ul,
ol {
    padding-left: 60px;
    margin-bottom: 1.6rem;
}

/*! Light text on dark backgrounds */
.rw-dark-bg h1,
.rw-dark-bg h2,
.rw-dark-bg h3,
.rw-dark-bg h4,
.rw-dark-bg h5,
.rw-dark-bg h6,
.rw-dark-bg p,
.rw-dark-bg li,
.light h1,
.light h2,
.light h3,
.light h4,
.light h5,
.light h6,
.light p,
.light li {
    color: var(--white);
}

.rw-dark-bg .gfield_checkbox label {
    color: var(--white);
}

/*! BUTTONS ===== */

.btn,
.gform_wrapper.gravity-theme .gform_footer button,
.gform_wrapper.gravity-theme .gform_footer input,
.gform_wrapper.gravity-theme .gform_page_footer button,
.gform_wrapper.gravity-theme .gform_page_footer input {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px !important;
    font-family: var(--font-body) !important;
    font-size: 15px;
    font-weight: 600 !important;
    text-decoration: none;
    border-radius: 30px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.gform_wrapper.gravity-theme .gform_footer button,
.gform_wrapper.gravity-theme .gform_footer input,
.gform_wrapper.gravity-theme .gform_page_footer button,
.gform_wrapper.gravity-theme .gform_page_footer input {
    background: var(--orange);
    color: var(--white);
}

.gform_wrapper.gravity-theme .gform_footer button:hover,
.gform_wrapper.gravity-theme .gform_footer input:hover,
.gform_wrapper.gravity-theme .gform_page_footer button:hover,
.gform_wrapper.gravity-theme .gform_page_footer input:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.btn-primary {
    background: var(--orange);
    color: var(--white) !important;
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

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

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

.btn-dark {
    background: var(--blue);
    color: var(--white);
}

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

/*! LAYOUT ===== */

.rw-remove-col-padding {
    margin-left: -15px;
    margin-right: -15px;
}

.container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

/*! STICKY SIDEBAR ===== */

@media (min-width: 768px) {
    .sticky {
        position: sticky;
        top: 0;
    }

    .page-sidebar.sticky {
        top: 140px;
    }

    .shiftnav-wrap {
        overflow: visible !important;
    }
}

/* !General Layout ---------------------------------------*/

.fl-row-content-wrap {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.fl-page {
    padding-top: 140px !important;
}

@media (min-width: 601px) {
    .admin-bar .fl-page {
        top: 0;
    }
}

@media (min-width: 768px) {
    .fl-page {
        padding-top: 170px !important;
    }
}

@media (min-width: 769px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 992px) {
    .fl-row-fixed-width {
        max-width: var(--container-max) !important;
    }

    .fl-page {
        padding-top: 188px !important;
    }

}

@media (min-width: 1100px) {
    .fl-full-width .container {
        max-width: 100%;
    }

    .fl-full-width .fl-page-header .container {
        width: 100%;
        max-width: 100%;
    }

}

@media (max-width: 768px) {
    .fl-col-small:not(.fl-col-small-full-width) {
        max-width: 100%;
    }
}

/*! HOME HERO ===== */

.rw-home-hero .fl-row-content-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding: clamp(40px, 8vw, 100px) 20px 12.5vw !important;
}

.rw-home-hero .fl-col-content {
    display: flex;
    width: 100%;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    margin: 0 20px;
}

/*! Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(227, 94, 46, 0.15);
    border: 1px solid rgba(227, 94, 46, 0.3);
    border-radius: 100px;
    color: var(--orange-light);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: rwpulse 2s ease-in-out infinite;
}

@keyframes rwpulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/*! Heading & Copy */
.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(32px, 5.5vw, 60px);
    font-weight: 800;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-heading .highlight {
    color: var(--orange);
}

.hero-content p {
    font-size: clamp(15px, 5.5vw, 19px);
    line-height: clamp(1.5em, 5.5vw, 1.8em);
    color: var(--white-70);
    margin-bottom: 40px;
    max-width: 580px;
}

/*! CTAs */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/*! ===== STATS =====
   Base: .rw-stats
   Modifiers:
     .rw-stats--compact    → tighter gap/spacing (hero usage)
     .rw-stats--center     → centered text (default is left)
   Context:
     .light .rw-stats      → white text on dark backgrounds
============================================================ */

.rw-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 40px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.rw-stats--compact {
    gap: 10px;
    margin-top: 40px;
    padding-top: 24px;
}

/* Dark background context */
.light .rw-stats,
.rw-stats--dark {
    border-top-color: rgba(255, 255, 255, 0.12);
}

/* Stat Items */
.stat-item {
    text-align: left;
}

.rw-stats--center .stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(42px, 5.5vw, 52px);
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number span {
    color: var(--orange);
}

.stat-label {
    font-size: 15px;
    color: var(--gray-600);
}

/* Light/dark text overrides */
.light .stat-number,
.rw-stats--dark .stat-number {
    color: var(--white);
}

.light .stat-label,
.rw-stats--dark .stat-label {
    color: var(--white);
    opacity: var(--white-60);
}


/*! ROW DIVIDERS ===== */

.fl-builder-shape-layer svg {
    height: clamp(20px, 4vw, 60px) !important;
}

.fl-builder-top-edge-layer svg {
    top: -1px !important;
}

.fl-builder-bottom-edge-layer svg {
    bottom: -1px !important;
}

/*! INTRO ===== */

.intro-content h2 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 24px;
}

.intro-content h2 span {
    color: var(--blue);
}

.intro-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* Feature List */
.intro-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--gray-100);
    border-radius: 8px;
    border-left: 3px solid var(--orange);
}

.intro-feature svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: var(--orange);
    stroke-width: 2.5;
    fill: none;
}

.intro-feature span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

/* Visual Card */
.intro-visual {
    position: relative;
}

.intro-card {
    background: var(--navy);
    border-radius: 20px;
    padding: var(--card-padding);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(227, 94, 46, 0.15), transparent 70%);
    pointer-events: none;
}

.intro-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.intro-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
    width: calc(100% - 70px);
}

.intro-card h3 span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* Modality Grid */
.modality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    position: relative;
}

.modality-badge {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.25s;
}

.modality-badge:hover {
    background: rgba(227, 94, 46, 0.15);
    border-color: var(--orange);
    color: var(--orange-light);
    transform: translateY(-2px);
}

@media (min-width: 600px) {
    .intro-features {
        grid-template-columns: repeat(2, 1fr);
    }

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

/*! ===== SERVICES ===== */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.home-services .section-header h2 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.home-services .section-header p {
    color: var(--gray-600);
}

/* Services Grid */
.home-services .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Service Card */
.home-services .service-card {
    background: var(--white);
    border-radius: 16px;
    padding: var(--card-padding);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.home-services .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.home-services .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(26, 45, 69, 0.12);
    background: linear-gradient(145deg, var(--blue), var(--blue-dark));
    border-color: transparent;
    text-decoration: none;
}

.home-services .service-card:hover::before {
    opacity: 1;
}

/* Service Icon */
.home-services .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(54, 98, 147, 0.1), rgba(54, 98, 147, 0.05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition-slow);
}

.home-services .service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
}

.home-services .service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--blue);
    stroke-width: 1.5;
    fill: none;
    transition: all 0.1s ease;
}

.home-services .service-card:hover .service-icon svg {
    stroke: var(--white);
}

/* Service Card Text */
.home-services .service-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    transition: color 0.1s ease;
}

.home-services .service-card:hover h3 {
    color: var(--white);
}

.home-services .service-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    transition: color 0.1s ease;
}

.home-services .service-card:hover p {
    color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 600px) {
    .home-services .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .home-services .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/*! ===== WHY NMS ===== */

.why-nms {
    background: var(--navy);
    position: relative;
}

.why-nms .section-header h2 {
    color: var(--white);
}

.why-nms .section-header p {
    color: var(--white-60);
}

/* Why Grid */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.why-item {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s;
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
}

.why-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(227, 94, 46, 0.15), rgba(227, 94, 46, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--orange);
    stroke-width: 1.5;
    fill: none;
}

.why-item h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.why-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.why-nms .divider-bottom svg .shape-fill {
    fill: var(--cream);
}

@media (min-width: 600px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========== TESTIMONIALS ========== */

.testimonials {
    position: relative;
}

.testimonials .section-header h2 {
    color: var(--navy);
}

.testimonials .section-header p {
    color: var(--gray-600);
}

/* ===== CTA ===== */

.cta-box {
    background: linear-gradient(145deg, var(--blue-dark), var(--blue));
    border-radius: 24px;
    padding: clamp(25px, 6vw, 80px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227, 94, 46, 0.2), transparent 70%);
    pointer-events: none;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    color: var(--white-80);
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}

.cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    flex-direction: column;
}

.cta-phone a {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.cta-phone a:hover {
    color: var(--orange-light);
}

/* CTA Button Variants */
.btn-white {
    background: var(--white);
    color: var(--blue);
}

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

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

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

/*! GLOBAL CONTACT FORM ========== */

.rw-general-contact-row .section-header h2 {
    color: var(--white);
}

/*! Partners Logo Row ========== */

.rw-logo-row {
    position: relative;
}

.rw-logo-row .section-header h2 {
    color: var(--navy);
}

/*! ============================================================
   CARDS & GRIDS — Consolidated
   ============================================================ */

/* ===== CARD BASE =====
   Apply .rw-card as the base, then add modifiers:
   .rw-card--shadow    → white bg + shadow (default card on white/cream pages)
   .rw-card--bordered  → white bg + border only (lighter feel)
   .rw-card--accent    → gray bg + orange left border
   .rw-card--blue      → blue gradient bg + white text
   .rw-card--glass     → translucent white on dark backgrounds
============================================================ */

.rw-card {
    border-radius: var(--card-border-radius);
    padding: var(--card-padding);
    transition: all var(--transition-slow);
}

.rw-card--shadow {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.rw-card--bordered {
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.rw-card--accent {
    background: var(--gray-100);
    border-left: 4px solid var(--orange);
}

.rw-card--blue {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
}

.rw-card--blue h3,
.rw-card--blue h4 {
    color: var(--white);
    margin-bottom: 16px;
}

.rw-card--blue p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.rw-card--glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rw-card--glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

/* Card headings (shared) */
.rw-card h4 {
    color: var(--navy);
    margin-bottom: 20px;
}


/* ===== DOT LIST =====
   Replaces: .rw-card-on-white-list, .rw-white-card-list, .capabilities-list
   Use: <ul class="rw-dot-list"> or add .rw-dot-list--2col for two columns
============================================================ */

ul.rw-dot-list,
ol.rw-dot-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px 24px;
    padding-left: 5px;
    margin-bottom: 0;
}

.rw-dot-list li {
    font-size: 15px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rw-dot-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    flex-shrink: 0;
}

.rw-dot-list--2col {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
    .rw-dot-list--2col {
        grid-template-columns: 1fr;
    }
}


/*! ===== PILL LIST =====
   Gray pill-style list items (used in white-card-bullets-gray-pill)
   Use: <ul class="rw-pill-list">
============================================================ */

ul.rw-pill-list {
    list-style: none;
    display: grid;
    padding-left: 0;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rw-pill-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    padding: 10px 14px;
    background: var(--gray-100);
    border-radius: 8px;
    transition: all 0.2s;
}

.rw-pill-list li:hover {
    background: rgba(54, 98, 147, 0.08);
    color: var(--blue);
}

.rw-pill-list .cap-icon {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    ul.rw-pill-list {
        grid-template-columns: 1fr;
    }
}


/* ===== CHECK LIST =====
   Vertical list with orange circle check icons
   Use: <ul class="rw-check-list"> with <span class="check-icon"><svg>...</svg></span>
============================================================ */

ul.rw-check-list,
ol.rw-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 5px;
    margin-bottom: 0;
}

.rw-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.5;
}

.rw-check-list .check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.rw-check-list .check-icon svg {
    width: 13px;
    height: 13px;
    stroke: var(--white);
    stroke-width: 3;
    fill: none;
    color: var(--white);
}

/* Check list on blue card — white text, orange-light icons */
.rw-card--blue .rw-check-list li {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 15px;
}

.rw-card--blue .rw-check-list li:last-child {
    margin-bottom: 0;
}

.rw-card--blue .rw-check-list li svg {
    width: 20px;
    height: 20px;
    min-width: 24px;
    min-height: 24px;
    color: var(--orange-light);
    margin-top: 2px;
}

/* ===== CARD ICON =====
   Shared icon container for grid cards
   Modifiers: --blue (default), --orange, --blue-solid
============================================================ */

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
    fill: none;
}

.card-icon--blue {
    background: linear-gradient(135deg, rgba(54, 98, 147, 0.1), rgba(54, 98, 147, 0.05));
}

.card-icon--blue svg {
    stroke: var(--blue);
    color: var(--blue);
}

.card-icon--blue-solid {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.card-icon--blue-solid svg {
    color: var(--white);
}

.card-icon--orange {
    background: var(--orange);
}

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

/* Larger icon variant (for icon-cards-grid) */
.card-icon--lg {
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

.card-icon--lg svg {
    width: 30px;
    height: 30px;
}

/* Centered icon (for centered card layouts) */
.card-icon--center {
    margin: 0 auto 20px;
}


/*! ===== GRIDS =====
   Base grid + column modifiers
   Use: <div class="rw-grid rw-grid--3col">
============================================================ */

.rw-grid {
    display: grid;
    gap: 24px;
    position: relative;
    z-index: 1;
}

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

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

.rw-grid--4col {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
    .rw-grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 899px) {
    .rw-grid--3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .rw-grid--2col,
    .rw-grid--3col,
    .rw-grid--4col {
        grid-template-columns: 1fr;
    }
}

/*! Grid card text (shared across all grid cards) */
.rw-grid .rw-card h3,
.rw-grid .rw-card h4 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 10px;
}

.rw-grid .rw-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    opacity: 0.7;
}

.rw-grid .rw-card ul {
    text-align: left;
    padding-left: 30px;
}

.rw-grid .rw-card li {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    opacity: 0.7;
}

.rw-dark-bg .rw-grid .rw-card h3,
.rw-dark-bg .rw-grid .rw-card h4,
.rw-dark-bg .rw-grid .rw-card p,
.rw-dark-bg .rw-grid .rw-card li {
    color: var(--white);
}

/* Hover lift for grid cards */
.rw-grid .rw-card--bordered:hover,
.rw-grid .rw-card--shadow:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

/* Glass card headings on dark bg */
.rw-grid .rw-card--glass h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.rw-grid .rw-card--glass p {
    font-size: 15px;
    opacity: 0.7;
    margin-bottom: 16px;
}

/* Cream bg grid card overrides */
.cream-background .rw-grid .rw-card--shadow:hover {
    background: var(--white);
}


/*! ===== TAGS =====
   Tag/badge pills inside cards
============================================================ */

.rw-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rw-tag {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.rw-tag--light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.rw-tag--muted {
    background: var(--cream);
    color: var(--gray-600);
    padding: 6px 12px;
    font-size: 13px;
}


/*! ===== BADGES ===== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
}

.badge svg {
    width: 16px;
    height: 16px;
}

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

.badge--navy {
    background: var(--navy);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/*! ===== EYEBROW ===== */

.eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--orange) !important;
    margin-bottom: 12px;
}


/*! ===== PLATFORM FEATURES ===== */

.platform-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.platform-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--gray-100);
    border-radius: 8px;
}

.platform-feature svg {
    width: 20px;
    height: 20px;
    color: var(--orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.platform-feature span {
    font-size: 15px;
    color: var(--gray-800);
}

@media (max-width: 600px) {
    .platform-features {
        grid-template-columns: 1fr;
    }
}


/*! ===== BACKGROUND HELPERS ===== */

.blue-background-gradient {
    background: linear-gradient(135deg, var(--navy), var(--blue-dark));
}

.cream-background {
    background: var(--cream);
}


/*! ===== GLOBAL SECTION ===== */

.global-section {
    background: var(--white);
    text-align: center;
}

.global-section .container {
    max-width: 800px;
}

.global-section h2 {
    color: var(--navy);
}

.global-section p {
    color: var(--gray-600);
    font-size: 18px;
}


/*! PAGE HEADER BANNER ===== */

.h1-full-width-row {
    background: linear-gradient(135deg, var(--navy), var(--blue));
}

.h1-full-width-row .fl-row-content-wrap {
    padding: 80px 20px 110px;
}

.h1-full-width-row h1 {
    color: var(--white);
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.h1-full-width-row p {
    color: var(--white);
    margin-bottom: 25px;
}

/* Shape Divider Overrides */
.h1-full-width-row .fl-builder-shape-layer.fl-builder-bottom-edge-layer {
    z-index: 1;
}

.h1-full-width-row .fl-builder-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.h1-full-width-row .fl-builder-bottom-edge-layer>* {
    width: 100%;
    display: block;
    position: absolute;
    left: auto;
    right: auto;
    height: 60px;
    top: auto;
    bottom: 0;
    transform: scaleX(-1) scaleY(-1);
}

.h1-full-width-row .fl-builder-bottom-edge-layer .fl-shape-content .fl-shape {
    fill: var(--white);
    stroke: none;
    stroke-width: 0;
    width: 100%;
}

/*! Breadcumbs
------------------------------------------------------------*/
.rw-breadcrumbs {
    font-size: clamp(12px, 1.5vw, 14px);
    color: var(--white);
    margin-bottom: 25px;
}

.rw-breadcrumbs-inline {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin-top: 10px;
    padding-top: 10px;
    margin-bottom: 0;
    color: var(--white);
    font-size: 14px;
    width: fit-content;
}

.rw-breadcrumbs-inline a {
    color: var(--white);
}







/*! Contact Us Row */

.blue-gradient-bg {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 50%, var(--blue) 100%);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    text-decoration: none;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--orange-light);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}


/*! Content Styles ------------------------------*/

button,
input[type=button],
input[type=submit] {
    padding: 14px 30px;
}

button,
.fl-button,
input[type=button],
input[type=submit],
.navbar-toggle {
    transition: all var(--transition);
}



/*! RW Footnotes ------------------------------*/

.rw-footnotes ol {
    padding-left: 20px;
}

.rw-footnotes ol li {
    font-size: 14px;
}

/*! SIDEBAR ===== */

.fl-sidebar {
    margin-top: 20px;
}

/*! Widget Title (shared across all sidebar widget types) */
.fl-widget .fl-widget-title,
h4.fl-widget-title,
.blog-categories.fl-widget h4.fl-widget-title,
.rw-widget-box-header .fl-html h3.widgettitle,
.fl-module-sidebar .widget_text h4.fl-widget-title,
.fl-sidebar .widget_text h4.fl-widget-title {
    background: linear-gradient(135deg, var(--navy), var(--blue-dark) 50%, var(--blue));
    padding: clamp(10px, 2vw, 20px);
    margin: 0;
    border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
    font-size: clamp(16px, 2.5vw, 24px);
    color: var(--white);
    text-align: center;
}

/*! Widget Body (shared border/bg for content areas) */
.blog-categories.fl-widget ul,
.rw-widget-box-header .fl-html .widgetbody,
.fl-sidebar .textwidget,
.fl-sidebar .gform_wrapper {
    border: 1px solid var(--gray-200);
    background-color: var(--cream);
    margin: 0;
    padding: clamp(10px, 2vw, 20px);
    border-radius: 0 0 var(--card-border-radius) var(--card-border-radius);
}

.blog-categories.fl-widget ul,
.fl-sidebar .textwidget {
    padding: var(--card-padding);
    background-color: var(--white);
}

/*! BLOG CATEGORIES WIDGET ===== */

.blog-categories.fl-widget ul li:first-of-type {
    border-top: 1px solid var(--gray-200);
}

.blog-categories.fl-widget ul li {
    position: relative;
    overflow: hidden;
    display: flex;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 0;
}

.blog-categories.fl-widget ul li a {
    padding: 10px 0 10px 15px;
    color: var(--gray-dark);
    width: calc(100% - 40px);
    transition: all var(--transition);
}

.blog-categories.fl-widget ul li a:hover {
    color: var(--orange);
    text-decoration: none;
}

.blog-categories.fl-widget ul li span.count {
    background-color: var(--cream);
    color: var(--gray-dark);
    border-radius: 50px;
    padding: 0;
    line-height: 1.4;
    font-size: 13px;
    margin: 6px 15px 6px 0;
    text-align: center;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
    transition: all var(--transition);
}

.blog-categories.fl-widget ul li:hover span.count {
    background-color: var(--orange);
    color: var(--white);
}


/*! Gravity Forms Overrides
----------------------------------------*/

.rw-contact50_wrapper {
    background: var(--white);
    border-radius: 16px;
    padding: var(--card-padding);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.rw-contact50_wrapper h2 {
    color: var(--navy);
    margin-bottom: 24px;
    font-size: 22px;
}

.rw-contact50_wrapper .gform-footer .button {
    width: 100%;
}


.gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 9px !important;
}

input[type=text],
input[type=password],
input[type=email],
input[type=tel],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=number],
input[type=search],
input[type=url],
textarea {
    height: auto;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 8px !important;
    background-color: var(--white);
}

.gform_wrapper.gravity-theme .gfield textarea.large {
    height: 200px !important;
}

.gform_wrapper.gravity-theme .gform_footer,
.gform_wrapper.gravity-theme .gform_page_footer {
    margin: 0 !important;
    padding: 10px 0 0 !important;
    justify-content: center;
}

.gform_wrapper.gravity-theme.rw-shortform_wrapper .gform_footer input {
    width: 100%;
    padding: 15px;
}

.gform_required_legend {
    display: none !important;
}

::placeholder {
    color: rgba(117, 117, 117, 0.7) !important;
}

/* ===== FOOTER WIDGETS ===== */

.fl-page-footer-widgets {
    position: relative;
    padding: 80px 0 40px;
    background: var(--navy);
    border-top: none;
}

.fl-page-footer-widgets-container {
    max-width: var(--container-footer-max) !important;
}

.fl-page-footer-widgets .fl-page-footer-widget-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.col-lg-3.fl-page-footer-widget-col-1,
.col-lg-3.fl-page-footer-widget-col-4,
.col-md-3.fl-page-footer-widget-col-1,
.col-md-3.fl-page-footer-widget-col-4 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* All footer text white */
.fl-page-footer-widgets *,
.fl-page-footer-widgets h1,
.fl-page-footer-widgets h2,
.fl-page-footer-widgets h3,
.fl-page-footer-widgets h4,
.fl-page-footer-widgets h5,
.fl-page-footer-widgets h6 {
    color: var(--white);
}

.fl-page-footer-widgets a {
    color: var(--orange);
}

.fl-page-footer-widgets a:hover {
    color: var(--orange-light);
}

/* Shape Divider */
.fl-page-footer-widgets .fl-builder-layer {
    bottom: -1px;
}

.fl-page-footer-widgets .fl-builder-bottom-edge-layer>* {
    width: 100%;
    left: auto;
    right: auto;
    height: 30px;
    top: auto;
    bottom: 0;
    transform: scaleX(-1) scaleY(-1);
}

.fl-page-footer-widgets .fl-builder-bottom-edge-layer .fl-shape-content .fl-shape {
    fill: #0C0E12;
}

/* Footer Logo */
.fl-page-footer-widgets .rw-footer-logo {
    text-align: center;
    margin: 0 auto 20px;
    max-width: 300px;
}

/* Widget Titles */
.fl-page-footer-widgets h4.fl-widget-title {
    background: transparent;
    text-transform: capitalize;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
    color: var(--white);
    width: fit-content;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 0 10px;
    margin: 0 auto 15px !important;
}

.fl-page-footer-widgets aside#nav_menu-2 {
    background-color: transparent;
    min-height: 0;
}

/* Footer Form Description */
.fl-page-footer-widgets p.gform_description {
    margin-bottom: 15px;
    font-size: 16px;
    text-align: center;
}

/* Footer Address */
.rw-footer-address p {
    font-size: 16px;
    text-align: center;
}

.fl-page-footer-widgets .textwidget {
    text-align: left;
}

/* Footer Locations Grid */
.rw-footer-locations {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    overflow: visible;
}

.rw-footer-locations h3 {
    font-size: 28px;
}

/* Footer Nav Menu */
.fl-widget.rw-footer-privacy-menu ul,
.menu-footer-menu-container {
    text-align: center;
}

/* Social Icons */
.rw-footer-social .fl-social-icons {
    padding: 0;
    margin-left: 0;
    text-align: center;
}

.rw-footer-social .fl-social-icons a {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all var(--transition);
}

.rw-footer-social .fl-social-icons a:last-of-type {
    margin-left: 0;
}

.rw-footer-social .fl-social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

.rw-footer-social .fl-social-icons a i.fas,
.rw-footer-social .fl-social-icons a i.fab {
    font-size: 30px;
    vertical-align: middle;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: var(--white);
}

.rw-footer-social .fl-social-icons a:hover i.fas,
.rw-footer-social .fl-social-icons a:hover i.fab {
    color: var(--orange);
}


/* ===== FOOTER FORM (gform_5 — inline email signup) ===== */

.fl-page-footer-widgets form#gform_5 {
    display: flex;
    flex-direction: column;
}

.gform_wrapper.gravity-theme form#gform_5 .gform-body {
    width: 100%;
}

.gform_wrapper.gravity-theme form#gform_5 .gform-body .gfield {
    padding-right: 0;
}

.gform_wrapper.gravity-theme form#gform_5 .ginput_complex .name_last {
    margin-bottom: 0 !important;
}

.fl-page-footer-widgets form#gform_5 .gform_footer,
.fl-page-footer-widgets form#gform_5 .gform_page_footer {
    padding: 10px 0 0 !important;
}

.gform_wrapper.gravity-theme form#gform_5 .gform_footer button,
.gform_wrapper.gravity-theme form#gform_5 .gform_footer input,
.gform_wrapper.gravity-theme form#gform_5 .gform_page_footer button,
.gform_wrapper.gravity-theme form#gform_5 .gform_page_footer input {
    padding: 8px 20px;
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 3px;
    font-weight: 400;
    margin-bottom: 0 !important;
}


/* ===== FOOTER RESPONSIVE ===== */

@media (min-width: 480px) {

    .rw-footer-social .fl-social-icons a i.fas,
    .rw-footer-social .fl-social-icons a i.fab {
        width: 60px;
        height: 60px;
        line-height: 60px;
    }
}

@media (min-width: 641px) {

    .gform_wrapper.gravity-theme form#gform_6 .gform_footer button,
    .gform_wrapper.gravity-theme form#gform_6 .gform_footer input,
    .gform_wrapper.gravity-theme form#gform_6 .gform_page_footer button,
    .gform_wrapper.gravity-theme form#gform_6 .gform_page_footer input {
        padding: 11px 20px;
    }

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

    /* Inline form layout */
    .fl-page-footer-widgets form#gform_5 {
        flex-direction: row;
    }

    .gform_wrapper.gravity-theme form#gform_5 .gform-body {
        width: calc(100% - 112px);
    }

    .gform_wrapper.gravity-theme form#gform_5 .gform-body .gfield {
        padding-right: 10px;
    }

    .fl-page-footer-widgets form#gform_5 .gform_footer,
    .fl-page-footer-widgets form#gform_5 .gform_page_footer {
        padding: 0 !important;
    }

    .gform_wrapper.gravity-theme form#gform_5 .gform_footer button,
    .gform_wrapper.gravity-theme form#gform_5 .gform_footer input,
    .gform_wrapper.gravity-theme form#gform_5 .gform_page_footer button,
    .gform_wrapper.gravity-theme form#gform_5 .gform_page_footer input {
        padding: 34px 31px !important;
    }
}

@media (min-width: 768px) {

    .fl-page-footer-widgets h4.fl-widget-title,
    .fl-page-footer-widgets p.gform_description,
    .rw-footer-social .fl-social-icons,
    .rw-footer-address p {
        text-align: left;
    }

    .fl-page-footer-widgets h4.fl-widget-title {
        margin: 0 0 15px !important;
    }

    .fl-page-footer-widgets .rw-footer-logo {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .fl-page-footer-widgets aside p {
        font-size: 14px;
    }

    .menu-footer-menu-container li a {
        padding: 10px 20px !important;
    }
}

@media (min-width: 992px) {
    .fl-page-footer-widgets {
        min-height: 500px;
    }

    .fl-page-footer-widget-col-2 {
        padding-left: 5%;
    }

    .fl-page-footer-widgets aside p {
        font-size: 18px;
    }

    .menu-footer-menu-container li a {
        padding: 10px 40px !important;
    }

    p.rw-footer-phone {
        font-size: 24px !important;
    }

    .gform_wrapper.gravity-theme form#gform_5 .gform_footer button,
    .gform_wrapper.gravity-theme form#gform_5 .gform_footer input,
    .gform_wrapper.gravity-theme form#gform_5 .gform_page_footer button,
    .gform_wrapper.gravity-theme form#gform_5 .gform_page_footer input {
        padding: 29px 31px !important;
    }

}

@media (min-width: 1100px) {
    .fl-page-footer-widgets .container {
        max-width: 1300px;
        width: 100%;
        padding: 0 clamp(0px, 3vw, 40px);
    }
}

/* ===== FOOTER BAR ===== */

.fl-page-footer {
    border-top: none;
}

.fl-page-footer-container {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fl-page-footer *,
.fl-page-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.fl-page-footer a:hover {
    color: var(--white);
}

.fl-page-footer-text {
    padding-bottom: 0;
}

/* Mobile: centered layout */
.fl-page-footer-row .text-left {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.fl-page-footer-row .text-left .fl-page-footer-text {
    text-align: center;
}

.fl-page-footer-row .text-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fl-page-footer-row .text-right ul {
    text-align: center;
}

/* Footer Nav */
.fl-page-footer-nav {
    padding-right: 0;
}

.fl-page-footer-nav li a {
    background-color: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    font-size: 14px !important;
    font-weight: 600;
    padding: 10px 20px !important;
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.fl-page-footer-nav li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white) !important;
    text-decoration: none;
}

/* Desktop: left/right layout */
@media (min-width: 768px) {

    .fl-page-footer-row .text-left {
        justify-content: flex-start;
        margin-bottom: 0;
        width: 70%;
        flex: 0 0 70%;
        max-width: 70%;
    }

    .fl-page-footer-row .text-left .fl-page-footer-text {
        text-align: left;
    }

    .fl-page-footer-row .text-right {
        justify-content: flex-end;
        width: 30%;
        flex: 0 0 30%;
        max-width: 30%;
    }

    .fl-page-footer-row .text-right ul {
        text-align: right;
    }

    .fl-page-footer .fl-page-footer-nav {
        margin: 0 -15px 0;
    }

    .fl-page-footer-nav {
        padding-right: 50px;
    }

    .fl-page-footer-nav>li {
        margin-left: 5px;
    }
}

@media (min-width: 768px) {

    .fl-page-footer-container {
        padding: 15px 40px;
    }

}

@media (min-width: 1100px) {
    .fl-page-footer .container {
        max-width: 1300px;
        width: 100%;
        padding: 15px clamp(0px, 3vw, 40px);
    }
}


/* RW Staff Plugin Overrides
---------------------------------------*/
.rw-staff-wrapper.rw-layout-row .rw-staff-image {
    overflow: visible;
}

.rw-staff-wrapper .rw-staff-image img {
    border-radius: 50%;
    box-shadow: 0 30px 20px rgba(0, 0, 0, 0.05);
}

.rw-staff-wrapper .rw-staff-image:hover img {
    transform: none
}

@media (min-width: 480px) {

    .rw-staff-wrapper.rw-layout-row .rw-staff-image {
        width: 20%;
    }

    .rw-staff-wrapper.rw-layout-row .rw-staff-excerpt {
        width: 80%;
    }

}

@media (min-width: 1100px) {

    .rw-staff-wrapper.rw-layout-row .rw-staff-excerpt {
        padding: 0 0 0 30px;
    }

}

/* Rich Plugins Reviews Overrides
---------------------------------------*/

.rpi {
    --card-bg-color: #fff !important;
    --card-bg: #fff !important;
    --card-br-color: #E5E7EB !important;
    --name-fs: 16px !important;
    --font-family: 'DM Sans' !important;
}

.rpi-slider-btn {
    --btn-justify-content: flex-start !important;
}

.rpi-list .rpi-slider-btn {
    --btn-justify-content: flex-end !important;
}