* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= HEADER ================= */

.site-header {
    width: 100%;
    height: 74px;
    background: #ffffff;
    border-bottom: 1px solid #f1f1f1;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.header-wrapper {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Left Logo */
.logo {
    flex-shrink: 0;
}

.logo img {
    width: 90px;
    height: auto;
    display: block;
}

/* Right Menu Area */
.header-right {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #456fbd;
}

.small-icon {
    font-size: 11px;
    margin-left: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-link {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
}

.login-link:hover {
    color: #456fbd;
}

.register-btn {
    background: #4b73c4;
    color: #ffffff;
    padding: 11px 22px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
}

.register-btn:hover {
    background: #3f63ab;
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 25px;
    color: #333333;
    cursor: pointer;
}

.mobile-auth {
    display: none;
}

/* Fixed Header Space */
.main-content {
    padding-top: 74px;
    min-height: 450px;
}

/* ================= FOOTER ================= */

.site-footer {
    background: #f9f9f9;
    padding-top: 45px;
}

.footer-top {
    border-top: 1px solid #c9c9c9;
    border-bottom: 1px solid #dedede;
    padding: 58px 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1fr 1.4fr;
    gap: 50px;
    align-items: start;
}

.footer-column h4 {
    font-size: 16px;
    color: #111111;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-column a {
    display: block;
    font-size: 16px;
    color: #374151;
    margin-bottom: 9px;
    line-height: 1.3;
}

.footer-column a:hover {
    color: #456fbd;
}

.footer-logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 22px;
}

.footer-logo img {
    width: 200px;
    height: auto;
}

.footer-bottom {
    padding: 20px 0;
    text-align: right;
}

.footer-bottom p {
    font-size: 14px;
    color: #374151;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {

    .logo img,
    .footer-logo img {
        width: 70px;
    }

    .header-right {
        gap: 18px;
    }

    .nav-menu {
        gap: 18px;
    }

    .register-btn {
        padding: 10px 18px;
    }
}

@media (max-width: 991px) {

    .site-header,
    .header-wrapper {
        height: 70px;
    }

    .main-content {
        padding-top: 70px;
    }

    .header-wrapper {
        justify-content: space-between;
    }

    .logo img {
        width: 70px;
    }

    .header-right {
        margin-left: 0;
        gap: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 15px 20px;
        border-top: 1px solid #eeeeee;
        border-bottom: 1px solid #eeeeee;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        padding: 13px 0;
        border-bottom: 1px solid #f1f1f1;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .mobile-auth {
        width: 100%;
        display: flex;
        gap: 12px;
        padding-top: 14px;
    }

    .mobile-auth a {
        width: auto;
        border-bottom: 0;
        padding: 10px 18px;
        border-radius: 5px;
        background: #4b73c4;
        color: #ffffff;
        font-size: 15px;
        font-weight: 700;
    }

    .mobile-auth a:first-child {
        background: transparent;
        color: #333333;
        padding-left: 0;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .footer-logo {
        justify-content: flex-start;
        padding-top: 0;
    }

    .footer-bottom {
        text-align: left;
    }
}

@media (max-width: 575px) {

    .site-header,
    .header-wrapper {
        height: 66px;
    }

    .main-content {
        padding-top: 66px;
    }

    .container {
        padding: 0 15px;
    }

    .logo img {
        width: 65px;
    }

    .nav-menu {
        top: 66px;
        padding: 12px 15px;
    }

    .nav-menu a {
        padding: 12px 0;
        font-size: 15px;
    }

    .mobile-auth {
        flex-direction: column;
        gap: 8px;
    }

    .mobile-auth a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .mobile-auth a:first-child {
        padding-left: 0;
        background: transparent;
        color: #333333;
        justify-content: flex-start;
        text-align: left;
    }

    .footer-top {
        grid-template-columns: 1fr;
        padding: 35px 0;
        gap: 25px;
    }

    .footer-column h4 {
        margin-bottom: 12px;
    }

    .footer-column a {
        font-size: 15px;
    }

    .footer-logo img {
        width: 165px;
    }

    .footer-bottom {
        padding: 18px 0;
        text-align: left;
    }
}