.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #353535 0%, #181818 100%);
    padding: 0 40px;
    height: 125px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 100px;
    width: auto;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

/* ── Hamburger button (hidden on desktop) ── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animate hamburger to X when open */
.nav-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ── Nav links ── */
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.75rem;
    transition: color 0.3s;
    padding: 8px 0;
    font-weight: 500;
    display: block;
    white-space: nowrap;
}

.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

/* ── Dropdown arrow ── */
.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 9px solid white;
    margin-left: 8px;
    transition: transform 0.3s, border-top-color 0.3s;
    flex-shrink: 0;
    pointer-events: none;
}

.nav-links > li:hover .dropdown-arrow {
    border-top-color: #FF6600;
    transform: rotate(180deg);
}

/* ── Desktop dropdown menu ── */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    min-width: 240px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    margin-top: 8px;
    list-style: none;
}

.nav-links > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    padding: 11px 22px;
    color: #e0e0e0;
    font-size: 1.75rem;
    font-weight: 400;
    white-space: nowrap;
    transition: all 0.25s;
}

.dropdown-menu a:hover {
    background: rgba(255, 102, 0, 0.1);
    color: #FF6600;
    padding-left: 28px;
}

/* ── Contact button ── */
.contact-btn {
    background: linear-gradient(135deg, #FF6600 0%, #ff7a1a 100%) !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.25);
    white-space: nowrap;
}

.contact-btn:hover {
    background: #ff7a1a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35) !important;
    color: #ffffff !important;
}

/* ── Header spacer — matches fixed nav height ── */
.header-spacer {
    height: 125px;
}

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

.footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
    color: #ffffff;
    padding: 50px 40px 20px;
    margin-top: 60px;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo-section img {
    max-width: 225px;
    height: auto;
    margin-bottom: 10px;
}

.footer-logo-section p {
    color: #b8c5d0;
    font-size: 1.7rem;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b8c5d0;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.2rem;
}

.footer-section ul li a:hover {
    color: #FF6600;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.75rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.social-icon:hover {
    background: #FF6600;
    border-color: #FF6600;
    transform: translateY(-3px);
}

.newsletter-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 22px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
}

.newsletter-box p {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

/* Subscribe trigger button — sits in footer */
#footer-subscribe-btn {
    display: block;
    width: 100%;
    max-width: 260px;

    padding: 14px 16px;
    background: linear-gradient(135deg, #FF6600 0%, #ff7a1a 100%);
    color: #ffffff;

    border-radius: 8px;
    text-decoration: none;
    text-align: center;

    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.03em;

    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
}

#footer-subscribe-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 22px rgba(255, 102, 0, 0.45);
    background: linear-gradient(135deg, #ff7a1a 0%, #ff8c2f 100%);
}

#footer-subscribe-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

/* ── Subscribe popup modal ──────────────────────────────────── */
#subscribe-modal-overlay {
    font-family: inherit;
}

#subscribe-modal-box {
    animation: subscribeModalIn 0.22s ease;
}

@keyframes subscribeModalIn {
    from { opacity: 0; transform: translateY(-16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)     scale(1);    }
}

#subscribe-modal-box h2 {
    color: #1a1a1a;
    font-size: 1.35rem;
    margin: 0 0 6px;
}

#subscribe-modal-box p {
    color: #666;
    font-size: 1.5rem;
    margin: 0 0 22px;
}

#subscribe-form-fields label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 4px;
}

#subscribe-form-fields input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.93rem;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
    color: #1a1a1a;
    background: #fff;
}

#subscribe-form-fields input:focus {
    outline: none;
    border-color: #FF6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
}

#subscribe-submit-btn {
    padding: 10px 28px;
    background: #FF6600;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 0.2s, transform 0.15s;
}

#subscribe-submit-btn:hover:not(:disabled) {
    background: #ff7a1a;
    transform: translateY(-1px);
}

#subscribe-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    color: #b8c5d0;
    font-size: 1.2rem;
}

/* ============================================================
   MOBILE NAV  ≤ 768px — hamburger slide-down menu
   ============================================================ */

@media (max-width: 768px) {

    .nav-header {
        padding: 0 20px;
        height: 100px;
    }

    .logo img {
        height: 70px;
        width: auto;
        transition: transform 0.3s;
    }

    /* Show hamburger button */
    .nav-toggle {
        display: flex;
    }

    /* Full-screen slide-down menu, hidden by default */
    .nav-links {
        position: fixed;
        top: 10px;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, #1e1e1e 0%, #111 100%);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        padding: 8px 0 40px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
        pointer-events: none;
        z-index: 999;
    }

    /* .nav-open toggled on .nav-header by JS */
    .nav-header.nav-open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links > li {
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    .nav-links > li > a {
        padding: 16px 24px;
        font-size: 1.5rem;
        justify-content: space-between;
        white-space: normal;
    }

    /* Replace CSS triangle arrow with a simple chevron on mobile */
    .dropdown-arrow {
        width: 8px;
        height: 8px;
        border: none;
        border-right: 2px solid rgba(255,255,255,0.5);
        border-bottom: 2px solid rgba(255,255,255,0.5);
        transform: rotate(-45deg);
        margin-left: auto;
        transition: transform 0.3s, border-color 0.3s;
    }

    /* Mobile dropdown: collapsed by default, expanded by JS adding .dropdown-open to <li> */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background: rgba(0,0,0,0.35);
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links > li.dropdown-open .dropdown-menu {
        max-height: 500px;
    }

    .nav-links > li.dropdown-open .dropdown-arrow {
        transform: rotate(45deg);
        border-color: #FF6600;
    }

    .dropdown-menu a {
        padding: 13px 24px 13px 38px;
        font-size: 1.5rem;
        white-space: normal;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        color: #c8c8c8;
    }

    .dropdown-menu a:hover {
        padding-left: 44px;
        background: rgba(255,102,0,0.08);
    }

    /* Contact button: full-width pill inside menu */
    .contact-btn {
        display: block;
        margin: 16px 20px 4px !important;
        padding: 14px 24px !important;
        text-align: center;
        border-radius: 8px !important;
        white-space: normal;
    }

    .login-btn {
        display: block;
        margin: 4px 20px 16px !important;
        padding: 14px 24px !important;
        text-align: center;
        border-radius: 8px !important;
        white-space: normal;
    }

    .header-spacer {
        height: 100px;
    }

    /* Footer stacks to single column */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 40px 20px 20px;
    }
}

@media (max-width: 480px) {
    .nav-header {
        padding: 0 16px;
    }

    .nav-links > li > a {
        padding: 15px 20px;
        font-size: 1.5rem;
    }

    .dropdown-menu a {
        padding: 12px 20px 12px 32px;
    }
}

.login-btn {
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.login-btn:hover {
    border-color: #FF6600 !important;
    color: #FF6600 !important;
    transform: translateY(-1px);
}