/* =========================================================
   CALIBRATION HERO
========================================================= */

.calibration-hero {

    position: relative;

    min-height: 720px;

    background:

        radial-gradient(
            circle at 75% 45%,
            rgba(255,255,255,.12),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #015792 0%,
            #014F84 50%,
            #013F6A 100%
        );

    overflow: hidden;

    color: #ffffff;
}


/* =========================================================
   TECHNICAL GRID
========================================================= */

.hero-grid {

    position: absolute;

    inset: 0;

    opacity: .08;

    background-image:

        linear-gradient(
            rgba(255,255,255,.8) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.8) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    mask-image:
        linear-gradient(
            to right,
            transparent,
            black 30%,
            black 70%,
            transparent
        );

}


/* =========================================================
   BACKGROUND ICONS
========================================================= */

.hero-bg-icons {

    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

}


.hero-icon {

    position: absolute;

    color: #ffffff;

    opacity: .055;

}


.icon-1 {

    top: 8%;

    left: 3%;

    font-size: 150px;

    animation:
        heroFloat 7s ease-in-out infinite;

}


.icon-2 {

    top: 12%;

    right: 4%;

    font-size: 130px;

    animation:
        heroFloat 8s ease-in-out infinite reverse;

}


.icon-3 {

    bottom: 8%;

    left: 10%;

    font-size: 160px;

    animation:
        heroRotate 25s linear infinite;

}


.icon-4 {

    bottom: 12%;

    right: 8%;

    font-size: 130px;

    animation:
        heroFloat 6s ease-in-out infinite;

}


.icon-5 {

    top: 45%;

    left: 40%;

    font-size: 100px;

}


.icon-6 {

    bottom: 5%;

    right: 40%;

    font-size: 100px;

}


/* =========================================================
   DECORATIVE LINES
========================================================= */

.hero-line {

    position: absolute;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.25),
            transparent
        );

    pointer-events: none;

}


.hero-line-1 {

    width: 45%;

    top: 25%;

    right: -10%;

    transform: rotate(-25deg);

}


.hero-line-2 {

    width: 35%;

    bottom: 18%;

    left: -5%;

    transform: rotate(25deg);

}


/* =========================================================
   CAROUSEL
========================================================= */

#calibrationHeroCarousel {

    position: relative;

    min-height: 720px;

}


.carousel-inner {

    min-height: 720px;

}


.hero-row {

    min-height: 720px;

}


/* =========================================================
   CONTENT
========================================================= */

.hero-content {

    position: relative;

    z-index: 5;

    padding:
        70px 20px 80px 0;

}


/* =========================================================
   LABEL
========================================================= */

.hero-label {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 22px;

    color: rgba(255,255,255,.9);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2.5px;

}


.hero-label span {

    width: 42px;

    height: 2px;

    background: #ffffff;

    border-radius: 20px;

}


/* =========================================================
   HEADING
========================================================= */

.hero-content h1 {

    max-width: 650px;

    margin: 0 0 22px;

    color: #ffffff;

    font-size:
        clamp(42px, 5vw, 68px);

    font-weight: 700;

    line-height: 1.08;

    letter-spacing: -1.5px;

}


.hero-content h1 span {

    display: block;

    color: #ffffff;

    font-weight: 800;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.hero-content p {

    max-width: 570px;

    margin: 0 0 30px;

    color:
        rgba(255,255,255,.76);

    font-size: 15px;

    line-height: 1.9;

}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

}


.hero-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    transition:
        all .3s ease;

}


.hero-btn-primary {
    background: #ffffff;

    color: #015792;
}

.hero-btn-primary:hover {
    color: #015792;
}


.hero-btn-outline {

    border:
        1px solid
        rgba(255,255,255,.5);

    color: #ffffff;

    background:
        rgba(255,255,255,.05);

}


.hero-btn-outline:hover {
    color: #015792;

    background: #ffffff;

    border-color: #ffffff;
}


/* =========================================================
   TRUST POINTS
========================================================= */

.hero-trust {

    display: flex;

    flex-wrap: wrap;

    gap: 25px;

    margin-top: 30px;

}


