/* Sensor Hero Section Starts */
.parking-hero {
    background: #000;
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* IMPORTANT */
}

.hero-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-track {
    display: flex;
    transition: transform 1.2s ease-in-out;
}

.hero-slide {
    flex: 0 0 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-slide .row {
    margin: 0;
    width: 100%;
}

.hero-slide [class*="col-"] {
    padding: 0;
}

.hero-left,
.hero-right {
    height: 550px;
}

.hero-left {
    background: #000;
    padding: 80px 60px;
    display: flex;
    align-items: center;
}

.hero-content {
    margin-left: 40px;
}

.hero-content h1 {
    color: #e5000c;
    font-size: 48px;
    font-weight: 700;
}

.retail-divider {
    height: 3px;
    width: 60%;
    margin: 15px 0 20px;
    background: linear-gradient(to right, transparent, #e5000c, transparent);
}

.hero-content p {
    color: #ccc;
    font-size: 20px;
    font-weight: 700;
    max-width: 550px;
}

.hero-right {
    position: relative;
    overflow: hidden;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-right::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;

    background: linear-gradient(
        to right,
        #000 0%,
        rgba(0,0,0,0.95) 20%,
        rgba(0,0,0,0.6) 45%,
        rgba(0,0,0,0.2) 65%,
        transparent 85%
    );
}

.hero-progress {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    overflow: hidden;
    z-index: 999;
}

.progress-bar {
    height: 100%;
    width: 50%;
    background: #e5000c;
    transition: transform 1s ease-in-out;
}

@media (max-width: 992px) {

    .hero-slide .row {
        display: flex;
        flex-direction: column;
    }

    .hero-left {
        width: 100%;
        height: auto;
        padding: 40px 20px;
        text-align: center;
        justify-content: center;
    }

    .hero-right {
        width: 100%;
        height: 300px;
    }

    .hero-content {
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-right::before {
        display: none;
    }

    .retail-divider {
        margin: 15px auto;
    }
}

@media (max-width: 768px) {

    .hero-slide .row {
        display: flex;
        flex-direction: column;
    }

    .hero-left {
        height: auto;
        padding: 25px 15px;
        text-align: center;
        justify-content: center;
    }

    .hero-right {
        height: 220px;
    }

    .hero-right img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-right::before {
        display: none;
    }

    .hero-content {
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 22px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 14px;
    }

    .retail-divider {
        margin: 10px auto;
        width: 50%;
    }

    .hero-dots {
        bottom: 10px;
    }
}

@media (max-width: 576px) {

    .hero-content h1 {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .hero-right {
        height: 200px;
    }
}
/* Sensor Hero Section Ends */

/* Smart Parking Section Starts */
.sensor-intro {
    background: #f7f7f7;
    padding: 40px 20px;
}

.intro-title {
    font-size: 40px;
    font-weight: 700;
    color: #e5000c;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 18px;
    color: #555;
    max-width: 900px;
    margin: 0 auto 10px;
    font-weight: 700;
    line-height: 1.6;
}
/* Smart Parking Section Ends */

/* How Parking Sensors Work Section Starts */
.sensor-section {
    background: #fff0ed;
    padding: 40px 0;
    overflow: hidden;
}

.left-wrapper {
    padding-left: 8%;
    padding-right: 30px;
}

.right-wrapper {
    padding-right: 5%;
}

.title {
    color: #d32f2f;
    font-weight: 700;
    font-size: 36px;
}

.lead {
    font-size: 18px;
    max-width: 450px;
    font-weight: 700;
    color: #555;
}

.sensor-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.parking-lot {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@media (max-width: 992px) {
    .left-wrapper {
        padding: 0 20px;
        text-align: center;
    }

    .right-wrapper {
        padding: 20px;
    }

    .title {
        font-size: 28px;
    }
}
/* How Parking Sensors Work Section Ends */

/* Video Section Starts */
.section-title {
    color: #e5000c;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.video-frame {
    width: 100%;
    height: 320px;
    border-radius: 10px;
    overflow: hidden;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* STEPS */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

/* STEP BOX */
.step {
    background: linear-gradient(to bottom, #ffffff, #fcfcfc);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    min-height: 80px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);

    cursor: pointer;
    user-select: none;
    transition: all 0.25s ease;
}

/* HOVER */
.step:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* CLICK */
.step:active {
    transform: scale(0.97);
}

/* FOCUS */
.step:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 0, 12, 0.2);
}

/* ICON */
.icon-area,
.icon-area-reverse {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.line {
    width: 1px;
    height: 40px;
    background-color: #eee;
    margin-left: 15px;
}

.icon-area-reverse .line {
    margin-left: 0;
    margin-right: 15px;
}

/* TEXT */
.step-text {
    flex-grow: 1;
    padding: 20px;
    font-weight: 500;
    color: #444;
    font-size: 1.05rem;
}

/* ARROW */
.arrow {
    font-size: 1.8rem;
    color: #555;
    transition: color 0.3s;
}

/* ACTIVE */
.step.active {
    border-color: #dc2626;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.2);
}

.step.active .step-text,
.step.active .arrow {
    color: #dc2626;
}

/* MOVE EFFECT */
#topSteps .step.active {
    transform: translateX(15px);
}

#bottomSteps .step.active {
    transform: translateX(-15px);
}
/* Video Section Ends */

/* Advantages Section Starts */
.sensor-advantages {
    background: #f7f7f7;
    padding: 40px 20px;
}

.adv-title {
    font-size: 32px;
    font-weight: 700;
    color: #e5000c;
}

.adv-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;

    border: 1px solid rgba(229, 0, 12, 0.2);
    box-shadow: 0 8px 20px rgba(229, 0, 12, 0.08);

    transition: all 0.8s ease;
    height: 100%;
}

.adv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(229, 0, 12, 0.15);
    border-color: #e5000c
}

.adv-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 15px;
}

.adv-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: #e5000c;
    margin-bottom: 10px;
}

