/* General styles remain unchanged */

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.4s;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden;
}

header {
    background: #115B66;
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 4em;
}

header img.logo {
    max-width: 8%;
    height: auto;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.hero {
    background: url('assets/hero_image.png') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    margin-top: 80px; /* Adjusted to account for the fixed header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 91, 102, 0.8);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero img {
    width: 300px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-content {
    padding: 60px 150px;
}

.section-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.section-content p, .section-content ul {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 20px 0;
}

.section-image {
    max-width: 750px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-section, .products-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.about-content, .products-content {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.about-text, .products-text {
    flex: 1;
    margin-left: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    letter-spacing: 0.5px;
}

.about-text h3, .products-text h3 {
    margin-top: 20px;
}

.services-cards, .technology-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    text-align: center;
}

.card img {
    height: 100px;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 2rem;
    color: #115B66;
    margin-bottom: 10px;
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

form input, form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    width: 100%;
    padding: 15px;
    background: #115B66;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
}

form button:hover {
    background: #0e4c56;
}

#formMessage {
    margin-top: 20px;
    font-size: 1.2rem;
}

footer {
    background: #115B66;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
}
@media (max-width: 768px) {
    .section-content {
        padding: 60px 20px;
    }

    .about-section, .products-section {
        flex-direction: column;
    }

    .about-text, .products-text {
        margin-left: 0;
        margin-top: 20px;
    }

    .card {
        flex: 1 1 100%;
    }
    .container {
        flex-direction: column;
    }

    header nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    header nav ul.active {
        display: flex;
    }

    .burger-menu {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero img {
        width: 200px;
    }

    .section-content {
        padding: 40px 10px;
    }

    .section-content h2 {
        font-size: 2rem;
    }

    .section-content p, .section-content ul {
        font-size: 1rem;
    }

    .section-image {
        max-width: 100%;
    }

    form {
        width: 100%;
        padding: 10px;
    }
}
