* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body, html {
    overflow-x: hidden; /* Only hide horizontal overflow */
    overflow-y: auto;   /* Allow vertical scrolling for page content */
    /* Ensure no element can exceed 100% of the viewport width */
    width: 100vw; 
    height: 100vh;
}

/* HERO SECTION */
.section-hero {
    position: relative;
    top: 60px;
    width: 100%; 
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: 1800px;
    aspect-ratio: 4 / 1;
}

.hero-container::before {
    content: "";
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    height: 100%; 
    z-index: -1; 
    background-image: url('./images/hero_3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.hero-container img {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: auto;
}

@media screen and (min-width: 600px) {
    .hero-container img {
        width: clamp(200px, 20%, 400px);
    }
}

@media screen and (min-width: 900px) {
    .section-hero {
        /* background-color: #ECECEC; */
    }
    .hero-container {
        max-width: 1800px;
    }
}


/* SERVICES SECTION */

.section-about {
    position: relative;
    top: 60px;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-heading {
    width: 100%;
    font-family: 'ATS', sans-serif;
    letter-spacing: 1px;
    color: #244969;
    text-align: center;
    margin: 30px 0;
    font-size: clamp(24px, 6vw, 40px);
}

.about-segment {
    display: block; 
    width: 100%;
    max-width: 1800px;
    padding: 20px;
    gap:20px;
    background-color: white;
    margin-bottom: 20px;
}

.about-segment p, .about-segment-flip p, .about-segment-flip li {
    text-align: center;
    font-size: clamp(16px, 2.5vw, 20px);
}

.about-segment-flip {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    background-color: #ECECEC;
    gap: 20px;
    padding-bottom: 40px;
}

.about-segment li, .about-segment-flip li {
    margin-left: 20px;
    margin-bottom: 8px;
}

.service-button {
    padding: 6px 20px;
    background: #132536;
    background: linear-gradient(0deg, rgba(19, 37, 54, 1) 0%, rgba(36, 73, 105, 1) 17%, rgba(36, 73, 105, 1) 75%, rgba(69, 116, 161, 1) 100%);
    font-family: 'ATS', sans-serif;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    font-size: clamp(20px, 3vw, 30px);
    cursor: pointer;
    box-shadow: -1px 1px 5px 1px rgba(0,0,0,0.65);
}

.service-button:hover {
    box-shadow: inset -1px 1px 5px 1px rgba(0,0,0,0.65);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    color:#ffffff;
}

.company-logos-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.company-logo {
    height: clamp(26px, 6.7vw, 38px);
    width: auto;
}

/* FOOTER */

footer {
    position: relative;
    top: 60px;
    width: 100%;
    background-color: #244969;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container {
    max-width: 1800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.reference-container {
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.reference-container li {
    list-style: none;
    color: white;
    margin: 5px 0;
    padding: 5px;
    font-size: clamp(14px, 3vw, 16px);
    border-bottom: solid 1px white;
}

.reference-container li a {
    cursor: pointer;
    color: #1FA0CB;
    font-size: clamp(14px, 3vw, 16px);
}

.contact-container {
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    color: white;
    margin-bottom: 30px;
}

.contact-container p {
    font-weight: 200;
    font-size: clamp(14px, 3vw, 16px);
}

.contact-container a {
    text-decoration: none;
    color: #1FA0CB;
    font-size: clamp(14px, 3vw, 16px);
}

.iframe-container {
    height: 100%;
    width: 80%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

iframe {
    height: 100%;
    width: 100%;
    aspect-ratio: 1/1;
    border: none;
    padding: 0;
    margin: auto;
}

@media screen and (min-width: 650px) {
    footer {
        position: relative;
        top: 60px;
        width: 100%;
        background-color: #244969;
        display: flex;
        justify-content: center;
        align-content: center;
    }

    .footer-container {
        display: flex;
        width: 100%;
        max-width: 1800px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-content: center;
        padding: 30px 0;
    }

    .reference-container {
        width: 48%;
        padding: 20px 0;
    }

    .contact-container {
        width: 48%;
        margin-bottom: 0;
    }

    .iframe-container {
        margin-top: 40px;
        height: auto;
        width: 50%;
        margin-bottom: 0;
    }
}

@media screen and (min-width: 1000px) {
    .reference-container {
        width: 30%;
        padding: 0;
    }

    .contact-container {
        width: 30%;
        margin-bottom: 0;
        padding-right: 50px;
    }

    .contact-container p {
        text-wrap: nowrap;
    }

    .iframe-container {
        height: auto;
        width: 30%;
        margin-bottom: 0;
    }
}