:root {
    --color-main: #043b55;
    /* Main color */
    --color-accent: #184b8d;
    /* Accent color */
    --color-complimentary: #474554;
    /* Complimentary color */
    --color-grayish: #e6e3ff;
    /* Grayish color */
    --color-yellow: #e79c25;
    --color-background-white: #f9f9f9;
}


/* HIDDEN FOR NOW */
/* Hide hamburger and mobile nav */
.hamburger,
.nav-links,
.nav-overlay {
    display: none !important;
}

/* Optional: hide desktop nav links too */
header ul {
    display: none !important;
}






body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* mobile-first base styles */
@media (min-width: 0rem) {


    .logo {
        height: 80px;
        width: auto;
        transition: opacity 0.25s ease;
    }

    .logo-dark {
        opacity: 0;
    }

    .logo-white {
        opacity: 1;
    }

    header.scrolled .logo-white {
        opacity: 0;
    }

    header.scrolled .logo-dark {
        opacity: 1;
    }

    header {

        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        display: flex;
        justify-content: space-around;
        padding: 0 1.5rem;
        align-items: center;
        flex-wrap: wrap;
        background-color: transparent;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;


    }

    .logo-wrap {
        position: relative;
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .logo-wrap .logo {
        position: absolute;
        inset: 0;
        height: 100%;
        width: 100%;
        transition: opacity 0.25s ease;
    }

    header.scrolled {
        background-color: var(--color-accent);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    }

    header ul {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 20px;
        color: white;
        font-weight: 600;

    }

    header li {
        gap: 2rem;
    }

    .nav-links li a {
        position: relative;
        color: white;
        text-decoration: none;
        padding-bottom: 4px;
        font-weight: 600;
    }

    .nav-links li a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0%;
        height: 2px;
        background-color: var(--color-yellow);
        transition: width 0.25s ease, left 0.25s ease;
    }

    .nav-links li a:hover::after {
        width: 100%;
        left: 0;
    }

    .left-items {
        display: flex;
        gap: 1rem;
    }

    header button {
        border: 3px none var(--color-grayish);
        padding: 10px;
        border-radius: 5px;
        background-color: var(--color-main);
        color: white;
        cursor: pointer;
    }

}

/* Dark overlay behind mobile nav */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    /* half screen */
    height: 100vh;
    /* full height */
    background-color: rgba(0, 0, 0, 0.9);
    /* dark, semi-transparent */
    z-index: 999;
    /* above hero */
    transform: translateX(-100%);
    /* hide offscreen initially */
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Show overlay when active */
.nav-overlay.active {
    transform: translateX(0);
    /* slide in */
}

/* Mobile links inside overlay */
.nav-overlay ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    text-align: center;
}

.nav-overlay ul li a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.nav-links {
    display: none;
    flex-direction: column;
    gap: 2rem;
    margin-top: 0.5rem;
}

.hamburger {
    display: block;
    font-size: 1.5rem;

    border: none;
    color: white;
    cursor: pointer;
}

.nav-links.active {
    display: flex;
}

/* Hero Section */
/* Hero Section */
/* Hero Section */
/* Hero Section */
/* Hero Section */
/* Hero Section */
/* Hero Section */
/* Hero Section */
/* Hero Section */
/* Hero Section */
/* Hero Section */

#hero {
    display: grid;
    place-items: center;
    min-height: 100vh;
    position: relative;
    background: #cccccc;
    background: linear-gradient(0deg, rgba(204, 204, 204, 0) 0%, rgba(0, 0, 0, 1) 100%);
}

.hero-copy {
    max-width: 28rem;
    font-size: 2rem;
}


#hero img {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;

}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 1rem;
    width: 90%;
    max-width: 70rem;
    /* allow horizontal space */
    z-index: 1;
    color: white;
    text-align: top;
    margin-bottom: 1.5rem;
    margin-top: 0;
    text-align: center;
}

.hero-text span {
    color: var(--color-yellow);
}

.hero-text h1 {
    flex: 1;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    margin: 0;
}

.hero-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    max-width: 36rem;
    padding: 1rem;


}

.hero-text button {
    border: 3px none var(--color-grayish);
    padding: 10px 20px;
    border-radius: 5px;
    background-color: var(--color-main);
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 254, 254, 0.479);
    margin-bottom: 2rem;


}

.hero-text button:hover {
    background-color: var(--color-accent);
    transition: background-color 0.3s ease, color 0.3s ease;
    transform: translateY(-2px);

}

.hero-text button:active {
    transform: translateY(4px);
}

/* Reviews */
/* Reviews */
/* Reviews */
/* Reviews */
/* Reviews */
/* Reviews */
/* Reviews */
/* Reviews */
/* Reviews */
/* Reviews */



#reviews {
    width: 100%;
    border: none;
    background-color: var(--color-background-white);
    margin-bottom: 40px;

}

.reviews-span {
    margin-top: 10px;
    padding: 0;
    display: block;
    text-align: center;
    color: var(--color-complimentary);
    font-size: 2rem;
}

