* {
    box-sizing: border-box;
}

.contour_top {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    }

    .contour_top img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222222;
    line-height: 1.6;
}


header {
    background: white;
    color: rgb(0, 0, 27);
}


nav {
    max-width: 1200px;
    min-height: 80px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 10px;
}


.logo {
    font-size: 20px;
    font-weight: bold;
}


.navigation {
    display: flex;
    gap: 25px;
}


.navigation a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}


.navigation a:hover {
    text-decoration: underline;
}


.hero {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background-color: rgb(0, 0, 27);
    color: white;

    padding: 60px 20px;
}


.hero-content {
    max-width: 800px;
}


.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
}


.hero p {
    font-size: 21px;
    margin-bottom: 35px;
}


.button {
    display: inline-block;

    padding: 14px 30px;

    background-color: rgb(0, 0, 27);
    color: white;

    text-decoration: none;

    font-weight: bold;

    border-radius: 4px;
}


section {
    max-width: 1200px;

    margin: auto;

    padding: 80px 20px;
}


section h2 {
    font-size: 36px;
    margin-bottom: 30px;
}


.services-container {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}


.service {
    padding: 30px;

    border: 1px solid #dddddd;

    border-radius: 6px;
}


.service h3 {
    font-size: 24px;
}


#about {
    background-color: #f5f5f5;

    max-width: none;

    padding-left: max(20px, calc((100% - 1160px) / 2));

    padding-right: max(20px, calc((100% - 1160px) / 2));
}


#service-area ul {
    font-size: 18px;
}


#contact {
    text-align: center;
}


/* --- FOOTER SOCIAL LOGO ICONS --- */
footer {
    background-color: rgb(0, 0, 27);
    color: white;
    padding: 25px 20px;
    font-size: 16px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

footer p {
    margin: 0;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.social-links a {
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-icon {
    width: 54px;  /* Controls logo width */
    height: 54px; /* Controls logo height */
    display: block;
}

.social-links a:hover {
    color: rgb(246, 83, 15); /* Changes to your brand orange on hover */
}

/* Responsive stack for mobile screens */
@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .social-links {
        justify-content: center;
    }
}

    .logo_header img {
    height: 100px;
    width: auto;
    }

    .contour_bottom {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    }

    .contour_bottom img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    }

    /* =========================================
   MVSG PROJECTS SLIDESHOW
   ========================================= */

.mvsg-projects {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px;
    box-sizing: border-box;
}


/* -----------------------------------------
   SECTION HEADING
   ----------------------------------------- */

.mvsg-projects-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.mvsg-projects-eyebrow {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 0.18em;
     color: rgb(246,83,15);
    text-transform: uppercase;
}

.mvsg-projects-heading h2 {
    margin: 0 0 18px;
    font-size: 56px !important;
}

.mvsg-projects-heading > p:last-child {
    margin: 0;
    line-height: 1.7;
}


/* -----------------------------------------
   SLIDESHOW CONTAINER
   ----------------------------------------- */

.mvsg-project-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.75fr);
    gap: 45px;
    align-items: center;
}


/* -----------------------------------------
   IMAGE AREA
   ----------------------------------------- */

.mvsg-project-image-area {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}


/* -----------------------------------------
   IMAGE FRAME
   ----------------------------------------- */

.mvsg-slide-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 4px;
    background: rgb(1, 0, 18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mvsg-slide-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/*
   The survey plat is a different shape from
   the field photograph. JavaScript adds this
   class when displaying it.
*/

.mvsg-slide-frame img.mvsg-plat-image {
    object-fit: contain;
    background: rgb(1, 0, 18);
}


/* -----------------------------------------
   PREVIOUS / NEXT BUTTONS
   ----------------------------------------- */

.mvsg-slide-button {
    position: absolute;
    z-index: 5;

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    background: rgba(1, 0, 18, 0.85);
    color: white;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.mvsg-slide-button:hover {
    background: rgb(1, 0, 18);
    transform: scale(1.05);
}

.mvsg-slide-button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.mvsg-previous {
    left: 15px;
}

.mvsg-next {
    right: 15px;
}


/* -----------------------------------------
   PROJECT INFORMATION
   ----------------------------------------- */

.mvsg-project-information {
    padding: 10px 0;
}

.mvsg-project-number {
    margin: 0 0 10px;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mvsg-project-information h3 {
    margin: 0 0 8px;

    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.2;
}

.mvsg-project-location {
    margin: 0 0 25px;

    font-weight: 600;
}

.mvsg-project-description {
    margin: 0 0 25px;

    line-height: 1.75;
}

.mvsg-image-caption {
    margin: 0;

    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.75;
}


/* -----------------------------------------
   SLIDE DOTS
   ----------------------------------------- */

.mvsg-slide-dots {
    display: flex;
    gap: 9px;
    margin-top: 30px;
}

.mvsg-slide-dot {
    width: 10px;
    height: 10px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: currentColor;
    opacity: 0.3;

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.mvsg-slide-dot:hover {
    opacity: 0.6;
}

.mvsg-slide-dot.mvsg-active {
    opacity: 1;
    transform: scale(1.2);
}

.mvsg-slide-dot:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}


/* -----------------------------------------
   CALL TO ACTION
   ----------------------------------------- */

.mvsg-project-cta {
    max-width: 750px;
    margin: 75px auto 0;

    text-align: center;
}

.mvsg-project-cta h3 {
    margin: 0 0 15px;

    font-size: clamp(1.5rem, 3vw, 2rem);
}

.mvsg-project-cta p {
    margin: 0 auto 25px;

    line-height: 1.7;
}


/* -----------------------------------------
   BUTTON
   ----------------------------------------- */

.mvsg-project-button {
    display: inline-block;

    padding: 14px 28px;

    background: rgb(1, 0, 18);
    color: white;

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;

    border-radius: 3px;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.mvsg-project-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}


/* -----------------------------------------
   MOBILE
   ----------------------------------------- */

@media (max-width: 800px) {

    .mvsg-projects {
        padding: 60px 20px;
    }

    .mvsg-project-showcase {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .mvsg-slide-frame {
        aspect-ratio: 4 / 3;
    }

    .mvsg-project-information {
        padding: 0 10px;
    }

    .mvsg-project-cta {
        margin-top: 55px;
    }

}


/* -----------------------------------------
   SMALL PHONES
   ----------------------------------------- */

@media (max-width: 500px) {

    .mvsg-slide-button {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .mvsg-previous {
        left: 10px;
    }

    .mvsg-next {
        right: 10px;
    }

}

@media (max-width: 768px) {

    nav {
        flex-direction: column;
        gap: 15px;
    }


    .navigation {
        flex-wrap: wrap;
        justify-content: center;
    }


    .hero h1 {
        font-size: 40px;
    }


    .services-container {
        grid-template-columns: 1fr;
    }


}