@import url(../icons/style.css);
@import url(./colors.css);
@import url(./nav.css);
@import url(./components/modal.css);
@import url(./utils.css);
@import url(./premium.css);

body{
    color: var(--text-color);
    padding: 0;
    background-color: var(--bg);
    font-family: ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI" Symbol,"Noto Color Emoji";
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #084052, #1e3a4c);
}

.mainblob{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120vh;
    z-index: -1;
    background-image: url(../mainbg.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero{
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    max-width: 1024px;
}

.hero > h1{
    font-size: 4.5rem;
    line-height: 1;
    letter-spacing: -.025rem;
    font-weight: 800;
}

.hero > h2{
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
    color: var(--secondary-text-color);
    margin-top: 1rem;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.lg-heading{
    font-size: 4rem;
    line-height: 1;
    letter-spacing: -.025rem;
    font-weight: 800;
    text-align: center;
}

.button1 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;

    padding: 10px 20px;
    border: none;
    outline: none;
    border-radius: 4px;

    background-color: #00c6f7a6;
    color: #000000;

    position: absolute;
    left: 48%;
    top: -10%;
    transform: translate(-50%, -50%);

    font-size: 1.25rem;
    font-weight: 500;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
                 "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

    width: fit-content;
    height: auto;
}

.button2 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;

    padding: 10px 20px;
    border: none;
    outline: none;
    border-radius: 4px;

    background-color: #00c6f7a6;
    color: #000000;

    position: absolute;
    left: 48%;
    top: -1.5%;
    transform: translate(-50%, -50%);

    font-size: 1.25rem;
    font-weight: 500;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
                 "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

    width: fit-content;
    height: auto;
}

.buttons:hover {
    background: #08718be7;
    transition: all 0.3 ease;
}

.container {
    position: absolute;
    left: 50%;
    top: 80%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    max-width: 1024px;
    height: 100%;
}

/* -------------------------------------------------- */
/* 📱 MOBILE FIX — Prevent buttons overlapping text   */
/* -------------------------------------------------- */

@media (max-width: 768px) {

    .hero {
        top: 10%;
        padding: 0 1rem;
    }

    .hero > h1 {
        font-size: 2.5rem;
    }

    .hero > h2 {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .button1,
    .button2 {
        position: static;      /* remove absolute positioning */
        transform: none;
        margin: 10px auto;     /* center them */
        display: block;
    }
}


