﻿/* ==== CSS Variables ==== */
:root {
    --primary-color: #EF5844;
    --primary-color-darker: #e04a36; /* For hover states */
    --secondary-color: #23232f;
    --text-color-dark: #212121;
    --text-color-medium: #333;
    --text-color-light: #fff;
    --text-color-muted: #6c757d;
    --text-color-placeholder: #bbb; /* For light placeholders on dark bg */
    --background-light: #faf7f7;
    --background-white: #fff;
    --border-color: #ccc;
    --border-color-light: #eee;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-pill: 50px;
    --font-primary: "Exo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-headings: "Playwrite IN", "Exo 2", cursive, sans-serif;
    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem; /* 8px */
    --spacing-md: 1rem; /* 16px */
    --spacing-lg: 1.5rem; /* 24px */
    --spacing-xl: 2rem; /* 32px */
    --spacing-xxl: 3rem; /* 48px */

    --input-height: 45px;
    --shadow-soft: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 10px rgba(0,0,0,0.2);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition-speed: 0.3s;
}

/* ==== Global Resets & Base Styles ==== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    box-sizing: border-box; /* Important for easier layout management */
}

body {
    font-family: var(--font-primary);
    color: var(--text-color-dark);
    background-color: var(--background-white); /* Default body background */
    line-height: 1.6;
    font-size: 16px; /* Base font size */
}

