/* Start custom CSS for html, class: .elementor-element-166bc2d *//*=============================
 BLOG HERO SECTION
==============================*/

.blog-hero{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    padding:90px 7%;
    background:#fff;
    overflow:hidden;
    z-index:1;
}

/* Background Circles */

.blog-hero::before{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:#0B6E4F;
    border-radius:50%;
    top:-180px;
    right:-120px;
    z-index:0;
}

.blog-hero::after{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    background:#ddd;
    border-radius:50%;
    bottom:-120px;
    left:-80px;
    z-index:0;
}

/*=============================
 CONTENT
==============================*/

.hero-content{
    flex:1;
    max-width:650px;
    position:relative;
    z-index:2;
}

.hero-tag{
    display:inline-block;
    padding:8px 20px;
    background:#000;
    color:#fff;
    border-radius:30px;
    font-size:14px;
    margin-bottom:20px;
}

.hero-content h1{
    font-size:52px;
    color:#0B3D6D;
    line-height:1.2;
    margin-bottom:20px;
}

.hero-content p{
    font-size:18px;
    line-height:1.8;
    color:#000;
    margin-bottom:35px;
    text-align:justify;
}

/*=============================
 BUTTONS
==============================*/

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    transition:.3s;
    font-weight:600;
}

.primary-btn{
    background:#0B3D6D;
    color:#fff;
}

.primary-btn:hover{
    background:#0B6E4F;
}

.secondary-btn{
    border:2px solid #000;
    color:#000;
}

.secondary-btn:hover{
    background:#000;
    color:#fff;
}

/*=============================
 HERO IMAGE
==============================*/

.hero-image{
    flex:1;
    text-align:center;
    position:relative;
    z-index:1;
}

.hero-image img{
    width:100%;
    max-width:500px;
    height:auto;
    display:block;
    margin:auto;
    animation:float 4s ease-in-out infinite;
}

@keyframes float{

0%{
transform:translateY(0);
}

50%{
transform:translateY(-12px);
}

100%{
transform:translateY(0);
}

}

/*=============================
 TABLET
==============================*/

@media (max-width:991px){

.blog-hero{
    flex-direction:column-reverse;
    text-align:center;
    padding:60px 25px;
    gap:30px;
}

.hero-content{
    max-width:100%;
}

.hero-content h1{
    font-size:38px;
}

.hero-content p{
    font-size:16px;
    text-align:center;
}

.hero-buttons{
    justify-content:center;
}

.hero-image img{
    max-width:360px;
}

.blog-hero::before{
    width:300px;
    height:300px;
}

.blog-hero::after{
    width:220px;
    height:220px;
}

}

/*=============================
 MOBILE
==============================*/

@media (max-width:576px){

.blog-hero{
    padding:40px 15px;
}

.hero-tag{
    font-size:13px;
}

.hero-content h1{
    font-size:28px;
    line-height:1.3;
}

.hero-content p{
    font-size:15px;
    line-height:1.7;
    text-align:center;
}

.hero-image img{
    max-width:260px;
}

.hero-buttons{
    flex-direction:column;
    width:100%;
}

.primary-btn,
.secondary-btn{
    width:100%;
    text-align:center;
}

.blog-hero::before{
    width:180px;
    height:180px;
    top:-80px;
    right:-60px;
}

.blog-hero::after{
    width:140px;
    height:140px;
    bottom:-60px;
    left:-50px;
}

}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-c71b007 */.blog-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

/* =========================
   CARD DESIGN
========================= */

.blog-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    position:relative;
    transition:0.4s ease;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.blog-card:hover{
    transform:translateY(-12px);
    box-shadow:0 18px 45px rgba(188,55,52,0.18);
}

/* Image */

.blog-image{
    position:relative;
    overflow:hidden;
}

.blog-image img{
    width:100%;
    height:240px;
    object-fit:cover;
    transition:0.5s ease;
}

.blog-card:hover .blog-image img{
    transform:scale(1.08);
}

/* Category Tag */

.blog-tag{
    position:absolute;
    top:18px;
    left:18px;
    background:#0B6E4F;
    color:#fff;
    padding:7px 16px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.5px;
}

/* Content */

.blog-content{
    padding:28px;
}

.blog-content h3{
    font-size:22px;
    line-height:1.5;
    color:#0B6E4F;
    margin-bottom:16px;
    transition:0.3s;
}

.blog-card:hover h3{
    color:#0B3D6D;
}

.blog-content p{
    font-size:15px;
    line-height:1.9;
    color:#000;
    text-align: justify;
    margin-bottom:24px;
    text-align:justify;

    display:-webkit-box;
    -webkit-line-clamp:5;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* Footer */

.blog-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* Button */

.read-btn{
    text-decoration:none;
    background:linear-gradient(135deg,#0B3D6D,#0B3D6D);
    color:#fff;
    padding:12px 22px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    transition:0.3s ease;
}

.read-btn:hover{
    transform:translateY(-3px);
     background:linear-gradient(135deg,#0B6E4F,#0B6E4F);  color:#000;    color:#fff;
}



/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

    .blog-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){

    body{
        padding:30px 20px;
    }

    .blog-grid{
        grid-template-columns:1fr;
    }

    .blog-content h3{
        font-size:20px;
    }
}/* End custom CSS */