.bloghero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 90px 8%;
    background: url('assets/image/About.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    color: #fff;
}

/* Dark green jungle overlay */
.bloghero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 40, 20, 0.75),
        rgba(0, 60, 30, 0.85)
    );
}

.bloghero > div {
    position: relative;
    z-index: 2;
}
.blogNavigation{
    display: flex;
    justify-content: center;
    gap: 10px;
}
.blogNavigation a{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
}
/* Left Content */
.bloghero-left {
    width: 50%;
}

.bloghero-left h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #f4f1e6; /* light earthy */
    letter-spacing: 1px;
}

.bloghero-left p {
    color: #d4e3d2;
    margin-bottom: 25px;
    line-height: 1.6;
}

.bloghero-left a {
    display: inline-block;
    padding: 12px 28px;
    background: #2e7d32; /* jungle green */
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s ease;
    font-weight: 500;
}

.bloghero-left a:hover {
    background: #1b5e20;
    transform: translateY(-3px);
}

/* Right Side */
.bloghero-right {
    width: 45%;
    position: relative;
}

.bloghero-right img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Trending Card */
.trendingblog {
    background: #fff;
    padding: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    backdrop-filter: blur(6px);
}

.trendingblog h2 {
    font-size: 20px;
    color: #111;
    margin-bottom: 10px;
}

.trendingblog p {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

.trendinbtns {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trendinbtns p {
    font-size: 13px;
    color: #555;
}

.trendinbtns a {
    padding: 6px 15px;
    background: #4caf50;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 13px;
    transition: 0.3s;
}
.trendinbtns a:hover{
    color: #fff;
}


/* 2nd section start */

/* SECOND SECTION */
.blog-content-section {
    display: flex;
    justify-content: space-between;
    padding: 40px 9%;
    gap: 30px;
}

/* BLOG CARDS */
.blog-cards {
    width: 70%;
}

.blogcardBox {
    display: flex;
    gap: 25px;
    background: #fff; 
    border-radius: 15px;
    overflow: hidden;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    transition: 0.4s ease;
}

.blogcardBox:hover {
    transform: translateY(-8px);
}

/* Left Image */
.blogCardImage {
    width: 40%;
    overflow: hidden;
    border-radius: 12px;
}

.blogCardImage img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: 0.4s ease;
}

.card:hover .blogCardImage img {
    transform: scale(1.08);
}

/* Right Text */
.blocgCardtext {
    width: 60%;
    color: #111;
}

.blocgCardtext h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #111;
    text-align: justify;
}

.blocgCardtext p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #444;
    text-align: justify;
}

/* Action Row */
.blogCardAction {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blogCardAction p {
    font-size: 13px;
    color: #555;
}

.blogCardAction a {
    padding: 6px 18px;
    background: #4caf50;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 13px;
    transition: 0.3s ease;
}

.blogCardAction a:hover{
    color: #fff;
}

/* SIDEBAR */
.sidebarContainer{
    width: 25%;
}
.innersidebarSticky{
    position: sticky;
    top: 90px;
}
.sidebar-box {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 10px;
}
.sidebar-box h5 {
    margin-bottom: 15px;
    color: #111;
    padding: 5px;
    border-bottom: 1px solid #999;
    font-size: 18px;
    text-align: center;
} 

.blogservicebox {
    position: relative;
    border-radius: 15px;
    margin-bottom: 20px;
    height: 150px;
    overflow: hidden;
}

.blogService {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    color: #fff;
    padding-bottom: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.363), transparent);
    border-radius: 15px;
    transition: 0.3s ease;
}

.blogservicebox:hover .blogService {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
    color: #fff;
}

.sidebar-box .ulist {
    list-style: none;
    padding: 0;
    height: 300px;
    overflow: hidden;
    overflow-y: scroll;
}

.sidebar-box .ulist li {
    margin-bottom: 8px;
}

.sidebar-box .ulist li a {
    text-decoration: none;
    color: #333;
}
.blogsocial{
    display: flex;
    justify-content: center;
}
.blogsocial a{
    margin:0 5px;
    font-size: 22px;
}

/* Blog details page */
.blogheroDetail{
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    position: relative;
    color: #fff;
    height: 400px;
}
.blogheroDetail::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 40, 20, 0.75),
        rgba(0, 60, 30, 0.85)
    );
}
.bloghero-detail{
    text-align: center;
    color: #fff;
    width: 70%;
    margin: auto;
    z-index: 2;
}
.blogDescribeBox{
    width: 70%;
}
.blogDescribeBox img{
    width: 100% !important;
} 



/* =========================
   TABLET RESPONSIVE (1024px)
========================= */
@media (max-width: 1024px) {

    .bloghero {
        flex-direction: column;
        text-align: center;
        padding: 60px 5%;
    }

    .bloghero-left,
    .bloghero-right {
        width: 100%;
    }

    .bloghero-left h1 {
        font-size: 36px;
    }

    .blog-content-section {
        flex-direction: column;
        padding: 40px 5%;
    }

    .blog-cards {
        width: 100%;
    }

    .sidebarContainer {
        width: 100%;
    }

    .innersidebarSticky {
        position: relative;
        top: 0;
    }

    .blogDescribeBox {
        width: 100%;
    }
}


/* =========================
   MOBILE RESPONSIVE (768px)
========================= */
@media (max-width: 768px) {

    .bloghero {
        padding: 50px 5%;
    }

    .bloghero-left h1 {
        font-size: 28px;
    }

    .bloghero-left p {
        font-size: 14px;
    }

    /* Blog Cards Stack */
    .blogcardBox {
        flex-direction: column;
        padding: 15px;
    }

    .blogCardImage {
        width: 100%;
    }

    .blogCardImage img {
        height: 200px;
    }

    .blocgCardtext {
        width: 100%;
        margin-top: 15px;
    }

   

    /* Hero Detail */
    .blogheroDetail {
        height: 250px;
        padding: 20px;
    }

    .bloghero-detail {
        width: 95%;
    }

}


/* =========================
   SMALL MOBILE (480px)
========================= */
@media (max-width: 550px) {

    .bloghero-left h1 {
        font-size: 22px;
        text-align: center;
    }

    .bloghero-left a {
        padding: 10px 20px;
        font-size: 14px;
    }
    .bloghero-right img{
        height: 150px;
    }
    .blocgCardtext h3{
        font-size: 16px;
    }

    .trendingblog h2 {
        font-size: 18px;
    }

    .blogCardImage img {
        height: 170px;
    }

    .sidebar-box .ulist {
        height: auto;
        max-height: 250px;
    }
}
