/* Styles for the header section - responsive design */
.header {
    background-color: #8EB2B7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    position: relative;
}

.header-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    height: 60px;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Animated hamburger menu */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.header-menu {
    display: flex;
    gap: 55px;
    align-items: center;
}

.header-menu a {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 150%;
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
}

.header-menu a:hover {
    color: #037270;
}

.header-menu .button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 18px;
    gap: 8px;
    width: 99px;
    height: 52px;
    background: #037270;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.3s;
}

.header-menu .button:hover {
    background: #025658;
}

/* Tablet styles */
@media (max-width: 1024px) {
    .header {
        padding: 15px 20px;
    }
    
    .header-menu {
        gap: 30px;
    }
    
    .header-menu a {
        font-size: 18px;
    }
    
    .header-logo img {
        height: 50px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: #8EB2B7;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        padding-top: 100px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .header-menu.active {
        right: 0;
    }
    
    .header-menu a {
        font-size: 22px;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .header-menu .button {
        width: 200px;
        margin-top: 20px;
    }
    
    .header-logo img {
        height: 45px;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }
    
    .header-menu {
        width: 100vw;
        right: -100vw;
    }
    
    .header-menu.active {
        right: 0;
    }
    
    .header-logo img {
        height: 40px;
    }
    
    .header-menu a {
        font-size: 20px;
        padding: 15px 20px;
    }
    
    .header-menu .button {
        width: 180px;
    }
}

/* Overlay for mobile menu */
@media (max-width: 768px) {
    .header-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
}

