.header{

    background-color: white;
    color: black;
}
.main-menu>ul#top_menu>li span>a{
    color: black;
    font-size: 1rem;
}
.btnHead-area .btn_add{
    background-color: #D31F2B;
    border-radius:6px
}
.above-hero{
    background-color: white;
}
header.sticky .main-menu>ul#top_menu>li span>a{
    color: black;
}

.hero-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.1rem;
    color: black;
    margin-bottom: 20px;
}

.get-started-btn {
    background-color: #D31F2B;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Card Styling */
.card-custom {
    background-color: white;
    border-radius: 10px;
    min-height: 200px;
    text-decoration: none;
    color: black;
    box-shadow: 3px 2px 20px 2px rgb(212 30 43 / 21%);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-10px); /* Elevation on hover */
    background-color: #D31F2B;    /* Background color change on hover */
    box-shadow: 0px 8px 16px rgba(217, 83, 79, 0.4); /* Spread shadow with #d9534f */
    color: white;                 /* Text color on hover */
}

.card-custom:hover .card-header-custom,
.card-custom:hover .card-body {
    color: white; /* Ensure header and body text becomes white on hover */
}
.card-text{
    padding:10px;
}

.card-header-custom {
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
    padding: 10px;
    border-radius: 10px 10px 0 0;
}
.card-header-custom2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
    text-align: left;
    border-radius: 10px 10px 0 0;
}
.card-header-custom2 img{
    height: 100% !important;
    width: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
}
.card-header-custom2 h6{
    padding: 10px;
    font-weight: bolder;
}
.card-header-custom2 div{
    font-size: 14px;
    padding :10px;
    font-weight: normal;
}
.card-body {
    padding: 20px;
    font-size: 1rem;
    color: #6c757d;
    transition: color 0.3s ease; /* Smooth color change */
}

/* Colors for different cards */
.independent {
    background-color: #d9534f;
}

.assisted {
    background-color: #f0ad4e;
}

.memory-care {
    background-color: #5bc0de;
}

.board-care {
    background-color: #0275d8;
}

.ccrc {
    background-color: #5cb85c;
}
.section-heading{
    color: #D31F2B;
    font-weight: 600;
}
.respite {
    background-color: #D31F2B;
}

@media (max-width: 768px) {
    .card-deck {
        flex-direction: column;
    }
}
.main_categories a:hover img {
    transform: scale(1.1);
    filter: brightness(0) invert(1);
}
.main_categories img {
    padding: 10px;
}


.form-section {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.form-section input, .form-section button {
    border-radius: 5px;
}
.header {
    text-align: center;
    margin-bottom: 20px;
}
#mc-embedded-subscribe{
    margin: 0 !important;
}
.btn-input-style{
    border: none !important;
    border:10px;
    border-radius:6px; !important;
}
.rounded-10{
    box-shadow: 3px 2px 20px 2px rgba(93, 12, 17, 0.32);
    border-radius: 15px;
}
.rounded-12 {
    border-radius: 10px;
}

.input-group-text {
    background-color: white;
    border: none;
}

.color-primary {
    color: #D31F2B !important;
}
.color-black {
    color: rgba(0, 0, 0, 0.59) !important;
}

.background-primary {
    background-color: #D31F2B !important;
    border: none;
    border-color: #D31F2B !important;
}
.background-black {
    background-color: black !important;
    border: none;
    border-color: black !important;
}

.strong-text{
    font-weight: 900
}
.box_how{
    border: 0.5px solid gray;
    padding: 20px;
    border-radius: 10px;
}


.secondary-menu {
    background-color: #f8f9fa; /* Light background */
    margin-top:50px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    border-top: 1px solid #ddd;
}
.secondary-menu a {
    color: #383434 !important;
    font-weight: 500;
}
.secondary-menu a:hover {
    color: #dc3545; /* Red color on hover */
}
.section-cards{
    background-color: #1A1A1A; /* Dark background */
    padding: 50px;
}
.section-cards .card-body{
    padding: 5px;
}
.section-cards .card-body img{
    padding: 5px;
    height: 50px;
    width: 50px;
}
.section-cards .card{
    border-radius: 10px !important;
}
.section-cards .card-title{
    font-size: 18px;
}

/* Hide secondary menu on mobile */
@media (max-width: 991.98px) {
    .secondary-menu {
        display: none;
    }
}
.secondary-menu .nav-link {
    padding-left: 18px !important;
    padding-right: 18px !important;
}
.swiper-container {
    width: 100%;
    height: auto;
}

