﻿/* =========================================================
   Company Section
   ========================================================= */

.company-section {
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 7vw, 100px) 0 clamp(80px, 9vw, 120px);
}

.company-section__container {
    position: relative;
    min-height: 600px;
}


/* ---------------------------------------------------------
   Visual Area
   --------------------------------------------------------- */

.company-section__visual {
    position: relative;
    width: 100%;
    height: 500px;
}


.company-section__animation {
    position: absolute;
    top: -25px;
    right: -35px;
    width: min(720px, 65%);
    height: 500px;
    z-index: 1;
}

.company-section__lottie {
    display: block;
    width: 86%;
    height: 90%;
    object-fit: contain;
    object-position: center center;
    padding-left: 264px;
    padding-bottom: 104px;
}
    /* ---------------------------------------------------------
   Decorative Background Elements
   --------------------------------------------------------- */

    .company-section__orb {
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        z-index: 6;
    }

    .company-section__orb--one {
        width: 340px;
        height: 340px;
        top: -10px;
        right: 55px;
        background: rgba(30, 58, 95, 0.045);
    }

    .company-section__orb--two {
        width: 180px;
        height: 180px;
        top: 145px;
        right: 390px;
        border: 1px solid rgba(30, 58, 95, 0.10);
    }
    /* ---------------------------------------------------------
   Years Badge
   --------------------------------------------------------- */