h1, h2, h3, h4, h5, h6 {
    font-family: sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0; /* Remove default browser margins */
    margin-bottom: var(--spacing-md); /* Consistent bottom margin */
    color: var(--text-color-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

    a:hover {
        color: #ffffff;
        text-decoration: none; /* Often good to keep underline on hover for accessibility */
    }

img {
    max-width: 100%;
    height: auto;
    display: block; /* Removes bottom space under images */
}

.container { /* Standard Bootstrap container, you might have this globally */
    /*width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;*/
}

@@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}


/* ==== Navbar Styles (from _Layout.cshtml and Index.css) ==== */
.navbar { /* Main navbar container from Bootstrap */
    margin-bottom: 0;
    background: var(--background-white);
    box-shadow: var(--shadow-soft); /* Softer shadow */
    border-radius: 0;
    transition: all var(--transition-speed) ease-in-out;
    padding-top: var(--spacing-sm); /* Adjusted padding */
    padding-bottom: var(--spacing-sm);
}

.navbar-inverse { /* Overriding Bootstrap theme if you're using this class */
    border: none;
    background-color: var(--background-white); /* Ensure it's not black */
}

.navbar-brand {
    padding: 0;
    margin-right: var(--spacing-lg);
    display: flex;
    align-items: center;
}

    .navbar-brand img {
        height: 40px; /* Slightly adjust logo height */
        width: auto;
    }

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-nav > .active > a {
    color: var(--text-color-dark);
    text-shadow: none;
    box-shadow: none;
    background: none;
    font-family: var(--font-primary);
    font-size: 1.1rem; /* Slightly larger nav links */
    font-weight: 600;
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    transition: color var(--transition-speed) ease;
}

    .navbar-inverse .navbar-nav > li > a:hover,
    .navbar-inverse .navbar-nav > .active > a,
    .navbar-inverse .navbar-nav > .active > a:hover,
    .navbar-inverse .navbar-nav > .open > a,
    .navbar-inverse .navbar-nav > .open > a:hover,
    .navbar-inverse .navbar-nav > .open > a:focus {
        color: var(--primary-color);
        background: none; /* Ensure no bg change */
    }

.navbar-nav > li > .dropdown-menu {
    margin-top: 0; /* Align with bottom of navbar */
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
    border: 1px solid var(--border-color-light);
    box-shadow: var(--shadow-soft);
}

.dropdown-menu > li > a {
    font-size: 1rem;
    font-family: var(--font-primary);
    font-weight: 500; /* Normal weight for dropdown items */
    padding: var(--spacing-sm) var(--spacing-lg);
    color: var(--text-color-dark);
}

    .dropdown-menu > li > a:hover,
    .dropdown-menu > li > a:focus {
        background-color: var(--background-light);
        color: var(--primary-color);
    }

/* Styles for "Log in" and "Join now" buttons on the right */
.navbar-nav.pull-right li a.btn-nav-login,
.navbar-nav.pull-right li a.btn-nav-join {
    padding: var(--spacing-sm) var(--spacing-md);
    margin-left: var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    border: 1px solid transparent;
}

.navbar-nav.pull-right li a.btn-nav-login {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

    .navbar-nav.pull-right li a.btn-nav-login:hover {
        background-color: var(--primary-color-darker);
        color: var(--text-color-light);
        border-color: var(--primary-color-darker);
    }

.navbar-nav.pull-right li a.btn-nav-join {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border-color: var(--primary-color);
}

    .navbar-nav.pull-right li a.btn-nav-join:hover {
        background-color: var(--primary-color-darker);
        border-color: var(--primary-color-darker);
    }

/* Custom Navbar Toggle - Assuming the complex icon styles remain in _Layout.cshtml's <style> block for now
   or are moved here if you want to manage them with variables.
   If you move them, prefix with .navbar-toggle */


/* ==== Banner Section Styles ==== */
.banner-bg {
    /* margin-top: 74px; Calculated based on actual navbar height via JS or fixed value */
    background: rgba(20, 16, 16, 0.85) url('../main_home.webp'); /* Darker overlay for better text contrast */
    background-blend-mode: overlay;
    background-position: center center;
    background-size: cover;
    color: var(--text-color-light);
    padding: var(--spacing-xxl) var(--spacing-md); /* Vertical and horizontal padding */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* Ensure banner has some height */
    text-align: center;
}

.banner-heading {
    max-width: 700px;
    width: 100%;
}

    .banner-heading h2 {
        font-family: sans-serif;
        font-weight: 700;
        font-size: clamp(2rem, 5vw, 3rem); /* Responsive font size */
        color: var(--text-color-light);
        margin-bottom: var(--spacing-sm);
    }

    .banner-heading h3 {
        font-family: var(--font-primary);
        font-weight: 400;
        font-size: clamp(1.1rem, 3vw, 1.25rem); /* Responsive font size */
        color: var(--text-color-light);
        margin-top: 0;
        margin-bottom: var(--spacing-xl);
    }

/* Banner Search Form */
.banner-search-form {
    display: flex;
    flex-direction: column; /* Mobile first: stacked */
    gap: var(--spacing-md);
    max-width: 500px; /* Control form width */
    margin: 0 auto; /* Center the form */
    align-items: stretch; /* Make children full width in column mode */
}

    .banner-search-form .form-control-group { /* Wrapper for label + input/select */
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    .banner-search-form label {
        color: var(--text-color-light);
        font-size: 0.9rem;
        margin-bottom: var(--spacing-xs);
        font-weight: 500;
    }

    .banner-search-form #options,
    .banner-search-form .find-care-inpt {
        background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
        color: var(--text-color-light);
        font-family: var(--font-primary);
        height: var(--input-height);
        font-size: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.3); /* Lighter border */
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--border-radius-sm);
        width: 100%;
    }

    .banner-search-form #options {
        color: var(--text-color-light); /* Ensure dropdown text is light */
    }

        .banner-search-form #options option {
            background-color: var(--secondary-color); /* Dark background for dropdown options */
            color: var(--text-color-light);
        }

    .banner-search-form .find-care-inpt::placeholder {
        color: var(--text-color-placeholder);
        opacity: 1; /* Firefox fix */
    }

    .banner-search-form .find-care-inpt:focus,
    .banner-search-form #options:focus {
        border-color: var(--primary-color);
        background-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 0 3px rgba(239, 88, 68, 0.3); /* Focus ring */
    }

    .banner-search-form #SearchService {
        background-color: var(--primary-color);
        color: var(--text-color-light);
        font-family: var(--font-primary);
        font-weight: 700;
        height: var(--input-height);
        font-size: 1rem;
        border-radius: var(--border-radius-sm);
        border: none;
        cursor: pointer;
        padding: 0 var(--spacing-lg);
        transition: background-color var(--transition-speed) ease;
        width: 100%; /* Full width on mobile */
    }

        .banner-search-form #SearchService:hover {
            background-color: var(--primary-color-darker);
        }

    /* Suggestion Box (relative to its input group for proper positioning) */
    .banner-search-form .input-suggestion-wrapper {
        position: relative; /* Parent for absolute positioned suggestion-box */
    }

.suggestion-box {
    position: absolute; /* Positioned under the input */
    top: 100%; /* Start right below the input */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-top: none; /* Usually looks better if connected */
    box-shadow: var(--shadow-soft);
    z-index: 1000; /* Ensure suggestions stay above other elements */
    background: var(--background-white);
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
    display: none; /* Controlled by JS */
}

    .suggestion-box div.suggestion-item {
        padding: var(--spacing-sm) var(--spacing-md);
        cursor: pointer;
        background: var(--background-white);
        color: var(--text-color-dark);
        border-bottom: 1px solid var(--border-color-light);
        font-size: 0.95rem;
    }

        .suggestion-box div.suggestion-item:last-child {
            border-bottom: none;
        }

        .suggestion-box div.suggestion-item:hover {
            background-color: var(--background-light);
            color: var(--primary-color);
        }

    .suggestion-box .loading-indicator {
        padding: var(--spacing-md);
        text-align: center;
        color: var(--text-color-muted);
    }


