/* =========================
   GLOBAL
========================= */
body {
    background-color: red;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7fb;
    color: #1e293b;
    line-height: 1.6;
}

/* =========================
   CONTAINER
========================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   HEADER
========================= */

header {
    background: #0f172a;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================
   LOGO
========================= */

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

/* =========================
   NAVIGATION
========================= */

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s ease;
}

nav a:hover {
    color: #60a5fa;
}

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

.hero {
    padding: 120px 20px;
    text-align: center;
    background: linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    max-width: 700px;
    margin: auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 28px;
    background: white;
    color: #2563eb;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

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

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-title p {
    color: #64748b;
}

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

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    color: #475569;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 80px;
}

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

@media (max-width: 768px) {

    header .container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

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

    .hero {
        padding: 90px 20px;
    }
}