.company-section__years {
    position: absolute;
    top: -17px;
    right: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: var(--color-primary, #1e3a5f);
    color: #fff;
    transform: rotate(6deg);
    box-shadow: 0 15px 35px rgba(30, 58, 95, 0.18);
}




.company-section__content {
    position: relative;
    z-index: 4;
    width: min(620px, 56%);
    margin-top: -439px;
    margin-left: 35px;
}

.company-section__content-inner {
    position: relative;
    padding: clamp(35px, 4vw, 52px);
    background: var(--color-surface, #fff);
    border: 1px solid rgba(30, 58, 95, 0.08);
    box-shadow: 0 25px 60px rgba(30, 58, 95, 0.10), 0 5px 15px rgba(30, 58, 95, 0.04);
}

.company_visual_fix {
    top: 248px;
    left: 29px;
}
    /* ---------------------------------------------------------
   Content Accent
   --------------------------------------------------------- */

    .company-section__content-inner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 75px;
        height: 4px;
        background: var(--color-primary, #1e3a5f);
    }
    /* ---------------------------------------------------------
   Link
   --------------------------------------------------------- */

    .company-section__link {
        position: relative;
        width: fit-content;
    }

        .company-section__link::after {
            content: "";
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 1px;
            background: currentColor;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.25s ease;
        }

        .company-section__link:hover::after {
            transform: scaleX(1);
        }
    /* ---------------------------------------------------------
   RTL
   --------------------------------------------------------- */

    .company-section--rtl .company-section__animation {
        right: auto;
        left: -35px;
    }

    .company-section--rtl .company-section__orb--one {
        right: auto;
        left: 55px;
    }

    .company-section--rtl .company-section__orb--two {
        right: auto;
        left: 390px;
    }

    .company-section--rtl .company-section__years {
        right: auto;
        left: 10px;
        transform: rotate(-6deg);
    }


    .company-section--rtl .company-section__content {
        margin-left: 0;
        margin-right: 25px;
    }

    .company-section--rtl .company-section__content-inner::before {
        left: auto;
        right: 0;
    }

    .company-section--rtl .company-section__link::after {
        left: auto;
        right: 0;
        transform-origin: right;
    }
    .company-section--rtl .company-section__lottie {
        display: block;
        width: 87%;
        height: 101%;
        object-fit: contain;
        object-position: center center;
        padding-left: 0px;
        padding-bottom: 135px;
        padding-right: 290px;
    }
    .company-section--rtl .company_visual_fix {
        top: 248px;
        left: -22px;
    }



/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1024px) {

    .company-section {
        padding: 70px 0 90px;
    }

    .company-section__container {
        min-height: auto;
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Reset desktop positioning */
    .company_visual_fix {
        top: 0;
        left: 0;
    }

    .company-section__visual {
        width: 100%;
        height: 430px;
    }

    .company-section__animation {
        top: 0;
        right: -20px;
        width: 72%;
        height: 430px;
    }

    .company-section__lottie {
        width: 49%;
        height: 52%;
        object-fit: contain;
        object-position: center;
        margin-left: 304px;
        padding: 0;
        margin-top: 25px;
    }

    /* Background circles */
    .company-section__orb--one {
        width: 290px;
        height: 290px;
        top: 0;
        right: 35px;
    }

    .company-section__orb--two {
        width: 150px;
        height: 150px;
        top: 135px;
        right: 280px;
    }

    /* Years badge */
    .company-section__years {
        top: -27px;
        right: 20px;
        width: 105px;
        height: 105px;
    }

    /* Content card overlaps the visual */
    .company-section__content {
        width: min(600px, 65%);
        margin-top: -401px;
        margin-bottom: 105px;
        margin-left: 20px;
    }

    .company-section__content-inner {
        padding: 38px;
    }

    .company_visual_fix {
        top: 197px;
        left: 24px;
    }


    /* -----------------------------------------------------
       Tablet RTL
       ----------------------------------------------------- */

    .company-section--rtl .company-section__animation {
        right: auto;
        left: -20px;
    }

    .company-section--rtl .company-section__orb--one {
        right: auto;
        left: 35px;
    }

    .company-section--rtl .company-section__orb--two {
        right: auto;
        left: 280px;
    }

    .company-section--rtl .company-section__years {
        right: auto;
        left: 20px;
    }

    .company-section--rtl .company-section__content {
        margin-left: 0;
        margin-right: 20px;
    }
    .company-section--rtl .company-section__lottie {
        display: block;
        width: 99%;
        height: 101%;
        object-fit: contain;
        object-position: center center;
        padding-left: 0px;
        padding-bottom: 202px;
        padding-right: 293px;
    }

    .company-section--rtl .company_visual_fix {
        top: 248px;
        left: -22px;
    }
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (min-width: 481px) and (max-width: 767px) {

    .company-section__lottie {
        display: block !important;
        width: 97% !important;
        height: 162% !important;
        object-fit: contain !important;
        object-position: center center !important;
        padding-left: 41px !important;
        padding-bottom: 28px !important;
    }

    .company-section {
        padding: 55px 0 70px;
    }

    .company-section__container {
        min-height: auto;
        padding-left: 20px;
        padding-right: 20px;
    }




    .company-section__visual {
        height: 149px;
        right: -35px;
        width: 100%;
    }

    .company-section__animation {
        top: 9px;
        left: -174px;
        right: -30px;
        width: 100%;
        height: 330px;
    }

    .company-section__lottie {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        padding: 0;
    }

    /* -----------------------------------------------------
       Decorative circles
       ----------------------------------------------------- */

    .company-section__orb--one {
        width: 230px;
        height: 230px;
        top: 15px;
        right: -20px;
    }

    .company-section__orb--two {
        width: 115px;
        height: 115px;
        top: 125px;
        right: 175px;
    }

    /* -----------------------------------------------------
       Years badge
       ----------------------------------------------------- */

    .company-section__years {
        top: 5px;
        right: 10px;
        width: 88px;
        height: 88px;
    }

    /* -----------------------------------------------------
       Content card
       ----------------------------------------------------- */


    .company-section__content {
        width: calc(100% - 20px);
        margin-top: -65px;
        margin-left: 10px;
    }

    .company-section__content-inner {
        padding: 30px 25px 32px;
    }

        .company-section__content-inner::before {
            width: 60px;
            height: 3px;
        }

        /* -----------------------------------------------------
       Typography spacing
       ----------------------------------------------------- */

        .company-section__content-inner h2 {
            margin-bottom: 18px;
        }

        .company-section__content-inner p {
            margin-bottom: 16px;
        }

            .company-section__content-inner p:last-of-type {
                margin-bottom: 25px;
            }



    /* -----------------------------------------------------
       Mobile RTL
       ----------------------------------------------------- */

    .company-section--rtl .company-section__animation {
        right: auto;
        left: -30px;
    }

    .company-section--rtl .company-section__orb--one {
        right: auto;
        left: -20px;
    }

    .company-section--rtl .company-section__orb--two {
        right: auto;
        left: 175px;
    }

    .company-section--rtl .company-section__years {
        right: auto;
        left: 10px;
    }

    .company-section--rtl .company-section__content {
        margin-left: 0;
        margin-right: 10px;
    }
    .company-section--rtl .company-section__lottie {
        display: block !important;
        width: 97% !important;
        height: 162% !important;
        object-fit: contain !important;
        object-position: center center !important;
        padding-left: 41px !important;
        padding-bottom: 28px !important;
    }
    .company-section--rtl .company_visual_fix {
        top: -32px;
        left: -78px;
    }


    .company_visual_fix {
        top: -32px;
        left: -78px;
    }

}



   /* -----------------------------------------------------
   Small Mobile
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .company-section__lottie {
        display: block !important;
        width: 97% !important;
        height: 162% !important;
        object-fit: contain !important;
        object-position: center center !important;
        padding-left: 51px !important;
        padding-bottom: 28px !important;
    }

    .company-section {
        padding-top: 45px;
        padding-bottom: 23px;
        margin-top: 95px;
    }

    .company-section__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .company-section__visual {
        height: 290px;
    }

    .company-section__animation {
        height: 155px;
        right: -35px;
    }

    .company-section__orb--one {
        width: 200px;
        height: 200px;
        right: -35px;
    }
        
    .company-section__orb--two {
        width: 100px;
        height: 100px;
        top: 149px;
        right: 145px;
    }

    .company-section__years {
        width: 78px;
        height: 78px;
        right: -58px;
        top: -13px;
    }


    .company-section__content {
        width: calc(100% - 10px);
        margin-top: -55px;
        margin-left: 5px;
    }

    .company-section__content-inner {
        padding: 26px 20px 28px;
    }

    .company-section--rtl .company-section__animation {
        right: auto;
        left: -35px;
    }

    .company-section--rtl .company-section__orb--one {
        right: auto;
        left: -35px;
    }

    .company-section--rtl .company-section__orb--two {
        right: auto;
        left: 145px;
    }

    .company-section--rtl .company-section__years {
        right: auto;
        left: -53px;
    }

    .company-section--rtl .company-section__content {
        margin-left: 0;
        margin-right: 5px;
    }




    .company-section--rtl .company-section__lottie {
        display: block !important;
        width: 102% !important;
        height: 165% !important;
        object-fit: contain !important;
        object-position: center center !important;
        padding-left: 0px !important;
        padding-bottom: 30px !important;
        padding-right: 67px;
    }



            .company-section--rtl .company_visual_fix {
                top: -32px;
                left: 159px;
            }
            
        }

@media (max-width:365px) {


    .company-section__animation {
        height: 155px;
        right: -16px;
    }
}