/* =========================
   HOMEPAGE HERO SECTION
========================= */

.hero {
    position: relative;
    text-align: center;
    padding: 120px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    border-radius: 14px;
    margin-bottom: 60px;
}

/* animated gradient glow */
.hero::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
    animation: heroFloat 18s linear infinite;
}

@keyframes heroFloat {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    opacity: .9;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.hero button {
    padding: 14px 26px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: white;
    color: #0f2027;
    transition: all .35s ease;
    position: relative;
    z-index: 2;
}

.hero button:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

/* =========================
   SECTION TITLES
========================= */

main section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 35px;
    position: relative;
}

main section h2::after {
    content: "";
    width: 70px;
    height: 4px;
    display: block;
    margin: 12px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
}

/* =========================
   HOMEPAGE CARDS
========================= */

main section .card {
    padding: 25px;
    border-radius: 14px;
    background: white;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}

/* gradient hover glow */
main section .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(0, 114, 255, .15), transparent);
    opacity: 0;
    transition: .35s;
}

main section .card:hover::before {
    opacity: 1;
}

main section .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .15);
}

main section .card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

main section .card p {
    opacity: .8;
    line-height: 1.5;
}

/* =========================
   FADE IN ANIMATION
   (Works with your JS)
========================= */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s cubic-bezier(.22, .61, .36, 1);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:900px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width:600px) {
    .hero {
        padding: 80px 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    main section h2 {
        font-size: 1.6rem;
    }
}