/* Homepage Design Update */

.new-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('../../images/homepage/asset_4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Regular', sans-serif !important;
}

/* Overlay - Deep Blue Brand Color */
.new-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Image overlay */
    background-image: url('../../images/homepage/overlay.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.98;
    mix-blend-mode: multiply;
    z-index: 1;
}

.new-hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 60px;
    height: 100%;
}

/* Header Logos */
.new-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    padding-top: 15px;
    padding-left: 20%;
    /* Move inward */
    padding-right: 20%;
    /* Move inward */
}

.new-hero-header .logo-right img,
.new-hero-header .logo-left img {
    height: 55px;
    /* Smaller logos */
    width: auto;
    object-fit: contain;
}

/* Center Content */
.new-hero-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.new-hero-title {
    font-size: 58px;
    font-weight: 800;
    /* Bolder text to match image */
    margin-bottom: 25px;
    color: #12b1c7;
    /* Brand Cyan */
}

.new-hero-title {
    color: #54cfca;
    /* Cyan */
}


.new-hero-description {
    font-size: 22px;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 38px;
    color: #eeeeee;
    font-weight: 400;
}

/* CTA Button - Glass Style (Transparent from inside) */
.new-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0;
    text-decoration: none;
    min-width: 150px;
    max-width: 230px;
    min-height: auto;
}



.new-hero-btn .btn-text {
    margin-left: 15px;
}

/* Bottom Decoration - Lifted from bottom as requested */
.new-hero-footer {
    position: absolute;
    bottom: 0px;
    /* Reset for desktop to match standard layout first, or use small offset */
    left: 0;
    width: 100%;
    z-index: 5;
    display: flex;
    justify-content: center;
    line-height: 0;
    pointer-events: none;
    padding-bottom: 70px;
    /* Lifted up to match design */
}

.decoration-bar {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 140px;
    /* Restrict height to prevent massive growth */
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .new-hero-title {
        font-size: 60px;
    }

    .new-hero-content {
        padding: 20px 40px;
    }
}

@media (min-width: 992px) {

    /* Specific Desktop Spacing to prevent overlap */
    .new-hero-body {
        margin-bottom: 150px;
        /* Push content up away from footer */
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .new-hero-title {
        font-size: 50px;
    }

    .new-hero-description {
        font-size: 20px;
    }

    .new-hero-header .logo-right img,
    .new-hero-header .logo-left img {
        height: 55px;
    }

    .new-hero-footer {
        padding-bottom: 20px;
        /* Smaller lift on tablet */
    }
}

@media (max-width: 768px) {
    .new-hero-section {
        min-height: auto;
        height: 100vh;
        /* Ensure full viewport on mobile */
        background-size: 100% 100%;
        /* Force image to fit fully without cropping */
    }

    .new-hero-header {
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 0;
        /* Reduced breathing room slightly */
        align-items: center;
        /* Center align like desktop */
        gap: 15px;
        padding-left: 7%;
        padding-right:7%
    }

    /* Constrain logo width to strictly prevent overlap */
    .new-hero-header .logo-right,
    .new-hero-header .logo-left {
        max-width: 45%;
    }

    .new-hero-header .logo-right img,
    .new-hero-header .logo-left img {
        height: auto;
        max-height: 45px;
        /* Reduced specific height for mobile */
        width: 100%;
        object-fit: contain;
    }

    .new-hero-content {
        padding: 15px;
        /* Tighter padding */
    }

    .new-hero-body {
        margin-bottom: 0px;
        /* Reset margin */
        justify-content: center;
        /* Center like PC */
        padding-top: 20px;
        /* Reduced gap */
        padding-bottom: 120px;
        /* Ensure content clears the footer decoration */
        flex: 1;
    }

    .new-hero-title {
        font-size: 28px;
        /* Safe size for mobile */
        margin-bottom: 15px;
    }

    .new-hero-description {
        font-size: 16px;
        margin-bottom: 30px;
        line-height: 1.4;
    }

    .new-hero-btn {
        min-width: 0;
        width: 100%;
        max-width: 220px;
        /* Constrain button width on mobile */
        font-size: 18px;
        padding: 10px 20px;
    }

    .decoration-bar {
        max-height: 60px;
        /* Smaller bar on mobile */
    }

    .new-hero-footer {
        bottom: 20px;
        /* Move footer closer to bottom to give room to content */
        padding-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .new-hero-content {
        padding: 15px;
    }

    .new-hero-title {
        font-size: 24px;
        /* Smaller for very narrow screens */
    }

    .new-hero-description {
        font-size: 15px;
    }
}