.reviews {
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    height: 350px;
    display: flex;
    justify-content: center;
    border: 1px none var(--color-grayish);
    border-radius: 5px;
    max-width: 1300px;
    align-items: center;


}

.reviews iframe {
    width: 100%;
    min-height: 100px;
    border: none;
}


/* services*/
/* services*/
/* services*/
/* services*/
/* services*/
/* services*/
/* services*/
/* services*/
/* services*/



#services {
    display: flex;
    justify-content: center;
    margin-top: 50px;



}

#services .icons {
    width: 70px;
    height: 70px;
    margin-top: 1rem;

}



.top-services {
    display: flex;
    align-items: center;
    gap: .5rem;
    justify-content: center;
    flex-direction: column;
}

.line {
    height: 2px;
    width: 200px;
    background: var(--color-accent);
}

.top-services {
    display: flex;

}

#services h2 {
    font-size: 2.5rem;
    margin: 0;
}

.top-services p {
    margin: 10px;
    font-size: 1.2rem;
    max-width: 1000px;
    text-align: center;
}

span {
    font-size: 1.1rem;

}

.services-wraper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;

    max-width: 1200px;
    width: min(100%, 1200px)
}

.services-wraper .icons {
    align-self: center;
}

.services-boxes {
    flex: 1 1 300px;
    /* grow, shrink, base width */
    max-width: 360px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background-color: #9dadbc13;

    border: 2px none var(--color-grayish);
    padding: 1.5rem;
    border-radius: 5px;

    min-height: 100%;
    /* allows equal-height behavior */
    min-height: 500px;
    box-shadow: 0 5px 15px rgb(90, 88, 88);
    position: relative;
}

#top-icon {
    max-width: 50px;
    height: auto;
    background-color: var(--color-background-white);
    position: absolute;
    top: 26%;
    bottom: 0;
    border-radius: 10%;
}

.services-boxes p {
    flex-grow: 1;
    line-height: 1.6;
}

.services-boxes img {
    width: 100%;
    max-width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.services-boxes a {
    border: 3px none var(--color-grayish);
    padding: 10px 20px;
    border-radius: 5px;
    background-color: var(--color-main);
    color: rgb(255, 255, 255);
    cursor: pointer;
    box-shadow: 0 5px 15px rgb(90, 88, 88);
    text-decoration: none;

}

.services-boxes a:hover {
    background-color: var(--color-accent);
    transition: background-color 0.3s ease, color 0.3s ease;
    transform: translateY(-2px);

}

.services-boxes a:active {
    transform: translateY(4px);
}



.why-us {
    padding-top: 1rem;
}




.why-us-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.why-us-container {
    width: 100%;
    min-height: 600 px;
    /* or whatever height you need */
    position: relative;
    background-image: url('Images/mid-background.webp');
    background-size: cover;
    /* fill container */
    background-position: 50% 50%;
    /* center the image */
    background-repeat: no-repeat;
    margin-top: 60px;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;

}

.left-why {
    max-width: 350px;
    align-self: center;
}

.why-us span {
    color: var(--color-main);
}

.why-us h3 {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 10px;
}

.why-us p {
    font-size: 1.1rem;
}

footer {
    background-color: #066794;
    height: auto;
}

.footer-menu {
    display: flex;
}

footer ul {
    list-style: none;


}

.footer-menu,
.right-footer {
    display: flex;
    flex-wrap: wrap;
    /* allows items to move to next line if needed */
    justify-content: center;
    /* optional, for centering */
    gap: 10px;

}

.right-footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 16px 10px;
}

.footer-menu {
    flex-direction: column;
}

.contact-info {
    display: flex;
    gap: 16px;
    flex-direction: column;

}





@media (max-width: 768px) {
    .why-us-container {
        flex-direction: column;
        justify-content: center;
        padding: 20px;
    }

    .why-us-container img {
        max-width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .left-why {
        max-width: 100%;
    }

    .footer-menu,
    .right-footer {
        flex-direction: column;
        align-items: center;
    }

    .hero-text {
        flex-direction: column;
        text-align: center;
    }



}











/* tablet overrides */
@media (min-width: 48rem) {
    .hamburger {
        display: none;
        /* hide hamburger */
    }

    .nav-links {
        display: flex !important;
        flex-direction: row;
        gap: 1rem;
        margin-top: 0;
    }
}

/* laptop overrides */
@media (min-width: 64rem) {}

/* desktop overrides */
@media (min-width: 81.25rem) {}





/* TEMPORARY: hide all nav and hamburger on all screen sizes */
header ul,
.nav-links,
.hamburger,
.nav-overlay {
    display: none !important;
}

/* TEMPORARY: center logo for single-page version */
header {
    justify-content: center !important;
    /* centers everything inside header */
    padding: 0 !important;
    /* optional: remove side padding */
}

.logo-wrap {
    margin: 0 auto !important;
    /* ensure logo is centered */
    position: relative;
    /* keep positioning for your logo images */
}