/* ==== Service Categories Section (#background-check) ==== */
#background-check {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
    background-color: var(--background-white); /* Or var(--background-light) */
    text-align: center;
}

    #background-check h2 {
        margin-bottom: var(--spacing-xs);
    }

    #background-check h3 {
        font-family: var(--font-primary);
        font-weight: 400;
        color: var(--text-color-muted);
        margin-bottom: var(--spacing-xl);
    }

.frame-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-card { /* Replaces direct styling on div.frame-section > div */
    flex: 0 1 220px; /* Don't grow, basis of 220px, allow shrinking */
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background-color: var(--background-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-hover);
    }

    .service-card svg { /* Assuming SVGs are direct children or within a div */
        width: 48px;
        height: 48px;
        margin-bottom: var(--spacing-xs);
    }

    .service-card p {
        font-family: var(--font-primary); /* Not heading font */
        color: var(--text-color-dark);
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0;
    }

.frame-section .more {
    display: none; /* Original style, seems unused */
}


/* ==== Two-Column Sections (.two-sec-w100) ==== */
.two-sec-w100 {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
    align-items: center;
    background-color: var(--background-light); /* Default for these sections */
}

    .two-sec-w100 > div { /* Direct children are the two columns */
        width: 100%; /* Mobile first: full width */
        padding: var(--spacing-xl);
    }

    .two-sec-w100 .content-column { /* Class for the text/list content */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .two-sec-w100 .image-column { /* Class for the image background */
        min-height: 300px; /* Ensure some height on mobile */
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }
/* Specific images for sections */
.finding-care-easier-section .image-column {
    background-image: url('../Resourse/Image/Pages/finding-care-easier.jpg');
}

.peace-of-mind-section .image-column { /* For the testimonial section */
    background-image: url('../Resourse/Image/Pages/istockphoto-1493445348-612x612.jpeg');
    position: relative; /* For caption block positioning */
}

.two-sec-w100 h2 {
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    color: var(--text-color-dark);
}

    .two-sec-w100 h2 span { /* Highlighted text */
        color: var(--primary-color);
    }

.two-sec-w100 p {
    color: var(--text-color-medium);
    font-size: 1.05rem;
    margin-bottom: var(--spacing-lg);
}

/* "Finding care easier" list */
.finding-care-easier-list {
    list-style: none;
    padding-left: 0;
}

    .finding-care-easier-list li {
        display: flex;
        align-items: flex-start;
        margin-bottom: var(--spacing-lg);
    }

    .finding-care-easier-list .list-number {
        color: var(--primary-color);
        font-family: sans-serif;
        font-size: 2rem;
        font-weight: bold;
        line-height: 1;
        margin-right: var(--spacing-md);
        min-width: 40px; /* Give number some space */
    }

    .finding-care-easier-list .list-content h4 {
        font-family: var(--font-primary); /* Use primary font for these subheadings */
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-color-dark);
        margin-bottom: var(--spacing-xs);
    }

    .finding-care-easier-list .list-content p {
        color: var(--text-color-medium);
        font-size: 1rem;
        margin-bottom: 0;
        padding-left: 0; /* Removed original padding-left: 40px */
    }

/* Testimonial/Caption Block */
.caption-block {
    position: absolute;
    top: var(--spacing-xl);
    left: var(--spacing-xl);
    max-width: 80%; /* Prevent overflow */
}

    .caption-block h6 {
        margin: 0 0 var(--spacing-xs) 0;
        padding: 0;
        background: transparent;
        line-height: 1.4;
        font-family: var(--font-primary); /* Or --font-headings for emphasis */
        font-weight: 500; /* Normal weight */
    }

        .caption-block h6 span {
            display: inline; /* Let it flow naturally */
            background: rgba(0,0,0,0.7); /* Dark overlay for text on image */
            color: var(--text-color-light);
            padding: var(--spacing-xs) var(--spacing-sm);
            font-size: clamp(1rem, 2.5vw, 1.25rem); /* Responsive font size */
            border-radius: var(--border-radius-sm);
            box-decoration-break: clone; /* Handles background on wrapped lines nicely */
            -webkit-box-decoration-break: clone;
        }

        .caption-block h6:last-child span { /* The attribution */
            font-style: italic;
            font-size: clamp(0.9rem, 2vw, 1rem);
            font-weight: 400;
            background: none; /* No background for attribution */
            color: rgba(255,255,255,0.9); /* Slightly muted white */
            padding-left: 0;
            margin-top: var(--spacing-sm);
            display: block; /* Put it on a new line */
        }

