html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f7f8fa;
    color: #222;
}

header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 60px);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(9px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.logo img {
    max-height: 30px;
    width: auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

nav a {
    position: relative;
    display: inline-block;
    transition: opacity 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 2px;
    width: 100%;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

nav a:hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.hero {
    background: linear-gradient(135deg, #00acf6, #9c0e8e);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    text-align: center;
    position: relative;
    min-height: 70vh;
}

.hero img {
    padding: 4vw;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 80px;
    max-width: 50vw;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: #fff;
}

.hero-content h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-content p {
    font-size: 1.25em;
    margin-bottom: 30px;
}

.btn-group {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-group a {
    background: #00acf6;
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-group a:hover {
    background: #1565c0;
}

marquee {
    color: #1c2bb4;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 60px auto;
    max-width: 1100px;
    padding: 0 20px;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(30, 136, 229, 0.07);
    padding: 32px 24px;
    flex: 1 1 300px;
    max-width: 340px;
    min-width: 260px;
    text-align: center;
}

.feature-card h3 {
    color: #00acf6;
    margin-bottom: 12px;
    font-size: 1.25em;
    font-weight: 700;
}

.feature-card p {
    color: #444;
    font-size: 1em;
}

.section-alt {
    padding: 60px 20px;
}

.section-alt .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: auto;
    gap: 40px;
    flex-direction: row;
}

.section-alt.reverse .container {
    flex-direction: row-reverse;
}

.section-alt img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.section-alt .text {
    flex: 1 1 400px;
}

.section-alt h2 {
    color: #00acf6;
    font-size: 2em;
    margin-bottom: 16px;
}

.section-alt p {
    font-size: 1.2em;
    color: #444;
}

footer {
    background: #111827;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    font-size: 1em;
    color: #888;
}

@media (max-width: 920px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.8);
        display: none;
        padding: 1rem 0;
        align-items: center;
        gap: 1rem;
        border-radius: 0 0 20px 20px;
    }

    nav.active {
        display: flex;
    }

    .hero {
        flex-direction: column;
        /* ✅ stack vertically */
        text-align: center;
        flex-direction: column-reverse;
    }

    .hero img {
        display: block;
        /* ✅ make visible */
        max-width: 80%;
        margin: 20px auto;
    }

    .hero-content h1 {
        font-size: 2.2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .btn-group {
        margin-top: 20px;
        flex-direction: column;
    }

    .section-alt .container,
    .section-alt.reverse .container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .container img {
        max-width: 80%;
    }

    .section-alt {
        padding: 40px 20px;
    }

    .section-alt .text {
        flex: 1 1 40px;
    }
}