@media (max-width:1499px) {
    .about {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width:1399px) {


    /* .about .reveal .about-frame {
        display: none;
    }

    .reveal.visible {
        opacity: 1;
        transform: translateY(-105px);
    } */

}

@media (max-width:1299px) {
    .proj-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc {

        padding: 1rem 2.5rem;
    }

    .proj-1 {
        display: none;
    }

    .about {
        /* grid-template-columns: none; */
        gap: 3rem;
    }

    .pullquote {
        margin: 1rem 0;
    }

    .about-text p {
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .feat-grid {
        gap: 0.5rem;
        margin-top: 1.2rem;
    }
}

@media (max-width:1250px) {
    .nav-links {
        gap: 1.5rem;
        padding: 2rem 1rem;
    }

}

@media (max-width:1150px) {
    nav {
        padding: 0px 2rem;
    }
}

@media (max-width:1050px) {
    .home {
        display: none;
    }

    .nav-links a {
        font-size: 16px;
    }

    .about,
    .services,
    .projects,
    .testimonials {
        padding: 4rem 4rem;
    }

    .services-head,
    .projects-head,
    .testi-head,
    .footer-grid {
        margin-bottom: 3rem;
    }

    footer {
        padding: 4rem 4rem 2.5rem;
    }

    .footer-bottom {
        padding-top: 1.8rem;
    }
}

@media (max-width:998px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        grid-template-columns: 1fr;
        gap: 0rem;
    }

    .about-frame {
        display: none;
    }

    footer {
        padding: 4rem 4rem 1.5rem;
    }

}

@media (max-width:992px) {
    .navbar {
        display: block;
    }

    #main-nav {
        display: none;
    }

    .carousel.slide {
        padding-top: 70px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width:820px) {
    .footer-bottom {
        display: block;
        text-align: center;
    }

    .footer-grid {
        margin-bottom: 1rem;
    }

    footer {
        padding: 3rem 4rem 0.5rem;
    }
}

@media (max-width:768px) {
    .proj-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        background-color: #faf7f0 !important;
    }

    .svc:hover .svc-desc {
        max-height: 80px;
        opacity: 1;
        overflow-y: auto;
    }

    .services-grid {
        gap: 30px;
        background-color: #f7f1e4 !important;
        border-color: #f0e9d6 !important;
    }

    nav,
    .navbar {
        padding: 0px 2rem;

    }

    .about {
        padding: 3rem 3rem 1.5rem;
    }

    .services {
        padding: 3rem 3rem;
    }

    .section-h {
        font-size: 30px !important;
    }

    .services-head {
        margin-bottom: 2rem;
    }

    .projects {
        padding: 3rem 3rem;
    }

    .projects-head {
        margin-bottom: 2.5rem;
        display: block;
    }

    .projects-head .view-all {
        float: right;
        margin-top: -35px;
    }

    .testimonials {
        padding: 3rem 3rem 2rem;
    }

    .testi-head {
        margin-bottom: 2rem;
    }

    footer {
        padding: 3rem 3rem 0.5rem;
    }
}

@media (max-width:725px) {
    .svc:hover .svc-desc {
        max-height: 35px;
    }

    .banner_mob {
        display: block;
    }

    .banner_lap {
        display: none;
    }


}

@media (max-width:678px) {
    .footer-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .proj-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-item img {
        min-height: 450px;
        object-fit: contain;
    }

    .svc:hover .svc-desc {
        max-height: 80px;
    }

    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    /* Brand block — 60% width */
    .footer-grid>div:first-child {
        width: 60%;
        flex: 0 0 60%;
    }

    /* First .f-col (Services) — 30% */
    .f-col1 {
        width: 30% !important;
        flex: 0 0 30% !important;
    }

    /* All .f-col default — 50% */
    .f-col {
        width: calc(50% - 1rem);
        flex: 0 0 calc(50% - 1rem);
    }



    .carousel.slide {
        padding-top: 70px;
    }


}

@media (max-width:525px) {
    .projects-head .view-all {
        margin-top: 0px;
    }

    .projects-head {
        margin-bottom: 3rem;
    }

    .about {
        display: block !important;
    }

    .feat-grid {
        grid-template-columns: 1fr;
        gap: 0rem;
    }

    .proj-grid {
        grid-template-columns: 1fr;
    }

    .tcard-text {
        margin-bottom: 1.5rem;
    }

    .stars {
        margin-bottom: 1.2rem;
    }
}

@media (max-width:475px) {
    .footer-grid>div:first-child {
        width: 100%;
        flex: 0 0 100%;
    }

    .svc-desc {
        line-height: 1.5;
    }

    .svc-title {
        margin-bottom: 5px;
    }

    .svc:hover .svc-desc {
        max-height: 45px;
    }

    .stars {
        margin-bottom: 1rem;
    }

    .tcard-text {
        margin-bottom: 1.3rem;
    }

    .f-col {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .footer-grid {
        margin-bottom: 1rem;
        gap: 1rem;
    }

    .socials {
        margin-bottom: 10px;
    }

    .proj-overlay {
        padding: 2rem 1rem;
    }

    .tcard {
        padding: 2rem 1rem;
    }

    .offcanvas-header {
        border-bottom: 1px solid #ccc;
    }

    .offcanvas-body {
        padding: 15px 30px 0px;
    }
}

@media (max-width:430px) {
    .svc-content {
        padding-bottom: 20px;
    }

    nav,
    .navbar {
        padding: 0px 1rem;
    }

    .about {
        padding: 3rem 2rem 1.5rem;
    }

    .feat h4 {
        font-size: 1rem;
    }

    .pullquote {
        padding: 1.2rem 1.2rem;
    }

    .pullquote p {
        font-size: 1.25rem !important;
    }

    .projects {
        padding: 3rem 2rem;
    }

    .services {
        padding: 3rem 2rem;
    }

    .testimonials {
        padding: 3rem 2rem 2rem;
    }

    .svc-title {
        font-size: 1.1rem;
    }

    footer {
        padding: 3rem 2rem 0.5rem;
    }

    .f-brand-p {
        margin-bottom: 1.3rem;
    }

    .section-h {
        font-size: 24px !important;
    }

    .f-col ul li {
        margin-bottom: .25rem;
    }
}

@media (max-width:380px) {

    .section-h {
        font-size: 22px !important;
    }

    .f-col h5 {
        margin-bottom: 1rem;
    }
}