.triangle-right-bottom { /* Decorative element */
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0 0 150px 150px; /* Smaller triangle */
    border-color: transparent transparent var(--background-light) transparent;
}

/* "Peace of mind" / "Customize your care" section */
#peace-of-mind-budget { /* Renamed for clarity if this is a specific section */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: var(--spacing-xxl) var(--spacing-md);
    background-color: var(--background-white);
}

    #peace-of-mind-budget > div {
        width: 100%; /* Mobile first */
        margin-bottom: var(--spacing-lg);
    }

    #peace-of-mind-budget img {
        border-radius: var(--border-radius-md);
        box-shadow: var(--shadow-medium);
    }

    #peace-of-mind-budget .content-column h2 {
        margin-bottom: var(--spacing-md);
    }

        #peace-of-mind-budget .content-column h2 span {
            color: var(--primary-color);
            display: block; /* Makes "fit your budget" appear on new line */
            line-height: 1.2; /* Adjust if needed */
        }

    #peace-of-mind-budget .content-column p {
        font-size: 1.1rem;
        color: var(--text-color-medium);
        margin-top: var(--spacing-md); /* Spacing from h2 */
    }


/* ==== Custom Modal Styles ==== */
.modal-overlay_home {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* Darker overlay */
    display: none; /* JS toggles this to flex */
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Ensure it's above other content */
    padding: var(--spacing-md);
}

