/* Basic Reset and Typography */
html, body {
    margin: 0;
    padding: 0;
    background-color: #3e4b40;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #fff;
}

/* Header and Navigation */
header {
    background: #3e4b40;
    padding: 1rem 2rem;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

nav .logo a img {
    width: 150px;
}

nav .logo a {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f0f0f0;
}

/* Main Content Sections */
section {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#hero {
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: white;
    padding-top: 0;
    background: #3e4b40;
    gap: 40px;
}

.hero-content {
    text-align: left;
    max-width: 50%;
}

.hero-image {
    width: 50%;
    overflow: hidden;
    border-radius: 10px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cta-button {
    background-color: #fff;
    color: #3e4b40;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #f0f0f0;
}

/* Contact Section Link Styling */
#contact a {
    color: #f0f0f0;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

section {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#awards {
    padding-top: 7rem;
}

/* Awards Section Styling */
.awards-title {
    margin-bottom: 2rem;
}

.awards-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: auto;
}

.awards-image {
    width: auto;
    height: auto;
    filter: opacity(80%);
    max-width: 100%;
}

.bionow-logo {
    max-width: 250px;
}

.az-logo {
    max-width: 300px;
}

.award-text {
    margin-top: 10px;
    text-align: center;
    max-width: 90%;
}

.az-text-center {
    text-align: center;
}

/* About Section Styling */
.about-container {
    padding-top: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.about-photo-wrapper {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
}

.about-photo-wrapper img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}

.about-text-wrapper {
    flex: 1;
    text-align: center;
}

/* Services Section */
.services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 10rem 0 50px 0;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.services-text {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

.services-image {
    flex: 1;
    text-align: center;
}

.services-image img {
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    max-height: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #hero {
        flex-direction: column;
        height: auto;
        padding-top: 100px;
        gap: 20px;
    }

    .hero-content,
    .hero-image {
        max-width: 100%;
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 768px) {
    /* Styles for larger screens, reversing mobile-first changes */
    #hero {
        flex-direction: row;
        height: 100vh;
        padding-top: 0;
        text-align: left;
    }

    .hero-content {
        max-width: 50%;
        text-align: left;
    }

    .hero-image {
        width: 50%;
        text-align: left;
    }

    .awards-container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .awards-title {
        margin-bottom: 14rem;
    }

    .award-text {
        text-align: left;
        max-width: 375px;
    }

    .about-container {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding-top: 14rem;
    }

    .about-photo-wrapper {
        flex: 0 0 300px;
    }

    .about-photo-wrapper img {
        max-width: 100%;
    }

    .about-text-wrapper {
        text-align: left;
    }

    .services-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 20rem 0 50px 0;
        margin-bottom: 10rem;
    }

    .services-text {
        flex: 1.5;
        text-align: left;
        padding: 0;
    }

    .services-image {
        flex: 1;
        text-align: right;
    }

    .services-image img {
        max-width: 120%;
        max-height: 320px;
    }
}