/* =====================================================
   OTHER HERO SECTION
===================================================== */

.other__hero{
    min-height: 55vh;
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:linear-gradient(180deg,#020205,#0f172a);
}

.other__hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,35,54,.15), transparent 35%);
}

.other__hero__content{
    position: relative;
    z-index: 2;
}

.other__hero__content h1{
    font-size: 4rem;
    text-transform: capitalize;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 1.2;
}

.other__hero__content p{
    font-size: 1.1rem;
    color: #cbd5e1;
}

.other__hero__content p a{
    color: var(--primary);
    text-transform: capitalize;
    font-weight: 600;
}

/* =====================================================
   ABOUT SECTION
===================================================== */

.about{
    background: var(--white);
}

.about__container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about__image img{
    border-radius: 1rem;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.about__content h3{
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--black);
}

.about__content > p{
    color: #475569;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.about__features{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.about__features .box{
    background: #ffffff;
    padding: 1.7rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
}

.about__features .box:hover{
    transform: translateY(-6px);
    border-color: rgba(255,35,54,.25);
}

.about__features .box i{
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about__features .box span{
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .7rem;
    color: var(--black);
}

.about__features .box p{
    color: #64748b;
    line-height: 1.7;
    font-size: .95rem;
}

/* =====================================================
   TESTIMONIAL IMPROVEMENTS
===================================================== */

.testimonial .swiper-slide{
    height: auto;
}

.testimonial .box{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

/* =====================================================
   BLOG PAGE CARDS
===================================================== */

.blogpost .box{
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.blogpost .box:hover{
    border-color: rgba(255,35,54,.2);
    transform: translateY(-6px);
}

.blogpost .box h3{
    font-size: 1.3rem;
    line-height: 1.6;
}

.blogpost .box h3 a{
    color: var(--black);
    font-weight: 700;
}

.blogpost .box h3 a:hover{
    color: var(--primary);
}

.blogpost .post-meta{
    color: #64748b;
}

/* =====================================================
   BLOG DETAILS PAGE
===================================================== */

.blog-details{
    background: var(--white);
    color: var(--black);
    padding: 6rem 8%;
}

.blog-header{
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h2{
    font-size: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.blog-header h1{
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.blog-meta{
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: #64748b;
}

.blog-meta span{
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
}

.blog-meta span i{
    color: var(--primary);
}

.blog-content{
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05);
}

.blog-image{
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 2rem;
    height: 450px;
    object-fit: cover;
}

.blog-content h1{
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 2rem;
}

.blog-content p{
    color: #475569;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.02rem;
}

.blogHeading{
    color: var(--black);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.blog-footer{
    text-align: center;
    margin-top: 3rem;
}

.blog-footer .btn{
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: capitalize;
}

.blog-footer .btn:hover{
    background: var(--accent);
}

/* =====================================================
   FOOTER LOGO
===================================================== */

.footer .logo{
    width: 180px;
    margin-bottom: 1rem;
    display: block;
}

/* =====================================================
   SECTION SPACING
===================================================== */

.about,
.where,
.testimonial,
.blogpost,
.ourapp{
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* =====================================================
   CONTACT SECTION
===================================================== */

.contact{
    padding: 6rem 8%;
    background: var(--white);
}

.contact__container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    align-items: start;
}

/* =====================================================
   CONTACT INFO
===================================================== */

.contact__info{
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05);
}

.contact__info::before{
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    background: rgba(255,35,54,.08);
    border-radius: 50%;
}

.contact__info h3{
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--black);
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.contact__info p{
    color: #64748b;
    line-height: 1.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact__details{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.contact__details li{
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--black);
    font-size: 1rem;
    font-weight: 600;
}

.contact__details li i{
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: rgba(255,35,54,.08);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.3rem;
}

.contact__socials{
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.contact__socials a{
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #f8fafc;
    border-radius: 50%;
    color: var(--black);
    font-size: 1.2rem;
    transition: .3s ease;
    border: 1px solid #e2e8f0;
}

.contact__socials a:hover{
    background: var(--primary);
    transform: translateY(-5px);
    color: var(--white);
}

/* =====================================================
   CONTACT FORM
===================================================== */

.contact__form{
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05);
}

.contact__form form{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__group{
    width: 100%;
}

.form__group input,
.form__group textarea{
    width: 100%;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    color: var(--black);
    font-size: 1rem;
    transition: .3s ease;
    resize: none;
}

.form__group input::placeholder,
.form__group textarea::placeholder{
    color: #94a3b8;
}

.form__group input:focus,
.form__group textarea:focus{
    border-color: rgba(255,35,54,.4);
    box-shadow: 0 0 0 4px rgba(255,35,54,.08);
    background: #ffffff;
    outline: none;
}

.contact__form .btn{
    width: fit-content;
    border: none;
    cursor: pointer;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    text-transform: capitalize;
}

.contact__form .btn:hover{
    background: var(--accent);
    transform: translateY(-4px);
}

/* =====================================================
   SECTION SPACING FIXES
===================================================== */

.contact,
.where,
.testimonial,
.blogpost,
.ourapp{
    position: relative;
    z-index: 1;
}

/* =====================================================
   MOBILE RESPONSIVE
===================================================== */

@media (max-width: 991px){

    .other__hero{
        min-height: 40vh;
    }

    .other__hero__content h1{
        font-size: 2.8rem;
    }

    .about__content{
        text-align: center;
    }

    .about__content h3{
        font-size: 1.7rem;
    }

    .blog-header h1{
        font-size: 2.2rem;
    }

    .blog-content{
        padding: 2rem;
    }

    .contact{
        padding: 5rem 6%;
    }

    .contact__info,
    .contact__form{
        padding: 2.5rem;
    }
}

@media (max-width: 768px){

    .other__hero__content h1{
        font-size: 2.2rem;
    }

    .other__hero__content p{
        font-size: 1rem;
    }

    .about__features{
        grid-template-columns: 1fr;
    }

    .about__features .box{
        text-align: center;
    }

    .about__content h3{
        font-size: 1.5rem;
    }

    .about__content > p{
        font-size: 1rem;
    }

    .blog-details{
        padding: 4rem 5%;
    }

    .blog-header h1{
        font-size: 1.8rem;
    }

    .blog-content{
        padding: 1.5rem;
    }

    .blog-image{
        height: 280px;
    }

    .contact{
        padding: 4rem 5%;
    }

    .contact__container{
        gap: 2rem;
    }

    .contact__info,
    .contact__form{
        padding: 2rem 1.5rem;
    }

    .contact__info h3{
        font-size: 1.6rem;
    }

    .contact__details li{
        align-items: flex-start;
        font-size: .95rem;
    }

    .contact__details li i{
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact__socials{
        flex-wrap: wrap;
    }

    .contact__form .btn{
        width: 100%;
        justify-content: center;
    }
}