/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
.kalam {
    font-family: 'Kaushan Script', cursive;
}

:root {
    --faq-primary-color: #0d6efd;
    --faq-text-color: #212529;
    --faq-secondary-text-color: #6c757d;
    --faq-border-color: #dee2e6;
    --faq-background-color: #ffffff;
    --faq-section-bg: #f8f9fa;
}


/* GLOBAL */
#loader{
    z-index: 999999;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/loader.gif) 50% 50% #fcfcff;
    background-position: center;
    background-repeat: no-repeat;
}
#logo, .navbar, .navbar-brand {
    transition: all 0.5s ease-in-out !important;
}
select {
    --webkit-appearance: none;
    --moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}
a, a:hover, a:active {
    text-decoration: none;
    color: inherit;
}
::-webkit-input-placeholder { /* Edge */
  color: transparent;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: transparent;
}
::placeholder {
  color: transparent;
}
::-webkit-scrollbar {
  display: none;
}
html, head, body {
    margin: 0 auto;
    padding: 0;
    background: #FFFFFF;
    color: #000000;
    text-align: center;
    justify-content: center;
    align-content: center;
    vertical-align: middle;
    transition: all 1s;
    font-family: 'Roboto', sans-serif;
    transition: all 0.5s ease-in-out;
    z-index: 100;
    overflow-x: hidden;
}
.transparent {
    background: transparent;
}
.bg-transparent {
    background: transparent;
}
.desktop-only {
    display: inline;
}
.mobile-only {
    display: none;
}
.text-mobile-start {
    text-align: inherit;
}


/* COLORS */
.black {
    color: #000000 !important;
}
.grey {
    color: #95a5a6 !important;
}
.white {
    color: #ffffff !important;
}
.orange {
    color: #f79f1f !important;
}
.orange-dark {
    color: #ee5a24 !important;
}
.green {
    color: #00b919 !important;
}
.green-flat {
    color: #2ecc71 !important;
}
.red {
    color: #e74c3c !important;
}
.blue {
    color: #003e7d !important;
}
.light-blue {
    color: #3498db !important;
}
.purple {
    color: #6c5ce7 !important;
}
.yellow {
    color: #f1c40f !important;
}
.bg-black {
    background-color: #000000 !important;
}
.bg-grey {
    background-color: #d1e4e6 !important;
}
.bg-white {
    background-color: #ffffff !important;
}
.bg-orange {
    background-color: #f79f1f !important;
}
.bg-orange-dark {
    background-color: #ee5a24 !important;
}
.bg-green {
    background-color: #00b919 !important;
}
.bg-green-flat {
    background-color: #2ecc71 !important;
}
.bg-red {
    background-color: #e74c3c !important;
}
.bg-blue {
    background-color: #003e7d !important;
}
.bg-light-blue {
    background-color: #3498db !important;
}
.bg-yellow {
    background-color: #f1c40f !important;
}

/* DROP SHADOW */
.text-shadow {
    text-shadow: 2px 2px 4px #000000;
}
.text-shadow-blue {
    text-shadow: 2px 2px 4px #003e7d;
}

