@font-face {
    font-family: 'Poppins';
    src: url('Poppins-Medium.ttf');
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.navbar {
    background: lightgrey;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
}

.navbar ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin: 0 15px;
}

.navbar li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    transition: color 0.3s ease;
}

.navbar li a:hover {
    color: #007BFF;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: black;
    transition: transform 0.3s ease;
}

.nav-links {
    display: flex;
    list-style-type: none;
    gap: 20px;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: lightgrey;
    padding: 10px 0;
    z-index: 999;
    overflow: hidden;
}

.nav-links li {
    text-align: center;
    margin: 10px 0;
}

.header {
    width: 100%;
    height: 400px;
    background-image: url("bg-blueLines.png");
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.header .boyanSoft {
    font-size: 48px;
    margin: 0;
}

.header .boyanSoft-info {
    font-size: 24px;
    margin: 10px 0 0;
}

.content-wrapper {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    margin: 40px auto;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.content {
    padding: 30px;
    max-width: 600px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content .text {
    padding-right: 20px;
}

.content h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.content h3 {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.side-image {
    max-width: 580px;
    height: 350px;
    border-radius: 8px;
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 20px;
}

.features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px auto;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
}

.feature-box {
    width: 22%;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 0 10px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    color: #555;
}

.contacts-heading {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

form,
form label,
form input,
form textarea,
form button,
select,
option {
    font-family: 'Poppins', sans-serif;
}

form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: calc(100% - 40px);
}

form label {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    margin-bottom: 10px;
}

form input,
form textarea {
    width: 100%;
    padding: 6px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

form button {
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}

select {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #ffffff;
    appearance: none;
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10"%3E%3Cpath fill="%23007BFF" d="M1 1l6 6 6-6" stroke="%23007BFF" stroke-width="1" fill-rule="evenodd"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

select:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}

select option {
    padding: 8px;
    font-size: 14px;
}

.footer {
    background: #343a40;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .content-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }

    .content {
        max-width: 100%;
    }

    .side-image {
        max-width: 100%;
        height: auto;
        margin: 0;
    }

    .features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .feature-box {
        width: 100%;
        text-align: left;
        padding: 15px;
    }

    form {
        width: 90%;
        padding: 15px;
    }

    form label {
        font-size: 14px;
    }

    form input,
    form textarea {
        font-size: 14px;
    }

    form button {
        font-size: 14px;
        padding: 8px 12px;
    }

    .contacts-heading {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .navbar li a {
        font-size: 14px;
    }

    .header .boyanSoft {
        font-size: 28px;
    }

    .header .boyanSoft-info {
        font-size: 16px;
    }
}
