
:root,.not-dark {
    --cnvs-themecolor: #0026a0;
    --cnvs-themecolor-rgb: 0, 38, 160;


    --cnvs-themecolor-2: #ff7be2;
    --cnvs-themecolor-2-rgb: 169, 232, 224;

    --cnvs-color-yellow: #ff7be2;

    --cnvs-primary-font: 'DM Sans', Sans-Serif;
    --cnvs-body-font: 'Rubik', sans-serif;

    --cnvs-section-bg: #f9f6e9;
}


@media (min-width: 992px) {
    .is-expanded-menu #header.transparent-header.floating-header .container {
        max-width: calc(960px - 24px);
    }
}

@media (min-width: 1200px) {
    .is-expanded-menu #header.transparent-header.floating-header .container {
        max-width: calc(1140px - 24px);
    }
}

@media (min-width: 1400px) {
    .is-expanded-menu #header.transparent-header.floating-header .container {
        max-width: calc(1320px - 24px);
    }
}

.dark {
    --cnvs-header-sticky-bg: transparent;
    --cnvs-header-floating-bg: var(--cnvs-themecolor);
}

.slider-element {
    margin-top: -1px;
}

.bg-color-2,
.h-bg-color-2:hover {
    background-color: rgba(var(--cnvs-themecolor-2-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-color-2[class*=bg-opacity-],
.h-bg-color-2[class*=bg-opacity-]:hover {
    background-color: rgba(var(--cnvs-themecolor-2-rgb), var(--bs-bg-opacity, 1)) !important;
}

.color-2,
.h-color-2:hover {
    color: rgba(var(--cnvs-themecolor-2-rgb), var(--bs-text-opacity, 1)) !important;
}

.color-yellow,
.h-color-yellow:hover {
    color: var(--cnvs-color-yellow) !important;
}

#header {
    --cnvs-primary-menu-font-size: 1.125rem;
    --cnvs-primary-menu-font-weight: 400;
    --cnvs-primary-menu-tt: none;
    --cnvs-primary-menu-ls: 0;
    --cnvs-primary-menu-hover-color: var(--cnvs-themecolor-2);
    --cnvs-header-floating-top-offset: 0px;
}

.hero-card {
    position: absolute;
    bottom: 10%;
}

@media (max-width: 991.98px) {
    .hero-card {
        position: relative;
        transform: none !important;
        margin-top: 20px;
        width: max-content !important;
    }
}

.bootstrap-select {
    position: relative;
    flex: 1 1 auto;
    width: 1% !important;
    min-width: 0;
}

.steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    margin: 0 10px;
}
.step.active {
    background-color: #f7931e; /* Orange for active step */
}
.step.inactive {
    background-color: #f0f0f0; /* Light gray for inactive step */
    color: #999;
}
.options-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px; /* Adjust as needed */
    text-align: center;
}
.icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    font-size: 3em; /* For icon if using text/emoji */
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Specific colors for each icon */
.icon-autonomie { background-color: #8cc63f; } /* Green */
.icon-quotidienne { background-color: #f7931e; } /* Orange */
.icon-sociale { background-color: #3cb878; } /* Light Blue/Teal */
.icon-nuit { background-color: #2b7af0; } /* Dark Blue */
.icon-hospitalisation { background-color: #00bcd4; } /* Cyan */
.icon-definir { background-color: #fbc02d; } /* Yellow */

.option-text {
    color: #555;
    font-size: 0.95em;
    font-weight: bold;
    margin-bottom: 5px;
}
.radio-button {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #2b7af0; /* Blue border */
    display: inline-block;
    cursor: pointer;
    position: relative;
}
.radio-button input[type="radio"] {
    display: none;
}
.radio-button input[type="radio"]:checked + .circle-fill {
    background-color: #2b7af0; /* Blue fill when checked */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Simple icon representation - for a real site, use SVG or FontAwesome */
.icon-autonomie::before { content: "🚿"; } /* Shower */
.icon-quotidienne::before { content: "🏠"; } /* House */
.icon-sociale::before { content: "👯"; } /* People */
.icon-nuit::before { content: "🌙"; } /* Moon */
.icon-hospitalisation::before { content: "🏥"; } /* Hospital */
.icon-definir::before { content: "❓"; } /* Question Mark */

@media (max-width: 768px) {
    .options-grid {
        flex-direction: column;
        align-items: center;
    }
    .option-item {
        width: 80%;
        max-width: 250px;
    }
}
.illustration {
    flex-shrink: 0; /* Don't shrink the illustration */
    margin-right: 30px;
    /* Placeholder for image - in a real scenario, use an <img> tag */
    width: 200px; /* Adjust size as needed */
    height: 250px; /* Adjust size as needed */
    background-color: #f0f8ff; /* Placeholder background */
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9em;
    color: #666;
    text-align: center;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="%23f7931e"/><circle cx="50" cy="30" r="15" fill="%23fbc02d"/><path d="M40 50 L60 50 L65 70 L35 70 Z" fill="%23555"/><rect x="45" y="70" width="10" height="20" fill="%238cc63f"/><circle cx="40" cy="25" r="3" fill="white"/><circle cx="60" cy="25" r="3" fill="white"/></svg>'); /* Simplified SVG for an old lady in a chair */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.services-grid {
    flex-grow: 1; /* Allow the grid to take available space */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 20px;
}

.service-card {
    display: flex;
    align-items: flex-start; /* Align icon and text to the top */
    min-height: 150px; /* Ensure cards have a minimum height */
}

.service-icon-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 2.5em; /* For icon if using text/emoji */
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Specific colors for each icon */
.icon-autonomie { background-color: #8cc63f; } /* Green */
.icon-quotidienne { background-color: #f7931e; } /* Orange */
.icon-nuit { background-color: #2b7af0; } /* Dark Blue */
.icon-sociale { background-color: #00bcd4; } /* Cyan */
.icon-hospitalisation { background-color: #3cb878; } /* Light Blue/Teal */

.service-content {
    text-align: left;
}

.service-content h3 {
    color: #2b7af0; /* Blue similar to the image text */
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 10px;
}

.service-content ul {
    list-style: none;
    padding-left: 10px;
    margin: 0;
}

.service-content ul li {
    position: relative;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9em;
}

.service-content ul li::before {
    content: "•"; /* Bullet point */
    color: #f7931e; /* Orange bullet */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

/* Simple icon representation - for a real site, use SVG or FontAwesome */
.icon-autonomie::before { content: "🚿"; } /* Shower */
.icon-quotidienne::before { content: "🏠"; } /* House */
.icon-nuit::before { content: "🌙"; } /* Moon */
.icon-sociale::before { content: "👯"; } /* People */
.icon-hospitalisation::before { content: "🏥"; } /* Hospital */

@media (max-width: 992px) {

    .illustration {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .services-grid {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
    }
}