.modal_home {
    background: var(--background-white);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    animation: fadeInModal 0.3s ease-out;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal_home h1 { /* Targets the h1 inside .modal-content_home */
    font-family: sans-serif;
    font-size: 1.5rem;
    color: var(--text-color-dark);
    margin-bottom: var(--spacing-xl);
}

.modal_home .buttons-group { /* If you wrap buttons */
    display: flex;
    flex-direction: column; /* Stack buttons on mobile */
    gap: var(--spacing-md);
}

.modal_home .btn { /* Shared button style for this modal */
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    color: var(--text-color-light);
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    width: 100%; /* Full width for stacked buttons */
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
    font-weight: 600;
}

    .modal_home .btn:hover {
        background-color: var(--primary-color-darker);
        transform: translateY(-2px);
    }

    .modal_home .btn:focus { /* Visible focus state */
        outline: 3px solid var(--primary-color-darker);
        outline-offset: 2px;
    }


/* ==== Footer Styles ==== */
footer {
    padding: var(--spacing-xxl) 0 var(--spacing-lg) 0;
    background: var(--secondary-color);
    color: var(--text-color-light);
    font-size: 0.95rem; /* Base font size for footer */
}

    footer .container { /* Ensure footer content is containerized */
        /* Already defined globally */
    }

    footer h4, footer h5 {
        color: var(--text-color-light);
        font-family: sans-serif;
        font-size: 1.2rem; /* Slightly smaller headings for footer */
        margin-bottom: var(--spacing-md);
    }

    footer ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: var(--spacing-lg); /* Space after lists */
    }

        footer ul li {
            margin-bottom: var(--spacing-sm);
        }

            footer ul li a {
                color: #b0b0b0; /* Lighter muted color for links */
                font-family: var(--font-primary);
                text-decoration: none;
            }

                footer ul li a:hover {
                    color: var(--primary-color);
                    text-decoration: underline;
                }

    footer .mega-collapse { /* Collapsible popular topics */
        margin: var(--spacing-lg) 0;
        padding-bottom: var(--spacing-lg);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

        footer .mega-collapse h5 { /* Clickable title for collapse */
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        footer .mega-collapse #chevron-down svg {
            transition: transform var(--transition-speed) ease;
        }

        footer .mega-collapse [aria-expanded="true"] #chevron-down svg {
            transform: rotate(180deg);
        }

    footer .content p { /* Disclaimer text */
        color: #a0a0a0;
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: var(--spacing-sm);
    }

    footer .content {
        padding-bottom: var(--spacing-lg);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    footer .address-sec {
        margin-top: var(--spacing-lg);
    }

        footer .address-sec h5 { /* Company address/contact title */
            font-size: 1rem;
        }

        footer .address-sec p {
            font-size: 0.95rem;
            color: #ccc;
            margin-bottom: var(--spacing-xs);
        }

    footer .social-icons-footer { /* Renamed .col-auto for clarity */
        margin-top: var(--spacing-md);
        display: flex;
        gap: var(--spacing-md); /* Space between icons */
    }

        footer .social-icons-footer a {
            color: var(--text-color-light);
            font-size: 1.5rem; /* Size of social icons */
        }

            footer .social-icons-footer a:hover {
                color: var(--primary-color);
            }

    footer .terms-n-condition {
        padding-top: var(--spacing-lg);
        text-align: center;
    }

        footer .terms-n-condition p a {
            padding: 0 var(--spacing-xs);
            text-decoration: underline;
            color: #b0b0b0;
            font-weight: normal;
            font-size: 0.85rem;
        }

            footer .terms-n-condition p a:hover {
                color: var(--primary-color);
            }


/* ==== Responsive Adjustments ==== */

/* Medium devices (tablets, desktops) */
@@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }
    /* Banner Search Form - Row layout */
    .banner-search-form {
        flex-direction: row;
        align-items: flex-end; /* Align to bottom for varying label heights */
        gap: var(--spacing-md);
    }

        .banner-search-form .form-control-group {
            flex: 1 1 auto; /* Allow input groups to take space */
        }

        .banner-search-form #SearchService {
            flex: 0 0 auto; /* Button takes its own width */
            width: auto; /* Override mobile full width */
            min-width: 120px;
        }
    /* Service Categories - More items per row */
    .service-card {
        flex-basis: 180px; /* Adjust basis for more items */
    }
    /* Two-Column Sections - Side by side */
    .two-sec-w100 > div {
        width: 50%;
        padding: var(--spacing-xxl) var(--spacing-xl); /* More padding on larger screens */
    }

    .two-sec-w100.order-swap .image-column {
        order: 1;
    }
    /* For swapping image/content order */
    .two-sec-w100.order-swap .content-column {
        order: 2;
    }

    .two-sec-w100 .image-column {
        min-height: 500px; /* Taller image columns on desktop */
    }
    /* Budget section layout */
    #peace-of-mind-budget {
        flex-wrap: nowrap; /* Prevent wrapping on desktop */
    }

        #peace-of-mind-budget > div {
            width: 50%;
            margin-bottom: 0;
        }

        #peace-of-mind-budget .image-column { /* If you assign this class */
            padding-right: var(--spacing-xl);
        }

        #peace-of-mind-budget .content-column {
            padding-left: var(--spacing-xl);
        }
        /* Forcing order if you use the `order-2` class directly on a child */
        #peace-of-mind-budget > .order-2 {
            order: 2;
        }

        #peace-of-mind-budget > *:not(.order-2) {
            order: 1;
        }
    /* Modal buttons side-by-side */
    .modal_home .buttons-group {
        flex-direction: row;
        justify-content: center; /* Or space-around */
    }

    .modal_home .btn {
        width: auto; /* Allow buttons to size based on content */
        min-width: 150px;
    }
    /* Footer columns */
    footer .footer-columns { /* Add this class to the row holding the three link columns */
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    footer .footer-column { /* Add this class to each col-md-4 */
        flex: 1;
        min-width: 200px; /* Prevent columns from getting too narrow */
        margin-bottom: 0; /* Remove mobile bottom margin */
        padding: 0 var(--spacing-md); /* Add some horizontal padding */
    }

    footer .address-sec {
        text-align: left; /* Align left on desktop */
    }

    footer .social-icons-footer {
        justify-content: flex-start; /* Align left on desktop */
    }
}

/* Smaller mobile adjustments (fine-tuning) */
@@media (max-width: 480px) {
    .banner-heading h2 {
        font-size: 1.8rem;
    }

    .banner-heading h3 {
        font-size: 1rem;
    }

    .banner-search-form #options,
    .banner-search-form .find-care-inpt,
    .banner-search-form #SearchService {
        font-size: 0.9rem;
        height: calc(var(--input-height) - 8px); /* Slightly smaller inputs */
    }

    .service-card {
        flex-basis: 100%; /* Full width cards on very small screens */
    }

    .caption-block h6 span {
        font-size: 0.9rem;
    }

    .caption-block h6:last-child span {
        font-size: 0.8rem;
    }

    .triangle-right-bottom {
        display: none;
    }
    /* Hide decorative element */
}



