.counter-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #eaf8ed;
    color: #1e9c3f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: auto auto 11px;
}

.counter-icon img {
    height: 45%;
    width: 55%;
}

swiper-container {
    width: 100%;
    height: 100%;
}

swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
}

swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#main-content {
    position: relative;
    top: 7rem;
    margin-bottom: 10rem;
}

.hero-old-age {
    width: 100%;
    overflow: hidden;
}

.hero-slide1 {
    position: relative;
    background-image: url('../images/hero-banner1.jpg') !important;
    background-size: 100%;
    height: 600px;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide2 {
    position: relative;
    background-image: url('../images/donate3.jpeg') !important;
    background-size: 100%;
    height: 600px;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide3 {
    position: relative;
    background-image: url('../images/ngo2.jpg') !important;
    background-size: 100%;
    height: 600px;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide img {
    width: 100%;
    height: 570px;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #1516157d 0%, #1516157d 35%, #1516157d 55%, #1516157d 75%);
}

.hero-content h3 {
    font-size: 20px;
    font-family: "Bricolage Grotesque", Sans-serif;
    font-weight: 700;
    color: #D9DAD8;
}

.hero-content h1 {
    font-size: 50px;
    font-family: "Bricolage Grotesque", Sans-serif;
    font-weight: 700;
    color: #fff;
    margin-top: 30px;
}

.hero-content p {
    font-size: 18px;
    font-family: "Bricolage Grotesque", Sans-serif;
    color: #D9DAD8;
    margin-top: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    /* position: absolute;
    z-index: 9999; */
    flex-wrap: wrap;
    margin-top: 5px;
}

.hero-btns .btn {
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
}

.btn-success {
    background: #0b7a39;
    border: none;
}

.btn-success:hover {
    background: #06642d;
}

.btn-outline-success {
    border: 2px solid #0b7a39;
    color: #0b7a39;
}

.btn-outline-success:hover {
    background: #0b7a39;
    color: #fff;
}

.swiper-button-prev {
    display: none;
}

.swiper-button-next {
    display: none;
}

@media(max-width:992px) {

    .hero-slide,
    .hero-slide img {
        height: 550px;
    }

    .hero-slide {
        background-size: 100% 100%;
    }

    .hero-section {
        padding: 20px 0 !important;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, #15161540 0%, #15161540 35%, #15161540 55%, #15161540 75%);
        z-index: 9;
    }

    .hero-content h3 {
        color: #fdfdfc;
    }

    .hero-content h1 {
        color: #fff;
    }

    .hero-content p {
        color: #fdfdfc;
    }

}

@media(max-width:768px) {

    .hero-section {
        padding: 20px 0 !important;
    }

    #main-content {
        position: relative;
        top: 5.5rem;
        margin-bottom: 10rem;
    }

    .hero-slide,
    .hero-slide img {
        height: 520px;
    }

    .hero-slide {
        background-size: 100% 100%;
    }

    .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, #15161540 0%, #15161540 35%, #15161540 55%, #15161540 75%);
        z-index: 9;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-btns {
        flex-direction: column;
        margin-top: 10px;
    }

    .hero-btns .btn {
        width: 100%;
    }

}

@media(max-width:576px) {

    .hero-slide,
    .hero-slide img {
        height: 580px;
        margin-top: 25px;
    }

    .hero-section {
        padding: 20px 0 !important;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-slide {
        background-size: 100% 100%;
    }

}

@media(max-width:428px) {

    .hero-slide,
    .hero-slide img {
        height: 500px;
        margin-top: 25px;
    }

    .hero-slide {
        background-size: 100% 100%;
    }
}

@media(max-width:375px) {

    .hero-slide,
    .hero-slide img {
        height: 580px;
        margin-top: 25px;
    }

    .hero-slide {
        background-size: 100% 100%;
    }
}

/*=========================
    Statistics Section
==========================*/

.stats-section {
    margin-top: -70px;
    position: relative;
    z-index: 20;
    margin-bottom: 18px;
}

.stats-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    padding: 30px 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 10px 20px;
    min-height: 130px;
}

.border-lg {
    border-left: 1px solid #e7e7e7;
}

.hero_right_img_div {
    height: 500px;
    width: 500px;
}

.image_change_div {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slider.active {
    opacity: 1;
    z-index: 1;
}

.image_change_div {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slider.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: relative;
    width: 100%;
}

.hero-content-slider {
    position: relative;
    min-height: 210px;
}

.hero-content-test {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-in-out;
}

.hero-content-test.active {
    opacity: 1;
    visibility: visible;
}

.elder-section-img img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    object-position: center center;
    border-radius: 16px 16px 16px 16px;
}

.elder-home {
    padding: 20px;
    font-family: 'Poppins', sans-serif;
}

.title {
    font-size: 24px;
    font-weight: 700;
    color: #9DB96C;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.sub-title {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
    margin-bottom: 0px;
}

.sub-title span {
    color: #9DB96C;
}

.description {
    color: #8d8d8d;
    font-size: 17px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 0px;
}

.description strong {
    color: #777;
    font-weight: 700;
}

hr {
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

.section-title-elder {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.mission-text {
    color: #8d8d8d;
    font-size: 16px;
    text-align: justify;
}

.vision-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vision-list li {
    font-size: 16px;
    color: #8d8d8d;
    margin-bottom: 18px;
}

.vision-list i {
    color: #9DB96C;
    margin-right: 10px;
    font-size: 18px;
}

.better-future .item{
    height: 435px;
}

@media(max-width:991px) {

    .title {
        font-size: 30px;
    }

    .description {
        margin-bottom: 10px;
    }

    .sub-title {
        font-size: 24px;
    }

    .section-title-elder {
        font-size: 18px;
    }

    .description,
    .mission-text {
        font-size: 16px;
    }

    .vision-list li {
        font-size: 18px;
    }

}

@media(max-width:576px) {

    .title {
        font-size: 24px;
    }

    .sub-title {
        font-size: 20px;
    }

    .section-title-elder {
        font-size: 18px;
    }

}

.vision-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.family-care {
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background: #fff;
    height: 47rem;
}

.sub-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #9aa0a6;
    text-transform: uppercase;
}

.main-title-talk {
    font-size: 53px;
    font-weight: 700;
    line-height: 1.12;
    color: #111;
    margin-top: 10px;
    max-width: 800px;
}

.main-title-talk span {
    color: #9DBB67;
}

.description-talk-about {
    font-size: 20px;
    color: #8b8b8b;
    max-width: 760px;
    margin-top: 21px;
    line-height: 1.7;
}

/* Images */

.image-wrapper {
    position: relative;
    margin-top: 45px;
}

.left-image,
.right-image {
    position: absolute;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

.left-image {
    width: 295px;
    left: 0;
    top: 0;
    z-index: 2;
}

.right-image {
    width: 295px;
    right: 0;
    top: 7rem;
    z-index: 3;
}

.left-image img,
.right-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.green-box {
    position: absolute;
    width: 320px;
    height: 320px;
    background: #EEF4E3;
    left: 25%;
    top: 80px;
    border-radius: 20px 20px;
    z-index: 1;
}

/* Responsive */

@media(max-width:992px) {

    .image-wrapper {
        margin-top: 25px;
    }

    .main-title-talk {
        font-size: 46px;
    }

    .description-talk-about {
        font-size: 18px;
    }

    .image-wrapper {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .left-image,
    .right-image,
    .green-box {
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
    }

    .green-box {
        display: none;
    }

    .family-care {
        overflow: visible;
        font-family: 'Inter', sans-serif;
        background: #fff;
        height: auto;
    }
}

@media(max-width:576px) {

    .main-title-talk {
        font-size: 36px;
    }

    .description-talk-about {
        font-size: 16px;
    }

    .family-care {
        overflow: visible;
        font-family: 'Inter', sans-serif;
        background: #fff;
        height: auto;
    }
}

.appointment-form {
    padding: 0px 40px;
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    color: #0b1535;
    margin-bottom: 25px;
}

.form-label {
    font-size: 22px;
    font-weight: 600;
    color: #0b1535;
    margin-bottom: 10px;
}

.form-label span {
    color: #ff3b30;
}

.custom-input {
    height: 62px;
    border: 1px solid #e7ebf3;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 16px;
    box-shadow: none;
}

.custom-input::placeholder,
.custom-textarea::placeholder {
    color: #8d96a8;
}

.custom-input:focus,
.custom-textarea:focus {
    border-color: #3568ff;
    box-shadow: none;
}

.custom-textarea {
    border: 1px solid #e7ebf3;
    border-radius: 8px;
    padding: 18px 20px;
    resize: none;
    box-shadow: none;
}

.submit-msg-btn {
    background-color: #3568ff !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 600;
    min-width: 170px;
    transition: .3s;
}

.submit-msg-btn:hover {
    background-color: #1d4ed8 !important;
    color: #fff !important;
}

.appointment-form .form-control {
    background-color: #f6f7fa;
    height: 3rem;
    font-size: 16px !important;
}

.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

.gender-group {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 6px;
}

.imp-question {
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background: #fff;
}

.sub-title-p {
    font-size: 19px;
    max-width: 483px;
    color: #9aa0a6;
}

.panel-title>a:before {
    float: right !important;
    font-family: FontAwesome;
    content: "\f068";
    font-size: 14px;
    padding-right: 5px;
}

.panel-title>a.collapsed:before {
    float: right !important;
    content: "\f067";
}

.panel-title>a:hover,
.panel-title>a:active,
.panel-title>a:focus {
    text-decoration: none;
}

.panel-title>a {

    display: block;

    padding: 14px 22px;

    font-size: 17px;

    font-weight: 600;

    color: #333 !important;

    text-decoration: none;

    position: relative;

}

.panel-title>a.collapsed:before {
    font-size: 14px;
}

.panel-title>a:hover {

    color: #1b8b2d !important;

}

/* Plus Minus Icon */

.panel-title>a:after {

    font-family: FontAwesome;

    content: "\f068";

    position: absolute;

    right: 20px;

    top: 18px;

    font-size: 24px;

    color: #7ab800;

    transition: .3s;

}

.panel-title>a.collapsed:after {

    content: "\f067";

}

.panel-body {

    border-top: 1px solid #eee !important;

    padding: 8px;

    color: #666;

    font-size: 16px;

    line-height: 28px;

}

/* Remove bootstrap border */

.panel-default>.panel-heading {

    border: none;

}

.panel-group .panel {

    border-radius: 10px;

}

@media(max-width:768px) {

    .panel-title>a {

        font-size: 17px;

        padding: 16px;

    }

    .panel-title>a:after {

        font-size: 20px;

        right: 15px;

    }

    .appointment-form {
        padding: 30px 0px 0px 0px;
    }

}

div#accordion .panel-index {
    padding: 5px;
    background-color: #fff;
    border: none;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: none;
}

div#accordion .panel-title {
    margin-bottom: 0px;
}

div#accordion .panel-title a::after {
    display: none;
}

.elder-home-section {
    background: #f7f8fc;
    padding: 80px 0;
}

.main-title-caring {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    color: #12284b;
    max-width: 520px;
}

.highlight {
    color: #2d63f1;
    font-weight: 600;
}

.elder-home-section p {
    color: #5d6678;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
    max-width: 560px;
}

.visit-btn {
    display: inline-block;
    margin-top: 15px;
    background: #2d63f1;
    color: #fff;
    padding: 8px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
    font-size: 14px;
}

.visit-btn:hover {
    background: #1847c9;
    color: #fff;
    transform: translateY(-2px);
}

.image-box {
    position: relative;
}

.image-box img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
    object-fit: cover;
}

.trust-box {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
    font-weight: 600;
    color: #1f2d3d;
    font-size: 16px;
}

@media(max-width:991px) {

    .elder-home-section {
        padding: 60px 0;
    }

    .main-title-caring {
        font-size: 38px;
    }

    .elder-home-section p {
        font-size: 17px;
    }

    .visit-btn {
        width: 100%;
        text-align: center;
    }

}

@media(max-width:576px) {

    .main-title-caring {
        font-size: 30px;
    }

    .elder-home-section p {
        font-size: 15px;
        line-height: 1.8;
    }

    .trust-box {
        left: 10px;
        right: 10px;
        bottom: 10px;
        text-align: center;
        font-size: 14px;
    }

}

.service-card {
    height: 325px;
    background: #fff;
    border-radius: 18px;
    padding: 2rem 1.7rem;
    text-align: center;

    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);

    transition: .35s;
}

