/* =========================
   SHARED / HEADER
========================= */
@media (max-width:1550px){
    .service-card__content{
        bottom: 90px;
    }
    .integratedStack{
        height: 480px;
    }
    .TBintegrated {
    margin: -80px 0 !important
}
.TBprojects{padding-top: 120px;}
}
@media (max-width: 1199px) {
    .secTitCont {
        padding-left: 2rem;
    }

    .pl-why {
        padding-left: 2.5rem !important;
    }

    .missionCol {
        padding: 48px 40px 48px 0;
    }

    .missionCol + .missionCol {
        padding: 48px 0 48px 40px;
    }
    .integratedStack{
        height: 430px;
    }
    .whyHdtp{
        position: sticky !important;
        top: 30px;
    }
    .TBwhy .row{
        align-items: start !important;
    }
    .service-card.active .service-card__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 5%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.8) 90%);
}
.abtCont{
    padding-left: 0;
}
.TbAbtPg .row{
    align-items: center !important;
}
.scopeItem {
    padding: 20px 0px;
    height: 340px;
}
.TBsectionHeading{
    gap: 0;
}
.TBcontactFormHeader p{
    display: none;
}
.service-card__content{
    bottom: 100px;
}
}

@media (max-width: 991px) {
    .TBprojects{
        padding-top: 0;
    }
    .projSmImg::after {
    content: "";
    display: block;
    padding-top: 90%;
}
            .service-card__content {
        bottom: 20px;
    }
    section,
    .TBservices{
        padding-top: 4rem;
    }
    .whyHdtp{
        position: static !important;
    }
    .whyImgBlk{
        display: none;
    }
    .TBintegrated{
        margin: 0 !important;
    }
    .secTitCont{
        padding-left: 0;
    }
    .navMenu ul {
        gap: 22px;
    }

    .menuToggle {
        display: block;
    }

    .headerCta {
        display: none;
    }

    .mainMenu {
        position: fixed;
        inset: 0;
        z-index: 220;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 100px 40px 48px;
        background: #151515;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .mainMenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.nav-open .menuToggle span:first-child {
        transform: translateY(1px) rotate(45deg);
    }

    body.nav-open .menuToggle span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .navMenu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        margin-left: 0;
    }

    .navMenu li a {
        font-size: 22px;
        letter-spacing: 1.4px;
    }

    .menuCta {
        display: block;
        margin-top: 40px;
    }

    .heroBtn {
        flex-wrap: wrap;
    }

    .abtCont {
        padding-left: 0;
    }

    .pl-why {
        padding-left: 15px !important;
        margin-top: 48px;
    }

    .whyPt + .whyPt {
        margin-top: 40px;
    }

    .TBpageHero {
        min-height: 0;
        align-items: flex-end;
    }

    .approachFrame {
        grid-template-columns: 1fr;
    }

    .missionCol {
        padding: 36px 0;
    }

    .missionCol + .missionCol {
        padding: 36px 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .TBscope,
    .TBapproach {
        padding-top: 5rem;
    }
    .pageHeroContent{
        padding: 0;
    }
    .projFlx{
        display: flex;
        gap: 12px;
    }
    .projFlx .projImgBlk{
        width: 50%;
    }
    .projContent h3 {
    font-size: 18px;
    }
    .TBcontactFormWrap{
        padding-top: 2rem;
    }
}
@media (max-width: 768px)  {
        .TBhero{
        min-height: 800px !important;
    }
    .tbheroGrd{
        height: 12%;
    }
}
@media (max-width: 767px) {
    .abtImg{
        margin-bottom: 20px;
    }
    .heroVisuals{
        display: none;
    }
    .TBhero{
        min-height: auto;
    }
    section {
        padding-top: 5rem;
    }

    .TBservices {
        padding-top: 5rem;
    }

    .heroContent .primeBtn a,
    .heroContent .secBtn a {
        margin-top: 16px;
    }

    .heroBtn {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .heroBtn .primeBtn a,
    .heroBtn .secBtn a {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .ftBllk span {
        font-size: 32px;
    }

    .pageHeroContent {
        padding: 8.5rem 0 3rem;
    }

    .pageHeroContent > p {
        font-size: 16px;
    }

    .pageHeroMeta {
        gap: 28px 40px;
        margin-top: 36px;
        padding-top: 24px;
    }

    .aboutContent p,
    .missionCol p,
    .scopeItem p {
        font-size: 16px;
    }

    .scopeItem {
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 12px;
        padding: 22px 0;
    }

    .whyPt {
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 12px;
    }

    .primeBtn a,
    .secBtn a {
        min-height: 48px;
    }
}
@media (max-width:662px) {
    .logo img {
    width: 90px;
}
    .tbheroGrd{
        height: 20%;
    }
    .integratedCard__body p{

        font-size: 15px;
    }
    .heroContent{
        padding-top: 10rem;
    }
    .TBhero{
        height: auto !important;
    }
    .aboutContent h2,
    .TBservices .secTitle h2,
    .TBwhy .secTitle h2,
    .pageHeroContent h2{
        font-size: 28px;
    }
    .TBservices .secTitle h2{
        margin-bottom: 12px;
    }
    .TBcta__inner h2{
        font-size: 35px;
        line-height: 1.2;
    }
    .TBwhy{
        padding-top: 0;
    }
    .pageHeroContent{
        padding-top: 2rem;
    }
    .TBinWhy{
        padding-top: 2rem;
    }
    .servInCont{
        margin-bottom: 20px;
    }
    .TBserviceHero{
        padding-top: 10rem;
    }
    .TBsectionHeading h2{
        font-size: 28px;
        line-height: 1.2;
    }
    .TBserviceOverview__content .TBserviceOverview__intro{
        font-size: 16px;
    }
    .TBserviceItem p,
    .TBserviceOverview__content p,
    .TBserviceServices__intro p,
    .TBapplication p,
    .TBprocessStep h3,
    .TBwhyItem p{
        font-size: 16px;
    }
    .TBprocess{
        padding-top: 0;
    }
    .TBfaqItem.is-open .TBfaqAnswer p{
        padding: 0;
        padding-bottom: 12px;
        font-size: 16px;
    }
    .TBserviceCta__content h2{
        font-size: 30px;
    }
    .TBcontactInfo h2,
    .TBcontactLocation__title h2{
        font-size: 30px
    }
    .ftBllk{
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .pageHeroMeta {
        flex-direction: column;
        gap: 22px;
    }

    .mainMenu {
        padding: 100px 24px 40px;
    }
}