.swiper-wrapper {
    display: flex;
}

.testimonial-box {
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    flex: 1; /* Make each box take equal space */
    margin: 0 10px; /* Space between items */
}

.swiper-slide-active .testimonial-box {
    border:  1px solid #dc3545;
    transform: scale(1.05);
    box-shadow: 3px 2px 20px 2px rgb(212 30 43 / 21%);
}

.author {
    font-family: cursive;
    display: block;
    margin-top: 10px;
}

.testimonial-text {
    font-size: 0.7em;
    text-align: left;
}
.swiper-button-next,
.swiper-button-prev {
    color: white; /* Arrow color */
    font-size: 30px; /* Arrow size */
    width: 50px; /* Width of the button */
    height: 50px; /* Height of the button */
    z-index: 10; /* Ensure it's on top */
    position: absolute; /* Position them absolutely */
    top: 50%; /* Adjust this value to move the arrows vertically */
    transform: translateY(-50%); /* Center vertically based on top */
    background-color: white;
    box-shadow: 3px 3px 8px 3px rgb(0 0 0 / 18%); /* Shadow for elevation */
    border-radius: 50%; /* Makes the background round */
}


.swiper-button-next {
    right: 10px; /* Position to the right */
}

.swiper-button-prev {
    left: 10px; /* Position to the left */
}

.swiper-container {
    width: 100%;
    padding: 10px;
    height: auto;
    position: relative; /* Ensure buttons are positioned correctly */
    overflow: hidden; /* Prevent overflow */
}

/* Optional: To make the arrows more visible */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px; /* Adjust arrow size if needed */
    color: #000; /* Arrow color */
}
.swiper-slide img{
    width: 70% !important;
}

.swiper-slide {
    width: calc((100% / 3) - 20px); /* Adjust for spaceBetween */
    box-sizing: border-box; /* Ensure padding/margin is included */
}

.nav-item.active {
    background-color: rgba(217, 83, 79, 0.2); /* Lighter shade as background */
    border-radius: 5px; /* Optional: round the corners */
}
.nav-item.active {

    background-color: rgba(217, 83, 79, 0.2); /* Lighter shade as background */
    border-radius: 5px; /* Optional: round the corners */
}
.nav-item.active a{
    color:#d9534f !important;
    font-weight: bold; !important; /* Make text bold */
}
.secondary-menu.nav-item:hover{
    background-color: rgba(217, 83, 79, 0.2); /* Lighter shade as background */
    border-radius: 5px; /* Optional: round the corners */
}
.swiper-properties {
    width: 100%;
    padding: 10px;
    height: auto;
    position: relative; /* Ensure buttons are positioned correctly */
    overflow: hidden; /* Prevent overflow */
}
.swiper-properties img{
    width: 100% !important;
    height:200px
}
.swiper-properties .card-body{
    padding-left: 10px !important;

}
.swiper-properties .card{
    background-color: white; /* Card background */
    border-radius: 10px; /* Rounded corners */
    padding: 0px; /* Inner padding */
    box-shadow: 3px 3px 8px 3px rgb(0 0 0 / 18%); /* Shadow for elevation */
    transition: box-shadow 0.3s ease; /* Smooth transition */

}

.swiper-properties.swiper-slide {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.hero_single.version_2{
    background: #222 url('images/sl-banner.jpeg') top right !important;
    height: 655px;
}

.hero_single.version_2 .wrapper{
    background-color: transparent !important;
    margin-top:50px;
}

keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 2s ease-in-out;
}
@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.zoom-in {
    animation: zoomIn 1.5s ease-in-out;
}