/* BACKGROUNDS */
.masthead {
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url(/img/couplehike.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    min-height: 80vh;
    padding-top: 10vh;
    background-attachment: fixed;
}
.masthead-mini {
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url(/img/couplehike.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    min-height: 40vh;
    padding-top: 20vh;
    background-attachment: fixed;
}
.masthead-short {
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url(/img/cover-v2.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 40vh;
    padding-top: 10vh;
}
.masthead-health {
    background-image: url(/img/services/health-cover.jpg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    background-attachment: fixed;
    height: 60vh;
    padding-top: 10vh;
}

.masthead-states {
    background-color: rgba(255, 255, 255, 0.8);
    background-image: url(/img/states/default-cover.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 50vh;
    padding-top: 18vh;
}
.masthead-florida {
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url(/img/states/florida.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 60vh;
    padding-top: 25vh;
}
.masthead-tennessee {
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url(/img/states/tennessee.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 60vh;
    padding-top: 25vh;
}
.masthead-dc {
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url(/img/states/dc.gif);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 50vh;
    padding-top: 18vh;
}
.masthead-georgia {
    background-color: rgba(255, 255, 255, 0.8);
    background-image: url(/img/states/georgia.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 50vh;
    padding-top: 18vh;
}
.masthead-hawaii {
    background-color: rgba(255, 255, 255, 0.8);
    background-image: url(/img/states/hawaii.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 50vh;
    padding-top: 18vh;
}
.masthead-illinois {
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url(/img/states/illinois.gif);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 65vh;
    padding-top: 25vh;
}
.masthead-indiana {
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url(/img/states/indiana.gif);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 62vh;
    padding-top: 25vh;
}
.masthead-kentucky {
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url(/img/states/kentucky.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 60vh;
    padding-top: 25vh;
}
.masthead-louisiana {
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url(/img/states/louisiana.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 50vh;
    padding-top: 20vh;
}
.masthead-massachusetts {
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url(/img/states/massachusetts.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 70vh;
    padding-top: 30vh;
}
.masthead-vegas {
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url(/img/states/vegas.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 60vh;
    padding-top: 25vh;
}
.masthead-texas {
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url(/img/states/texas.gif);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 60vh;
    padding-top: 25vh;
}
.masthead-southcarolina {
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url(/img/states/southcarolina.gif);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 60vh;
    padding-top: 25vh;
}
.masthead-northcarolina {
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url(/img/states/northcarolina.gif);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 60vh;
    padding-top: 25vh;
}

.masthead-team {
    background-color: rgba(255, 255, 255, 0.35);
    background-image: url(/img/agents-updated.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 50vh;
}
.masthead-agents {
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url(/img/agents.jpg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    height: 70vh;
    padding-top: 10vh;
}
.masthead-blog {
    background-color: rgba(255, 255, 255, 0.35);
    background-image: url(/img/blog-cover.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 40vh;
    background-blend-mode: overlay;
    padding-top: 10vh;
}
.masthead-products {
    background-color: rgba(255, 255, 255, 0.8);
    background-image: url(/img/products.gif);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    height: 50vh;
    background-blend-mode: overlay;
    padding-top: 10vh;
}
.masthead-services {
    background-color: rgba(255, 255, 255, 0.8);
    background-image: url(/img/services.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    background-blend-mode: overlay;
    padding-top: 10vh;
}
.masthead-contact {
    background-color: rgba(255, 255, 255, 0.75);
    background-image: url(/img/hike.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 40vh;
    background-blend-mode: overlay;
    padding-top: 10vh;
}
.masthead-estimate {
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url(/img/couplehike.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    min-height: 100vh;
    padding-top: 5vh;
}

.card.active {
    background: #FFFFFF;
    background-color: #FFFFFF;
    border: 2px solid #0984e3;
    transition: all 0.5s ease-in-out;
    color: #000;
    border-radius: 10px;
}
.card.active i {
    color: #003e7d;
    transition: all 0.5s ease-in-out;
    margin-bottom: 2rem;
}
.card.active em {
    color: #003e7d;
    font-weight: 400;
    transition: all 0.5s ease-in-out;
}
.card.active:hover {
    background: #003e7d;
    background-color: #003e7d;
    border: 2px solid #003e7d;
    color: #FFF;
    transition: all 0.5s ease-in-out;
    border-radius: 25px;
}
.card.active:hover i {
    color: #FFF;
    transition: all 0.5s ease-in-out;
}
.card.active:hover em {
    color: #FFFFFF;
    font-weight: 400;
    transition: all 0.5s ease-in-out;
}

.card.team {
    background: #FFFFFF;
    background-color: #FFFFFF;
    color: #000000;
    border: #003e7d 2px solid;
    border-radius: 25px;
}
.card.team img {
    width: 300px;
    max-width: 100%;
    margin: 2vh auto;
    border-radius: 50%;
}
.card.team-leader {
    background: #FFFFFF;
    background-color: #FFFFFF;
    color: #000000;
    border: #003e7d 2px solid;
    border-radius: 25px;
    padding: 1.5rem;
}
.card.team-leader img {
    max-width: 280px;
    width: 100%;
    border: 5px solid #003e7d;
    border-radius: 50%;
}
@media (max-width: 767.98px) {
    .card.team-leader img {
        max-width: 200px;
    }
    .card.team-leader .leader-content {
        text-align: center !important;
    }
}

.card.blog {
    background: #d4d4d4;
    background-color: #d4d4d4;
    color: #000000;
    border-radius: 25px;
    border: #95a5a6 2px solid;
    transition: all 0.5s ease-in-out;
    box-shadow: 4px 4px 12px #95a5a6;
}
.card.blog:hover {
    background: #FFFFFF;
    background-color: #FFFFFF;
    color: #000000;
    border: #0984e3 2px solid;
    border-radius: 25px;
    transition: all 0.5s ease-in-out;
}
.card.blog img {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 22px 22px 0 0;
}

.v-card {
    background: #2d3436;
    background-color: #2d3436;
    color: #dfe6e9;
    min-height: 100vh;
}
.card-content {
    border: 4px solid #FFFFFF;
    border-radius: 25px;
}
.card-content img {
    width: 300px;
    max-width: 100%;
    margin: 2vh auto;
    border-radius: 50%;
    border: 6px solid #0984e3;
    box-shadow: 0 0 18px #000000;
}
.card-content a {
    color: #dfe6e9;
    font-size: 2rem;
    border: none;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
}
.card-content a:hover {
    transition: all 0.5s ease-in-out;
    background: #1d1d1d;
    border: 1px solid #dfe6e9;
    border-radius: 25px;
}
.card-content .contact a {
    font-size: 2.5rem;
}
.card-content .social a {
    font-size: 1.5rem;
}
.card-content .social a:hover {
    transition: all 0.5s ease-in-out;
    background: transparent;
    color: #0984e3 !important;
}


/* BUTTONS */
.btn-animate {
    transition: all 0.5s ease-in-out;
    background: #003e7d;
    color: #FFF;
}
.btn-animate:hover {
    letter-spacing: 0.1rem;
    transition: all 0.5s ease-in-out;
    background: #003e7d;
}
.btn-spread {
    transition: all 0.5s ease-in-out;
    color: inherit;
}
.btn-spread:hover {
    letter-spacing: 0.1rem;
    transition: all 0.5s ease-in-out;
    font-weight: 600;
    text-transform: uppercase;
}
.btn-cta {
    background-color: inherit;
    background: inherit;
    color: inherit;
    border: 2px solid #FFFFFF;
}
.btn-cta:hover {
    background-color: #003e7d !important;
    background: #003e7d !important;
}
.btn-sub {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    color: #FFF;
}


/* ============================================ */
/*                   NAVIGATION                 */
/* ============================================ */

/* Style for the currently active navigation link */
.nav-link.blue {
    color: #003e7d !important;
    font-weight: 700;
}

/* Base Navbar Styling - Floating Frosted Glass Effect */
.navbar {
    /* Positioning for the floating effect */
    top: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    
    /* Frosted glass effect */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    /* Curved corners and default border */
    border-radius: 50px;
    border-bottom: 2px solid transparent; /* Placeholder for scrolled state */
    
    /* Smooth transitions for all animated properties */
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, top 0.4s ease, border-radius 0.4s ease;
}

/* Navbar on Hover - Becomes solid white */
.navbar:hover, .navbar.scrolled:hover {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Scrolled State - Navbar sticks to top, shrinks, and gets shadow */
.navbar.scrolled {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 25px 25px;
    border-bottom: 2px solid #003e7d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.75); /* Slightly more opaque when scrolled */
}

/* Desktop Logo Styling */
#logo-desktop {
    height: 80px !important;
    width: auto;
    transition: height 0.4s ease-in-out;
}

/* Desktop Logo in Scrolled State */
.navbar.scrolled #logo-desktop {
    height: 45px !important;
    width: auto;
}

/* Mobile Logo (navbar) — override Tailwind preflight height:auto */
#logo-mobile {
    height: 50px !important;
    width: auto;
}

/* Footer Logo — override Tailwind preflight height:auto */
.site-footer .footer-logo {
    height: 70px !important;
    width: auto;
}

/* Navigation Link Styling */
.nav-link {
    color: #000;
    font-weight: 600;
    margin: auto 1rem;
    transition: color 0.3s ease, letter-spacing 0.3s ease, margin 0.5s ease;
    position: relative;
    padding-bottom: 0.5rem;
}
.navbar.scrolled .nav-link {
    color: #000;
    font-weight: 600;
    margin: auto 0.2rem;
    transition: color 0.3s ease, letter-spacing 0.3s ease, margin 0.5s ease;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-link:hover,
.nav-link:focus {
    color: #003e7d;
    letter-spacing: 0.05rem;
}

/* Underline effect on hover for nav links */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #003e7d;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.blue::after {
    width: 80%;
}


/* --- Media Query for Mobile --- */
/* On screens smaller than 992px (Bootstrap's 'lg' breakpoint),
   the navbar becomes a full-width, non-floating bar. */
@media (max-width: 991.98px) {
    .navbar,
    .navbar.scrolled {
        top: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        background: #FFFFFF; /* Solid white on mobile */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .navbar.scrolled {
        border-bottom: 2px solid #003e7d;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    }
    
    .navbar-collapse {
        margin-top: 1rem;
    }
}

/* ─── Override Tailwind v4 `.collapse { visibility: collapse }` ──────── */
/* Tailwind v4 defines a `.collapse { visibility: collapse }` utility in its
   `@layer utilities`.  Bootstrap 5 uses the `.collapse` class on navbar menus,
   accordion bodies, and other toggleable containers but does NOT set a
   `visibility` property — so Tailwind's utility hides the content of every
   Bootstrap `.collapse` element even when it's in its "shown" state.

   We restore `visibility: visible` here so that Bootstrap can manage
   show/hide via `display` as intended.  This is safe because Bootstrap's
   collapse pattern relies on `display: none / block / flex`, not on
   `visibility`.                                                     */
.collapse {
    visibility: visible;
}



#referBtn {
    display: none;
}


.cover-img {
    width: 500px;
    max-width: 100%;
    margin: 3vh auto;
}
img.full {
    margin: 0;
    padding: 0;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
}


/* APP */
.app-cover {
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url(/img/office.jpg);
    background-blend-mode: lighten;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    color: #FFF;
    padding-top: 10vh;
}
.app {
    background: #FFF;
    background-color: #FFF;
    color: #000;
    margin-top: -4vh;
}

.app .category {
    background: #003e7d;
    color: #FFFFFF;
    border: none;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.5s ease-in-out;
    margin-bottom: 2vh;
    font-size: 0.9rem;
    box-shadow: 0 6px 4px #000000;
    padding-left: 10px;
    padding-right: 10px;
}
.app .category.small {
    font-size: 0.8rem !important;
    width: 48%;
    margin: auto;    
}
.app .category.xsmall {
    font-size: 0.8rem !important;
    width: 32%;
    margin: auto;    
}
.app .category.xxsmall {
    font-size: 0.9rem !important;
    width: 24%;
    margin: auto;    
}
.app .category:hover {
    border-radius: 25px;
    background: #003e7d;
    padding: 20px;
    text-align: center;
    transition: all 0.5s ease-in-out;
    letter-spacing: 0.1rem;
}
.app-cover .content {
    margin-top: 2vh;
}
.app-cover .profile {
    margin: auto;
    width: 90%;
    max-width: 500px;
}
.app-cover .profile-d {
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    background: #FFFFFF;
    width: 90%;
    margin: auto;
}
.title-name {
    font-weight: 900;
    margin-bottom: 0;
}
.title-area {
    bottom: 12vh;
    position: absolute;
}

.d-none {
    display: none !important;
}

.disclaimer {
    font-size: 0.7rem;
    opacity: 0.7;
}
.btn-disabled {
    color: #000000;
    background: #95a5a6 !important;
    background-color: #95a5a6 !important;
}


/* QUOTE TOOL */
.quote {
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url(/img/office.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: lighten;
    height: 100vh;
}
.estimate {
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url(/img/office.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: lighten;
    min-height: 100vh;
}
.myquote {
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url(/img/office.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: lighten;
    color: #000000;
    min-height: 100vh;
}
.quote .part {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    max-height: 100%;
}
#quoteWizard .form-control, #quoteWizard .form-select {
    background-color: #fff;
    color: #003e7d;
    border: 2px solid #003e7d;
    border-radius: 25px;
    font-size: 2rem;
    text-align: center;
    -webkit-text-align: center;
    text-align-last: center;
    padding: 0.5rem;
    box-sizing: border-box;
}
#quoteWizard select option {
    padding: 0.5rem; /* Consistent padding */
    color: #003e7d;
    text-align: center;
    -webkit-text-align: center;
}
#quoteWizard .form-control-plaintext {
    color: #003e7d;
}
#quoteWizard .form-control:active {
    background-color: #fff;
    font-weight: 900;
    transition: all 0.5s ease-in-out;
    color: #003e7d;
    text-align: center;
    -webkit-text-align: center;
}
#quoteWizard .form-check-input:checked {
    background-color: #003e7d; /* Checked background color */
    border: none;
}
#quoteWizard .form-check {
    color: #FFFFFF;
    font-size: 1.25rem;
}

.card.quoted {
    background: #003e7d;
    border: 4px solid #FFFFFF;
    border-radius: 25px;
    box-shadow: 4px 4px 8px #ffffffa4;
}



.terms {
    font-size: 0.7rem;
    opacity: 0.7;
}


.container.mast h5 {
    font-size: 1.5rem;
    text-transform: uppercase;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: transparent;
    color: #000000;
    transition: all 0.5s ease-in-out;
}
.container.mast h5:hover {
    font-size: 1.5rem;
    text-transform: uppercase;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: transparent;
    color: #003e7d;
    transition: all 0.5s ease-in-out;
    font-weight: 900;
}
.container.mast h5 i {
    padding-right: 1rem;
    transition: all 0.5s ease-in-out;
    color: #003e7d;
    font-size: 1rem;
}
.container.mast h5:hover i {
    padding-right: 2rem;
    transition: all 0.5s ease-in-out;
    color: #000000;
    font-size: 1.5rem;
}

.container.funnel {
    color: #000000;
    text-align: start;
}
.container.funnel p {
    font-size: 1.25rem;
}
.container.funnel p em {
    font-weight: 700;
    text-decoration: underline;
    color: #003e7d;
}
.container.funnel h5 {
    color: #003e7d;
}
.container.funnel h6 {
    color: #003e7d;
    font-weight: 900;
    letter-spacing: 0.1rem;
    padding-top: 3rem;
    text-align: start;
    font-size: 2rem;
}
.container.funnel img {
    width: 600px;
    max-width: 100%;
    border: none;
    border-radius: 25px;
    margin: auto;
}
.container table {
    text-align: center;
    transition: all 0.5s ease-in-out;
}
.container table thead th {
    color: #003e7d;
    font-weight: 900;
    padding-top: 20px;
    padding-bottom: 20px;
}
.container ul {
    padding-left: 50px;
}
.container ul li:nth-child(odd) {
    color: #003e7d;
}
.container table th a {
    color: #000000;
    font-weight: 700;
    transition: all 0.5s ease-in-out;
}
.container table th a:hover {
    color: #003e7d;
    letter-spacing: 0.1rem;
    transition: all 0.5s ease-in-out;
}




/* MAP */
path {
    stroke: #000000;
    fill: #003e7d;
    transition: fill .4s ease;
    transform-origin: center center;
}
path:hover {
    fill: #0984e3 !important;
    cursor: pointer;
    transform: scale(1.005, 1.005);
}
/* #map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
} */
#us-map {
    display: block;
    width: 100%;
    height: 100%;
}

#details-box {
    box-shadow: 0px 7px 40px rgba(0, 0, 0, 0.7);
    opacity: 0%;
    padding: 1rem;
    border-radius: 8px;
    position: fixed;
    color: #003e7d;
    background-color: #FFFFFF;
    width: auto;
    transform: translateX(-50%);
    transition: opacity .4s ease;
    z-index: 1;
}


.bg-review {
    background-color: #ffffff !important;
    border: 4px solid #ee5a24 !important;
    transition: all 0.5s ease-in-out;
}
.bg-review:hover {
    background-color: #ffffff !important;
    border: 8px solid #ee5a24 !important;
    transition: all 0.5s ease-in-out;
}

/* Custom CSS for Testimonials Section */
.testimonials-section {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    padding: 4rem 0;
}

.testimonials-section__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
}

.testimonials-section__subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.title-underline {
    width: 6rem;
    height: 4px;
    background-color: #2563eb;
    margin: 1rem auto 0;
    border-radius: 9999px;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures cards in the same row are equal height */
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.testimonial-card__quote-bg {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: 15px;
    font-size: 100px;
    color: #eef2ff;
    z-index: 0;
    opacity: 0.8;
    transform: rotate(10deg);
}

.testimonial-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.testimonial-card__stars {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.testimonial-card__stars .fa-star {
    margin-right: 2px;
}

.testimonial-card__text {
    color: #475569;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.testimonial-card__author-info {
    margin-top: auto;
}

.testimonial-card__author-name {
    color: #1e3a8a;
    font-weight: 700;
    font-size: 1.125rem;
}

.testimonial-card__author-location {
    color: #64748b;
    font-size: 0.875rem;
}

/* Custom styles for the CTA button to override Bootstrap if needed */
.testimonials-section .btn-cta {
    background-color: #2563eb;
    border-color: #2563eb;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    text-transform: uppercase;
}

.testimonials-section .btn-cta:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: scale(1.05);
}

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

.faq-section .display-4 {
    color: var(--faq-text-color);
}

.faq-section .accordion-item {
    background-color: var(--faq-background-color);
    border: 1px solid var(--faq-border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease-in-out;
}

.faq-section .accordion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.faq-section .accordion-header {
    margin-bottom: 0;
}

.faq-section .accordion-button {
    font-weight: 600;
    color: var(--faq-text-color);
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 1.25rem 1.5rem;
    width: 100%;
    text-align: left;
    position: relative;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--faq-primary-color);
    background-color: transparent;
    box-shadow: none;
}

/* Custom Icon: Plus/Minus */
.faq-section .accordion-button::after {
    content: '+';
    font-family: monospace;
    font-size: 2rem;
    line-height: 1;
    font-weight: 300;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    background-image: none; /* Removes default Bootstrap icon */
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--faq-primary-color);
}

.faq-section .accordion-button:not(.collapsed)::after {
    content: '−'; /* Using a proper minus sign */
    transform: translateY(-50%) rotate(360deg);
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-section .accordion-collapse {
    border-top: 1px solid var(--faq-border-color);
}

.faq-section .accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--faq-secondary-text-color);
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .faq-section .col-lg-6:last-child .accordion {
        margin-top: 1rem; /* Add space between columns when they stack on mobile */
    }
}

/* ============================================= */
/* Curved Top Banner (Stable Final Version)      */
/* ============================================= */

.curved-top-banner {
    position: relative;
    background-color: #0d2d57; /* Solid dark blue */
    z-index: 10;

    /* Top padding makes space for the curve and content. Bottom padding is standard. */
    padding: 0 0 2rem; 
}

/* This pseudo-element creates the curve that sits on top of the banner. */
.curved-top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Controls the height/depth of the curve */
    background-color: inherit; /* Matches the parent's blue color */
    
    /* Moves the pseudo-element upwards so its bottom edge sits at the top of the banner */
    transform: translateY(-100%);

    /* Shapes this element into a smooth, upward curve */
    clip-path: ellipse(50% 100% at 50% 100%);
}


/* CARD STYLING & HOVER EFFECT */
.curved-top-banner .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.curved-top-banner .card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 
                0 0 25px rgba(100, 180, 255, 0.4);
}

.curved-top-banner .card a {
    text-decoration: none;
    color: #0d2d57;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 767.98px) {
    .curved-top-banner {
        padding: 5rem 0 3rem;
    }
    
    .curved-top-banner::before {
        height: 50px; /* Reduces curve height on mobile */
    }
}


/* ================ */
/* MEGA MENU STYLES */
/* ================ */

/* Positions the mega menu centrally under the nav item */
.dropdown-mega .dropdown-menu {
  /* Prevent menu from being wider than the viewport */
  max-width: 90vw; 
  width: 700px; /* Set a default width for the menu */
  left: 50%;
  transform: translateX(-50%);
  padding: 1.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #ddd;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Style for individual items inside the menu */
.dropdown-mega .dropdown-item {
  white-space: normal; /* Allows text to wrap */
  border-radius: 6px;
  transition: background-color 0.2s ease-in-out;
}

/* Remove bottom margin on the last row of items */
.dropdown-mega .row > div:last-child,
.dropdown-mega .row > div:nth-last-child(2),
.dropdown-mega .row > div:nth-last-child(3) {
    margin-bottom: 0 !important;
}

/* Remove the default dropdown arrow */
.dropdown-toggle::after {
    display: none !important;
}

/* -- State Grid Styles -- */
.state-grid {
    display: grid;
    /* 4 columns on desktop */
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: left;
}

.state-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.state-item:hover {
    background-color: #f8f9fa;
    border-color: #0d6efd;
    color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.state-item .active-icon {
    display: none; /* Hide icon by default */
}

/* Styles for active states */
.state-item.active {
    color: #146c43;
    border-color: #badbcc;
    background-color: #d1e7dd;
}

.state-item.active .active-icon {
    display: inline-block; /* Show the icon only for active states */
    color: #146c43;
}

.state-item.active:hover {
    color: #fff;
    background-color: #146c43;
    border-color: #146c43;
}
.state-item.active:hover .active-icon {
    color: #fff;
}


/* -- Responsive Adjustments -- */
/* 3 columns on tablets */
@media (max-width: 992px) {
    .state-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2 columns on mobile */
@media (max-width: 768px) {
    .state-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 column on extra small screens */
@media (max-width: 576px) {
    .state-grid {
        grid-template-columns: 1fr;
    }
}


/* TRI-CARD */
.tri-card-banner {
    background: #0d2d57;
    width: 80%;
    margin: auto;
    margin-top: -2em;
    border-radius: 25px;
    box-shadow: 0 4px #6b6b6b;
    transition: all 0.5s ease-in-out;
}
.tri-card-banner:hover {
    background: #0d2d57;
    width: 95%;
    margin: auto;
    margin-top: -3em;
    border-radius: 25px;
    box-shadow: 0 4px #000000;
    transition: all 0.5s ease-in-out;
}
.tri-card-banner .card {
    background: #FFF;
    transition: all 0.5s ease-in-out;
}
.tri-card-banner .card:hover {
    background: #FFF;
    transition: all 0.5s ease-in-out;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 
                0 0 25px rgba(100, 180, 255, 0.4);
}


/* =================================
   Professional Footer Styles (Light Theme)
==================================== */
.site-footer {
    background-color: #f8f9fa;
    color: #495057;
    padding: 60px 0;
    font-size: 0.9rem;
    border-top: 1px solid #dee2e6;
}

.site-footer .footer-heading {
    color: #212529;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer p {
    color: #495057;
}

.site-footer .footer-contact-buttons {
    margin: 0 auto;
    max-width: 300px;
}

.site-footer .footer-contact-buttons .btn {
    font-weight: 500;
    text-align: left;
}

.site-footer .footer-contact-buttons .btn i {
    width: 25px;
    margin-right: 8px;
}

.site-footer .footer-links li {
    margin-bottom: 10px;
}

.site-footer .footer-links a {
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-footer .footer-links a:hover {
    color: #003e7d;
    padding-left: 5px;
}

.site-footer .footer-divider {
    border-top: 1px solid #dee2e6;
    margin: 40px 0;
}

.site-footer .footer-bottom-bar {
    font-size: 0.85rem;
    color: #6c757d;
}

.site-footer .footer-bottom-bar p {
    margin: 0;
    color: #6c757d;
}

/* --- NEW STYLES FOR LINK GROUPS --- */
.site-footer .footer-legal-links a,
.site-footer .footer-credit-links a,
.site-footer .footer-credit-links span {
    color: #6c757d;
    text-decoration: none;
    display: inline-block;
    padding: 0 0.5rem;
}

.site-footer .footer-legal-links a:hover,
.site-footer .footer-credit-links a:hover {
    color: #003e7d;
    text-decoration: underline;
}

/* Use pseudo-elements for clean separators */
.site-footer .footer-legal-links a:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -2px;
    color: #adb5bd;
}

.site-footer .footer-credit-links a::after {
    content: "|";
    position: absolute;
    right: -2px;
    color: #adb5bd;
}

/* Mobile responsive stacking for the bottom bar link groups */
@media (max-width: 991.98px) { /* Below lg screens */
    .site-footer .footer-credit-links {
        margin-top: 0.5rem;
    }
}

/* Responsive centering for headers and button alignment */
@media (min-width: 768px) { /* md breakpoint and up */
    .site-footer .footer-heading {
        text-align: center;
    }
    .site-footer .footer-contact-buttons {
        margin: 0;
    }
}

.site-footer .btn-cta {
    font-weight: bold;
}



/* Mega Menu hover activation for desktop.
  We use a media query to ensure this only applies to screen sizes 
  where hovering is possible, preserving click functionality on mobile.
*/
@media (min-width: 992px) {
    .dropdown-mega:hover > .dropdown-menu {
        display: block;
        margin-top: 0; /* Adjust if you have space between nav and menu */
    }

    .dropdown-mega .dropdown-menu {
        width: 800px; /* Adjust width as needed */
        max-width: 90vw;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* General styling for the menu items */
.dropdown-mega .dropdown-item {
    border-radius: 8px;
    transition: background-color 0.2s ease-in-out;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 992px) {
  .dropdown-mega .dropdown-menu {
    width: 100%;
    left: 0;
    transform: none;
    max-width: 100%;
  }
}

/* SCREEN SIZE ADJUSTMENTS */
@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: inline;
    }
    .masthead {
        min-height: 70vh;
    }
    .text-mobile-start {
        text-align: start;
    }
    .masthead-short {
        height: 30vh;
        padding-top: 8vh;
    }
}

/* Samsung S9+ */
@media (max-width: 320px) {
    .xs-hide {
        display: none;
    }
}



/* =============================================
   Custom, Conflict-Free Styles for Agent Careers Page
   ============================================= */

/* --- 1. Hero Section --- */
.careers-hero {
    position: relative;
    background-image: url('/public/img/your-background-image.jpg'); /* UPDATE THIS IMAGE PATH */
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 60, 90, 0.5); /* Dark blue overlay */
    z-index: 1;
}

.careers-hero .container {
    position: relative;
    z-index: 2;
}

.careers-hero-title {
    font-size: clamp(3rem, 10vw, 5.5rem);
}

.careers-hero-subtitle {
    font-weight: 500;
}


/* --- 2. Benefit Cards --- */
.careers-benefit-card {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.careers-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.careers-benefit-icon {
    color: #0d6efd; /* Bootstrap primary blue */
    transition: transform 0.3s ease;
}

.careers-benefit-card:hover .careers-benefit-icon {
    transform: scale(1.1);
}


/* --- 3. "Good Fit" List --- */
.careers-fit-list li {
    padding: 0.5rem 0;
    font-weight: 500;
}

.careers-fit-list .fa-circle-check {
    color: #198754; /* Bootstrap success green */
    font-size: 1.2em;
}


/* --- 4. Final Call-to-Action Block --- */
.careers-cta-block {
    background-color: #f8f9fa; /* Light grey background */
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.careers-cta-button {
    transition: all 0.3s ease;
    padding: 1rem 2.5rem !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.careers-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}


/* --- 5. General Page Typography & Spacing --- */
.careers-section-title {
    color: #1a3c5a; /* Your brand's primary blue */
    font-weight: 600;
}

.careers-divider {
    width: 80px;
    margin: 4rem auto;
    border-top: 3px solid #0d6efd;
    opacity: 1;
}


/* --- 6. Responsive Adjustments --- */
@media (max-width: 992px) {
    .careers-hero {
        min-height: 50vh;
    }
    .careers-benefit-card {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .careers-hero {
        min-height: 40vh;
    }
    .careers-section-title.display-4 {
        font-size: 2.5rem;
    }
    .careers-hero-subtitle.fs-2 {
        font-size: 1.25rem !important;
    }
    .careers-cta-button {
        width: 100%;
        padding: 1rem 2rem !important;
    }
}