/**, body {
    margin: 0px;
    padding: 0px;
    border: 0px;
    outline: none;
}

.banner-bg {
    margin-top: 74px;
    background: rgba(20, 16, 16, 0.79) url('../main_home.webp');
    background-blend-mode: overlay;
    background-position: center;
    background-size: cover;*/
   /* height: 100vh;*/
    /*display: flex;
    color: #fff;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    position: relative;*/
   /* animation: change 20s infinite ease-in-out;*/
    /*font-family: sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.banner-heading h2 {
    font-weight: 700;
}

.banner-heading h3 {
    font-weight: 400;
    margin-top: 50px;
    margin-bottom: 20px;
}

.banner-heading div button.started-now {
    background: #EF5844;
    font-family: sans-serif;
    font-weight: 700;
    color: white;
    padding: 12px 20px;
    font-size: 20px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 20px;
}

.banner-heading div {
    max-width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

    .banner-heading div button.started-now:hover,
    .banner-heading div button.started-now:focus {
        background: #EF5844;
        outline: none;
    }

.banner-heading > div > span {
    font-family: sans-serif;
    padding: 8px 16px;
}

.find-care-inpt {
    background: none;
    color: white;
    font-family: sans-serif;
    height: 45px;
    font-size: 16px;
}

    .form-control.find-care-inpt:focus,
    .find-care-inpt:active {
        border-color: #EF5844;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(239,88,68,.6);
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(239,88,68,.6);
    }

.banner-heading > div > span:first-child {
    border-right: 2px solid #fff;
}

.banner-heading > div > span a {
    color: white;
    font-size: 20px;
    background: #EF5844;
    padding: 4px 26px;
    border-radius: 3px;
}

    .banner-heading > div > span a:hover {
        color: #fff;
    }

.banner-heading > div > span.border-right {
    background: white;
    width: 2px;
    padding: 0px;
    border-radius: 0px;
}*/
/* .banner-heading > div > span {
  font-family: sans-serif;
  font-size: 18px;
}
.banner-heading > div > span > a {
  color: white;
  background: rgba(0,0,0,0.7);
  padding: 4px 10px;
  border-radius: 4px;
} */

/*@keyframes change {
    0% {
        background-image: url('../Resourse/Image/Pages/banner-img2.jpeg');
    }

    50% {
        background-image: url('../Resourse/Image/Pages/banner-img3 .jpeg');
    }
}

.banner-bg div {
    width: 100%;*/
    /*padding: 8px;*/
/*}

.banner-heading {
    text-align: center;
}

    .banner-heading h2 span {
        background: blue;
        padding: 4px 12px;
        border-radius: 4px;
    }

.navbar {
    margin-bottom: 0px;
    background: white;
    box-shadow: none;
    border-radius: 0px;
    transition: all 0.4s ease-in-out
}

.navbar-inverse {
    border: none;
    padding-top: 12px;
    padding-bottom: 12px;
}

    .navbar-inverse .navbar-nav > .active > a,
    .navbar-inverse .navbar-brand,
    .navbar-inverse .navbar-nav > li > a,
    .navbar-inverse .navbar-nav > li > a:hover,
    .navbar-inverse .navbar-nav > .active > a:hover {
        color: #212121;
        text-shadow: none;
        box-shadow: none;
        background: none;
        font-family: sans-serif;
        font-optical-sizing: auto;
        font-size: 18px;
        font-weight: 600;
    }

        .navbar-inverse .navbar-nav > .active > a,
        .navbar-inverse .navbar-nav > li > a:hover,
        .navbar-inverse .navbar-nav > .active > a:hover {
            color: #EF5844;
            font-family: sans-serif;
        }

    .navbar-inverse .navbar-nav > .open > a,
    .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover {
        background: none;
        box-shadow: none;
        color: #EF5844;
        font-family: sans-serif;
        font-weight: 600;
    }

.navbar-nav > li > .dropdown-menu,
.dropdown-menu > li > a {
    margin-top: 11px;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 600;
}

    .dropdown-menu > li > a, .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
        padding-top: 6px;
        padding-bottom: 6px;
        margin-top: 0px;
        font-weight: 400;
    }

        .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
            background: none;
            color: #EF5844;
        }

.navbar-brand {
    padding: 0px;
    margin-right: 20px;
}

    .navbar-brand img {
        height: 43px;
        width: auto;
    }

.join {
    background: #EF5844;
    border-radius: 6px;
}

    .join a {
        color: #fff !important;
    }

#background-check {
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

    #background-check > div {
        width: 100%;
    }

        #background-check > div h2,
        #background-check > div h3 {
            text-align: center;
            font-family: sans-serif;
        }

        #background-check > div h2 {
            font-weight: 700;
        }

        #background-check > div.frame-section {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            margin-top: 20px;
        }

div.frame-section > div {
    width: 240px;
    height: 110px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    border-radius: 0px;*/
    /* border: solid 2px rgba(121, 114, 109, 0.28); */
    /*margin: 10px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2)
}

    div.frame-section > div:hover {
        box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.15);
        -webkit-box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.15);
        cursor: pointer;
    }

div.frame-section > div {
    font-family: sans-serif;
    color: #212121;
    font-size: 16px;
    font-weight: 600;
}

div.frame-section .more {
    position: absolute;
    top: 0;
    left: 0;
    width: 100;
    display: none;
    height: 100;
    background: red;
}

div.frame-section:hover .more {
    display: block;
}

#single-refferal {
    display: block;
}

.two-sec-w100 {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;*/
    /* justify-content: center; */
