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: 5rem;
    margin-bottom: 8rem;
}

.hero-old-age {
    width: 100%;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 400px;
}

.hero-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(255, 255, 255, .97) 0%,
            rgba(255, 255, 255, .9) 35%,
            rgba(255, 255, 255, .45) 55%,
            rgba(255, 255, 255, 0) 75%);
}

.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 700px;
    z-index: 10;
}

.hero-content h1 {
    font-size: 50px;
    max-width: 620px;
    font-family: Georgia, serif;
    font-weight: 700;
    line-height: 1.1;
    color: #222;
}

.hero-content .a_safe_home_text {
    font-size: 60px;
    color: #222;
}

.hero-content .senior_citizen_text {
    font-size: 40px;
    color: #222;
}

.hero-content .love_dignity_text {
    font-size: 58px;
    color: #0b7a39;
}

.hero-content p {
    margin-top: 25px;
    font-size: 18px;
    line-height: 1.8;
    color: #000;
    max-width: 350px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.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-next,
.swiper-button-prev {
    width: 55px;
    height: 55px;
    /* background:#fff; */
    border-radius: 50%;
    /* box-shadow:0 5px 20px rgba(0,0,0,.2); */
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    display: none;
    color: #0b7a39;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #0b7a39;
}

@media(max-width:992px) {

    .hero-slide,
    .hero-slide img {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content .love_dignity_text {
        font-size: 29px;
        color: #0b7a39;
    }

    .hero-content .a_safe_home_text {
        font-size: 30px;
        color: #222;
    }

    .hero-content .senior_citizen_text {
        font-size: 23px;
        color: #222;
    }

    .swiper-button-prev:after {
        font-size: 25px !important;
    }

}

@media(max-width:768px) {


    #main-content {
        position: relative;
        top: 5.5rem;
        margin-bottom: 10rem;
    }

    .hero-slide,
    .hero-slide img {
        height: 520px;
    }

    .overlay {
        background: rgb(255 255 255 / 54%);
    }

    .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%;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .hero-content .love_dignity_text {
        font-size: 29px;
        color: #0b7a39;
    }

    .hero-content .a_safe_home_text {
        font-size: 30px;
        color: #222;
    }

    .hero-content .senior_citizen_text {
        font-size: 23px;
        color: #222;
    }

    .swiper-button-prev:after {
        font-size: 25px !important;
    }

}

@media(max-width:576px) {

    .hero-slide,
    .hero-slide img {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content .love_dignity_text {
        font-size: 29px;
        color: #0b7a39;
    }

    .hero-content .a_safe_home_text {
        font-size: 30px;
        color: #222;
    }

    .hero-content .senior_citizen_text {
        font-size: 23px;
        color: #222;
    }

    .swiper-button-prev:after {
        font-size: 25px !important;
    }

}

.blog-wrapper {
    padding: 40px 0px 0px 0px;
}

/* Tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 28px;
}

.filter-btn {
    border: 1px solid #c9d8c6;
    background: #fff;
    color: #1d7f2a;
    padding: 7px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    transition: all .25s ease;
    cursor: pointer;
}

.filter-btn:hover {
    background: #1d7f2a;
    color: #fff;
    border-color: #1d7f2a;
}

.filter-btn.active {
    background: #1d7f2a;
    color: #fff;
    border-color: #1d7f2a;
    box-shadow: 0 8px 18px rgba(29, 127, 42, .22);
}

/* Blog card */
.blog-card {
    background: #fff;
    border-bottom: 2px solid #dfe6da;
    /* border-radius: 18px; */
    overflow: hidden;
    margin-bottom: 22px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.blog-content {
    padding: 22px 0px;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

.meta .category {
    color: #1d7f2a;
    font-weight: 700;
}

.meta i {
    color: #1d7f2a;
    margin-right: 6px;
}

.blog-title {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 14px;
    font-weight: 800;
}

.blog-desc {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.read-more {
    color: #1d7f2a;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .2px;
}

.read-more i {
    margin-left: 6px;
    transition: transform .2s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 991px) {
    .blog-title {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .blog-wrapper {
        padding: 24px 0;
    }

    .filter-tabs {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .blog-image {
        height: 210px;
    }

    .blog-content {
        padding: 18px;
    }

    .blog-title {
        font-size: 22px;
    }

    .blog-desc {
        font-size: 15px;
    }
}

/* Sidebar */
.blog-sidebar{
    position: sticky;
    top: 20px;
}

.sidebar-card{
    background:#f5f7f2;
    border:1px solid #e2e8d8;
    border-radius:16px;
    padding:18px;
    margin-bottom:22px;
}

.search-card{
    padding:14px;
}

.search-box{
    position:relative;
}

.search-box input{
    width:100%;
    height:48px;
    border:1px solid #d5ddcc;
    border-radius:12px;
    padding:0 48px 0 16px;
    font-size:14px;
    outline:none;
    background:#fff;
}

.search-box input:focus{
    border-color:#2e8b3c;
    box-shadow:0 0 0 3px rgba(46,139,60,.12);
}

.search-box button{
    position:absolute;
    right:6px;
    top:6px;
    width:36px;
    height:36px;
    border:none;
    border-radius:10px;
    background:#fff;
    color:#6b7280;
}

.sidebar-title{
    font-size:22px;
    font-weight:700;
    margin-bottom:18px;
    color:#1f2937;
    display:flex;
    align-items:center;
    gap:10px;
}

.sidebar-title i{
    color:#2e8b3c;
}

.category-list{
    list-style:none;
    padding:0;
    margin:0;
}

.category-list li{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 0;
}

.category-list li:last-child{
    border-bottom:none;
}

.category-list a{
    text-decoration:none;
    color:#2f3a2f;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:12px;
    transition:all .2s ease;
}

.category-list a i{
    width:20px;
    text-align:center;
    color:#2e8b3c;
}

.category-list a:hover{
    color:#2e8b3c;
    transform:translateX(3px);
}

.count{
    width:34px;
    height:34px;
    border-radius:50%;
    border:2px solid #8ab58f;
    color:#2e8b3c;
    font-weight:700;
    font-size:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef6ea;
}

/* Recent posts */
.recent-post{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.post-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
}

.post-item img{
    width:74px;
    height:74px;
    border-radius:12px;
    object-fit:cover;
    flex-shrink:0;
}

.post-content h6{
    margin:0 0 6px;
    font-size:15px;
    line-height:1.35;
    font-weight:700;
}

.post-content h6 a{
    color:#1f2937;
    text-decoration:none;
}

.post-content h6 a:hover{
    color:#2e8b3c;
}

.post-content span{
    color:#7b8576;
    font-size:13px;
    font-weight:600;
}

/* Mobile */
@media (max-width: 991px){
    .blog-sidebar{
        position:static;
        margin-top:24px;
    }
}

/* Newsletter card */
.newsletter-card{
    background:linear-gradient(135deg,#0f6b1f 0%, #138a2b 55%, #0c7a22 100%);
    border:none;
    color:#fff;
    padding:22px 18px;
    overflow:hidden;
    position:relative;
}

.newsletter-card::before{
    content:"";
    position:absolute;
    inset:-40px -10px auto auto;
    width:140px;
    height:140px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    filter:blur(2px);
}

.newsletter-title{
    font-size:22px;
    line-height:1.2;
    font-weight:800;
    margin-bottom:10px;
    color:#fff;
}

.newsletter-text{
    color:rgba(255,255,255,.88);
    font-size:14px;
    line-height:1.6;
    margin-bottom:18px;
    max-width:260px;
}

.newsletter-input{
    position:relative;
}

.newsletter-input input{
    width:100%;
    height:52px;
    border:none;
    border-radius:12px;
    padding:0 58px 0 16px;
    font-size:14px;
    background:#ffffff;
    color:#1f2937;
    outline:none;
    box-shadow:0 10px 24px rgba(0,0,0,.12);
}

.newsletter-input input::placeholder{
    color:#8b948b;
}

.newsletter-input input:focus{
    box-shadow:0 0 0 4px rgba(255,255,255,.18);
}

.newsletter-input button{
    position:absolute;
    right:6px;
    top:6px;
    width:40px;
    height:40px;
    border:none;
    border-radius:10px;
    background:#eef7ec;
    color:#138a2b;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    cursor:pointer;
    transition:all .2s ease;
}

.newsletter-input button:hover{
    background:#dff0da;
    transform:translateY(-1px);
}

.newsletter-message{
    margin-top:12px;
    font-size:13px;
    font-weight:600;
    color:#e9f8e6;
    display:none;
}

/* Impact Banner */
.impact-banner{
    background:#0f6b1f;
    border-top:2px solid #d7e5d0;
    border-bottom:2px solid #d7e5d0;
    border-radius: 20px;
    padding: 20px ;
}

.impact-banner-inner{
    min-height:88px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:14px 0;
}

.impact-content{
    display:flex;
    align-items:center;
    gap:18px;
}

.impact-icon{
    position:relative;
    width:54px;
    height:54px;
    color:#ffffff;
    flex-shrink:0;
}

.impact-icon .fa-heart{
    position:absolute;
    top:-2px;
    left:14px;
    font-size:28px;
}

.impact-icon .hand-icon{
    position:absolute;
    bottom:0;
    left:0;
    font-size:40px;
}

.impact-text h2{
    margin:0;
    color:#ffffff;
    font-size:28px;
    line-height:1.05;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.3px;
}

.impact-text p{
    margin:6px 0 0;
    color:#e7f3e2;
    font-size:16px;
    font-weight:500;
}

.impact-btn{
    background:#ffffff;
    color:#0f6b1f;
    text-decoration:none;
    font-weight:800;
    padding:14px 34px;
    border-radius:8px;
    min-width:180px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.18);
    transition:all .25s ease;
}

.impact-btn:hover{
    background:#f3f7f0;
    color:#0f6b1f;
    transform:translateY(-2px);
}

/* Tablet */
@media (max-width: 991px){
    .impact-text h2{
        font-size:22px;
    }

    .impact-text p{
        font-size:15px;
    }

    .impact-btn{
        min-width:160px;
        padding:12px 24px;
    }
}

/* Mobile */
@media (max-width: 767px){
    .impact-banner-inner{
        flex-direction:column;
        align-items:flex-start;
        padding:18px 0;
    }

    .impact-content{
        align-items:flex-start;
    }

    .impact-text h2{
        font-size:20px;
    }

    .impact-btn{
        width:100%;
    }
}