* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
    color: #1f2937;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    width: 100%;
    height: 70px;
    background-color: lab(35.71% 1.79 -13.26);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: white;
    font-size: 21px;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #60a5fa;
}


/* Hero */
.hero {
    min-height: 500px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 8%;
    background: linear-gradient(
        135deg,
        #1f2937,
        #374151
    );

    color: white;
}

.hero h1 {
    font-size: 46px;
    margin-bottom: 15px;
}

.hero p {
    max-width: 650px;
    margin: auto;
    color: #d1d5db;
    font-size: 17px;
}

.button {
    display: inline-block;
    margin-top: 25px;
    padding: 11px 25px;
    background-color: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.button:hover {
    background-color: #2563eb;
}


/* Content */
.content {
    padding: 70px 8%;
}

.content h2,
.terms h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 30px;
    color: #111827;
}

.chapter-two {
    background-color: #ffffff;
}


/* Cards */
.card-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.10);
}

.card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: #2563eb;
}

.card p {
    font-size: 14px;
    color: #4b5563;
}


/* Important Terms */
.terms {
    padding: 70px 8%;
    background-color: #f4f6f8;
}

.table-container {
    max-width: 900px;
    margin: auto;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.05);
}

th,
td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    background-color: #111827;
    color: white;
}

td {
    font-size: 14px;
}

tr:hover {
    background-color: #f9fafb;
}


/* Footer */
footer {
    background-color: #414857;
    color: #d1d5db;
    text-align: center;
    padding: 25px;
    font-size: 14px;
}

footer p:first-child {
    color: white;
    font-weight: bold;
    margin-bottom: 5px;
}


/* Responsive */
@media (max-width: 900px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar {
        padding: 0 5%;
    }

}

@media (max-width: 600px) {

    .navbar {
        height: auto;
        padding: 18px 5%;
        flex-direction: column;
        gap: 12px;
    }

    .nav-menu {
        gap: 15px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .content h2,
    .terms h2 {
        font-size: 25px;
    }

}