@media (max-width:1199.98px) {
    .navbar-nav {
        gap: 13px
    }

    .hero-section {
        min-height: 500px
    }

    .hero-note {
        right: 2%;
        font-size: 20px
    }

    .families-float {
        right: 2%
    }

    .project-image {
        height: 165px
    }

    .project-meta {
        gap: 7px
    }
}

@media (max-width:991.98px) {
    .navbar-collapse {
        padding: 15px 0 8px
    }

    .navbar-nav {
        align-items: flex-start !important;
        gap: 2px
    }

    .nav-link {
        padding: 8px 0 !important
    }

    .nav-link.active:after {
        bottom: 1px
    }

    .phone-pill {
        margin-top: 12px
    }

    .hero-section {
        min-height: 570px;
        align-items: flex-start
    }

    .hero-photo {
        left: 15%;
        opacity: .7;
        background-position: 58% center
    }

    .hero-photo:after {
        background: linear-gradient(90deg, #f7fbff 0%, rgba(247, 251, 255, .94) 24%, rgba(247, 251, 255, .5) 62%, rgba(247, 251, 255, .1) 100%)
    }

    .hero-content {
        padding-top: 55px
    }

    .hero-section h1 {
        font-size: 54px
    }

    .hero-note {
        top: 10%;
        right: 5%;
        font-size: 18px
    }

    .families-float {
        bottom: 8%;
        right: 5%
    }

    .category-strip {
        padding: 18px 0
    }

    .section-space {
        padding: 48px 0
    }

    .project-image {
        height: 190px
    }

    .about-visual {
        max-width: 600px;
        margin: auto
    }

    .about-section {
        padding-top: 20px
    }

    .stats-strip {
        padding: 22px 0
    }

    .service-item {
        min-height: 82px
    }

    .cta-photo {
        left: 20%
    }
}

@media (max-width:767.98px) {
    body {
        font-size: 13px
    }

    .navbar {
        padding: 10px 0
    }

    .brand-mark {
        font-size: 27px
    }

    .brand-words {
        font-size: 17px
    }

    .hero-section {
        min-height: 670px
    }

    .hero-photo {
        left: 0;
        top: 220px;
        opacity: .85;
        background-position: 58% center
    }

    .hero-photo:after {
        background: linear-gradient(180deg, #f7fbff 0%, rgba(247, 251, 255, .92) 4%, rgba(247, 251, 255, .55) 28%, rgba(247, 251, 255, .05) 100%)
    }

    .hero-content {
        padding-top: 38px
    }

    .hero-section h1 {
        font-size: 48px;
        letter-spacing: -1.8px
    }

    .hero-copy {
        max-width: 340px
    }

    .hero-trust {
        gap: 17px;
        margin-top: 23px
    }

    .hero-trust>div {
        font-size: 9px;
        gap: 6px
    }

    .hero-trust i {
        font-size: 20px
    }

    .hero-note {
        display: none
    }

    .families-float {
        position: static;
        margin-top: 30px;
        max-width: 156px;
    }

    .category-strip {
        padding: 16px 0
    }

    .category-item {
        gap: 9px
    }

    .category-icon {
        width: 35px;
        height: 35px;
        font-size: 20px
    }

    .category-item b {
        font-size: 10px
    }

    .category-item small {
        font-size: 9px
    }

    .section-space {
        padding: 40px 0
    }

    .section-heading h2,
    .about-section h2 {
        font-size: 29px
    }

    .section-heading {
        margin-bottom: 20px
    }

    .project-image {
        height: 205px
    }

    .about-visual {
        min-height: 285px;
        padding: 12px 8px 22px
    }

    .about-main-img {
        height: 235px
    }

    .about-small-img {
        height: 140px;
        border-width: 5px
    }

    .experience-float {
        left: 27%;
        padding: 9px 12px
    }

    .about-points {
        gap: 12px;
        justify-content: space-between
    }

    .about-points div {
        font-size: 8px;
        gap: 6px
    }

    .about-points i {
        font-size: 20px
    }

    .stat-item {
        gap: 9px
    }

    .stat-item i {
        font-size: 22px
    }

    .stat-item strong {
        font-size: 22px
    }

    .stat-item small {
        font-size: 8px
    }

    .services-section .section-heading h2 {
        font-size: 25px
    }

    .service-item {
        padding: 13px 10px
    }

    .service-icon {
        width: 38px;
        height: 38px;
        font-size: 20px
    }

    .cta-section {
        min-height: 280px
    }

    .cta-photo {
        left: 0;
        opacity: .65
    }

    .cta-photo:after {
        background: linear-gradient(90deg, rgba(7, 81, 167, .98), rgba(7, 81, 167, .75) 58%, rgba(7, 81, 167, .35))
    }

    .cta-content {
        padding: 38px 0
    }

    .testimonials-section .section-heading h2 {
        font-size: 26px
    }

    .testimonial-card p {
        min-height: 0
    }

    .site-footer {
        padding-top: 30px
    }

    .footer-brand {
        margin-bottom: 0
    }
}

@media (max-width:420px) {
    .hero-section h1 {
        font-size: 43px
    }

    .hero-actions {
        gap: 8px
    }

    .hero-actions .btn {
        padding: 11px 12px;
        font-size: 10px
    }

    .hero-trust {
        gap: 11px
    }

    .hero-trust>div {
        font-size: 8px
    }

    .hero-trust i {
        font-size: 18px
    }

    .project-image {
        height: 180px
    }

    .project-body {
        padding: 14px 12px
    }

    .project-meta {
        gap: 5px
    }


    .category-icon {
        width: 31px;
        height: 31px;
        font-size: 18px
    }

    .category-item {
        gap: 7px
    }

    .category-item small {
        font-size: 8px
    }
}