/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-choose-section {

    position: relative;

    padding: 50px 0;

    background: var(--white);

    overflow: hidden;

}


/* =========================================================
   BACKGROUND TECHNICAL ELEMENTS
========================================================= */

.why-bg-elements {

    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;

}


/* =========================================================
   TECHNICAL GRID
========================================================= */

.precision-grid {

    position: absolute;

    width: 450px;

    height: 450px;

    right: -100px;

    top: 80px;

    opacity: .45;

    background-image:

        linear-gradient(
            rgba(58, 73, 159, .08) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(58, 73, 159, .08) 1px,
            transparent 1px
        );

    background-size: 25px 25px;

    transform: rotate(8deg);

}


/* =========================================================
   BACKGROUND CIRCLES
========================================================= */

.precision-circle {

    position: absolute;

    border: 1px solid
        rgba(58, 73, 159, .12);

    border-radius: 50%;

}


.circle-one {

    width: 400px;

    height: 400px;

    left: -250px;

    top: 20%;

}


.circle-two {

    width: 250px;

    height: 250px;

    right: 5%;

    bottom: -130px;

}


/* =========================================================
   BACKGROUND ICONS
========================================================= */

.precision-icon {

    position: absolute;

    color: var(--primary);

    opacity: .07;

}


.precision-icon-one {

    top: 10%;

    left: 4%;

    font-size: 130px;

    animation:
        precisionFloat 7s ease-in-out infinite;

}


.precision-icon-two {

    right: 4%;

    bottom: 15%;

    font-size: 100px;

    transform: rotate(-15deg);

    animation:
        precisionFloatTwo 8s ease-in-out infinite;

}


.precision-icon-three {

    left: 45%;

    bottom: 5%;

    font-size: 100px;

    animation:
        precisionRotate 18s linear infinite;

}


/* =========================================================
   MEASUREMENT LINES
========================================================= */

.measurement-line {

    position: absolute;

    height: 1px;

    background:
        repeating-linear-gradient(
            to right,
            var(--primary) 0,
            var(--primary) 3px,
            transparent 3px,
            transparent 8px
        );

    opacity: .12;

}


.measurement-line-one {

    width: 300px;

    top: 28%;

    left: 0;

}


.measurement-line-two {

    width: 250px;

    right: 0;

    bottom: 30%;

}


/* =========================================================
   SECTION HEADER
========================================================= */

.why-heading {

    position: relative;

    z-index: 2;

    max-width: 760px;

    margin:
        0 auto 30px;

}


/* =========================================================
   LABEL
========================================================= */

.why-label {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-bottom: 16px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2.5px;

}


.why-label span {

    width: 42px;

    height: 3px;

    background: var(--primary);

    border-radius: 10px;

}


/* =========================================================
   TITLE
========================================================= */

.why-title {

    margin: 0;

    color: var(--black);

    font-size:
        clamp(35px, 4vw, 52px);

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -1.5px;

}


.why-title span {

    color: var(--primary);

}


/* =========================================================
   DESCRIPTION
========================================================= */

.why-description {

    max-width: 650px;

    margin:
        18px auto 0;

    color: var(--text);

    font-size: 14px;

    line-height: 1.8;

}


/* =========================================================
   PRECISION VISUAL
========================================================= */

.precision-visual {

    position: relative;

    min-height: 510px;

    padding: 35px;

    background:
        linear-gradient(
            145deg,
            var(--primary-dark),
            var(--primary)
        );

    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 25px 60px
        rgba(41, 55, 127, .20);

}


/* Technical grid inside */

.precision-visual::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(255,255,255,.06) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.06) 1px,
            transparent 1px
        );

    background-size: 25px 25px;

}


/* =========================================================
   TOP LABEL
========================================================= */

.precision-top-label {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 9px;

    color: rgba(255,255,255,.75);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

}


.status-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #65e6a4;

    box-shadow:
        0 0 10px #65e6a4;

    animation:
        statusBlink 1.8s ease-in-out infinite;

}


/* =========================================================
   PRECISION TARGET
========================================================= */

.precision-target {

    position: absolute;

    width: 300px;

    height: 300px;

    top: 105px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    justify-content: center;

}


/* Rings */

.target-ring {

    position: absolute;

    border-radius: 50%;

    border: 1px solid
        rgba(255,255,255,.35);

}


.ring-one {

    width: 300px;

    height: 300px;

}


.ring-two {

    width: 220px;

    height: 220px;

}


.ring-three {

    width: 135px;

    height: 135px;

}


/* Center */

.target-center {

    position: relative;

    z-index: 3;

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--white);

    color: var(--primary);

    font-size: 28px;

    box-shadow:
        0 0 0 10px
        rgba(255,255,255,.08),

        0 0 40px
        rgba(255,255,255,.20);

    animation:
        targetPulse 3s ease-in-out infinite;

}


/* =========================================================
   CROSSHAIR LINES
========================================================= */

.precision-target::before {

    content: "";

    position: absolute;

    width: 330px;

    height: 1px;

    background:
        rgba(255,255,255,.25);

}


.precision-target::after {

    content: "";

    position: absolute;

    width: 1px;

    height: 330px;

    background:
        rgba(255,255,255,.25);

}


/* =========================================================
   MEASUREMENT VALUES
========================================================= */

.measurement-value {

    position: absolute;

    z-index: 3;

    display: flex;

    flex-direction: column;

    gap: 4px;

    padding: 12px 15px;

    background:
        rgba(255,255,255,.09);

    border:
        1px solid
        rgba(255,255,255,.15);

    border-radius: 8px;

    backdrop-filter:
        blur(8px);

}


