/* ================= ROOT VARIABLES ================= */
:root {
    --primary: #f26522;
    --secondary: #1a2b4c;
    --accent: #2c4273;
    --bg-light: #f8f9fa;
    --white: #ffffff;

    --text-main: #333333;
    --text-muted: #666666;
    --border-color: #e5e7eb;

    --font-main: 'Inter', sans-serif;

    --container-width: 1200px;
    --header-height: 70px;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 10px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.12);

    --transition: all 0.3s ease;
}

/* ================= RESET ================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
* {
    max-width: 100%;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background: var(--white);
    line-height: 1.6;
    padding-top: var(--header-height); /* FIX HEADER OVERLAP */
}

/* ================= COMMON ================= */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.row, section, .hero, .banner {
    width: 100%;
    overflow: hidden;
}
form, .form-box, .contact-box {
    width: 100%;
    max-width: 100%;
}
img {
    max-width: 100%;
    height: auto;
}
/* ================= BUTTON ================= */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ================= HEADER ================= */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--white);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container{
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
}

.logo-img {
    max-height: 100px;
}

/* ================= NAV ================= */
/* NAV FIX */
.main-nav{
flex:1;
display:flex;
justify-content:center;
}

.nav-list{
display:flex;
align-items:center;
gap:25px;
flex-wrap:nowrap;
white-space:nowrap;
}


/* PREVENT BREAK */
.nav-item{
position:relative;
}

/* FIX TEXT WRAP */
.nav-link{
display:flex;
align-items:center;
gap:5px;
font-size:15px;
}
/* HEADER ACTIONS */
.header-actions{
display:flex;
align-items:center;
gap:15px;
white-space:nowrap;
}
/* ================= DROPDOWN ================= */
.dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    background: #fff;
    min-width: 200px;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
}

.dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* ================= HEADER ACTIONS ================= */
.header-actions {
    display: flex;
    gap: 15px;
}

.call-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* ================= MOBILE BUTTON ================= */
.mobile-toggle {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

/* ================= OVERLAY ================= */
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    display: none;
    z-index: 999;
}

#overlay.active {
    display: block;
}

/* ================= MOBILE ================= */
@media (max-width: 992px) {

    .mobile-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        padding: 20px;
        flex-direction: column;
        transition: 0.35s ease;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: 4px 0 25px rgba(0,0,0,0.15);
    }

    .main-nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }

    .nav-link {
        justify-content: space-between;
        font-size: 16px;
    }

    /* MOBILE HEADER */
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 10px;
    }

    .mobile-close {
        font-size: 22px;
        cursor: pointer;
    }

    /* DROPDOWN FIX */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding-left: 10px;
    }

    .nav-item.active .dropdown {
        display: block;
    }

    /* CTA */
    .mobile-cta {
        margin-top: auto;
        border-top: 1px solid var(--border-color);
        padding-top: 15px;
        text-align: center;
    }

    .mobile-cta .btn {
        width: 100%;
        margin-top: 10px;
    }

    .header-actions {
        display: none;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* ================= FOOTER ================= */
.site-footer {
    background: var(--bg-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
}

/* MOBILE FOOTER */
@media (max-width:768px){
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
html, body {
    overflow-x: hidden;
    width: 100%;
}