@font-face {
    font-family: 'Futura';
    src: local('Futura'), url('https://fonts.cdnfonts.com/s/17410/FuturaPTBook.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Futura';
    src: local('Futura Bold'), url('https://fonts.cdnfonts.com/s/17410/FuturaPTBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
body {
    font-family: 'Open Sans', Arial, sans-serif;
}

button {
    border-radius: 50px;
    background-color: #AF200C;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    border: none;
    cursor: pointer;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
}

section {
    padding: 10vw 20vw;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    gap: 5vw;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 60px;
    padding: 20px;
    box-shadow: 0 16px 48px 0 #042F4D33;
    z-index: 100;
}

.main {
    position: relative;
    background: linear-gradient(180deg, #00548F 0%, #044572 100%);
    padding: 60px;
    overflow: hidden;
}



.main::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('images/background-image-main.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.035;
    z-index: 0;
    pointer-events: none;
}

.main > * {
    position: relative;
    z-index: 1;
}

.main h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 38px;
    margin: 0;
}

.main h4 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    margin: 0;
}

.main p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin: 0;
}

.main-left {
    display: flex;
    flex-flow: column;
    gap: 32px;
    align-items: left;
    text-align: left;
    justify-content: flex-start;
    color: white;
}

.main-left img {
    display: block;
    max-height: 100px;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    margin-left: 0;
    align-self: flex-start;
}

.main-right img,
.contact-left img {
    box-shadow: 0 8px 32px 0 rgba(4, 47, 77, 0.18);
    border-radius: 12px;
}

.p-icon {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 18px;
    color: white;
}



.contact-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 60px;
    background-image: url('images/background-image.png');
    background-repeat: repeat;
    background-size: 800px;
    background-position: top left;
    color: #00548F;
}

.contact-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
        width: 50%;
    max-width: 50%;
}

.contact-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    position: relative;
    width: 50%;
    max-width: 600px; /* Set a max-width to prevent overflow */
    box-sizing: border-box;
    min-width: 0; /* Prevent flex overflow */
}

.heading-wrapper {
    position: relative;
    display: inline-block;
}

.heading-bg {
    position: absolute;
    left: 0;
    top: 40px;
    z-index: 0;
    width: 100%;
    height: auto;
}

.heading-wrapper h2 {
    position: relative;
    z-index: 1;
    display: block;
}

.contact-form {
    width: 100%;
    box-sizing: border-box;
}

.contact-form label {
    display: block;
    margin-top: 16px;
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Open Sans', Arial, sans-serif;
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #FDD804;
    border-width: 2px;
    box-shadow: 0 0 0 2px #FDD80433;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: 16px;
    border-radius: 50px;
    background-color: #AF200C;
    color: #fff;
    text-align: center;
    padding: 14px 32px;
    border: none;
    cursor: pointer;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.contact-form input[type="checkbox"] {
    margin-right: 8px;
}

button:hover,
.contact-form button:hover {
    background-color: #941D0C;
}

/* Footer styles */
.site-footer {
    width: 100%;
    background: linear-gradient(180deg, #00548F 0%, #044572 100%);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 32px 5vw;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    box-sizing: border-box;
}

.footer-left {
    flex: 1 1 160px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 120px;
}

.footer-logo {
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
}

.footer-center {
    flex: 2 1 400px;
    padding: 0 32px;
    min-width: 220px;
}

.footer-center h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-center p {
    margin: 0;
    font-size: 16px;
    color: #fff;
    font-weight: 400;
}

.footer-right {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 160px;
    gap: 4px;
}

.footer-right p {
    margin: 0;
    font-size: 16px;
    color: #fff;
    font-weight: 400;
}

.footer-right a {
    color: #fff;
    text-decoration: underline;
    word-break: break-all;
}

@media (max-width: 900px) {
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 5vw;
        font-size: 15px;
        gap: 24px;
    }
    .footer-left,
    .footer-center,
    .footer-right {
        min-width: 0;
        width: 100%;
        padding: 0;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .footer-center {
        flex: 2 1 50px;
    }
    .footer-right {
        flex: 1 1 50px;
    }
    .footer-left {
        flex: 1 1 50px;
    }
    .footer-center {
        padding: 16px 0;
    }
    .footer-right {
        align-items: flex-start;
    }
    .footer-logo {
        max-height: 48px;
    }

    .main {
        flex-flow: column;
    }

        .main-left {
        width: 100% !important;
    }

        .main-right {
        width: 100% !important;
    }

            .contact-left {
        width: 100% !important;
        max-width: 100%;
    }

        .contact-right {
        width: 100% !important;
    }

    .contact-section {
        flex-flow: column-reverse;
    }
}

@media (max-width: 480px) {
    .site-footer {
        font-size: 13px;
        padding: 24px 3vw;
    }
    .footer-logo {
        max-height: 36px;
    }
    .footer-center h4 {
        font-size: 16px;
    }
    .footer-center p,
    .footer-right p {
        font-size: 13px;
    }



    .main {
        padding: 30px !important;
    }
    
    .contact-section {
        padding: 30px !important;
    }
}