@media screen and (max-width: 479px) {
    /* Adjustments for large smartphones and landscape phone views */

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    /* ---------- HEADER ---------- */
    .mainheader {
        height: 80px;
        padding: 8px 16px;
    }

    .bgcolorhrader .row.pt-4 {
        padding-top: 0.5rem !important;
        /* Bootstrap pt-2 */
    }

    .leftside svg {
        width: 211px;
        height: 64px;
    }

    .bgcolorhrader.is-visible {
        padding: 0px 16px;
    }
    .bgcolorhrader{
        height: 90px;
    }

    /* ---------- HERO ---------- */
    .herosectionbg {
        min-height: 460px;
    }

    .hero-morph-svg {
        width: 600px;
        height: 600px;
    }

    .hero-text {
        font-size: 54px;
        line-height: 100%;
        letter-spacing: -4%;
        white-space: normal;
    }

    .the-text {
        font-size: 50px;
    }

    .collective-text {
        font-size: 50px;
    }

    /* ---------- SERVICES / VISION ---------- */
    .visiontitle2 {
        font-size: 54px;
    }

    .card-text {
        font-size: 54px;
        min-width: 317px !important;
    }

    /* ---------- CURIOUS / OUR STORY ---------- */
    .curiousbg {
        min-height: 480px;
        padding: 40px 16px 140px;
    }

    .curious-title2,
    .green-word {
        font-size: 44px;
        line-height: 100%;
        letter-spacing: -4%;
        text-wrap: stable;
    }

    .main-curious-desc {
        font-size: 16px;
        line-height: 150%;
        letter-spacing: -2%;
    }

    .curious-title1 {
        font-size: 13px;
    }

    /* ---------- BRANDS ---------- */
    .brandslogosbox {
        margin-top: 15px;
    }

    .brandstitle2,
    .brandsothertext {
        font-size: 40px;
    }

    /* Each original marquee = 2 compact lines */
    .brandstitle2 br {
        display: none;
    }

    .brands-marquee {
        height: 150px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 25px;
    }

    .mobile-brand-row {
        position: relative;
        width: 100%;
        height: 75px;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    .mobile-brand-track {
        display: flex;
        width: max-content;
        flex-shrink: 0;
        will-change: transform;
    }

    .mobile-brand-set {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        width: max-content;
        min-width: max-content;

        padding: 0 20px;
        gap: 28px;

        box-sizing: border-box;
    }

    /* Larger logos */
    .mobile-brand-set .brand-logo {
        width: auto !important;
        height: 52px !important;

        max-width: 100%;
        object-fit: contain;
        flex-shrink: 0;
    }

    .row-right .brand-logo:nth-child(1).adf {
        height: 45px !important;
    }

    /* Preserve proportions for wide logos */
     .mobile-brand-set .brand-logo:nth-child(2).the-minimalist {
        height: 24px !important;
    }
    .mobile-brand-set .brand-logo:nth-child(2).payex {
        height: 52px !important;
    }
    .mobile-brand-set .brand-logo:nth-child(2).sud {
        height: 52px !important;
    }
     .mobile-brand-set .brand-logo:nth-child(2) {
        height: 45px !important;
    }
  

    .mobile-brand-set .brand-logo:nth-child(3) {
        height: 42px !important;
    }

    .mobile-brand-set .brand-logo:nth-child(3).cg{
        height: 36px !important;
    }
    .mobile-brand-set .brand-logo:nth-child(3).greenline{
        height: 48px !important;
    }
    .mobile-brand-set .brand-logo:nth-child(3).insuide{
        height: 52px !important;
    }
    .mobile-brand-set .brand-logo:nth-child(4) {
        height: 44px !important;
    }

    .leftbrandsgrediant,
    .rightbrandsgrediant {
        top: 0;
        height: 100%;
        width: 55px;
    }

    /* =========================================================
   ADFACTORS PR - KEEP ORIGINAL COLOR ON HOVER
========================================================= */

    .brandslogosbox.logo-hovered .row-right .brand-logo:nth-child(5) {
        filter: brightness(0.55) !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .brandslogosbox.logo-hovered .row-right .brand-logo:nth-child(5):hover {
        filter: none !important;
        opacity: 1 !important;
        transform: scale(1.03) !important;
    }

    /* ---------- DESIGNED WELL ---------- */
    .designedwellbg {
        min-height: 260px;
    }

    .designedtext,
    .designedothertext {
        font-size: 60px;
    }

    .invertedicon {
        font-size: 1.8rem;
        top: -2rem;
    }

    /* ---------- VERTICAL SLIDER ---------- */
    .verticalslidertrack {
        gap: 5px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-inline: 10px;
    }

    .verticalimg {
        border-radius: 6px;
    }

    /* ---------- FOOTER ---------- */
    .mainfooterbg {
        padding: 0px 16px;
    }

    .mainfooterbg .container {
        padding: 0px;
    }

    .footertitle,
    .footertitle .extraordinarybg {
        font-size: 40px;
        line-height: 110%;
        letter-spacing: -3%;
    }

    .extraordinarybg {
        width: 100%;
    }

    .emailtext {
        font-size: 24px;
        line-height: 110%;
        letter-spacing: -3%;
        white-space: normal;
        word-break: break-all;
    }

    .footerleftbox {
        margin-bottom: 57px;
        gap: 32px;
    }

    .footerform {
        gap: 10px;
    }

    .footerliner {
        object-fit: cover;
    }

    .footertouchbutton {
        min-width: 184px;
        min-width: 47px;
    }

    .footerrightsbox {
        display: grid;
        gap: 12px;
    }

    .footerline {
        width: 100%;
        order: 1;
    }

    .rightstext {
        font-size: 14px;
        line-height: 150%;
        letter-spacing: -2%;
        text-align: center;
        order: 2;
    }

    .policytext {
        display: none;
    }

    #work>.container>.row:nth-child(2)>.left-text-col>article,
    #work>.container>.row:nth-child(4)>.left-text-col>article {
        align-items: flex-end !important;
        min-width: auto;
        right: 0px;
    }

    #work>.container>.row:nth-child(3)>[class*="col-"]:first-child>article,
    #work>.container>.row:nth-child(5)>[class*="col-"]:first-child>article {
        align-items: flex-start !important;
        min-width: auto;
        left: 0px;
    }

    #work .glimpsegrediant,
    #work .glimpsegrediant3,
    #work .glimpsegrediant2,
    #work .glimpsegrediant4 {
        background: unset;
    }

    /* Mobile: always show video first */

    .glimpsebg .row {
        display: flex;
        flex-wrap: wrap;
    }

    .glimpsebg .video-col {
        order: 1;
    }

    .glimpsebg .content-col {
        order: 2;
    }

    .glimpsebg .col-6 {
        width: 100%;
    }

}

