* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.no-scroll {
    overflow: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    flex-shrink: 0;
}

.header__logo {
    max-height: 50px;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.navigation a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: color 0.3s;
    white-space: nowrap;
}

.request-btn {
    background-color: #BFA315;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    min-width: 150px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.burger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #BFA315;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-line:nth-child(1) { top: 0; }
.burger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger-line:nth-child(3) { bottom: 0; }

.burger-btn.active .burger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.burger-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}
.burger-btn.active .burger-line:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #FFF;
    z-index: 1002;
    display: none;
    overflow-y: auto;
}

.modal.active {
    display: block;
}

.modal-content {
    position: relative;
    height: 100%;
}

body.modal-open {
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.close-btn:hover {
    background-color: rgba(218, 192, 0, 0.1);
    transform: scale(1.1);
}
.close-btn svg {
    width: 24px;
    height: 24px;
}
.close-btn:hover svg path {
    stroke: #BFA315;
}

.navigation {
    transition: all 0.3s ease;
}

.overlay {
    display: none;
}

.overlay.active {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.burger-btn { z-index: 1002; }
.navigation { z-index: 1001; }
.modal { z-index: 1002; }
.overlay { z-index: 999; }

.consultation-btn {
    padding: 3px 10px;
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 1125px) {
    .request-btn {
        margin: 0 auto;
    }
}

@media (max-width: 1100px) {
    .consultation-component {
        width: 100%;
    }
    .consultation-component {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    body {
        font-size: 15px;
        padding-top: 80px;
    }

    .navigation a {
        font-size: 14px;
    }
    
    .nav-links a {
        font-size: 15px;
    }

    .burger-btn {
        display: block;
    }

    .navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: white;
        padding: 20px;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: 0px -10px rgba(255, 255, 255, 1);
    }

    .navigation.active {
        left: 0;
    }

    .navigation ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        justify-content: flex-start;
        margin-top: 0;
    }

    .nav-links {
        margin: 15px 0;
        width: 100%;
    }

    .nav-links a {
        font-size: 16px;
        display: block;
        padding: 10px 0;
    }

    .overlay {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
    .navigation ul {
        justify-content: space-around;
    }

    .consultation-component {
        display: block !important; 
        justify-content: initial !important; 
        width: auto; 
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .navigation a {
        font-size: 13px;
    }

    .request-btn {
        font-size: 12px;
    }

    .nav-links a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .navigation a {
        font-size: 12px;
    }

    .request-btn {
        font-size: 11px;
    }

    .nav-links a {
        font-size: 13px;
    }
}
@media (max-width: 210px) {
    .header__logo {
        margin: 0 auto

    }
    .burger-btn {
        margin: 0 auto
    }
}