@keyframes hoverEffect {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.image-hover:hover {
    animation: hoverEffect 0.3s forwards;
}
#selections .card-img-top{
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;

}
.logo-footer{
    margin-left: 25px;
    margin-bottom: 10px;
    width: 60%;
}
.text-bold{
    font-weight: 1000;
}
.white-img{
    filter: brightness(0) invert(1);
}
.social-icons-row {
    list-style-type: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
    display: flex; /* Display the list items in a row */
    gap: 15px; /* Optional: Adds space between the icons */

}
.swiper-properties .card-title {
    white-space: nowrap;        /* Prevents the text from wrapping to the next line */
    overflow: hidden;           /* Ensures the overflow text is hidden */
    text-overflow: ellipsis;    /* Adds an ellipsis (...) at the end of the truncated text */
    max-width: 100%;            /* Adjusts to the width of the container */
    display: block;             /* Ensures the element behaves as a block */
}
.img_full{
    width: 100%;
    height: 100% !important;
    object-fit: cover
}
.title-text {
    font-size: 30px;
}
.detail i{
    color: #d9534f;
}
.feature-content .text-bold{
    margin-top: 10px;
    margin-bottom: 10px;
}
html, body {
    overflow-x: hidden;
}
.active-card{
    transform: translateY(-10px);
    background-color: #D31F2B;
    box-shadow: 0px 8px 16px rgba(217, 83, 79, 0.4);
    color: white;
}
.active-card span{
    color: white !important;
}
.dropdown-menu{
    width: 100%;
    left: 0; /* Align it with the button */
    transform: translate3d(0px, 0px, 0px) !important;
    padding: 10px;
}
.dropdown-menu .form-check{

    padding-top: 3px;
    padding-bottom: 3px;
}
.dropdown button{
    border-radius: 10px;
}
.swal-button{
    background-color: #D31F2B !important;
}
.swal-title{
    color:black !important;
    text-align:left;
    font-weight: bold;
    padding: 1px 16px;
}
.swal-text{
    color: black !important;
}
.card-rounded{
    box-shadow: 3px 8px 20px 2px rgb(209 200 200);
    border-radius: 10px;
}
.card-rounded img{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    min-height: 150px;
    max-height: 150px;
}
.card-rounded .card-title {
    white-space: nowrap;          /* Prevents the text from wrapping */
    overflow: hidden;             /* Hides any overflow */
    text-overflow: ellipsis;      /* Adds ellipsis (...) at the end if the text is too long */
    max-width: 95%
}
.card-rounded  p{
    white-space: nowrap;          /* Prevents the text from wrapping */
    overflow: hidden;             /* Hides any overflow */
    text-overflow: ellipsis;      /* Adds ellipsis (...) at the end if the text is too long */
    max-width: 95%
}
.banner-how-it-works {
    margin-top: 50px;
    color: white;
    background: #222 url(images/how-it-works-2.jpg) no-repeat top center; /* Center the background */
    background-size: cover; /* Ensure the background covers the entire element */
    height: 75vh;
}
.about-bg {
    margin-top: 50px;
    color: white;
    background: #222 url(images/about-us-image.jpg) no-repeat top center; /* Center the background */
    background-size: cover; /* Ensure the background covers the entire element */
    height: 75vh;
}
.banner-how-it-works .wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    background: linear-gradient(to right, rgb(0 0 0 / 98%), rgba(0, 0, 0, 0.2)) /* Gradient shadow */
}
.banner-how-it-works h3 {
    font-size: 70px;
    color: white;
    font-weight: 600;
}
.just-rounded{
     border-radius: 50px;
     max-height: 70%;
}
.lh-3{
    line-height: 3.1rem;
}
.list-unstyled li i {
    background-color: pink;
    color: #d41e2b;
    border-radius: 50%; /* Makes the background circular */
    padding: 10px;
    font-size: 16px; /* Adjust the size of the icon */
    margin-right: 10px; /* Adds space between the icon and text */
}
.list-unstyled li{
    font-size: 16px;
    padding: 7px;
}

.rounded-10-2{
    box-shadow: 12px 13px 0px 5px #f0d5da;
    border-radius: 15px;
}
.rounded-10-2-inverse{
    box-shadow: -15px 14px 0px 5px #f0d5da;
    border-radius: 15px;
}

.parent-container {
    display: flex;
    margin-left:70px;
    justify-content: flex-end;
}


.btn_mobile {
    margin: 0; /* Adjust margins if necessary */
}
.margin_80 {
    padding-bottom: 60px;
    padding-top: 60px;
}

@media (max-width: 767px) {
    .main-header h1 {
        font-size: 24px; /* Adjust the font size as needed */
    }
    .text-bold {
        font-size: 14px; /* Adjust font size for mobile */
    }
    .section-cards{
        padding: 15px;
    }
    .mm-listview{
        position: initial !important;
    }

    .lh-3 {
        line-height: 1.2; /* Adjust line height for mobile */
    }
    .margin_80 {
        padding-bottom: 0px;
        padding-top: 30px;
    }
    .logo-footer{
        width: 50%;
    }
}
/* General form container styles */
.custom-form-container {
    width: 80%;
    margin: 0 auto;
}

