.hero-section {
    max-width: 1280px;
    margin: 8px auto;
    padding: 0;
    border-radius: 24px;
    background: linear-gradient(180deg,#0A2F2F,#124646,#1B6F6F);
    overflow: hidden;
}

.hero-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 72px 80px 100px;
    min-height: 620px;
}

/* LEFT */
.hero-text {
    max-width: 520px;
}

.hero-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: #fff;
    margin-bottom: 40px;
}

/* CTA */
.cta-button {
    width: 300px;
    height: 64px;
    border-radius: 32px;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.35);

    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    color: #ffffff;

    cursor: pointer;
    position: relative;
    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}
.cta-button::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -40%;
    width: 160%;
    height: 200%;

    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.45),
        transparent 70%
    );

    transform: translateX(-100%) rotate(25deg);
    transition: transform 0.6s ease;
}
.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.25),
        inset 0 0 12px rgba(255, 255, 255, 0.25);
}

.cta-button:hover::before {
    transform: translateX(100%) rotate(25deg);
}

/* RIGHT IMAGE */
.hero-image {
    position: absolute;
    right: 80px;
    bottom: -15px;              /* 👈 hard lock to bottom */
    display: flex;
    align-items: flex-end;  /* 👈 ensures image touches bottom */
}

.probe-img {
    height: 620px;          /* 👈 bigger for desktop/laptop */
    width: auto;
    display: block;
}
@media (max-width: 1280px) {
    .probe-img {
        height: 560px;
    }
}

/* STATS */
.hero-stats {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 740px;
    height: 64px;

    background: rgba(27,111,111,0.35);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 100px;
}

.stat-label {
    color: #fff;
    font-size: 18px;
}

.stat-divider {
    width: 1px;
    height: 62px;
    background: #fff;
}
/* ===== ANIMATION BASE ===== */
.fade-right,
.fade-down {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: transform, opacity;
}

/* Initial positions */
.fade-right {
    transform: translateX(-40px);
}

.fade-down {
    transform: translateY(-40px);
}

/* When visible */
.fade-show {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===========TABLET=========== */
@media (max-width: 1024px) {

    .hero-content {
        flex-direction: row;
        align-items: stretch;

        /* 🔥 TOP LINE MATCH FIX */
        padding: 40px 40px 120px;   /* pehle 56px tha */
    }

    .hero-text {
        max-width: 55%;
        display: flex;
        flex-direction: column;
        justify-content: center;   /* 🔥 text niche aayega */
        padding-top: 40px;         /* fine control */
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    /* 🔥 IMAGE POSITION FIX (top + bottom relation same as laptop) */
    .hero-image {
        right: 40px;
        bottom: -15px;                 /* laptop jaisa */
    }

    .probe-img {
        height: 500px;
        display: block;
    }

    /* 🔥 STATS BAR FIX (same distance from bottom as laptop) */
    .hero-stats {
        bottom: 32px;              /* laptop ke close */
        width: 72%;
        height: 52px;
        /* border-radius: 16px; */
    }

    .stat-label {
        font-size: 13px;
    }

    .stat-divider {
        height: 32px;
    }
}
@media (max-width: 768px) {
    .hero-section {
        max-height: 600px;
        padding-top: 0;
    }

    .hero-content {
        flex-direction: row;
        padding: 34px 24px 110px;   /* 🔥 top aur kam */
        gap: 24px;
        padding-top: 16px;
    }

    .hero-text {
        max-width: 55%;
        display: flex;
        flex-direction: column;
        justify-content: center;   /* 🔥 main line */
        padding-top: 0;         /* thoda aur niche */
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 10px;
    }

    .cta-button {
        width: 200px;
        height: 48px;
        font-size: 14px;
    }

    .hero-image {
        right: 10px;
        bottom: 6px;                 /* 🔥 probe tip same relation */
    }

    .probe-img {
        height: 525px;
    }

    .hero-stats {
        bottom: 40px;
        width: 78%;
        height: 48px;
    }

    .stat-label {
        font-size: 12px;
    }
}
/* ===== WARRANTY BADGE ===== */
.hero-warranty {
    position: absolute;
    right: 360px;              /* adjust slightly if needed */
    top: 48%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 16px 20px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);

    opacity: 0;
    transform: translateY(-50%) translateX(20px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

/* Text styling */
.warranty-highlight {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.warranty-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

/* When visible */
.hero-warranty.show {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Tablet */
@media (max-width: 768px) {
    .hero-warranty {
        right: 260px;
        top: 70%;
        padding: 10px 10px;
    }

    .warranty-highlight {
        font-size: 16px;
    }

    .warranty-sub {
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 400px) {

    .hero-content {
        flex-direction: column;   /* 🔥 KEY FIX */
        align-items: center;
        text-align: center;

        padding: 16px 12px 88px;
        gap: 16px;
        margin-left: 20px;
    }

    .hero-text {
        max-width: 90%;
        padding-top: 15px;
    }

    .hero-title {
        font-size: 16px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 12px;
    }
    .hero-text .fade-right {
        transform: none;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
    }

    .cta-button {
        width: 180px;
        height: 44px;
        font-size: 13px;
    }

    /* IMAGE */
    .hero-image {
        position: center;
        right: 0;
        bottom: 10px;
        margin-top: 12px;
    }

    .probe-img {
        height: 360px;
    }

    /* STATS */
    .hero-stats {
        bottom: 40px;
        width: 80%;        /* 👈 reduced from 92% */
        height: 30px;
        padding: 0 8px; 
    }

    .stat-label {
        font-size: 10px;
        white-space: nowrap; /* 👈 prevents wrapping */
    }
    .stat-box {
        gap: 16px;         /* 👈 BIG FIX: reduce spacing */
    }

    .stat-divider {
        height: 18px;      /* 👈 optional: looks better on mobile */
    }
}
@media (max-width: 400px) {
    .hero-warranty {
        display: flex;
        position: absolute;
        right: 54%;          /* 👈 keep it beside the probe */
        top: 60%;             /* 👈 aligns with your red line */
        padding: 10px 10px;
        border-radius: 14px;
    }

    .warranty-highlight {
        font-size: 12px;
    }

    .warranty-sub {
        font-size: 10px;
    }
}

@media (max-width: 400px) {
    .hero-warranty {
        opacity: 0;
        transform: translateY(10px);
    }

    .hero-warranty.show {
        opacity: 1;
        transform: translateY(0);
    }
}