/*
|--------------------------------------------------------------------------
| Reset
|--------------------------------------------------------------------------
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
|--------------------------------------------------------------------------
| Base
|--------------------------------------------------------------------------
*/

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

    color: #333;

    background: #fff;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/*
|--------------------------------------------------------------------------
| Layout
|--------------------------------------------------------------------------
*/

.container {

    width: 90%;

    max-width: 1200px;

    margin: 0 auto;
}

section {

    padding: 80px 0;
}

/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

header {

    background: #fff;

    border-bottom:
        1px solid #e5e5e5;

    position: sticky;

    top: 0;

    z-index: 100;
}

.header-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 0;
}

nav ul {

    list-style: none;

    display: flex;

    gap: 24px;

    align-items: center;
}

nav a {

    color: #333;

    font-weight: 600;
}

nav a.active {

    color: #0d6efd;
}

/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.button {

    display: inline-block;

    padding: 15px 30px;

    border-radius: 6px;

    font-weight: bold;

    transition:
        0.2s ease;
}

.button-primary {

    background: #0d6efd;

    color: #fff;
}

.button-primary:hover {

    opacity: 0.9;
}

.button-secondary {

    background: #fff;

    color: #0d6efd;

    border:
        2px solid #0d6efd;

    margin-left: 10px;
}

/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.hero {

    padding: 100px 0;

    text-align: center;

    background: #f8f9fb;
}

.hero h1 {

    font-size: 48px;

    margin-bottom: 20px;
}

.hero p {

    max-width: 800px;

    margin:
        0 auto
        40px;

    font-size: 20px;
}

/*
|--------------------------------------------------------------------------
| Typography
|--------------------------------------------------------------------------
*/

h2 {

    text-align: center;

    margin-bottom: 40px;

    font-size: 36px;
}

/*
|--------------------------------------------------------------------------
| Cards
|--------------------------------------------------------------------------
*/

.cards {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                280px,
                1fr
            )
        );

    gap: 30px;
}

.card {

    border:
        1px solid #e5e5e5;

    border-radius: 8px;

    padding: 30px;

    background: #fff;
}

.card h3 {

    margin-bottom: 15px;
}

/*
|--------------------------------------------------------------------------
| About
|--------------------------------------------------------------------------
*/

.about {

    background: #f8f9fb;

    text-align: center;
}

.about p {

    max-width: 900px;

    margin: 0 auto;

    font-size: 18px;
}

/*
|--------------------------------------------------------------------------
| Statistics
|--------------------------------------------------------------------------
*/

.stats {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                200px,
                1fr
            )
        );

    gap: 20px;

    text-align: center;
}

.stat {

    padding: 20px;
}

.stat-number {

    font-size: 42px;

    font-weight: bold;
}

/*
|--------------------------------------------------------------------------
| Categories
|--------------------------------------------------------------------------
*/

.categories {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    justify-content: center;
}

.category {

    padding:
        12px
        18px;

    border:
        1px solid #ddd;

    border-radius: 25px;

    background: #fafafa;
}

/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

footer {

    background: #222;

    color: #fff;

    margin-top: 80px;

    padding:
        50px
        0
        20px;
}

.footer-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                220px,
                1fr
            )
        );

    gap: 40px;
}

.footer-section h3 {

    margin-bottom: 15px;
}

.footer-section ul {

    list-style: none;
}

.footer-section li {

    margin-bottom: 8px;
}

.footer-section a {

    color: #ddd;
}

.footer-section a:hover {

    color: #fff;
}

.footer-bottom {

    margin-top: 40px;

    padding-top: 20px;

    border-top:
        1px solid #444;

    text-align: center;

    color: #bbb;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (
    max-width: 768px
) {

    .header-inner {

        flex-direction: column;

        gap: 15px;
    }

    nav ul {

        flex-wrap: wrap;

        justify-content: center;
    }

    .hero h1 {

        font-size: 34px;
    }

    .hero p {

        font-size: 18px;
    }

    .button-secondary {

        margin-left: 0;

        margin-top: 10px;
    }
}

.logo {

    display: flex;

    align-items: center;
}

.logo-image {

    height: 60px;

    width: auto;

    display: block;
}

@media (
    max-width: 768px
) {

    .logo-image {

        height: 50px;
    }

}

