* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f0f0f;
    color: white;
    line-height: 1.6;
}


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

.navbar {

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 10%;

    background-color: rgba(15, 15, 15, 0.95);

    position: fixed;

    width: 100%;

    top: 0;

    z-index: 1000;

    backdrop-filter: blur(10px);

}

.logo {

    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;

}

.nav-links {

    display: flex;
    gap: 30px;

    list-style: none;

}

.nav-links a {

    color: white;

    text-decoration: none;

    transition: 0.3s;

}

.nav-links a:hover {

    color: #00bfff;

}


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

.hero {

    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 0 10%;

    background: linear-gradient(
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.7)
    ),
    url("images/home-bg.jpg");

    background-size: cover;
    background-position: center;

}

.hero-content h2 {

    font-size: 5rem;

    margin-bottom: 25px;

}

.hero-subtitle {

    font-size: 1.2rem;

    color: #dddddd;

    max-width: 800px;

    margin: auto;

    margin-bottom: 20px;

}

.hero-description {

    color: #aaaaaa;

    max-width: 750px;

    margin: auto;

    margin-bottom: 40px;

}

.hero-button {

    display: inline-block;

    padding: 14px 30px;

    background-color: #00bfff;

    color: white;

    text-decoration: none;

    border-radius: 6px;

    transition: 0.3s;

}

.hero-button:hover {

    background-color: #0099cc;

    transform: translateY(-3px);

}


/* =========================
   MAIN SECTIONS
========================= */

section {

    padding: 120px 10%;

}

section h2 {

    text-align: center;

    margin-bottom: 50px;

    font-size: 2.7rem;

}


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

.card-container {

    display: flex;

    justify-content: center;

    gap: 30px;

    flex-wrap: wrap;

}

.card {

    background-color: #1a1a1a;

    padding: 35px;

    width: 320px;

    border-radius: 12px;

    transition: 0.3s;

}

.card:hover {

    transform: translateY(-8px);

}

.card h3 {

    margin-bottom: 15px;

    font-size: 1.4rem;

}

.card p {

    color: #cccccc;

}


/* =========================
   GOOD SECTION
========================= */

.good-section h3 {

    color: #00bfff;

}

.good-section .card {

    border: 1px solid rgba(0, 191, 255, 0.2);

}


/* =========================
   BAD SECTION
========================= */

.bad-section {

    background-color: #141414;

}

.bad-section h3 {

    color: #ff4d4d;

}

.bad-section .card {

    border: 1px solid rgba(255, 77, 77, 0.2);

}


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

.section-button {

    text-align: center;

    margin-top: 50px;

}

.good-button {

    display: inline-block;

    padding: 14px 30px;

    background-color: #00bfff;

    color: white;

    text-decoration: none;

    border-radius: 6px;

    transition: 0.3s;

}

.good-button:hover {

    background-color: #0099cc;

    transform: translateY(-3px);

}

.bad-button {

    display: inline-block;

    padding: 14px 30px;

    background-color: #ff4d4d;

    color: white;

    text-decoration: none;

    border-radius: 6px;

    transition: 0.3s;

}

.bad-button:hover {

    background-color: #cc3c3c;

    transform: translateY(-3px);

}


/* =========================
   CONCLUSION
========================= */

.conclusion {

    background-color: #101010;

}

.conclusion p {

    max-width: 800px;

    margin: auto;

    text-align: center;

    color: #cccccc;

}


/* =========================
   GOOD PAGE STYLING
========================= */

.good-hero {

    background: linear-gradient(
        rgba(0, 20, 40, 0.8),
        rgba(0, 20, 40, 0.8)
    );

    background-size: cover;
    background-position: center;

}

.good-hero h2 {

    color: #00bfff;

}

.info-section {

    padding: 120px 10%;

}

.info-container {

    max-width: 900px;

    margin: auto;

}

.info-container h2 {

    margin-bottom: 30px;

    font-size: 2.5rem;

}

.info-container p {

    margin-bottom: 20px;

    color: #cccccc;

    font-size: 1.05rem;

}

.stat-box {

    margin-top: 40px;

    padding: 30px;

    background-color: #151515;

    border-left: 5px solid #00bfff;

    border-radius: 10px;

}

.stat-box h3 {

    margin-bottom: 10px;

    color: #00bfff;

}


/* =========================
   BAD PAGE STYLING
========================= */

.bad-hero {

    background: linear-gradient(
        rgba(40, 0, 0, 0.85),
        rgba(40, 0, 0, 0.85)
    );

    background-size: cover;
    background-position: center;

}

.bad-hero h2 {

    color: #ff4d4d;

}

.bad-stat {

    border-left: 5px solid #ff4d4d;

}

.bad-stat h3 {

    color: #ff4d4d;

}

.dark-section {

    background-color: #151515;

}


/* =========================
   BACK BUTTON SECTION
========================= */

.back-section {

    text-align: center;

    padding-top: 20px;

    padding-bottom: 100px;

}


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

footer {

    text-align: center;

    padding: 40px;

    background-color: #111111;

    color: #888888;

}


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

@media (max-width: 768px) {

    .navbar {

        flex-direction: column;

        gap: 20px;

    }

    .nav-links {

        gap: 15px;

    }

    .hero-content h2 {

        font-size: 3rem;

    }

    .card-container {

        flex-direction: column;

        align-items: center;

    }

}