/* Shared header/nav styles — single source of truth for all static pages */

header {
    padding: 20px 0;
    background: #ffffff;
    border-bottom: 1px solid #EBEBEB;
}

header .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #4A5899;
}

.nav-cta {
    background: #4A5899;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: #3d4a80;
}

/* Hamburger menu */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a1a1a;
    transition: transform 0.3s, opacity 0.3s;
}

body.nav-open .nav-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
body.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

body.nav-open header {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
}

body.nav-open header .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px;
}

body.nav-open .logo img {
    height: 90px;
}

body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

body.nav-open .nav-links a { font-size: 1.3rem; color: #1a1a1a; }
body.nav-open .nav-links a:hover { color: #4A5899; }

body.nav-open .nav-cta {
    display: inline-block;
    font-size: 0.85rem;
    padding: 10px 20px;
}

body.nav-open .nav-hamburger {
    position: absolute;
    top: 20px;
    right: 24px;
}

/* Tablet */
@media (max-width: 1024px) {
    .logo img { height: 64px; }
    .nav-cta { padding: 10px 18px; font-size: 0.85rem; }
    .nav-links { gap: 16px; }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .logo img { height: 54px; }
}