.hero-trust div {

    display: flex;

    align-items: center;

    gap: 8px;

    color:
        rgba(255,255,255,.75);

    font-size: 11px;

    font-weight: 600;

}


.hero-trust i {

    color: #ffffff;

    font-size: 15px;

}


/* =========================================================
   EQUIPMENT AREA
========================================================= */

.hero-equipment {

    position: relative;

    width: min(500px, 100%);

    height: 500px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* =========================================================
   CIRCULAR EQUIPMENT IMAGE
========================================================= */

.equipment-image {

    position: relative;

    z-index: 4;

    width: 450px;
    height: 450px;

    object-fit: cover;

    border-radius: 50%;

    /* White technical border */
    border: 3px solid rgba(255, 255, 255, 0.95);

    /* Inner spacing */
    padding: 6px;

    /* Circular background */
    background: #ffffff;

    /* Premium shadow */
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.20),
        0 20px 50px rgba(0, 0, 0, 0.30);

    /* Floating animation */
    animation:
        equipmentFloat 5s ease-in-out infinite;

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


/* Hover effect */

.hero-equipment:hover .equipment-image {

    transform:
        scale(1.04);

    box-shadow:
        0 0 0 8px rgba(255,255,255,.08),
        0 25px 60px rgba(0,0,0,.35);

}


/* =========================================================
   TECHNICAL RINGS
========================================================= */

.equipment-ring {

    position: absolute;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.25);

}


.ring-outer {

    width: 450px;

    height: 450px;

    animation:
        heroRotate 25s linear infinite;

}


.ring-inner {

    width: 350px;

    height: 350px;

    border-style: dashed;

    border-color:
        rgba(255,255,255,.2);

    animation:
        heroRotateReverse 18s linear infinite;

}


/* =========================================================
   MEASUREMENT MARKS
========================================================= */

.measurement-mark {

    position: absolute;

    z-index: 5;

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.4);

    border-radius: 50%;

    background:
        rgba(58,73,159,.6);

    color: #ffffff;

    font-size: 8px;

    font-weight: 800;

}


.mark-1 {

    top: 18%;

    left: 10%;

}


.mark-2 {

    top: 12%;

    right: 12%;

}


.mark-3 {

    bottom: 17%;

    right: 8%;

}


/* =========================================================
   FLOATING BADGE
========================================================= */

.equipment-badge {

    position: absolute;

    z-index: 6;

    right: 2%;

    bottom: 12%;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px 15px;

    background:
        rgba(255,255,255,.12);

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius: 8px;

    backdrop-filter: blur(10px);

    box-shadow:
        0 15px 35px
        rgba(0,0,0,.18);

    animation:
        badgeFloat 4s ease-in-out infinite;

}


.equipment-badge > i {

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #3A499F;

    font-size: 15px;

}


.equipment-badge strong {

    display: block;

    color: #ffffff;

    font-size: 9px;

    letter-spacing: 1px;

}


.equipment-badge small {

    display: block;

    margin-top: 2px;

    color:
        rgba(255,255,255,.6);

    font-size: 9px;

}


/* =========================================================
   INDICATORS
========================================================= */

.hero-indicators {

    position: absolute;

    z-index: 20;

    right: auto;

    left: 50%;

    bottom: 35px;

    width: auto;

    margin: 0;

    transform:
        translateX(-50%);

    gap: 7px;

}


.hero-indicators button {

    width: 28px;

    height: 3px;

    margin: 0;

    padding: 0;

    border: 0;

    border-radius: 20px;

    background:
        rgba(255,255,255,.35);

    opacity: 1;

    overflow: hidden;

    transition:
        width .3s ease;

}


.hero-indicators button.active {

    width: 60px;

    background: #ffffff;

}


/* =========================================================
   SLIDE NUMBER
========================================================= */

.hero-slide-number {

    position: absolute;

    z-index: 20;

    right: 7%;

    bottom: 34px;

    color:
        rgba(255,255,255,.65);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}


.current-slide {

    color: #ffffff;

    font-size: 18px;

}


.slide-divider {

    margin: 0 5px;

    opacity: .4;

}


/* =========================================================
   PROGRESS BAR
========================================================= */