.service-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 18px 35px rgba(0, 0, 0, .18);

}

.card-icon-box {

    width: 3.5rem;
    height: 3.5rem;

    background: #dfeaff;

    border-radius: 50%;

    margin: auto;

    display: flex;
    justify-content: center;
    align-items: center;

}

.card-icon-box i {

    color: #2f63f3;
    font-size: 28px;

}

.service-card h2 {

    font-size: 1.25rem;
    color: #0f2148;


}

.service-card p {

    color: #58667b;

    font-size: .875rem;

    line-height: 1.8;

    max-width: 760px;

    margin: auto;

    margin-bottom: 30px;

}

.learn-btn {

    text-decoration: none;

    color: #2f63f3;

    font-size: .875;

    font-weight: 700;

    transition: .3s;

}

.learn-btn i {

    margin-left: 6px;

}

.learn-btn:hover {

    color: #0f48d6;

}

/* Tablet */

@media(max-width:992px) {

    .service-card {
        height: auto;
        padding: 45px 30px;

    }

    .service-card h2 {

        font-size: 30px;

    }

    .service-card p {

        font-size: 18px;

    }

}

/* Mobile */

@media(max-width:576px) {

    .service-card {
        height: auto;
        padding: 35px 20px;

    }

    .icon-box {

        width: 65px;
        height: 65px;

    }

    .icon-box i {

        font-size: 24px;

    }

    .service-card h2 {

        font-size: 26px;

    }

    .service-card p {

        font-size: 16px;

        line-height: 1.7;

    }

    .learn-btn {

        font-size: 17px;

    }

}