.adv-card p {
    font-size: 14px;
    color: #555;
    font-weight: 700;
    line-height: 1.6;
}
/* Advantages Section Ends */

/* Why Choose ZMD Section Starts */
.why-zmd {
    background: #fff;
    padding: 40px 20px;
}

.why-title {
    font-size: 32px;
    font-weight: 700;
    color: #e5000c;
    margin-bottom: 40px;
}

.why-sub {
    color: black;
    font-weight: 700;
    font-size: 18px;
}

.zmd-card {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.zmd-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.zmd-card:hover img {
    transform: scale(1.08);
}

.zmd-heading {
    position: absolute;
    top: 0px;
    left: 0px;

    background: #e5000c;
    color: #fff;

    padding: 8px 16px;
    border-radius: 6px;

    font-size: 15px;
    font-weight: 700;

    z-index: 5;

    transition: 
        top 0.6s cubic-bezier(0.4,0,0.2,1),
        left 0.6s cubic-bezier(0.4,0,0.2,1),
        transform 0.6s cubic-bezier(0.4,0,0.2,1),
        color 0.6s ease;
}

.zmd-card:hover .zmd-heading {
    top: 68%;
    left: 50%;
    font-size: 22px;
    transform: translate(-50%, -50%);
    background: transparent;
    color: #fff;
}

.zmd-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 20px;

    background: linear-gradient(
        to top,
        rgba(229, 0, 12, 0.7) 0%,
        rgba(229, 0, 12, 0.35) 50%,
        rgba(229, 0, 12, 0.15) 70%,
        transparent 100%
    );

    color: #fff;

    opacity: 0;
    transition: opacity 0.8s ease;
}

.zmd-card:hover .zmd-overlay {
    opacity: 1;
}

.zmd-overlay p {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
    color: #fff;
}

/* ========================= */
/* TABLET VIEW (≤992px) */
/* ========================= */
@media (max-width: 992px) {

    .why-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .why-sub {
        font-size: 15px;
        padding: 0 10px;
    }

    .zmd-card {
        height: 220px;
    }

    /* 👇 ALWAYS SHOW OVERLAY */
    .zmd-overlay {
        opacity: 1;
        padding: 15px;
    }

    .zmd-overlay p {
        font-size: 16px;
        text-align: center;
    }

    .zmd-heading {
        top: 0;
        left: 0;
        transform: none;
        font-size: 14px;
        background: #e5000c;
    }

    .zmd-card:hover .zmd-heading {
        top: 0px;
        left: 0px;
        transform: none;
        font-size: 14px;
        background: #e5000c;
        color: #fff;
    }
}

@media (max-width: 576px) {

    .why-zmd {
        padding: 30px 10px;
    }

    .why-title {
        font-size: 22px;
    }

    .why-sub {
        font-size: 14px;
        line-height: 1.5;
    }

    .zmd-card {
        height: 200px;
        border-radius: 8px;
    }

    /* 👇 STRONGER OVERLAY LIKE YOUR IMAGE */
    .zmd-overlay {
        opacity: 1;

        background: linear-gradient(
            to top,
            rgba(229, 0, 12, 0.85) 0%,
            rgba(229, 0, 12, 0.6) 50%,
            transparent 100%
        );

        padding: 12px;
    }

    .zmd-overlay p {
        font-size: 14px;
        text-align: center;
    }

    /* 👇 HEADING STYLE LIKE IMAGE */
    .zmd-heading {
        top: 0px;
        left: 0px;
        font-size: 13px;
        padding: 6px 12px;
        border-radius: 5px;
    }
}
/* Why Choose ZMD Section Ends */

/* Scope Industries Starts */
.scope-slider {
    background: #f7f7f7;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.scope-slider h2 {
    color: #e5000c;
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.scope-wrapper {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.scope-track {
    display: flex;
    gap: 40px;
    width: max-content;

    animation: scrollLogos 25s linear infinite;
}

.scope-card {
    min-width: 250px;
    height: 150px;

    background: #ffffff;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;

    border: 1px solid rgba(0,0,0,0.08);

    box-shadow: 0 4px 10px rgba(3, 3, 3, 0.079);
}

.scope-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.scope-card span {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

@keyframes scrollLogos {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
/* Scope Industries Ends */

/* Talk to us Section Starts */
.cta-smart {
    background: #000;
    font-family: 'Inter', sans-serif;
    margin: 20px 0;
}

.cta-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.cta-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-img::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0) 40%,
        rgba(0,0,0,0.6) 70%,
        #000 100%
    );
}

.cta-content {
    height: 280px;
    padding: 40px 50px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: #000;
}

.cta-content h2 {
    color: #e5000c;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-content p {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 500px;
}

.cta-btn {
    display: block;
    width: 100%;
    text-align: center;

    background: linear-gradient(to right, #9e0101, #e5000c);
    color: #fff;

    padding: 10px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
}

.cta-btn:hover {
    background: linear-gradient(to right, #e5000c, #9e0101);
    color: #fff;
}

@media (max-width: 992px) {

    .cta-img,
    .cta-content {
        height: auto;
    }

    .cta-content {
        padding: 30px;
        text-align: center;
        align-items: center;
    }

    .cta-content p {
        max-width: 100%;
    }

    .cta-btn {
        width: 100%;
    }

    .cta-img::after {
        display: none;
    }
}
/* Talk to us Section Ends */