.measurement-value small {

    color:
        rgba(255,255,255,.6);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.measurement-value strong {

    color: var(--white);

    font-size: 16px;

}


.value-top {

    top: 55px;

    right: 30px;

}


.value-left {

    left: 25px;

    bottom: 130px;

}


.value-right {

    right: 25px;

    bottom: 130px;

}


/* =========================================================
   BOTTOM INFORMATION
========================================================= */

.precision-bottom {

    position: absolute;

    z-index: 3;

    left: 35px;

    right: 35px;

    bottom: 30px;

    display: flex;

    justify-content: space-between;

    padding-top: 18px;

    border-top:
        1px solid
        rgba(255,255,255,.15);

}


.precision-bottom div {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.precision-bottom span {

    color:
        rgba(255,255,255,.5);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.precision-bottom strong {

    color: var(--white);

    font-size: 11px;

}


.status-active {

    color: #65e6a4 !important;

}


/* =========================================================
   RIGHT CONTENT
========================================================= */

.why-content {

    position: relative;

    z-index: 2;

}


.why-content > h3 {

    margin:
        0 0 15px;

    color: var(--black);

    font-size:
        clamp(28px, 3vw, 38px);

    font-weight: 800;

    line-height: 1.2;

}


.why-content > h3 span {

    color: var(--primary);

}


.why-main-description {

    max-width: 650px;

    margin-bottom: 28px;

    color: var(--text);

    font-size: 14px;

    line-height: 1.85;

}


/* =========================================================
   WHY CARD
========================================================= */

.why-card {

    position: relative;

    height: 100%;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 18px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    overflow: hidden;

}


/* Top line */

.why-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 0;

    height: 3px;

    background:
        var(--primary);

    transition:
        width .4s ease;

}


.why-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(58,73,159,.20);

    box-shadow:
        0 15px 30px
        rgba(58,73,159,.10);

}


.why-card:hover::before {

    width: 100%;

}


/* =========================================================
   CARD ICON
========================================================= */

.why-card-icon {

    flex-shrink: 0;

    width: 46px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background:
        var(--primary-light);

    color:
        var(--primary);

    font-size: 20px;

    transition:
        var(--transition);

}


.why-card:hover
.why-card-icon {

    background:
        var(--primary);

    color:
        var(--white);

    transform:
        rotate(-5deg)
        scale(1.05);

}


/* =========================================================
   CARD CONTENT
========================================================= */

.why-card h5 {

    margin:
        2px 0 6px;

    color:
        var(--black);

    font-size: 14px;

    font-weight: 700;

}


.why-card p {

    margin: 0;

    color:
        var(--text);

    font-size: 11px;

    line-height: 1.6;

}


/* =========================================================
   CTA
========================================================= */

.why-cta {

    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 30px;

}


.why-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding:
        13px 22px;

    background:
        var(--primary);

    color:
        var(--white);

    text-decoration: none;

    border-radius:
        7px;

    font-size: 12px;

    font-weight: 700;

    transition:
        var(--transition);

}


.why-button i {

    transition:
        transform .3s ease;

}


.why-button:hover {

    background:
        var(--primary-dark);

    color:
        var(--white);

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 25px
        rgba(58,73,159,.22);

}


.why-button:hover i {

    transform:
        translateX(5px);

}


/* =========================================================
   MINI NOTE
========================================================= */

.why-mini-note {

    display: flex;

    align-items: center;

    gap: 8px;

    color:
        var(--text);

    font-size: 10px;

}


.why-mini-note i {

    color:
        var(--primary);

    font-size: 17px;

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes precisionFloat {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(0deg);

    }

    50% {

        transform:
            translateY(-15px)
            rotate(5deg);

    }

}


@keyframes precisionFloatTwo {

    0%,
    100% {

        transform:
            translate(0,0)
            rotate(-15deg);

    }

    50% {

        transform:
            translate(-10px,-15px)
            rotate(-8deg);

    }

}


@keyframes precisionRotate {

    from {

        transform:
            rotate(0deg);

    }

    to {

        transform:
            rotate(360deg);

    }

}


@keyframes targetPulse {

    0%,
    100% {

        transform:
            scale(1);

    }

    50% {

        transform:
            scale(1.08);

    }

}


@keyframes statusBlink {

    0%,
    100% {

        opacity: 1;

    }

    50% {

        opacity: .35;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .why-choose-section {

        padding:
            80px 0;

    }


    .precision-visual {

        max-width:
            650px;

        margin:
            0 auto;

    }


    .why-content {

        margin-top:
            15px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .why-choose-section {

        padding:
            65px 0;

    }


    .why-title {

        font-size:
            34px;

    }


    .why-description {

        font-size:
            13px;

    }


    .precision-visual {

        min-height:
            430px;

        padding:
            25px;

        border-radius:
            18px;

    }


    .precision-target {

        width:
            230px;

        height:
            230px;

        top:
            100px;

    }


    .ring-one {

        width:
            230px;

        height:
            230px;

    }


    .ring-two {

        width:
            165px;

        height:
            165px;

    }


    .ring-three {

        width:
            100px;

        height:
            100px;

    }


    .precision-target::before {

        width:
            255px;

    }


    .precision-target::after {

        height:
            255px;

    }


    .target-center {

        width:
            55px;

        height:
            55px;

        font-size:
            22px;

    }


    .measurement-value {

        padding:
            9px 11px;

    }


    .value-top {

        top:
            55px;

        right:
            20px;

    }


    .value-left {

        left:
            15px;

        bottom:
            105px;

    }


    .value-right {

        right:
            15px;

        bottom:
            105px;

    }


    .precision-bottom {

        left:
            25px;

        right:
            25px;

        bottom:
            22px;

    }


    .why-content > h3 {

        font-size:
            29px;

    }


    .why-card {

        padding:
            15px;

    }


    .why-cta {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            15px;

    }

}