/* =========================================================
   GLOBAL RESET & VARIABLES
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff2b2b;
    --dark: #0b1220;
    --dark-2: #0a0f1a;
    --text: #444;
    --muted: #777;
    --light: #f8f9fb;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: #e02020;
}

/* =========================================================
   HEADER / NAVBAR
========================================================= */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.logo span {
    font-size: 12px;
    color: #777;
}

/* NAV MENU */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-item {
    position: relative;
}

/* DROPDOWN */
.dropdown-menu {
    position: absolute;
    top: 35px;
    left: 0;
    min-width: 200px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 10px;
    padding: 10px 0;
    display: none;
    z-index: 99;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: var(--primary);
}

.nav-item:hover .dropdown-menu {
    display: block;
}

/* RIGHT ACTIONS */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
}

/* MOBILE TOGGLE */
.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero {
    background:
        linear-gradient(rgba(10, 15, 26, 0.75), rgba(10, 15, 26, 0.75)),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center / cover no-repeat;
    padding: 120px 0;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 600px;
    margin-bottom: 30px;
}

/* SEARCH BAR */
.search-box {
    background: var(--white);
    padding: 15px;
    border-radius: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 10px;
}

.search-box select,
.search-box button {
    padding: 14px 18px;
    border-radius: 40px;
    border: none;
    font-size: 14px;
}

.search-box select {
    background: #f5f5f5;
}

/* =========================================================
   STATS
========================================================= */
.stats {
    background: var(--white);
    margin-top: -60px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 30px;
    gap: 20px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 26px;
    color: var(--primary);
}

.stat p {
    font-size: 13px;
    color: var(--muted);
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
    background: linear-gradient(180deg, var(--dark), var(--dark-2));
    color: #b5b8c5;
    padding: 60px 0 20px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 0 20px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer a {
    display: block;
    margin-bottom: 10px;
    color: #b5b8c5;
}

.footer a:hover {
    color: var(--primary);
}

/* FOOTER BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 15px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 13px;
    color: #aaa;
}

.footer-policy a {
    font-size: 13px;
    color: #aaa;
    margin-left: 15px;
}

.footer-policy a:hover {
    color: #fff;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        display: none;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a,
    .nav-item {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    .nav-actions {
        display: none;
    }

    .search-box {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-policy a {
        margin: 0 8px;
    }

    .footer-policy {
        float: left;
        /* or right if needed */
    }

    .footer-policy a {
        font-size: 13px;
        color: #aaa;
        text-decoration: none;
    }

    .footer-policy a:not(:last-child)::after {
        content: " | ";
        margin: 0 6px;
        color: #aaa;
    }

    .footer-policy a:hover {
        color: #fff;
    }

}

.logo img {
    height: 45px;
    width: auto;
}