/*}


    .two-sec-w100 h2 {
        margin-bottom: 30px;
        margin-left: 60px;
        font-weight: 700;
        font-family: sans-serif;
        color: #212121;
    }

        .two-sec-w100 h2 span {
            color: #EF5844;
        }

    .two-sec-w100 > div:first-child {
        height: 669px;
        width: 50%;
        box-sizing: border-box;
        background-repeat: no-repeat;
        background-size: cover;
        background-image: url('../Resourse/Image/Pages/finding-care-easier.jpg');
        background-position: top right;
    }

.peace-of-mind > div:first-child {
    height: 669px;
    width: 50%;
    position: relative;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('../Resourse/Image/Pages/istockphoto-1493445348-612x612.jpeg');
    background-position: top left;
}

.caption-block {
    position: absolute;
    top: 40px;
    left: 40px;
}

    .caption-block h6 {
        margin: 0px;
        padding: 0px;
        background: transparent;
        line-height: 30px;
        font-family: sans-serif;
        margin-bottom: 2px;
    }

        .caption-block h6 span {
            display: inline-block;
            color: white;
            padding: 8px 16px;
            font-size: 22px;
            border-radius: 8px;
            background: rgba(0,0,0,0.7);
        }

.triangle-top-left {
    width: 0px;
    height: 0px;
    border-style: solid;
    position: absolute;
    top: 0;
    left: 0;
    border-width: 300px 300px 0 0;
    border-color: #faf7f7 transparent transparent transparent;
    transform: rotate(0deg);
}

.triangle-right-bottom {
    width: 0px;
    height: 0px;
    position: absolute;
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0 0 250px 250px;
    border-color: transparent transparent #faf7f7 transparent;
    transform: rotate(0deg);
}

.finding-care-easier {
    padding: 0px;
}

    .finding-care-easier ul {
        display: block;
        margin-left: 22px;
    }

    .finding-care-easier > p {
        margin-left: 60px;
        margin-bottom: 40px;
    }

    .finding-care-easier ul li {
        list-style: none;
        margin-bottom: 20px;
    }

        .finding-care-easier ul li > p {
            width: 8%;
            color: #EF5844;
            font-family: sans-serif;
            font-size: 2.25rem;
            font-weight: bold;
            line-height: 22px;
            float: left;
        }

        .finding-care-easier ul li > div h4 {
            font-family: sans-serif;
            color: #212121;
        }

        .finding-care-easier ul li > div p {
            color: #212121;
            font-family: sans-serif;
            padding-left: 40px;
        }

#peace-of-mind {
    display: flex;
    flex-wrap: nowrap;*/
    /* margin: 20px 0px; */
    /*flex-direction: row;
    align-items: center;
}

    #peace-of-mind div {
        width: 50%;
        margin: 60px 0px;
    }

        #peace-of-mind div img {
            width: 100%;
            height: auto;
        }

        #peace-of-mind div:last-child {
            padding-left: 60px;
        }

        #peace-of-mind div h2 {
            font-weight: 700;
            font-family: sans-serif;
            color: #212121;
        }

            #peace-of-mind div h2 span {
                color: #EF5844;
                line-height: 60px;
            }

        #peace-of-mind div p {
            margin-top: 60px;
            font-size: 18px;
            font-family: sans-serif;
            color: #212121;
        }*/
