* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; 
}

/* Header-specific container */
.header-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%; 
}
/* Header Section */
.main-header {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: transparent;
    color: white;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
}


.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.header-left h1,
.header-left h2 {
    font-family: 'EB Garamond', sans-serif;
}

.header-left h1 {
    font-family: 'EB Garamond', sans-serif;
    font-size: 2.5rem;
    font-weight: 200;

    margin-bottom: 5px;
}

.header-left h2 {
    font-size: 1.6rem;
    font-weight: 200;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.menu li a {
    text-decoration: none;
    font-size: 1rem;
    color: white;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #4CAF50;
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .main-header {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 20px;
    }

    .hamburger {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 60px;
        right: 20px;
        width: 150px;
        border-radius: 4px;
    }

    .menu.active {
        display: flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('../images/hero_section_image.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 40px;
    color: white;
}

@media (min-width: 1400px) {
    .hero {
        height: 65vh;
        padding-bottom: 6vh;
        background-position: center ; 
    }

    .hero-text h1 {
        font-size: 3.5rem; 
    }

    .hero-details p {
        font-size: 1.3rem; 
    }
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.hero-text {
    max-width: 40%; 
    text-align: left;
}

.hero-text h1 {
    font-family: 'EB Garamond', sans-serif;
    font-size: 4rem;
}

.hero-details {
    max-width: 40%; 
    text-align: right;
}

.hero-details p {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    font-family: 'Lato', sans-serif;
    gap: 60px;
    justify-content: flex-end;
}

.hero-buttons .btn {
    padding: 15px 30px;
    border: 2px solid white;
    font-size: 1rem;
    background-color: transparent;
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}

.btn:hover {
    opacity: 0.8;
}


/* Services Section */
.services {
    padding: 50px 20px;
    background-color: #f4f4f4;
}

.services h2 {
    font-family: 'EB Garamond', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 40px;
    font-weight: 200;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Industries Section */
.industries {
    padding: 50px 20px;
    background-color: #5E5E5E;
}

.industries h2 {
    font-family: 'EB Garamond', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 40px;
    font-weight: 200;
    color: white;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.industry {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.industry img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
}

.industry h3 {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

.industry p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    color: #f4f4f4;
    text-align: center;
}

/* About Section */
.about {
    padding: 50px 20px;
    background-color: #AEB5AD;
}

.about-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    align-items: center; 
    margin: 0 auto;
}
.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding-right: 20px;
}
.about-text h2 {
    font-family: 'EB Garamond', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 40px;
    font-weight: 200;
    color: white;
}

.about-text p {
    font-size: 1.2rem;
    color: #333;
}

.about-image {
    flex: 1;
    text-align:right;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #333;
    color: white;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.contact-left,
.contact-right {
    flex: 1; 
}

.contact-left {
    padding-right: 20px;
}

.contact-left h1,
.contact-left h2,
.contact-left h3,
.contact-left h4 {
    font-family: 'EB Garamond', sans-serif;
}

.contact-left h1 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    font-weight: 200;
    color: white;
}
.contact-left h2 {
    font-family: 'EB Garamond', sans-serif;
    font-size: 2.5rem;
    font-weight: 200;

    margin-bottom: 5px;
}

.contact-left h3 {
    font-size: 1.6rem;
    font-weight: 200;
}

.contact-left h4 {
    font-size: 1.2rem;
    font-weight: 200;
}

.contact-right {
    align-self: flex-end;
    text-align: right; 
}

.contact-right p{
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
}
.contact-left p {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    line-height: 1.6;
}

.contact-right p a {
    color: white;
    text-decoration: none;
}

.contact-right p a:hover {
    text-decoration: underline;
    color: #4CAF50; 
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: center; 
        justify-content: flex-start; 
        padding: 20px;
        height: 100%; 
    }
    .hero-text {
        margin-top: 60px;  


        text-align: center;
        max-width: 80%; 

        line-height: 1.3;
    }

    .hero-text h1 {
        font-size: 6vw; 
        line-height: 1.1;
    }


    .hero-details {
        margin-top: auto;
        margin-bottom: 30px;
        text-align: center; 
        max-width: 90%; 
        line-height: 1.4;
    }

    .hero-details p {
        font-size: 4vw; 
        line-height: 1.3; 
    }

    .hero-buttons .btn {
        font-size: 0.9rem; 
        padding: 10px 20px;
    }

    .services-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }
    .about{
        width: 100%;
    }
    .about-text h2 {
        text-align: left;
    }
    .about-content {
        flex-direction: column;
        /* text-align: center; */
    }
    .about-text p {
        text-align: center; 
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
    }
    .contact-left,
    .contact-right {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    .contact-right {
        align-self: center;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-details p {
        font-size: 1.2rem;
    }
    .about-image img{
        object-fit: cover;
        width: 300px; /* Forces a specific width */
        height: 200px; /* Forces a specific height */

    }
    .services h2,
    .industries h2,
    .about h2 {
        font-size: 2.5rem;
    }
}