/* ————————————— */
/* GENERAL */
/* ————————————— */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;              
    width: 100%;
    overflow-x: hidden !important;
    font-family: "Unbounded", sans-serif;
}

body {
    background: url(Assets/BG/Cubitrek\ UI\ Background\ Design-02\ 1.png) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

/* ————————————— */
/* MAIN SECTION */
/* ————————————— */
.dm-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    gap: 40px;
    position: relative;
    max-width: 100%;
    overflow-x: hidden;
}

/* TOP LEFT BACK ARROW */
.back-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    left: 40px;
    top: 40px;
}

.back-btn img {
    width: 45px;
    height: 45px;
}

/* TOP RIGHT FAVICON */
.top-favicon {
    position: absolute;
    right: 40px;
    top: 40px;
    width: 45px;
    height: 45px;
}

/* BOTTOM RIGHT ARROW */
.next-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 50px;
    bottom: 20px;
}

.next-btn img {
    width: 55px;
}

/* IMAGE */
.dm-image img {
    width: 600px;
    height: auto;
    max-width: 100%;
}

/* CONTENT */
.dm-content {
    width: 45%;
    color: #ffffff;
}

/* HEADING */
.dm-title {
    font-size: 50px;
    font-weight: 500;
    margin: 0;
    background: linear-gradient(90deg, #ffffff 0%, #9999ca 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.underline-img {
    width: 220px;
    margin: 15px 0 25px 0;
}

.dm-text {
    font-size: 17px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.6;
    width: 90%;
}

/* ICON HEADING */
.icon-heading-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.heading-icon {
    width: 32px;
    height: 32px;
}

.icon-heading {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

/* ICON LIST */
.icon-list {
    display: flex;
    gap: 25px;
    align-items: center;
}

.icon-list img {
    width: 55px;
}

/* ————————————— */
/* RESPONSIVE */
/* ————————————— */
@media (max-width: 1024px) {
    .dm-section {
        padding: 40px 30px;
        gap: 30px;
    }

    .dm-title {
        font-size: 40px;
    }

    .dm-image img {
        width: 450px;
    }
}

@media (max-width: 768px) {

    /* Stack content and image */
    .dm-section {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
        overflow-x: hidden !important;
    }

    .dm-content {
        width: 100%;
        margin-top: 50px;
    }

    /* Image centered */
    .dm-image img {
        width: 90%;
        max-width: 380px;
        margin: 0 auto;
    }

    /* Center underline */
    .underline-img {
        margin-left: auto;
        margin-right: auto;
    }

    /* Center icons row */
    .icon-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* Reduce gap between icon and heading on mobile */
    .icon-heading-row {
        gap: 5px; /* Closer to heading */
    }

    /* Bottom arrow centered */
    .next-btn {
        /* right: 50%; */
        transform: translateX(50%);
        bottom: 20px;
    }

    /* Top buttons adjust */
    .back-btn {
        left: 20px;
        top: 20px;
    }

    .top-favicon {
        right: 20px;
        top: 20px;
    }
}

@media (max-width: 480px) {
    .dm-title {
        font-size: 32px;
    }

    .dm-text {
        font-size: 15px;
        width: 100%;
    }

    .icon-list img {
        width: 40px;
    }
}
