@media (max-width: 1399.98px) {
    .site-header .container {
        max-width: 1140px;
    }

    .navbar {
        margin-left: 55px;
    }

    .nav-menu {
        gap: 30px;
    }

    .nav-menu a,
    .contactbar a {
        font-size: 18px;
    }
}

@media (max-width: 1199.98px) {
    .site-header {
        padding: 20px 0;
    }

    .logobar {
        flex-basis: 190px;
    }

    .site-logo {
        width: 190px;
    }

    .navbar {
        margin-left: 35px;
    }

    .nav-menu {
        gap: 20px;
    }

    .contactbar {
        padding-left: 25px;
    }

    .hero-container {
        padding-top: 90px;
    }

    .hero-links {
        column-gap: 22px;
    }

    .hero-link-title {
        font-size: 16px;
    }

    .hero-link-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 991.98px) {
    .div-header {
        flex-wrap: wrap;
        min-height: 0;
        gap: 20px;
    }

    .navbar {
        order: 3;
        width: 100%;
        margin-left: 0;
    }

    .nav-menu {
        justify-content: space-between;
        gap: 12px;
    }

    .wrp-hero {
        min-height: 760px;
    }

    .hero-container {
        padding-top: 85px;
    }

    .hero-content h1 {
        font-size: clamp(52px, 8vw, 76px);
    }

    .hero-actions {
        margin-top: 48px;
    }

    .hero-links {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 70px;
    }

    .hero-link {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .site-header {
        padding: 16px 0;
    }

    .logobar {
        flex-basis: 155px;
    }

    .site-logo {
        width: 155px;
    }

    .contactbar a {
        min-width: 120px;
        font-size: 16px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 14px 22px;
    }

    .nav-menu a {
        font-size: 15px;
    }

    .wrp-hero {
        min-height: 720px;
    }

    .hero-container {
        padding-top: 70px;
        padding-bottom: 32px;
    }

    .hero-content h1 {
        font-size: clamp(42px, 10vw, 60px);
    }

    .hero-actions {
        gap: 14px;
        margin-top: 40px;
    }

    .hero-button {
        width: 160px;
        padding: 10px;
        font-size: 15px;
    }

    .hero-links {
        gap: 18px;
        margin-top: 55px;
    }

    .hero-link-number,
    .hero-link-arrow {
        font-size: 25px;
    }

    .hero-link-line {
        margin: 7px 0 8px;
    }

    .cta-container,
    .cta-container>.row {
        min-height: 0;
    }

    .cta-container>.row {
        padding-top: 22px;
        padding-bottom: 22px;
        text-align: center;
    }

    .cta-column {
        justify-content: center;
    }

    .cta-stat {
        align-items: center;
        padding: 10px 12px;
    }

    .footer-inner {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .footer-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .footer-cta h2 {
    font-size: clamp(30px, 8vw, 64px);
}
.apf-post-title{
    font-size :  20px;
}
.apf-sidebar-title{
    font-size: 30px;
}

    .footer-cta-button {
        padding: 13px 24px;
        font-size: 16px;
    }

    .footer-rule {
        margin: 58px 0 52px;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 46px 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand img {
        width: 220px;
    }

    .footer-column h3 {
        font-size: 17px;
    }

    .footer-column a,
    .footer-column span {
        font-size: 15px;
    }

    .footer-bottom .container {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .footer-bottom span,
    .footer-bottom a {
        font-size: 14px;
    }

    .signature-container {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .signature-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 42px;
    }

    .signature-heading h2 {
        font-size: clamp(24px, 8vw, 64px);
    }

    .signature-explore {
        padding: 12px 20px;
        font-size: 15px;
    }

    .signature-slide {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .signature-featured {
        min-height: 310px;
    }

    .signature-side {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
        gap: 14px;
    }

    .signature-secondary {
        min-height: 180px;
    }

    .signature-arrow {
        top: 11px;
        right: 11px;
        width: 38px;
        height: 38px;
        font-size: 16px;
        outline-offset: 3px;
    }

    .signature-dots {
        gap: 9px;
        margin-top: 34px;
    }

    .signature-dot {
        width: 20px;
        height: 20px;
        border-width: 2px;
    }

    .signature-dot.is-active {
        box-shadow: inset 0 0 0 4px #fff;
    }

    .signature-owl-carousel {
        padding: 0 42px;
    }

    .signature-project-set {
        grid-template-columns: 1fr;
        gap: 14px;
        height: auto;
    }

    .signature-project-featured {
        height: 310px;
    }

    .signature-project-side {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 180px;
        gap: 14px;
    }

    .signature-project-small {
        height: 180px;
    }

    .signature-desktop-carousel {
        display: none !important;
    }

    .signature-mobile-carousel {
        display: block !important;
    }

    .signature-project-mobile {
        height: 310px;
    }

    .signature-owl-carousel .owl-dots {
        margin-top: 34px;
    }

    .signature-owl-carousel .owl-dot {
        width: 21px;
        height: 21px;
        margin: 4px;
        border-width: 2px;
    }

    .signature-owl-carousel .owl-dot.active {
        background: radial-gradient(circle, #f07624 0 4px, #fff 4px 6px, #f07624 6px 100%);
    }

    .home-industry-container {
        padding-top: 62px;
        padding-bottom: 68px;
    }

    .home-industry-title {
        font-size: clamp(30px, 8vw, 64px);
    }
.start-building-content {
    padding-left: 15px;
}
    .home-industry-subtitle {
        margin-top: 34px;
        font-size: 16px;
    }

    .home-industry-grid {
        margin-top: 38px;
        row-gap: 26px;
    }

    .home-industry-item {
        padding-bottom: 12px;
        font-size: 31px;
    }

    .why-choose-container {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .why-choose-row {
        --bs-gutter-x: 28px;
        --bs-gutter-y: 44px;
    }

    .why-choose-eyebrow {
        margin-bottom: 28px;
        font-size: 19px;
    }

    .why-choose-title {
        font-size: clamp(46px, 11vw, 66px);
    }

    .why-choose-description {
        margin-top: 34px;
        font-size: 16px;
    }

    .why-choose-button {
        min-width: 220px;
        margin-top: 34px;
        padding: 14px 22px;
        font-size: 16px;
    }

    .why-choose-media img {
        min-height: 0;
        height: 65vw;
        max-height: 430px;
    }

    .start-building-container {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .start-building-row {
        --bs-gutter-x: 28px;
        --bs-gutter-y: 48px;
    }

    .start-building-gallery .row {
        --bs-gutter-x: 14px;
        --bs-gutter-y: 14px;
    }

    .start-building-gallery-cell img {
        height: 35vw;
        min-height: 150px;
        max-height: 300px;
    }

    .start-building-title {
    font-size: clamp(30px, 9vw, 66px);
}

    .start-building-description {
        margin-top: 34px;
        font-size: 16px;
    }

    .start-building-button {
        margin-top: 34px;
        padding: 14px 22px;
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .wrp-hero {
        min-height: 660px;
    }

    .hero-container {
        padding-top: 55px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .hero-content h1 {
        font-size: 41px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-button {
        width: calc(50% - 5px);
        font-size: 14px;
    }

    .hero-links {
        margin-top: 44px;
        gap: 15px;
    }

    .hero-link-title {
        font-size: 14px;
    }

    .hero-link-subtitle {
        font-size: 13px;
    }
}

/* Site-wide responsive safeguards */
.entry-content img,
.single-post-content img,
.single-project-content img,
.wp-block-image img,
.wp-block-video video,
.entry-content iframe,
.single-post-content iframe {
    max-width: 100%;
}

.entry-content img,
.single-post-content img,
.single-project-content img,
.wp-block-image img {
    height: auto;
}

.site-main,
.site-footer {
    overflow-x: clip;
}

.entry-content,
.single-post-content,
.single-project-content,
.project-results-html,
.contact-detail-text,
.contact-detail a {
    overflow-wrap: anywhere;
}

.entry-content iframe,
.single-post-content iframe {
    width: 100%;
}

.entry-content table,
.single-post-content table,
.single-project-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1199.98px) {

    .comp-service-title,
    .our-services-title {
        font-size: clamp(46px, 5vw, 60px);
    }

    .project-profile-container {
        max-width: 960px;
    }
}

@media (max-width: 991.98px) {

    .site-header .container,
    .site-header .container-xxl {
        max-width: 100%;
    }

    .main-navigation,
    .nav-menu {
        width: 100%;
    }

    .contact-gravity-form {
        margin-left: 0;
    }

    .map-cnt-outer {
        flex-wrap: wrap;
        gap: 42px;
    }

    .map-wrapper {
        width: 100%;
    }

    .wrp-map {
        padding: 70px 0;
    }

    .single-post-content {
        font-size: 19px;
        line-height: 1.8;
    }

    .project-archive-image {
        height: 310px;
    }

    .single-project-hero,
    .single-project-hero-container {
        min-height: 580px;
    }

    .single-project-gallery-item img {
        height: 320px;
    }

    .project-profile-gallery-item img {
        height: 280px;
    }

    .single-project-cta .container {
        flex-wrap: wrap;
    }

    .search-result-image {
        min-height: 220px;
    }
    
}

@media (max-width: 767.98px) {
    .div-header {
        align-items: center;
    }

    .navbar {
        padding: 0;
    }

    .nav-menu {
        padding-left: 0;
    }

    .wrp-insight,
    .wrp-map,
    .wrp-default-page {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .wrp-blog-header {
        padding-top: 38px;
        padding-bottom: 78px;
        font-size: 30px;
        line-height: 1.25;
    }

    .single-post-content {
        font-size: 17px;
        line-height: 1.75;
    }

    .contact-heading {
        align-items: flex-start;
    }

    .contact-gravity-form .gform_footer,
    .contact-gravity-form .gform_footer.top_label {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-wrapper h3 {
        font-size: clamp(28px, 7vw, 34px);
    }

    .address-map {
        align-items: flex-start;
        font-size: 16px;
        line-height: 1.6;
    }

    .comp-service-title,
    .our-services-title {
        font-size: clamp(39px, 10vw, 52px);
    }

    .capability-panel-inner {
        padding-right: 24px;
        padding-left: 24px;
    }

    .project-status-carousel {
        padding-right: 30px;
        padding-left: 30px;
    }

    .project-status-carousel .owl-nav button.owl-prev,
    .project-status-carousel .owl-nav button.owl-next {
        width: 36px;
        height: 36px;
    }

    .completed-projects-tools {
        min-height: 0;
    }

    .completed-projects-map {
        min-height: 380px;
    }

    .single-project-hero h1,
    .projects-archive-hero h1 {
        overflow-wrap: anywhere;
    }

    .single-project-cta a {
        max-width: 100%;
        text-align: center;
    }

    .project-gallery-modal .carousel-item img {
        height: 75vh;
    }

    .leadership-modal-close {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .leadership-modal-copy {
        padding: 65px 28px;
    }

    .error-404-search,
    .search-results-form {
        width: 100%;
    }

}

@media (max-width: 575.98px) {
    .site-header .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .div-header {
        gap: 14px;
    }

    .logobar {
        min-width: 0;
        flex: 1 1 130px;
    }

    .site-logo {
        max-width: 100%;
        height: auto;
    }

    .contactbar {
        flex: 0 0 auto;
        padding-left: 0;
    }

    .contactbar a {
        min-width: 102px;
        padding-right: 12px;
        padding-left: 12px;
        font-size: 14px;
    }

    .nav-menu {
        gap: 10px 16px;
    }

    .nav-menu li,
    .nav-menu a {
        max-width: 100%;
    }

    .hero-content h1,
    .wrp-solution-header .page-main-title,
    .commercial-title,
    .why-arg-title,
    .leadership-title {
        overflow-wrap: anywhere;
        font-size: 30px;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-button {
        min-width: 130px;
    }

    .signature-owl-carousel {
        padding-right: 28px;
        padding-left: 28px;
    }

    .signature-project-featured {
        height: 270px;
    }

    .signature-project-mobile {
        height: 270px;
    }

    .signature-project-side {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 170px);
    }

    .signature-project-small {
        height: 170px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .contact-heading {
        display: block !important;
    }

    .contact-heading-icon {
        margin-bottom: 16px;
    }

    .contact-gravity-form .gform_footer::after {
        font-size: 14px;
        line-height: 1.45;
    }

    .contact-gravity-form input[type="submit"] {
        width: 100%;
        font-size: 18px !important;
    }

    .contact-detail-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .address-map {
        flex-direction: column;
        gap: 8px;
    }

    .capability-item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 13px;
    }

    .capability-item>img {
        width: 44px;
        max-height: 44px;
    }

    .industry-card-description {
        margin-left: 0;
    }

    .project-status-carousel {
        padding-right: 22px;
        padding-left: 22px;
    }

    .project-status-image,
    .project-archive-image,
    .completed-project-image {
        height: 240px;
    }

    .project-status-content {
        padding: 20px 18px;
    }

    .project-status-carousel .owl-nav {
        right: -4px;
        left: -4px;
    }

    .completed-projects-map {
        min-height: 320px;
    }

    .single-project-hero,
    .single-project-hero-container {
        min-height: 500px;
    }

    .single-project-back {
        padding-top: 28px;
    }

    .single-project-hero h1 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .single-project-gallery-item img,
    .project-profile-gallery-item img {
        height: 230px;
    }

    .project-details {
        padding: 22px 18px;
    }

    .project-results-html li {
        padding-left: 38px;
    }

    .project-gallery-modal .carousel-item img {
        height: 68vh;
    }

    .careers-gallery-item img {
        height: 210px;
    }

    .careers-spotlight-person img {
        width: 100%;
        height: auto;
    }

    .error-404-actions,
    .search-results-form {
        flex-direction: column;
    }

    .error-404 .btn,
    .search-results-form .btn {
        width: 100%;
    }

    .search-result-card {
        overflow: hidden;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 359.98px) {
    .site-header .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .site-logo {
        width: 135px;
    }

    .contactbar a {
        min-width: 90px;
        font-size: 13px;
    }

    .hero-container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .hero-button {
        width: 100%;
    }
}

/* Mobile hero: compact, full-bleed media treatment inspired by Skender. */
.hero-mobile-navigation {
    display: none !important;
}

@media (max-width: 767.98px) {
    .wrp-hero {
        min-height: max(600px, calc(100svh - var(--site-header-height, 110px)));
    }

    .hero-media,
    .hero-image,
    .hero-video {
        width: 100%;
        height: 100%;
    }

    .hero-image {
        background-position: center center;
    }

    .hero-media video.hero-video {
        object-fit: cover;
        object-position: center center;
    }

    .hero-media iframe.hero-video {
        top: 50%;
        left: 50%;
        width: max(100%, 177.78vh);
        height: max(100%, 56.25vw);
        min-width: 100%;
        min-height: 100%;
        max-width: none;
        transform: translate(-50%, -50%);
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .18) 38%, rgba(0, 0, 0, .88) 100%);
    }

    .hero-container {
        min-height: inherit;
        justify-content: flex-end;
        gap: 0;
        padding: clamp(34px, 7vh, 60px) 20px 24px;
    }

    .hero-content {
        width: 100%;
        max-width: 560px;
    }

    .hero-content h1 {
        max-width: 12ch;
        font-size: clamp(40px, 11vw, 60px);
        line-height: .98;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 28px;
    }

    .hero-button {
        width: auto;
        min-width: 138px;
        padding: 11px 15px;
        font-size: 14px;
    }

    .hero-links {
        display: block;
        width: 100%;
        margin-top: clamp(48px, 9vh, 78px);
    }

    .hero-link {
        display: none;
        width: 100%;
        max-width: none;
    }

    .hero-link.hero-link--active {
        display: grid;
    }

    .hero-link:hover,
    .hero-link:focus {
        transform: none;
    }

    .hero-link-number,
    .hero-link-arrow {
        font-size: 23px;
    }

    .hero-link-line {
        margin: 7px 0 9px;
    }

    .hero-link-title {
        font-size: 15px;
    }

    .hero-link-subtitle {
        font-size: 13px;
    }

    .hero-mobile-navigation {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 18px;
    }

    .hero-link{
        display: none !important;
    }

    .hero-mobile-arrow {
        display: grid;
        width: 46px;
        height: 46px;
        padding: 0;
        place-items: center;
        border: 2px solid #f76a11;
        border-radius: 50%;
        background: rgba(0, 0, 0, .35);
        color: #fff;
        font-size: 17px;
        line-height: 1;
        transition: background-color .2s ease, color .2s ease;
    }

    .hero-mobile-arrow:hover,
    .hero-mobile-arrow:focus-visible {
        border-color: #f76a11;
        background: #f76a11;
        color: #fff;
        outline: none;
    }
    .signature-owl-carousel .owl-nav {
        position: relative;
        width: 350px;
    }
    .signature-owl-carousel .owl-stage-outer{
        margin-bottom: 30px;
    }
    
}

@media (max-width: 380px) {
    .wrp-hero {
        min-height: max(570px, calc(100svh - var(--site-header-height, 110px)));
    }

    .hero-container {
        padding-right: 16px;
        padding-bottom: 20px;
        padding-left: 16px;
    }

    .hero-content h1 {
        font-size: clamp(36px, 10.5vw, 44px);
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-button {
        flex: 1 1 calc(50% - 5px);
        min-width: 120px;
    }

    .hero-links {
        margin-top: 40px;
    }

    .hero-mobile-arrow {
        width: 42px;
        height: 42px;
    }
}