* {
    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;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    background-color: rgb(0, 0, 27);
    color: white;
    padding: 60px 20px;
}


.hero-content {
    max-width: 800px;
}


.hero h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: rgb(246,83,15);
}


.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;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: rgb(246,83,15);
}

.hero h5 {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    font-size: 30px;
    text-align: center;
    color: rgb(246,83,15);
    margin-top: 50px;
    margin-bottom: 0;
}

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;
    }

@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;
    }


}
/* --- ABOUT SECTION SIDE-BY-SIDE LAYOUT --- */

.hero-content {
    max-width: 1100px; /* Slightly widened to accommodate photo + text comfortably */
}

.about-grid {
    display: flex;
    align-items: flex-start; /* Top-aligns the photo with the text container */
    gap: 60px; /* Exact 60px buffer between the photo and the text */
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: left;
}

.about-photo {
    flex: 0 0 300px; /* Fixed width for the photo column (adjust as needed) */
}

.about-photo img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    object-fit: cover;
}

.about-text {
    flex: 1; /* Takes up remaining space */
}

.about-text h2 {
    margin-top: 0 !important; /* Aligns the top of the h2 with the top of the photo */
}

/* Responsive stack on mobile screens so photo doesn't squish text */
@media (max-width: 850px) {
    .about-grid {
        flex-direction: column;
        gap: 30px;
    }
    .about-photo {
        max-width: 250px;
        margin: 0 auto;
    }
}