@media screen and (max-width: 320px) {
    /* Heavy optimization for micro-screens like older or budget smartphones */

    .leftside svg {
        width: 211px;
        height: 64px;
    }

    .hero-morph-svg {
        width: 180px;
        height: 180px;
    }

    .hero-text {
        font-size: 21px;
    }

    .the-text {
        font-size: 17px;
    }

    .collective-text {
        font-size: 21px;
    }

    .visiontitle2,
    .card-text {
        font-size: 54px;
    }

    .curious-title2,
    .green-word {
        font-size: 20px;
    }

    .brandstitle2,
    .brandsothertext {
        font-size: 20px;
    }

    .designedtext,
    .designedothertext {
        font-size: 60px;
    }

    /* vertical slider grid already fluid via minmax(0, 1fr) */

    .footertitle,
    .footertitle .extraordinarybg {
        font-size: 35px;
    }

    /* Mobile: always show video first */

    .glimpsebg .row {
        display: flex;
        flex-wrap: wrap;
    }

    .glimpsebg .video-col {
        order: 1;
    }

    .glimpsebg .content-col {
        order: 2;
    }

    .glimpsebg .col-6 {
        width: 100%;
    }

    #work>.container>.row:nth-child(3)>[class*="col-"]:first-child>article,
    #work>.container>.row:nth-child(5)>[class*="col-"]:first-child>article {
        align-items: flex-start !important;
        min-width: auto;
        left: 0px;
    }

    #work .glimpsegrediant,
    #work .glimpsegrediant3,
    #work .glimpsegrediant2,
    #work .glimpsegrediant4 {
        background: unset;
    }
}