html {
    overflow-y: scroll;
}


:root {
    --bg-dark: #0c1b2e;
    --bg-mid: #12273f;
    --accent: #2dd4ff;
    --white: #f5f9ff;
    --soft: #a8c3db;
    --card: #142c47;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-mid));
    color: var(--white);
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
}

/* ================= HERO ================= */

.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 8% 90px 8%;
    background:
        radial-gradient(circle at top, rgba(45, 212, 255, 0.12), transparent 60%),
        linear-gradient(135deg, #0c2135, #102a45);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 43px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 20px;
    opacity: 0.85;
    line-height: 1.8;
    font-weight: 300;
}

/* ================= SECTIONS ================= */

.section {
    padding: 100px 10%;
}

.section-light {
    background: #f4f8fc;
    color: #0c1b2e;
}

.section-dark {
    background: linear-gradient(135deg, #0f233a, #122d4b);
}

.section h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
}

.section-dark h2 {
    color: var(--white);
}

.section-light h2 {
    color: #0d2742;
}

.section h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background: var(--accent);
    display: block;
    margin-top: 12px;
    border-radius: 4px;
}

/* ================= CARD ================= */

.card {
    background: var(--card);
    padding: 55px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    transition: 0.4s ease;
    max-width: 1100px;
}

.section-light .card {
    background: #ffffff;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 80px rgba(0,0,0,0.3);
}

.card p {
    font-size: 18px;
    line-height: 1.9;
    opacity: 0.9;
}

/* ================= SPLIT SECTION ================= */

.split-section {
    padding: 120px 10%;
    background:
        radial-gradient(circle at bottom left, rgba(45,212,255,0.08), transparent 60%),
        linear-gradient(135deg, #0f2438, #132e4c);
}

.split {
    display: flex;
    gap: 80px;
    justify-content: space-between;
}

.split > div {
    flex: 1;
}

.split h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.split p {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
}

/* ================= FOOTER (Safe Styling Only) ================= */

footer {
    text-align: center;
    padding: 50px 20px;
    font-size: 14px;
    opacity: 0.7;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #0b1626;
}

/* ================= ANIMATION ================= */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content,
.section,
.split {
    animation: fadeUp 0.8s ease forwards;
}

/* ================= TABLET ================= */

@media (max-width: 1024px) {

    .hero {
        padding: 120px 6% 90px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .section,
    .split-section {
        padding: 80px 6%;
    }

    .split {
        gap: 50px;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .hero {
        padding: 110px 5% 70px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .section,
    .split-section {
        padding: 70px 5%;
    }

    .card {
        padding: 35px;
    }

    .split {
        flex-direction: column;
        gap: 50px;
    }
}
