/* =========================================================
   TotalPro Front — Global Mobile Optimizations
   Loaded last so it can refine all Front pages.
   ========================================================= */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

/* Do NOT override .container / .row max-width on desktop —
   theme uses max-width: 1320px for centered gutters. */

.page-wrapper {
    overflow-x: hidden;
}


/* Section tagline — orange gradient (site-wide) */
.section-title__tagline {
    background: linear-gradient(90deg, #ff7c00 0%, #f8a832 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

.section-title__tagline-shape-1,
.section-title__tagline-shape-2 {
    background: linear-gradient(90deg, #ff7c00 0%, #f8a832 100%) !important;
}

/* Header: force hamburger-only layout under 1200px */
@media (max-width: 1199px) {
    .main-header-two .main-menu__list,
    .stricky-header .main-menu__list {
        display: none !important;
    }

    .main-header-two .mobile-nav__toggler,
    .main-menu .mobile-nav__toggler {
        display: inline-flex !important;
    }

    .main-menu-two__right,
    .main-menu-two__top {
        display: none !important;
    }
}

/* ---------- Tablet (≤991px) ---------- */
@media (max-width: 991px) {
    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }

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

    /* Page headers */
    .page-header {
        padding: 140px 0 50px !important;
    }

    .page-header__inner h1,
    .page-header__inner h2 {
        font-size: clamp(28px, 7vw, 40px) !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
        word-break: break-word;
    }

    .thm-breadcrumb {
        flex-wrap: wrap;
        gap: 6px;
    }

    .thm-breadcrumb li {
        font-size: 13px;
    }

    /* Section titles across pages */
    .section-title__title {
        font-size: clamp(26px, 5vw, 36px) !important;
        line-height: 1.25 !important;
    }

    .section-title__title br {
        display: none;
    }

    /* Header: hide crowded topbar contact on smaller tablets */
    .main-menu-two__top-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 55vw;
    }

    .main-menu-two__contact-list {
        display: none !important;
    }

    .main-menu-two__btn-box {
        display: none !important;
    }

    .main-menu-two__search-box {
        display: none !important;
    }

    .main-menu-two__nav-sidebar-icon {
        display: none !important;
    }

    /* Forms */
    .contact-one__input-box,
    .contact-one__form .row > [class*="col-"] {
        margin-bottom: 4px;
    }

    .contact-one__input-box input,
    .contact-one__input-box textarea,
    .contact-one__input-box .nice-select {
        font-size: 15px !important;
    }

    /* Service details sidebar stacks first */
    .services-details__left {
        margin-bottom: 28px;
    }

    .services-details__services-list a {
        font-size: 14px;
        line-height: 1.4;
    }

    /* About / team carousel */
    .team-two__title-box h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .team-two__social {
        top: 14px;
        left: 14px;
        gap: 10px;
    }

    /* CTA / sliding text noise */
    .contact-two__sliding-text-title {
        font-size: 72px !important;
        line-height: 1 !important;
    }
}

/* ---------- Mobile (≤767px) ---------- */
@media (max-width: 767px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .page-header {
        padding: 125px 0 40px !important;
    }

    .page-header__inner h1,
    .page-header__inner h2 {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

    .section-title__title {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-top: 12px !important;
    }

    .section-title__tagline {
        font-size: 11px !important;
    }

    /* Header topbar compact */
    .main-menu-two__top {
        display: none !important;
    }

    .main-menu-two__wrapper-inner {
        min-height: 56px !important;
        height: 56px !important;
    }

    .main-menu-two__logo img {
        max-width: 150px !important;
        max-height: 40px !important;
    }

    .mobile-nav__toggler {
        font-size: 22px;
        padding: 8px;
    }

    /* Home slider */
    .main-slider-two .container {
        padding-top: 110px !important;
        padding-bottom: 28px !important;
    }

    .main-slider-two__title {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

    .main-slider-two__title br,
    .main-slider-two__text br {
        display: none !important;
    }

    .main-slider-two__text {
        font-size: 14px !important;
        line-height: 1.6 !important;
        max-width: 100%;
    }

    .main-slider-two__btns-box {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .main-slider-two__btns-box .thm-btn {
        width: 100%;
        justify-content: center;
    }

    .main-slider-two__shield-check-icon {
        display: none !important;
    }

    .main-slider-two__nav {
        display: none !important;
    }

    /* In-slider trust bar hidden; standalone section below slider */
    .main-slider-two .tp-trust-bar {
        display: none !important;
    }

    .tp-trust-bar-mobile {
        display: block !important;
        padding-top: 18px !important;
    }

    /* Portfolio */
    .portfolio-two {
        padding: 60px 0 50px !important;
    }

    .portfolio-two .portfolio-two__box li,
    .portfolio-two .portfolio-two__box li.active {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 14px;
    }

    .portfolio-two .portfolio-two__box-content,
    .portfolio-two .portfolio-two__box li.active .portfolio-two__box-content {
        height: 220px !important;
    }

    /* Contact compact */
    .tp-contact-compact.contact-two {
        padding: 45px 0 55px !important;
    }

    .tp-contact-compact .contact-two__sliding-text-list {
        display: none;
    }

    .tp-contact-compact .contact-two__left {
        margin-left: 0 !important;
        margin-bottom: 24px;
    }

    .tp-contact-compact .contact-two__contact-list li .content p {
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    .tp-contact-compact .contact-one__btn-box .thm-btn {
        width: 100%;
        justify-content: center;
    }

    /* About */
    .about-four,
    .team-two,
    .process-one,
    .testimonial-one,
    .faq-two {
        overflow: hidden;
    }

    /* Keep about-two image overlap visible on mobile */
    .about-two {
        overflow: visible;
    }

    .about-four__experience {
        position: relative !important;
        margin-top: 16px;
    }

    .about-four__img-2 {
        margin-top: 16px;
    }

    .team-two__carousel.owl-theme .owl-nav {
        position: static !important;
        margin-top: 16px !important;
        left: auto !important;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .team-two__title-box {
        left: 14px !important;
        right: 14px !important;
        bottom: 12px !important;
    }

    .team-two__title-box h3 {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    /* Locations / contact */
    .tp-locations__label {
        min-width: 0;
    }

    .tp-locations__item {
        min-width: 0;
        width: 100%;
    }

    .contact-one {
        padding-top: 40px !important;
        padding-bottom: 50px !important;
    }

    .google-map-one,
    .google-map__one {
        min-height: 260px;
        height: 260px !important;
    }

    /* Case studies */
    .case-studies-grid .row > [class*="col-"] {
        margin-bottom: 16px;
    }

    .case-study-card__content {
        padding: 18px 16px !important;
    }

    .case-study-card__button .thm-btn {
        width: 100%;
        justify-content: center;
    }

    .nexora-case-studies-cta .contact-two__left {
        margin-left: 0 !important;
    }

    /* Industries / services list / team / career */
    .tp-industries,
    .tp-svc-list,
    .tp-team,
    .tp-career {
        padding-left: 0;
        padding-right: 0;
    }

    .tp-industries__headline,
    .tp-svc-list__headline,
    .tp-team__headline,
    .tp-career__headline {
        font-size: 26px !important;
        line-height: 1.25 !important;
    }

    .tp-industries__cta-btn,
    .tp-svc-list__cta .thm-btn,
    .tp-team__cta .thm-btn,
    .tp-career__cta-btn,
    .tp-career__apply {
        width: 100%;
        justify-content: center;
    }

    .tp-career__job-meta {
        gap: 6px 8px;
    }

    .tp-career__skills li {
        font-size: 11px;
    }

    /* Services details */
    .services-details {
        padding: 42px 0 55px !important;
        overflow: hidden !important;
    }

    .services-details__shape-1,
    .services-details__shape-2 {
        display: none !important;
    }

    .services-details__title-1,
    .services-details__title-2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .services-details__img img,
    .services-details__img-box img {
        width: 100%;
        border-radius: 14px;
    }

    .services-details__points-box,
    .services-details__benefits {
        gap: 12px;
    }

    /* FAQ accordion */
    .accrodion-title h4 {
        font-size: 15px !important;
        line-height: 1.4 !important;
        padding-right: 28px;
    }

    /* Footer — keep container gutters; accordion handled in tp-footer.css */
    .tp-footer__about,
    .tp-footer__meta span,
    .tp-footer__copy {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    .tp-footer__presence {
        flex-wrap: wrap;
    }

    /* Buttons general */
    .thm-btn {
        white-space: normal;
        text-align: center;
    }

    /* 404 */
    .tp-404__code {
        font-size: 88px !important;
    }

    .tp-404__title {
        font-size: 24px !important;
    }

    .tp-404__text {
        font-size: 14px !important;
    }

    /* WhatsApp float clearance from bottom edges */
    .tp-whatsapp-float {
        right: 14px !important;
        bottom: 14px !important;
    }

    /* Owl carousel dots spacing */
    .owl-theme .owl-dots {
        margin-top: 14px !important;
    }
}

/* ---------- Small phones (≤480px) ---------- */
@media (max-width: 480px) {
    .page-header__inner h1,
    .page-header__inner h2 {
        font-size: 24px !important;
    }

    .main-slider-two__title {
        font-size: 24px !important;
    }

    .main-slider-two .container {
        padding-top: 100px !important;
        padding-bottom: 24px !important;
    }

    .tp-locations__bar {
        padding: 12px;
    }

    .tp-team__name {
        font-size: 18px !important;
    }

    .tp-career__job-title {
        font-size: 17px !important;
    }

    .portfolio-two .portfolio-two__box-content,
    .portfolio-two .portfolio-two__box li.active .portfolio-two__box-content {
        height: 190px !important;
    }

    .case-study-card__image {
        height: 200px !important;
    }
}


/* Services index / details extras */
@media (max-width: 767px) {
    .services-two {
        padding: 50px 0 60px !important;
        overflow-x: hidden;
    }

    .services-two__top {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 18px;
    }

    .services-two__round-text-box {
        display: none !important;
    }

    .services-two__services-list {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .services-details__need-help-title {
        font-size: 20px !important;
    }

    .services-details__faq .accrodion-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .process-one__single,
    .why-choose-one,
    .counter-one,
    .brand-one {
        overflow-x: hidden;
    }

    .counter-one__count-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .counter-one__count-list {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   Homepage sections (about → bottom) — MOBILE compact type
   Desktop (≥768px): zero changes
   ========================================================= */
@media (max-width: 767px) {
    /* Base body text is 18px desktop — tighten only on mobile */
    body {
        font-size: 15px;
        line-height: 1.55;
    }

    /* —— About Two —— */
    .about-two {
        padding: 48px 0 52px !important;
    }

    .about-two__right .section-title {
        margin-bottom: 14px !important;
    }

    .about-two__right .section-title__title {
        margin-right: 0 !important;
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .about-two__text {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin-top: 0 !important;
    }

    .about-two__points-box {
        gap: 12px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        margin-top: 16px !important;
        margin-bottom: 22px !important;
    }

    .about-two__points-list li {
        gap: 10px !important;
    }

    .about-two__points-list li + li {
        margin-top: 10px !important;
    }

    .about-two__points-list li p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .about-two__points-list li p br {
        display: none;
    }

    .about-two__experience-count-box h3,
    .about-two__experience-count-box span {
        font-size: 30px !important;
        line-height: 1 !important;
    }

    .about-two__experience-text {
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    .about-two__call-content span {
        font-size: 12px !important;
    }

    .about-two__call-content p,
    .about-two__call-content p a {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .about-two__client-text {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .about-two__btn-box .thm-btn,
    .tp-about-cta__btn .thm-btn {
        font-size: 14px !important;
        padding: 14px 18px !important;
    }

    /* —— Counter Two — 2×2 compact cards (mobile only) —— */
    .counter-two {
        padding: 22px 0 20px !important;
    }

    .counter-two .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .counter-two .row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .counter-two .row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .counter-two__single {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 0 !important;
        height: 100%;
        padding: 14px 12px 12px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid rgba(255, 255, 255, 0.09);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    }

    .counter-two__icon-inner {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0;
    }

    .counter-two__icon {
        width: 32px !important;
        height: 32px !important;
    }

    .counter-two__icon span {
        font-size: 14px !important;
    }

    .counter-two__content {
        width: 100%;
        min-width: 0;
    }

    .counter-two__count-box {
        flex-wrap: nowrap;
        align-items: baseline;
        gap: 1px;
    }

    .counter-two__count-box h3,
    .counter-two__count-box span {
        font-size: 26px !important;
        line-height: 1.05 !important;
        font-weight: 600 !important;
    }

    .counter-two__text {
        font-size: 11px !important;
        line-height: 1.35 !important;
        margin-top: 4px !important;
        opacity: 0.85;
    }

    /* —— Services Two —— */
    .services-two {
        padding: 48px 0 48px !important;
    }

    .services-two__top .section-title {
        margin-bottom: 0 !important;
    }

    .services-two__services-list-single {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 92px;
        grid-template-areas:
            "title thumb"
            "list list";
        column-gap: 12px;
        row-gap: 12px;
        align-items: start !important;
        justify-content: stretch !important;
        flex-direction: unset !important;
        padding: 18px 0 16px !important;
    }

    .services-two__count-and-title {
        grid-area: title;
        gap: 12px !important;
        flex-wrap: nowrap;
        align-items: center;
        min-width: 0;
    }

    .services-two__title {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .services-two__title br {
        display: none;
    }

    .services-two__service-list-box {
        grid-area: list;
        max-width: 100% !important;
    }

    .services-two__services-list-inner {
        gap: 10px !important;
        flex-wrap: wrap;
        margin-top: 0;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .services-two__services-list-inner li {
        max-width: 100% !important;
    }

    .services-two__services-list-inner li p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* Show service preview image (hidden by theme on mobile) */
    .services-two__hover-img {
        display: block !important;
        grid-area: thumb;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 92px !important;
        height: 118px !important;
        margin: 0 !important;
        overflow: hidden;
        border-radius: 14px !important;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        clip-path: none !important;
        -webkit-clip-path: none !important;
        animation: none !important;
        -webkit-animation: none !important;
        pointer-events: none;
        z-index: 2;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .services-two__hover-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        border-radius: 14px !important;
        display: block;
    }

    /* —— Why Choose One —— */
    .why-choose-one {
        padding: 48px 0 50px !important;
    }

    .why-choose-one__left .section-title__title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .why-choose-one__progress-title {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    .why-choose-one__progress-list li + li {
        margin-top: 16px !important;
    }

    .why-choose-one__client-content h3 {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .why-choose-one__client-content span {
        font-size: 12px !important;
    }

    .why-choose-one__btn-box .thm-btn {
        font-size: 14px !important;
        padding: 14px 18px !important;
    }

    /* —— Sliding Text —— */
    .sliding-text-three {
        padding: 28px 0 !important;
    }

    .sliding-text-three__title,
    .sliding-text-three .sliding-text-three__title,
    .sliding-text-three li span,
    .sliding-text-three__list li {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    /* —— Process Two —— */
    .process-two {
        padding: 48px 0 50px !important;
    }

    .process-two .section-title {
        margin-bottom: 36px !important;
    }

    .process-two ul li:nth-child(1),
    .process-two ul li:nth-child(3) {
        margin-top: 0 !important;
    }

    .process-two__count {
        width: 72px !important;
        height: 72px !important;
    }

    .process-two__count::before {
        width: 56px !important;
        height: 56px !important;
        font-size: 22px !important;
        line-height: 56px !important;
    }

    .process-two__title {
        font-size: 17px !important;
        line-height: 1.35 !important;
        margin: 14px 0 8px !important;
    }

    .process-two__text {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .process-two__shape-1,
    .process-two__shape-2 {
        display: none !important;
    }

    /* —— Portfolio Two —— */
    .portfolio-two {
        padding: 48px 0 42px !important;
    }

    .portfolio-two .portfolio-two__box-content,
    .portfolio-two .portfolio-two__box li.active .portfolio-two__box-content {
        height: 200px !important;
    }

    .portfolio-two .portfolio-two__text {
        display: none !important;
    }

    .portfolio-two .portfolio-two__title {
        display: none !important;
    }

    .portfolio-two .portfolio-two__content-box {
        opacity: 1 !important;
        transform: none !important;
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        gap: 10px !important;
        align-items: flex-end !important;
    }

    .portfolio-two .portfolio-two__title-2,
    .portfolio-two__title-2 {
        font-size: 14px !important;
        line-height: 1.35 !important;
        margin-bottom: 0 !important;
        font-weight: 600 !important;
    }

    .portfolio-two .portfolio-two__icon a {
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
    }

    /* —— Contact compact —— */
    .tp-contact-compact.contact-two {
        padding: 42px 0 48px !important;
    }

    .tp-contact-compact .contact-two__left .section-title__title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .tp-contact-compact .contact-two__text,
    .tp-contact-compact .contact-two__left p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .tp-contact-compact .contact-two__contact-list li .content p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .tp-contact-compact .contact-two__contact-list li .content span,
    .tp-contact-compact .contact-two__contact-list li .content h4 {
        font-size: 12px !important;
    }

    .tp-contact-compact .contact-one__input-box input,
    .tp-contact-compact .contact-one__input-box textarea {
        font-size: 14px !important;
    }

    .tp-contact-compact .thm-btn {
        font-size: 14px !important;
        padding: 14px 18px !important;
    }

    /* —— Event / Industries —— */
    .event-one {
        padding: 48px 0 50px !important;
    }

    .event-one__title h5 {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .event-one__title p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .event-one__title-and-countdown-box {
        padding: 18px 16px !important;
    }

    .event-one__top-btn-box .thm-btn {
        font-size: 14px !important;
        padding: 14px 18px !important;
    }

    /* —— Testimonials —— */
    .testimonial-two {
        padding: 48px 0 50px !important;
    }

    .testimonial-two__text {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-top: 14px !important;
    }

    .testimonial-two__client-name {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin-bottom: 2px !important;
    }

    .testimonial-two__sub-title {
        font-size: 12px !important;
    }

    .testimonial-two__client-info {
        margin-left: 0 !important;
        margin-top: 12px !important;
        gap: 12px !important;
    }

    .testimonial-two__quote span {
        font-size: 28px !important;
        line-height: 1 !important;
    }

    .testimonial-two__star span {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .services-two__services-list-single {
        grid-template-columns: minmax(0, 1fr) 76px;
        column-gap: 10px;
    }

    .services-two__hover-img {
        width: 76px !important;
        height: 98px !important;
        border-radius: 12px !important;
    }

    .services-two__hover-img img {
        border-radius: 12px !important;
    }

    .section-title__title {
        font-size: 20px !important;
    }

    .about-two__right .section-title__title,
    .why-choose-one__left .section-title__title,
    .tp-contact-compact .contact-two__left .section-title__title {
        font-size: 20px !important;
    }

    .counter-two__single {
        padding: 12px 10px 10px;
        gap: 8px !important;
    }

    .counter-two__count-box h3,
    .counter-two__count-box span {
        font-size: 22px !important;
    }

    .counter-two__text {
        font-size: 10px !important;
    }

    .counter-two__icon-inner {
        width: 36px !important;
        height: 36px !important;
    }

    .counter-two__icon {
        width: 28px !important;
        height: 28px !important;
    }

    .counter-two__icon span {
        font-size: 12px !important;
    }

    .services-two__title,
    .process-two__title {
        font-size: 16px !important;
    }

    .portfolio-two__title-2,
    .portfolio-two .portfolio-two__title-2 {
        font-size: 13px !important;
    }

    .about-two__text,
    .process-two__text,
    .testimonial-two__text {
        font-size: 13px !important;
    }

    .portfolio-two .portfolio-two__box-content,
    .portfolio-two .portfolio-two__box li.active .portfolio-two__box-content {
        height: 180px !important;
    }
}


/* =========================================================
   All Front pages — mobile compact (About → Services)
   Desktop (≥768px): untouched
   ========================================================= */
@media (max-width: 767px) {

    /* —— Shared page chrome —— */
    .page-header {
        padding: 120px 0 36px !important;
    }

    .page-header__inner h1,
    .page-header__inner h2 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }

    .thm-breadcrumb {
        flex-wrap: wrap;
        gap: 4px 6px;
        row-gap: 6px;
    }

    .thm-breadcrumb li,
    .thm-breadcrumb li a {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .thm-breadcrumb__box {
        max-width: 100%;
        display: block !important;
        width: 100%;
        box-sizing: border-box;
        padding: 8px 10px !important;
        overflow: hidden;
    }

    .thm-breadcrumb {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center;
        gap: 4px 6px;
        max-width: 100%;
        white-space: normal !important;
    }

    .thm-breadcrumb li {
        display: inline-flex;
        align-items: center;
        max-width: 100%;
        word-break: break-word;
    }

    .page-header {
        overflow: hidden !important;
    }

    .page-header__inner {
        max-width: 100%;
        overflow: hidden;
    }

    .page-header__inner h1 {
        word-break: break-word;
    }

    /* —— About page: about-four —— */
    .about-four {
        padding: 48px 0 50px !important;
        overflow: visible;
    }

    .about-four__left {
        margin-right: 0 !important;
    }

    .about-four__img-box {
        position: relative;
        width: 86%;
        margin-bottom: 48px;
    }

    .about-four__img img {
        border-radius: 22px !important;
    }

    .about-four__img-2 {
        position: absolute !important;
        bottom: -28px !important;
        right: -12% !important;
        left: auto !important;
        max-width: 48% !important;
        width: 48% !important;
        margin-top: 0 !important;
        z-index: 2;
    }

    .about-four__img-2 img {
        border-radius: 18px !important;
    }

    .about-four__experience {
        position: relative !important;
        margin-top: 12px !important;
        max-width: 180px;
    }

    .about-four__experience-count-box h3,
    .about-four__experience-count-box span {
        font-size: 28px !important;
        line-height: 1 !important;
    }

    .about-four__experience-count-text {
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    .about-four__client-box {
        margin-top: 12px !important;
        max-width: 200px;
    }

    .about-four__client-text {
        font-size: 12px !important;
    }

    .about-four__right {
        margin-top: 28px !important;
    }

    .about-four__right .section-title__title {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-right: 0 !important;
    }

    .about-four__text {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .about-four__points-box {
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 16px !important;
        margin-bottom: 20px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    .about-four__points-list li + li {
        margin-top: 10px !important;
    }

    .about-four__points-list li p,
    .about-four__points-list-content p,
    .about-four__points-2 li .content p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .about-four__points-list li p br,
    .about-four__points-2 li .content p br {
        display: none;
    }

    /* —— Why Choose Three (About) —— */
    .why-choose-three {
        padding: 48px 0 20px !important;
    }

    .why-choose-three__single {
        margin-bottom: 36px !important;
    }

    .why-choose-three__icon span {
        font-size: 40px !important;
    }

    .why-choose-three__title {
        font-size: 16px !important;
        margin: 14px 0 6px !important;
    }

    .why-choose-three__text {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .why-choose-three__img {
        margin-left: 0 !important;
        margin-top: 10px;
    }

    /* —— Process One (About) —— */
    .process-one {
        padding: 48px 0 50px !important;
    }

    .process-one__process-count::before {
        font-size: 48px !important;
        line-height: 1 !important;
    }

    .process-one__process-title {
        font-size: 17px !important;
        line-height: 1.35 !important;
    }

    .process-one__process-text {
        font-size: 13px !important;
        line-height: 1.45 !important;
        margin-top: 8px !important;
    }

    .process-one__process-list li + li {
        margin-top: 28px !important;
    }

    .process-one__process-list li:nth-child(2) .process-one__process-content {
        text-align: left !important;
    }

    /* —— Team Two carousel (About) —— */
    .team-two {
        padding: 48px 0 50px !important;
    }

    .team-two__title-box h3 {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .team-two__left .section-title__title {
        font-size: 22px !important;
    }

    /* —— Contact page —— */
    .tp-locations {
        padding: 18px 0 6px !important;
    }

    .tp-locations__bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px !important;
    }

    .tp-locations__items {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .tp-locations__item {
        width: 100% !important;
        min-width: 0 !important;
    }

    .tp-locations__label {
        font-size: 11px !important;
    }

    .contact-one {
        padding: 36px 0 48px !important;
    }

    .contact-one__from-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
    }

    .contact-one__input-title {
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }

    .contact-one__input-box input,
    .contact-one__input-box textarea,
    .contact-one__input-box .nice-select {
        font-size: 14px !important;
    }

    .contact-one__btn-box .thm-btn {
        width: 100%;
        justify-content: center;
        font-size: 14px !important;
        padding: 14px 18px !important;
    }

    .google-map-one,
    .google-map__one,
    .contact-page-map iframe,
    .google-map iframe {
        min-height: 240px !important;
        height: 240px !important;
    }

    /* —— Industries —— */
    .tp-industries {
        padding: 42px 0 55px !important;
    }

    .tp-industries__eyebrow,
    .tp-team__eyebrow,
    .tp-career__eyebrow,
    .tp-svc-list__eyebrow {
        font-size: 11px !important;
    }

    .tp-industries__headline,
    .tp-team__headline,
    .tp-career__headline,
    .tp-svc-list__headline {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .tp-industries__lead,
    .tp-team__lead,
    .tp-career__lead,
    .tp-svc-list__lead {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .tp-industries__stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .tp-industries__stat {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
        padding: 12px 8px !important;
        min-width: 0;
    }

    .tp-industries__stat strong,
    .tp-team__stat strong,
    .tp-career__panel-stat strong {
        font-size: 22px !important;
    }

    .tp-industries__stat span,
    .tp-team__stat span,
    .tp-career__panel-stat span {
        font-size: 12px !important;
    }

    .tp-industries__media {
        height: 160px !important;
    }

    .tp-industries__title {
        font-size: 16px !important;
        line-height: 1.35 !important;
    }

    .tp-industries__desc,
    .tp-industries__focus li {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .tp-industries__body {
        padding: 16px !important;
    }

    .tp-industries__cta,
    .tp-team__cta,
    .tp-career__cta,
    .tp-svc-list__cta {
        padding: 16px !important;
        gap: 14px !important;
    }

    .tp-industries__cta-copy h3,
    .tp-team__cta-copy h3,
    .tp-career__cta-copy h3,
    .tp-svc-list__cta-copy h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .tp-industries__cta-copy p,
    .tp-team__cta-copy p,
    .tp-career__cta-copy p,
    .tp-svc-list__cta-copy p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .tp-industries__cta-btn,
    .tp-industries__cta-link,
    .tp-career__cta-btn,
    .tp-career__apply,
    .tp-svc-list__cta .thm-btn,
    .tp-team__cta .thm-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* —— Team page —— */
    .tp-team {
        padding: 42px 0 55px !important;
    }

    .tp-team__stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        width: 100% !important;
        max-width: none !important;
        gap: 8px !important;
    }

    .tp-team__stat {
        padding: 12px 6px !important;
        border-radius: 12px !important;
        min-width: 0;
    }

    .tp-team__stat strong {
        font-size: 22px !important;
        margin-bottom: 4px !important;
    }

    .tp-team__stat span {
        font-size: 10px !important;
        line-height: 1.3 !important;
    }

    .tp-team__grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .tp-team__name {
        font-size: 17px !important;
    }

    .tp-team__role {
        font-size: 11px !important;
    }

    .tp-team__bio {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .tp-team__body {
        padding: 14px 14px 16px !important;
    }

    /* —— Career page —— */
    .tp-career {
        padding: 42px 0 55px !important;
    }

    .tp-career__perks {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .tp-career__perk {
        padding: 14px !important;
    }

    .tp-career__perk h4 {
        font-size: 15px !important;
    }

    .tp-career__perk p {
        font-size: 13px !important;
    }

    .tp-career__jobs-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .tp-career__job {
        padding: 16px !important;
        gap: 12px !important;
    }

    .tp-career__job-title {
        font-size: 16px !important;
        line-height: 1.35 !important;
    }

    .tp-career__job-summary {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .tp-career__skills li {
        font-size: 11px !important;
    }

    .tp-career__apply {
        width: 100%;
        justify-content: center;
    }

    /* —— Services list (category) —— */
    .tp-svc-list {
        padding: 42px 0 55px !important;
    }

    .tp-svc-list__tabs {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .tp-svc-list__tab {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 46px;
        padding: 11px 10px !important;
        font-size: 13px !important;
        white-space: nowrap;
        flex: unset !important;
    }

    .tp-svc-list__grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .tp-svc-list__title {
        font-size: 16px !important;
        line-height: 1.35 !important;
    }

    .tp-svc-list__desc {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .tp-svc-list__body {
        padding: 14px !important;
    }

    .tp-svc-list__media {
        height: 150px !important;
    }

    /* —— Services index (services-two) —— */
    .services-two {
        padding: 42px 0 48px !important;
    }

    .services-two__round-text-box {
        display: none !important;
    }

    /* —— Service details —— */
    .services-details {
        padding: 42px 0 55px !important;
        overflow: hidden; /* not overflow-x only — avoids section scrollbar */
    }

    .services-details__shape-1,
    .services-details__shape-2 {
        display: none !important;
    }

    .services-details__left {
        margin-right: 0 !important;
        margin-bottom: 28px !important;
    }

    .services-details__right {
        margin-left: 0 !important;
    }

    .services-details__title-1 {
        font-size: 22px !important;
        line-height: 1.3 !important;
        word-break: break-word;
    }

    .services-details__title-2,
    .services-details__title-3 {
        font-size: 17px !important;
        line-height: 1.35 !important;
    }

    .services-details__img-1,
    .services-details__img-box,
    .services-details__img-box-img {
        max-width: 100%;
        overflow: hidden;
    }

    .services-details__img-1 img,
    .services-details__img-box-img img,
    .services-details__need-help-img img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        border-radius: 14px;
    }

    .services-details__need-help-number {
        font-size: 18px !important;
        line-height: 1.3 !important;
        word-break: break-word;
    }

    .services-details__points-list li {
        gap: 10px !important;
    }

    .faq-two {
        padding: 42px 0 55px !important;
        overflow: hidden;
    }

    .faq-two__shape-1,
    .faq-two__shape-2 {
        display: none !important;
    }

    .faq-two__text {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .faq-two__btn-box .thm-btn {
        width: 100%;
        justify-content: center;
    }


    .services-details__services-list-title,
    .services-details__need-help-title,
    .services-details__title-1,
    .services-details__title-2 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .services-details__text-1,
    .services-details__text-2,
    .services-details__text,
    .accrodion-content p {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .services-details__services-list a {
        font-size: 13px !important;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .services-details__points-box,
    .services-details__benefits {
        gap: 10px !important;
    }

    .services-details__points-list li,
    .services-details__benefits-list li {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .accrodion-title h4 {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* —— Case studies —— */
    .case-studies-intro {
        padding: 42px 0 24px !important;
    }

    .case-studies-intro .about-two__right .section-title__title {
        font-size: 22px !important;
    }

    .case-studies-intro .about-two__text {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .case-studies-intro .about-two__points-list li p {
        font-size: 13px !important;
    }

    .case-studies-grid {
        padding: 16px 0 50px !important;
    }

    .case-study-card__image {
        height: 200px !important;
    }

    .case-study-card__content {
        padding: 16px 14px !important;
    }

    .case-study-card__title {
        font-size: 16px !important;
        line-height: 1.35 !important;
    }

    .case-study-card__text {
        font-size: 13px !important;
        line-height: 1.5 !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .case-study-card__detail h5 {
        font-size: 12px !important;
    }

    .case-study-card__detail p,
    .case-study-card__results li {
        font-size: 12.5px !important;
    }

    .case-study-card__button .thm-btn {
        width: 100%;
        justify-content: center;
        font-size: 13px !important;
        padding: 12px 16px !important;
    }

    .nexora-case-studies-cta.contact-two {
        padding: 42px 0 48px !important;
    }

    .nexora-case-studies-cta .contact-two__left .section-title__title {
        font-size: 22px !important;
    }

    /* —— 404 —— */
    .tp-404 {
        padding: 130px 0 70px !important;
    }

    .tp-404__title {
        font-size: 22px !important;
    }

    .tp-404__text {
        font-size: 14px !important;
    }

    .tp-404__actions {
        flex-direction: column;
        width: 100%;
    }

    .tp-404__actions .thm-btn,
    .tp-404__btn-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-header__inner h1,
    .page-header__inner h2 {
        font-size: 24px !important;
    }

    .tp-industries__headline,
    .tp-team__headline,
    .tp-career__headline,
    .tp-svc-list__headline,
    .about-four__right .section-title__title {
        font-size: 20px !important;
    }

    .tp-locations__items {
        grid-template-columns: 1fr;
    }

    .about-four__img-box {
        width: 84%;
    }

    .about-four__img-2 {
        max-width: 46% !important;
        width: 46% !important;
        bottom: -22px !important;
    }
}
