/* Glassmorphism Button Styles */
.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    /* Reduced padding */
    font-size: 1.8rem;
    /* Reduced font size */
    font-weight: 400;
    color: #ffffff !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.001);
    /* Semi-transparent white */
    backdrop-filter: blur(5px);
    /* Blur effect */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Semi-transparent white border */
    border-radius: 6px;
    /* Slightly rounded */
    transition: all 0.3s ease;
    margin: 0 10px;
    /* Space between buttons */
    text-transform: none;
    /* Keep text as written */
    width: auto;
    min-width: 180px;
    /* Reduced width */
    height: 45px;
    /* Reduced height */
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Adjust parent container to align buttons */
.text__bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Or center depending on design */
    gap: 20px;
    margin-left: 0;
    /* Reset shift */
}

/* Override position of the container to be symmetrical */
.home-d-page .PageSlider__slide.first-slide .texts {
    right: 14rem !important;
    /* Match bottom spacing */
    bottom: 14rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-btn {
        padding: 0 35px;
        font-size: 2.6rem;
        min-width: 0;
        margin: 0;
        height: 50px;
        text-align: center;
        white-space: nowrap;
        /* Keep text on one line */
    }

    .text__bottom {
        flex-direction: row;
        /* Side-by-side */
        align-items: center;
        justify-content: flex-end;
        /* Align to the right edge */
        margin-left: 0;
        gap: 12px;
        width: 100%;
    }

    /* Reset position for mobile */
    .home-d-page .PageSlider__slide.first-slide .texts {
        right: auto !important;
        left: 16px !important;
        transform: none !important;
        bottom: 8rem !important;
        /* Above the bottom edge */
        width: calc(100% - 32px);
        /* Fill width minus padding */
        text-align: left;
    }
}

/* Override position of the container for desktop */
.home-d-page .PageSlider__slide.first-slide .texts {
    right: 14rem !important;
    bottom: 14rem !important;
}