* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: poppins, sans-serif;
}

.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
}

.nav-left {
    /* background: #cbcbcb;
    height: 65px;
    width: auto; */
    display: flex;
    align-items: center;
    border-radius: 50px;
}

.nav-left {
    position: relative;
    left: -90px;
    background: white;
    padding: 0px 13px 0px 12px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 40px rgba(0, 0, 0, 0.9);
}

.nav-left img {
    width: 200px;
    height: 70px;
    position: relative;
    top: -5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    background: whitesmoke;
    padding: 8px 10px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    width: max-content;
}

.profile img {
    width: 20px;
    height: 20px;
    /* border-radius: 50%; */
    object-fit: cover;
    top: 2px;
    position: relative;
    left: 10px;
}

.download {
    display: inline;
    align-items: center;
    gap: 6px;
    color: #cbcbcb;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.download img {
    display: inline-block;
    top: 6px;
    position: relative;
    width: 25px;
    height: 25px;
}

a {

    text-decoration: none;
}

.contact-btn {
    padding: 8px 18px;
    border: none;
    border-radius: 30px;
    background: #1e3a1e;
    color: #cbcbcb;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.compare-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;

    border: none;
    cursor: pointer;
    font-size: 16px;
}

.compare-btn:hover {
    opacity: 0.9;
}

.btn-icon {
    font-size: 18px;
}


.contact-btn:hover {
    opacity: 0.85;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-img {
    z-index: 1;
}

.before-layer {
    position: absolute;
    width: 0%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.before-layer img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: white;
    z-index: 3;
    display: none;
    cursor: ew-resize;
}

.slider-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}



.label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: none;
}

.before-label {
    left: 30px;
}

.after-label {
    right: 30px;
}

.compare-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    padding: 12px 24px;
    background: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 5;
    transition: 0.3s;
    width: 10rem;
}

.compare-btn:hover {
    transform: translateY(-3px);
}

.compare-btn img {
    height: 25px;
    width: 20px;
}

/* 
.btn-text {
    position: relative;
    left: 35px;
    font-size: 1rem;
    font-weight: bold;
} */

@media (max-width: 768px) {

    .before-layer {
        width: 100% !important;
        height: 50%;
    }

    .slider-line {
        width: 100%;
        height: 6px;
        top: 50%;
        left: 0 !important;
        transform: translateY(-50%);
        cursor: ns-resize;
    }

    .slider-circle {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .before-label {
        display: none;
    }

    .after-label {
        /* bottom: 90px;
        top: auto;
        right: auto;
        left: 50%;
        transform: translateX(-50%); */
        display: none;
    }
}

.slider-line {
    touch-action: none;
}

.compare-btn img {
    width: 18px;
    margin-right: 115px;
    display: none;
}

.compare-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    padding: 12px 10px;
    background: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 5;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.compare-btn img {
    width: 18px;
    height: 18px;
    display: none;
    top: 11px;
}

.btn-text {
    font-size: 1rem;
    font-weight: bold;
    margin-left: 23px;
}


/* Prevent blue selection while dragging */
.no-select,
.no-select * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Prevent image drag */
.hero img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.mobile-bottom {
    display: none;
}


.mobile-bottom {
    display: none;
}


@media (max-width: 768px) {

    .nav-left {
        left: -95px;
        top: 11px;
    }

    .nav-left img {
        width:  148px;
        height: 44px;
    }

    .navbar .nav-right {
        display: none;
    }

    .mobile-bottom {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        gap: 15px;
        /* background: whitesmoke; */
        padding: 10px 18px;
        border-radius: 50px;
        /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); */
        z-index: 2000;
        width: 16rem;
        align-items: center;
        justify-content: center;
    }

    .mobile-bottom .contact-btn {
        font-size: 21px;
        padding: 8px 16px;
        /* left: 0px; */
        align-items: center;
        justify-content: center;
    }

    .compare-btn {
        bottom: auto;
        top: 37px;
        right: 10px;
        padding: 9px 10px;
    }
}

/* Mobile bottom download button
.mobile-download {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1e3a1e;
    color: #cbcbcb;
    padding: 8px 14px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.mobile-download img {
    width: 16px;
    height: 16px;
}

.mobile-download:hover {
    opacity: 0.85;
} */
/* Download styled like contact button */
.mobile-download {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #1e3a1e;
    color: #cbcbcb;
    padding: 8px 18px 8px 30px;
    /* extra left space */
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

/* Icon OUTSIDE button */
.mobile-download img {
    position: absolute;
    left: -10px;
    /* push outside */
    width: 22px;
    height: 22px;
    background: white;
    padding: 4px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.mobile-download:hover {
    opacity: 0.85;
}

.mobile-download {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.mobile-download img {
    width: 16px;
    height: 16px;
}

/* ===== Mobile Download Styled Like Contact (Icon Outside) ===== */

.mobile-download {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #1e3a1e;
    color: #cbcbcb;
    padding: 8px 18px 8px 38px;
    /* space for icon */
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.mobile-download img {
    position: absolute;
    left: -35px;
    width: 30px;
    height: 30px;
    background: white;
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.mobile-download:hover {
    opacity: 0.85;
}
.compare-btn {
    z-index: 5000 !important;
}