/* Medium devices (desktops, 992px and up) */
/*@media only screen and (max-width: 600px) {
    .banner-bg {
        flex-direction: column;
        margin-top: 40%;
    }

    .banner-heading h2 {
        font-weight: 400;
        line-height: 45px;
    }

    #background-check > div.frame-section {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .finding-care-easier h2 {
        font-size: 18;
    }

    .finding-care-easier ul li > p {
        width: 10%;
    }

    #peace-of-mind div {
        margin: 0px;
    }

        #peace-of-mind div:last-child {
            padding-left: 10px;
        }

    .peace-of-mind img {
        width: 90%;
        height: auto;
    }

    .finding-care-easier {
        margin-bottom: 20px;
    }

    div.frame-section > div {
        width: 90%;
    }

    .two-sec-w100 {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;*/
        /* justify-content: center; */
    /*}

        .two-sec-w100 > div:first-child {
            height: 200px;
            width: 80%;*/
            /* box-sizing: border-box; */
            /*background-repeat: no-repeat;
            background-size: contain;
            background-image: url('../Resourse/Image/Pages/finding-care-easier.jpg');
            background-position: top right;
            margin-bottom: 20px;
        }

    #peace-of-mind {
        display: flex;
        flex-wrap: wrap;*/
        /* margin: 20px 0px; */
        /*flex-direction: column;
        align-items: center;
    }

        #peace-of-mind div {
            width: 90%;
            margin: 0px 0px;
        }

            #peace-of-mind div p {
                margin-top: 20px;
            }

    .peace-of-mind > div:first-child {
        height: 350px;
        width: 100%;
        position: relative;
        box-sizing: border-box;
        background-repeat: no-repeat;
        background-size: cover;
        background-image: url(../Resourse/Image/Pages/istockphoto-1493445348-612x612.jpeg);
        background-position: top left;
    }

    .triangle-right-bottom {
        display: none
    }

    .caption-block h6 span {
        font-size: 14px;
    }

    .order-1 {
        order: 1
    }

    .order-2 {
        order: 2
    }*/
    /* .banner-heading {
    text-align: left;
  } */
    /*.navbar-nav {
        margin: 0px !important;
    }

    ul {
        width: 95% !important;
    }

    .pull-right {
        float: left !important;
    }

    .navbar-brand img {
        margin-top: 14px;
        margin-left: 13px;
        width: 203px;
    }
    }
}

footer {
    display: block;
    width: 100%;
    margin: 0px;
    padding: 40px 0px;
    background: #23232f;
    margin-top: 40px;
}

    footer h4 {
        color: #fff;
        font-family: sans-serif;
    }

    footer ul,
    footer ul li {
        display: block;
        list-style: none;
    }

        footer ul li:before {
            content: "•";
            padding-right: 10px;
            font-size: 100%;
            font-weight: bold;
            color: #cec2c2;
        }

        footer ul li a {
            color: #cec2c2;
            font-family: sans-serif;
        }

            footer ul li a:hover {
                color: #EF5844;
            }

    footer .mega-collapse {
        margin: 20px 0px;
        padding: 0px 0px 20px 0px;
        border-bottom: 1px solid #403e3e;
    }

    footer .content {
        padding-bottom: 20px;
        padding-top: 10px;
        border-bottom: 1px solid #403e3e;
    }

    footer h5 {
        color: #fff;
    }

    footer p {
        color: #98979d;
    }

    footer .address-sec p {
        font-size: 18px;
        color: #ccc;
    }

    footer .col-auto {
        flex;
        0 0 auto;
        width: auto;
        margin-top: 20px;
    }

        footer .col-auto a {
            padding: 0px 5px;
            font-size: 200%;
            color: white;
        }

            footer .col-auto a:hover {
                color: #EF5844;
                text-decoration: none;
            }

    footer .terms-n-condition {
        padding-top: 20px;
    }

        footer .terms-n-condition p {
            text-align: center;
        }

            footer .terms-n-condition p a {
                padding-left: 5px;
                padding-right: 5px;
                text-decoration: underline;
                color: #fff;                
                font-weight: normal;
                font-size: 12px;
            }

                footer .terms-n-condition p a:hover {
                    color: #EF5844;
                }*/
/*------ input on hope page-------*/
/*.form-group {
    display: flex;
    align-items: center;
}

.find-care-inpt {
    width: 100%;
    padding: 10px;
}

.suggestion-box {
    border: 1px solid #ccc;
    border-top: none;
    max-height: 150px;
    overflow-y: auto;
    display: none;
    position: absolute;
    background-color: #fff;
    width: calc(100% - 22px);
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
}

    .suggestion-item:hover {
        background-color: #f0f0f0;
    }*/
/*------ input on hope page end-------*/