:root{
    --primary:#FF2336;
    --accent:#ff6a00;
    --black:#020205;
    --white:#ffffff;
    --light:#f8fafc;
    --text:#111827;
    --text-light:#6b7280;
  
    --radius-md:.375rem;
    --radius-lg:.8rem;
  
    --padding-top:5rem;
  }

/* =====================================================
   BLOG DETAILS PAGE
===================================================== */

.blog-details{
    width: min(900px, 92%);
    margin: 6rem auto;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

/* =====================================================
   BLOG HEADER
===================================================== */

.blog-header{
    padding: 3rem 3rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.blog-header h2{
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.blog-header h2 i{
    font-size: 1.2rem;
}

.blog-header h1{
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.blog-meta{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.blog-meta span{
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #94a3b8;
    font-size: .95rem;
}

.blog-meta i{
    color: var(--primary);
    font-size: 1rem;
}

/* =====================================================
   BLOG CONTENT
===================================================== */

.blog-content{
    padding: 3rem;
}

.blog-image{
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 2.5rem;
}

.blog-content > h1{
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.blog-content p{
    font-size: 1rem;
    line-height: 2;
    color: var(--text);
    margin-bottom: 1.7rem;
}

.blogHeading{
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* =====================================================
   BLOG FOOTER
===================================================== */

.blog-footer{
    padding: 0 3rem 3rem;
}

.blog-footer .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .95rem 1.8rem;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    text-transform: capitalize;
    transition: .3s ease;
}

.blog-footer .btn:hover{
    background: var(--accent);
    transform: translateY(-3px);
}

/* =====================================================
   TESTIMONIAL FIXES
===================================================== */

.testimonial .swiper-slide{
    height: auto;
}

.testimonial .box{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* =====================================================
   PAGE SPACING
===================================================== */

.blog-details,
.testimonial,
.ratings,
.ourapp{
    position: relative;
    z-index: 1;
}

/* =====================================================
   MOBILE RESPONSIVE
===================================================== */

@media (max-width: 991px){

    .blog-details{
        margin: 4rem auto;
    }

    .blog-header,
    .blog-content,
    .blog-footer{
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .blog-image{
        height: 350px;
    }

    .blog-content > h1{
        font-size: 1.3rem;
    }

    .blogHeading{
        font-size: 1.4rem;
    }
}

@media (max-width: 768px){

    .blog-header{
        padding: 2rem 1.5rem 1.5rem;
    }

    .blog-content{
        padding: 2rem 1.5rem;
    }

    .blog-footer{
        padding: 0 1.5rem 2rem;
    }

    .blog-header h1{
        font-size: 2rem;
    }

    .blog-image{
        height: 250px;
    }

    .blog-content > h1{
        font-size: 1.15rem;
        line-height: 1.7;
    }

    .blog-content p{
        font-size: .98rem;
    }

    .blogHeading{
        font-size: 1.2rem;
    }

    .blog-meta{
        gap: 1rem;
    }
}