/* ==========================================
   DreamHope Studio
   style.css
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.7;
}

/* Background Glow */

.background-glow {
    position: fixed;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59,130,246,.18), transparent 70%);
    top: -250px;
    right: -150px;
    z-index: -1;
}

/* Header */

header {
    width: 100%;
    padding: 30px 8%;
}

.logo {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: .5px;
}

/* Hero */

.hero {
    min-height: 82vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 10%;
}

.tag {
    color: #60a5fa;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.15;
    max-width: 900px;
    margin-bottom: 25px;
}

.description {
    max-width: 760px;
    color: #cbd5e1;
    font-size: 18px;
    margin-bottom: 45px;
}

/* Buttons */

.buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-btn,
.secondary-btn {
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}

.primary-btn {
    background: #3b82f6;
    color: #fff;
}

.primary-btn:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(59,130,246,.35);
}

.secondary-btn {
    border: 2px solid #3b82f6;
    color: #3b82f6;
}

.secondary-btn:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-3px);
}

/* Sections */

section {
    padding: 90px 10%;
}

section h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 50px;
}

/* Cards */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 30px;
}

.card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: .35s;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 15px 40px rgba(59,130,246,.15);
}

.icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.card p {
    color: #cbd5e1;
}

/* About */

.about {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about p {
    color: #cbd5e1;
    font-size: 18px;
}

/* CTA */

.cta {
    text-align: center;
}

.cta p {
    color: #cbd5e1;
    margin: 20px 0 40px;
    font-size: 18px;
}

/* Footer */

footer {
    padding: 35px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #94a3b8;
    font-size: 14px;
}

/* Scroll Animation */

.hero,
.card,
.about,
.cta {
    animation: fadeUp .8s ease both;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* Responsive */

@media (max-width: 992px) {

    .hero h1 {
        font-size: 46px;
    }

    section h2 {
        font-size: 32px;
    }

}

@media (max-width: 768px) {

    header {
        padding: 25px;
    }

    .logo {
        font-size: 24px;
    }

    .hero {
        padding: 40px 25px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .description {
        font-size: 16px;
    }

    section {
        padding: 70px 25px;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }

}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 30px;
    }

    .tag {
        font-size: 13px;
    }

    section h2 {
        font-size: 28px;
    }

}