* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: darkslategray;
}

/* Header and Navigation */
.company {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #E8F5E9;
    padding: 25px;
    position: relative;
    height: 500px;
    width: 100%;
}

.company img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.company h1 {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 136px;
    background-color: #224a2280;
    color: white;
    padding: 15px;
    border-radius: 15px;
    border: 5px solid white;
    font-family: "Playfair Display", serif;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: #224a22;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav li {
    display: inline-block;
}

.main-nav a {
    padding: 8px 12px;
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #4ee553;
}

/* Mission Section */
.mission {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    background: linear-gradient(90deg, #e8f5e9 60%, #c8e6c9 100%);
    margin: 40px auto 30px auto;
    border-radius: 24px;
    box-shadow: 0 4px 24px 0 rgba(34, 74, 34, 0.08);
    padding: 48px 24px 40px 24px;
    max-width: 900px;
}

.mission h2 {
    font-size: 3rem;
    font-family: "Playfair Display", serif;
    color: #224a22;
    margin-bottom: 18px;
    text-align: center;
    letter-spacing: 1px;
}

.mission p {
    font-size: 1.35rem;
    color: #2e5d2e;
    text-align: center;
    margin-bottom: 10px;
    max-width: 700px;
}

/* Products and Team Sections */
.products h2, .team h2 {
    font-size: 2.5rem;
    font-family: "Playfair Display", serif;
    color: #224a22;
    text-align: center;
    margin: 40px 0 20px;
    letter-spacing: 1px;
}

.items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 32px 0 48px 0;
}

.items > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(34, 74, 34, 0.07);
    padding: 24px;
    max-width: 300px;
    min-width: 260px;
    transition: transform 0.3s ease;
}

.items > div:hover {
    transform: translateY(-5px);
}

.items img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px 0 rgba(34, 74, 34, 0.10);
}

.items h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #224a22;
    text-align: center;
}

.items p {
    font-size: 1.1rem;
    color: #3d5c3d;
    text-align: center;
}

.members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    margin-bottom: 48px;
}

.members > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(34, 74, 34, 0.07);
    padding: 24px;
    max-width: 300px;
    min-width: 260px;
    transition: transform 0.3s ease;
}

.members > div:hover {
    transform: translateY(-5px);
}

.members img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px 0 rgba(34, 74, 34, 0.10);
}

.members h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #224a22;
    text-align: center;
}

.members p {
    font-size: 1.05rem;
    color: #3d5c3d;
    text-align: center;
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #224a22;
    color: white;
}

.left-foot p {
    font-size: 1rem;
    color: white;
    background-color: transparent;
}

.right-foot ul {
    display: flex;
    gap: 20px;
}

.right-foot li {
    display: inline-block;
}

.right-foot a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    background-color: transparent;
    transition: color 0.3s ease;
}

.right-foot a:hover {
    color: #4ee553;
}

/* Font Families */
.roboto-family {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.playfair-display-family {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* Media Queries for Responsive Design */

/* Tablets (768px and below) */
@media screen and (max-width: 768px) {
    .company {
        height: 400px;
    }

    .company h1 {
        font-size: 80px;
        padding: 10px;
        border: 3px solid white;
    }

    .main-nav ul {
        gap: 20px;
    }

    .main-nav a {
        font-size: 1rem;
        padding: 6px 10px;
    }

    .mission {
        padding: 30px 20px;
        margin: 20px;
        min-height: 300px;
    }

    .mission h2 {
        font-size: 2.2rem;
    }

    .mission p {
        font-size: 1.2rem;
        max-width: 90%;
    }

    .products h2, .team h2 {
        font-size: 2rem;
        margin: 30px 0 15px;
    }

    .items > div, .members > div {
        max-width: 280px;
        min-width: 240px;
        padding: 20px;
    }

    .items img {
        width: 160px;
        height: 160px;
    }

    .members img {
        width: 120px;
        height: 120px;
    }

    .items h3, .members h3 {
        font-size: 1.2rem;
    }

    .items p, .members p {
        font-size: 1rem;
    }

    footer {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 15px;
    }

    .right-foot ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .right-foot a {
        font-size: 0.9rem;
    }
}

/* Mobile Phones (480px and below) */
@media screen and (max-width: 480px) {
    .company {
        height: 300px;
    }

    .company h1 {
        font-size: 48px;
        padding: 8px;
        border: 2px solid white;
    }

    .main-nav {
        padding: 8px 10px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .main-nav a {
        font-size: 0.9rem;
        padding: 6px 8px;
    }

    .mission {
        padding: 20px 15px;
        margin: 15px;
        min-height: 250px;
    }

    .mission h2 {
        font-size: 1.8rem;
    }

    .mission p {
        font-size: 1rem;
        max-width: 100%;
    }

    .products h2, .team h2 {
        font-size: 1.6rem;
        margin: 20px 0 10px;
    }

    .items, .members {
        gap: 20px;
        margin: 20px 0;
    }

    .items > div, .members > div {
        max-width: 100%;
        min-width: 100%;
        padding: 15px;
        margin: 0 10px;
    }

    .items img {
        width: 140px;
        height: 140px;
    }

    .members img {
        width: 100px;
        height: 100px;
    }

    .items h3, .members h3 {
        font-size: 1.1rem;
    }

    .items p, .members p {
        font-size: 0.9rem;
    }

    footer {
        padding: 15px;
        gap: 10px;
    }

    .left-foot p {
        font-size: 0.9rem;
        text-align: center;
    }

    .right-foot ul {
        gap: 10px;
    }

    .right-foot a {
        font-size: 0.85rem;
    }
}