.why-choose {
    padding: 80px 0;
    font-family: Arial, Helvetica, sans-serif;
}

.section-title-why-choose {

    font-size: 30px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 20px;

}

.section-desc {

    color: #606b81;
    font-size: 14px;
    line-height: 1.9;
    max-width: 850px;
    margin: auto;

}

.choose-card {
    color: #fff;
    border-radius: 18px;
    padding: 20px 28px;
    text-align: center;
    transition: .4s;
    height: 100%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.choose-card:hover {

    transform: translateY(-10px);

}

.red {

    background: #e72222;

}

.green {

    background: #16a34a;

}

.blue {

    background: #3465df;

}

.brinjal {

    background: rgb(147 51 234);

}

.yellow {

    background: rgb(250 204 21);

}

.pink {

    background: rgb(219 39 119);

}

.icon {

    width: 60px;
    height: 60px;

    background: rgba(255, 255, 255, .18);

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0 auto 18px;
    font-size: 30px;
    color: #fff;

}

.choose-card h4 {

    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #000;

}

.choose-card p {

    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
    color: rgb(229 231 235);

}

/* Tablet */

@media(max-width:992px) {

    .section-title {

        font-size: 36px;

    }

    .choose-card {

        padding: 35px 25px;

    }

    .choose-card h4 {

        font-size: 24px;

    }

}

/* Mobile */

@media(max-width:576px) {

    .why-choose {

        padding: 60px 0;

    }

    .section-title {

        font-size: 28px;

    }

    .section-desc {

        font-size: 16px;

    }

    .choose-card {

        padding: 30px 20px;

    }

    .icon {

        width: 65px;
        height: 65px;

    }

    .icon i {

        font-size: 28px;

    }

    .choose-card h4 {

        font-size: 22px;

    }

    .choose-card p {

        font-size: 16px;

    }

}


.section-title-gallery {

    font-size: 30px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 20px;

}

.our-gallery {
    position: relative;
    overflow: hidden;
    padding: 0;
    height: 230px;
    border-radius: 15px;
}

.our-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.our-gallery:hover img {
    transform: scale(1.08);
}

.swiper {
    padding: 10px 0;
}