/* Form input container */
.form-input-container {
    background-color: white;
    padding: 3px;
}

/* Left and Right inputs - Rounded corners */
.form-input-left {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.form-input-right {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* For Search button */
.submit {
    width: 100%;
    height: 100%;
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-input-container {
        margin-bottom: 10px;
    }
    .custom-search-input-2 input{
        height: 40px;
    }

    /* Ensure inputs and button take full width */
    .submit {
        width: 100%;
    }
}
.btn-search {
    padding-top: 5px;
    margin-left: 5px;
}
.left-side {
    width: 40%;
    background-color: #dc3545;
    padding: 20px;
    border-radius: 10px 0 0 10px;
    color: white;
}
.right-side {
    width: 60%;
    padding: 20px;
    border-radius: 0 10px 10px 0;
}
.fa-user, .fa-envelope, .fa-phone {
    color: #dc3545;
    margin-right: 10px;
}
.btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
}
.btn-danger {
    color: #fff;
    background-color: #d41e2b;
    border-color: #d41e2b;
}
@media (max-width: 576px) {
    .custom-form-container {
        width: 100%; /* Adjust form width for smaller screens */
    }
    .main-image{
        height: 100%;
    }
    .btn-search {
        padding-top: 0px;
        margin-left: 0px;
        margin-top: 20px;
    }

    .form-input-container {
        padding: 0px; /* Reduce padding for smaller devices */
    }
    .form-input-left {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    .custom-search-input-2 .selectize-input, .custom-search-input-2 .selectize-input input{
        border-radius: 5px !important;

    }
    .custom-search-input-2 .selectize-control{
        height: 40px;
    }
    .custom-search-input-2 input[type=submit], .custom-search-input-2 button.submit{
        width: 70%;
    }
    .form-input-right {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    .hero-section{
        padding: 10px;
    }
    .hero-section h1{
        font-size: 1.5rem;
    }
    .box_how{
        margin-bottom: 15px;
    }
    .left-side{
        border-radius: 10px 10px 10px 10px;
    }
    .banner-how-it-works h3{
        font-size: 35px;
    }
    .about-bg{
        height: 60vh;
    }
    .box_detail{
        padding: 0px;
    }
    .feature-content{
        padding: 0px 0px 10px;
    }
    section.detail {
        margin-bottom: 5px
    }
    section.detail h2{
        margin-bottom: 10px;
        font-weight: bold;
    }
}
/* Custom Modal Styles */
.custom-modal-dialog {
    max-width: 85%;
    margin: 1.75rem auto;
}

.custom-modal-content {
    position: relative;
    border: none;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
}

.custom-modal-body {
    position: relative;
    padding: 0;
    margin: 0;
}

.custom-coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    padding: 20px;
    color: white;
    border-radius: 12px;
    background: #ff000069;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.custom-coming-soon-img {
    width: 100%;
    height: auto;
    border: none;
}

.custom-close{
    font-size: 2.5rem;
    color:white;
}

/* Overlay background styling for the modal */
.custom-modal-overlay {
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
}

modal-backdrop {
    z-index: -1 !important;
}
.article-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.article-img-1 {
    object-fit: cover;
    height: 100%;
}
.article-info {
    padding: 20px;
}
.article-title {
    font-size: 24px;
    font-weight: bold;
}
.article-subtitle {
    font-size: 16px;
    color: #6c757d;
}
.read-more {
    color: red;
}
.avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
}
.author-info {
    font-size: 14px;
    color: #6c757d;
}

.article-section {
    padding: 50px 0;
}
.article-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.article-card:hover {
    transform: translateY(-5px);
}
.article-img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 200px;
    object-fit: cover;
}
.article-title {
    font-size: 20px;
    font-weight: bold;
}
.article-subtitle {
    font-size: 14px;
    color: #6c757d;
}
.read-more {
    color: red;
    font-weight: bold;
    cursor: pointer;
}
.author-info {
    display: flex;
    align-items: center;
    margin-top: 15px;
}
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}
.author-name {
    font-size: 14px;
    font-weight: bold;
}
.author-date {
    font-size: 12px;
    color: #6c757d;
}
.main-image{
    width: 100%;
    height: 70vh !important;
    object-fit: cover
}
p{
    font-size: 16px;
}