.hero-progress {

    position: absolute;

    z-index: 20;

    left: 0;

    bottom: 0;

    width: 100%;

    height: 3px;

    background:
        rgba(255,255,255,.12);

}


.hero-progress-bar {

    width: 0;

    height: 100%;

    background: #ffffff;

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes equipmentFloat {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-14px);

    }

}


@keyframes badgeFloat {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-8px);

    }

}


@keyframes heroFloat {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-18px);

    }

}


@keyframes heroRotate {

    from {

        transform:
            rotate(0deg);

    }

    to {

        transform:
            rotate(360deg);

    }

}


@keyframes heroRotateReverse {

    from {

        transform:
            rotate(360deg);

    }

    to {

        transform:
            rotate(0deg);

    }

}


/* =========================================================
   CAROUSEL TRANSITION
========================================================= */



.calibration-hero .carousel-item {
    opacity: 0;
    transform: scale(1.04) translateY(15px);

    transition:
        opacity 0.9s ease,
        transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);

    visibility: hidden;
}


/* Active slide */

.calibration-hero .carousel-item.active {
    opacity: 1;

    transform:
        scale(1)
        translateY(0);

    visibility: visible;

    z-index: 2;
}


@keyframes heroContentIn {

    from {

        opacity: 0;

        transform:
            translateX(-40px);

    }

    to {

        opacity: 1;

        transform:
            translateX(0);

    }

}


@keyframes heroEquipmentIn {

    from {

        opacity: 0;

        transform:
            scale(.85)
            translateX(40px);

    }

    to {

        opacity: 1;

        transform:
            scale(1)
            translateX(0);

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .calibration-hero,
    #calibrationHeroCarousel,
    .carousel-inner,
    .hero-row {

        min-height: auto;

    }


    .hero-row {

        padding:
            70px 0 110px;

    }


    .hero-content {

        padding:
            20px 0 40px;

        text-align: center;

    }


    .hero-label {

        justify-content: center;

    }


    .hero-content h1 {

        margin-left: auto;

        margin-right: auto;

    }


    .hero-content p {

        margin-left: auto;

        margin-right: auto;

    }


    .hero-buttons {

        justify-content: center;

    }


    .hero-trust {

        justify-content: center;

    }


    .hero-equipment {

        height: 420px;

    }


    .ring-outer {

        width: 380px;

        height: 380px;

    }


    .ring-inner {

        width: 300px;

        height: 300px;

    }


    .hero-slide-number {

        right: 4%;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .calibration-hero {

        min-height: 760px;

    }


    .hero-row {

        padding:
            55px 0 100px;

    }


    .hero-content {

        padding: 10px 0 20px;

    }


    .hero-label {

        font-size: 8px;

        letter-spacing: 1.5px;

    }


    .hero-label span {

        width: 25px;

    }


    .hero-content h1 {

        font-size: 38px;

        letter-spacing: -.7px;

    }


    .hero-content p {

        font-size: 12px;

        line-height: 1.75;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .hero-btn {

        width: 100%;

    }


    .hero-trust {

        flex-direction: column;

        gap: 10px;

        align-items: center;

    }


    .hero-equipment {

        width: 100%;

        height: 330px;

    }


    .equipment-image {

        width: 78%;

        max-height: 280px;

    }


    .ring-outer {

        width: 300px;

        height: 300px;

    }


    .ring-inner {

        width: 235px;

        height: 235px;

    }


    .equipment-badge {

        right: 0;

        bottom: 5%;

        padding: 9px 11px;

    }


    .equipment-badge > i {

        width: 29px;

        height: 29px;

        font-size: 12px;

    }


    .equipment-badge strong {

        font-size: 7px;

    }


    .equipment-badge small {

        font-size: 7px;

    }


    .measurement-mark {

        width: 27px;

        height: 27px;

        font-size: 7px;

    }


    .hero-indicators {

        bottom: 28px;

    }


    .hero-slide-number {

        right: 5%;

        bottom: 27px;

        font-size: 9px;

    }


    .current-slide {

        font-size: 14px;

    }


    .hero-icon {

        font-size: 70px !important;

    }

}