.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
}

.hero > div:first-child {
    background-color: #112f47;
    color: white;
    padding: 4rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    align-items: flex-start;
}

.hero > div:last-child {
    background-image: url('../images/home.PNG');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.hero .button {
    display: inline-block;
    background-color: white;
    color: #112f47;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

.hero .button:hover {
    background-color: #f0f0f0;
}

.info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    max-width: 1400px;
    margin: 3rem auto;
    background-color: #e8f4f8;
    padding: 3rem;
    border-radius: 8px;
}

.info > div:first-child {
    background-image: url('../images/lean.PNG');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-right: 2rem;
}

.info > div:last-child {
    background-color: white;
    color: #112f47;
    padding: 4rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    border-radius: 8px;
}

.info p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
}

.info p:last-child {
    margin-bottom: 0;
}

.what-we-do {
    padding: 4rem 2rem;
    margin: 0;
    background-image: url('../images/manufacturing.PNG');
    background-size: cover;
    background-position: center;
    position: relative;
}

.what-we-do .content-box {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    color: #112f47;
    border-radius: 8px;
}

.what-we-do h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center; 
}

.what-we-do p {
    text-align: left; 
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.what-we-do ul {
    text-align: left; 
    margin: 1.5rem 0 2rem 0;
    padding-left: 2.5rem; 
    list-style-position: outside;
    font-size: 1.2rem;
}

.what-we-do ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 1.2rem;
}

.call-to-action {
    background-color: #112f47;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.call-to-action p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.call-to-action .button {
    display: inline-block;
    background-color: white;
    color: #112f47;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

.call-to-action .button:hover {
    background-color: #f0f0f0;
}

/* responsive design for tablets (768px - 1023px) */
@media (max-width: 1023px) {
    .hero {
        grid-template-columns: 1fr;
        position: relative;
        min-height: 100vh;
    }
    
    .hero > div:first-child {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(17, 47, 71, 0.85);;
        padding: 3rem 2rem;
        z-index: 1;
        align-items: center;
        text-align: center;
    }
    
    .hero > div:last-child {
        min-height: 100vh;
        position: relative;
        z-index: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    .info {
        grid-template-columns: 1fr;
        padding: 2rem;
        margin: 2rem;
        gap: 2rem;
    }
    
    .info > div:first-child {
        margin-right: 0;
        min-height: 50vh;
        order: 1;
    }
    
    .info > div:last-child {
        padding: 3rem;
        order: 2;
    }
}

/* responsive design for phones / smaller tablets (768px and below) */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        position: relative;
        min-height: 100vh;
    }
    
    .hero > div:first-child {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(17, 47, 71, 0.85);;
        padding: 3rem 2rem;
        z-index: 1;
        align-items: center;
        text-align: center;
    }
    
    .hero > div:last-child {
        min-height: 100vh;
        position: relative;
        z-index: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .info {
        grid-template-columns: 1fr;
        padding: 2rem;
        margin: 1.5rem;
        gap: 2rem;
    }
    
    .info > div:first-child {
        margin-right: 0;
        min-height: 50vh;
        order: 1;
    }
    
    .info > div:last-child {
        padding: 2rem;
        order: 2;
    }
}

/* responsive design for small phones (320px - 480px) */
@media (max-width: 480px) {
    .hero {
        grid-template-columns: 1fr;
        position: relative;
        min-height: 100vh;
    }
    
    .hero > div:first-child {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(17, 47, 71, 0.85);;
        padding: 2rem 1.5rem;
        z-index: 1;
        align-items: center;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .info {
        padding: 1.5rem;
        margin: 1rem;
    }

    .info > div:first-child {
        margin-right: 0;
        min-height: 50vh;
        order: 1;
    }
    
    .info > div:last-child {
        padding: 1.5rem;
        order: 2;
    }
}