body{
    background-image: linear-gradient(to top, rgb(210, 248, 248), white, white);
    background-attachment: fixed;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background-color: #026464;
    height: 7vh;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

/* Animate into X */

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.logo-link {
    height: 100%;
}

.logo {
    height: 100%;
    margin: 0;
}

.nav-menu {
    overflow: hidden;
    max-height: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    background-color: #026464;
    transition: max-height 0.3s ease-out;
    z-index: 999;
}


.nav-menu.show {
    max-height: 500px; /* enough to fit all menu items */
}

.nav-menu li a {
    padding: 14px;
    display: block;
    color: white;
    text-decoration: none;
}

.nav-menu li a:hover {
    background-color: #004141;
}

.nav-menu.show {
    display: flex;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #026464;
}

.navbar ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.navbar ul li a:hover {
    background-color: #004141;
}

body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
}

h1 {
    font-family: 'Montserrat', sans-serif;
}

h2 {
    font-family: 'Montserrat', sans-serif;
}

h3 {
    font-family: 'Montserrat', sans-serif;
}

footer {
    display: flex;
    flex-direction: column;
    background-color: #026464;
    padding: 10px;
    margin: 0;
    margin-top: 30px;
    color: white;
}

footer p{
    text-align: center;
}

.footer-row{
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.footer-column{
    display: flex;
    flex-direction: column;
    justify-content: left;
    flex-wrap: wrap;
    width: 50%;
    padding: 0 20px;
}

.footer-links ul {
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;

}

.footer-links li a {
    display: block;
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.footer-links li a:hover {
    background-color: #004141;
}


.hero-section {
    position: relative;
    height: 600px;
    background: url("../images/AdobeStock_560062428.jpeg") no-repeat center;
    background-size: cover;
    color: white;
    padding: 20px;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.button-section{
    display: flex;
}

.button-container-1{
    background-color: #026464;
    text-align: center;
    border-radius: 0;
}
.button-container-1 a{
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight:500;
}

.button-container-1 a:hover {
    background-color: #004141;
    border-radius: 0;
}

.button-container-2{
    background-color: #cccccc;
    text-align: center;
    border-radius: 0;
}
.button-container-2 a{
    display: block;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight:500;
}

.button-container-2 a:hover {
    background-color: #505050;
    color: white;
    border-radius: 0;
}


.intro-flex-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-column{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width:50%;
    box-sizing: border-box;
    padding: 10px;
    align-items: center;
}

.intro-column img{
    height: auto;          /* let height scale automatically */
    max-height: 150px;     /* optional: prevent it from getting too tall */
    width: 50px;           /* fixed width OR use max-width: 100% for responsive */
    object-fit: contain;
}

.services-flex-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-around;
}

.services-column{
    width: 90%;
    box-sizing: border-box;
    padding: 10px;
    background-color: white;
    border: 2px solid #026464;
    margin: 10px;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.final-cta {
    max-width: 1200px;   /* constrain width like your flex container */
    margin: 0 auto;       /* center horizontally */
    padding: 0 20px;      /* small side padding on mobile */
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: #eee;
    color: #444;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.accordion.active, .accordion:hover {
    background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.services-title {
    margin: 20px;
}

.accordion-container {
    margin: 20px;
}

.careers-title {
    margin: 20px;
}

.careers-section{
    margin: 20px;
}

.contact-section {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: "Open Sans", sans-serif;
}

.submit-button {
    margin-top: 20px;
    background-color: #026464;
    color: white;
    padding: 14px;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.submit-button:hover {
    background-color: #004141;
}

.form-disclaimer {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.body-section{
    max-width: 1200px;   /* constrain width like your flex container */
    margin: 0 auto;       /* center horizontally */
    padding: 0 20px;      /* small side padding on mobile */
}

.about-section{
    max-width: 1200px;   /* constrain width like your flex container */
    margin: 0 auto;       /* center horizontally */
    padding: 0 20px;      /* small side padding on mobile */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-section h3{
    text-align: center;
}

.about-section p{
    width: 90%;
    box-sizing: border-box;
    padding: 10px;
    background-color: white;
    border: 2px solid #026464;
    margin: 10px;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url("../images/AdobeStock_560062428.jpeg") no-repeat top center;
    background-size: cover;
    color: white;
    padding: 40px 20px;
}

/* Overlay for readability */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* slightly dark overlay */
    z-index: 0;
}

/* Make content above overlay */
.hero-section > * {
    position: relative;
    z-index: 1;
}

/* Hero text styling */
.hero-section h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Button section layout */
.button-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
}

.button-container-1 a,
.button-container-2 a {
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-container {
    margin: 30px 0;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border-radius: 8px;
}

.hero-section-1 {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url("../images/abouthero.jpeg") no-repeat top center;
    background-size: cover;
    color: white;
    padding: 40px 20px;

}

/* Overlay for readability */
.hero-section-1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* slightly dark overlay */
    z-index: 0;
}

/* Make content above overlay */
.hero-section-1 > * {
    position: relative;
    z-index: 1;
}

/* Hero text styling */
.hero-section-1 h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section-1 p {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section-2 {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url("../images/cna.jpeg") no-repeat top center;
    background-size: cover;
    color: white;
    padding: 40px 20px;

}

/* Overlay for readability */
.hero-section-2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* slightly dark overlay */
    z-index: 0;
}

/* Make content above overlay */
.hero-section-2 > * {
    position: relative;
    z-index: 1;
}

/* Hero text styling */
.hero-section-2 h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section-2 p {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section-3 {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url("../images/home.jpeg") no-repeat top center;
    background-size: cover;
    color: white;
    padding: 40px 20px;

}

/* Overlay for readability */
.hero-section-3::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* slightly dark overlay */
    z-index: 0;
}

/* Make content above overlay */
.hero-section-3 > * {
    position: relative;
    z-index: 1;
}

/* Hero text styling */
.hero-section-3 h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section-3 p {
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop enhancements */
@media screen and (min-width: 768px) {
    .hero-section {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 80px 60px;
        min-height: 1000px;
    }

    .text-container {
        max-width: 55%;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section h2 {
        font-size: 1.5rem;
    }

    .button-section {
        flex-direction: row;
        gap: 20px;
        max-width: none;
    }

    .button-container-1 a,
    .button-container-2 a {
        font-size: 1.1rem;
    }
}

/* Optional hover effects for a more professional look */
.button-container-1 a:hover {
    background-color: #014f4f;
}

.button-container-2 a:hover {
    background-color: #505050;
    color: #fff;
}


@media screen and (min-width: 768px) {

    .hamburger {
        display: none;
    }

    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        width: auto;
        margin-left: auto;
        max-height: none;
        overflow: visible;
        background: none;
    }

    .nav-menu li a {
        padding: 14px 16px;
    }

    .intro-column{
    width:25%;
    }

    .services-column{
        width: 40%;
        box-sizing: border-box;
        padding: 10px;
        background-color: white;
        border: 2px solid #026464;
        margin: 10px;
    }
}
