/* Basic Reset */
body, html {
    font-family: Arial, Helvetica, sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Navbar Styling */
nav {
    /*background-color: #333;*/
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    position: relative;
    align-items: flex-end;
    z-index: 2;
}
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* This will allow items to wrap to the next line if necessary */
}

nav ul li {
    position: relative;
    text-wrap: nowrap;
    flex-shrink: 1;
    text-wrap: nowrap;
    flex-grow: 1; /* Allow the li to grow and shrink */
    text-align: center; /* Center text within the li */
    box-sizing: border-box; /* Ensures padding is included in the width */
}
nav ul li a {
    text-decoration: none;
    color: #000;
    padding: 11px 15px;
    transition: background-color 0.3s ease;
}
nav ul li a:hover {
    background-color: rgba(55, 55, 55, 0.5);
}

/* Sub-menu Styling */
nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    width: max-content;
    padding-top: 10px;
    text-align: left;
}
nav ul li:hover > ul {
    display: block;
    transition: none; /* Disable transition for the submenu */
}

nav ul ul li {
    width: 100%;
    display: block;
    padding: 10px 0;
    text-align: left;
}
.nav li a.expandable:after {
    content: '\25BC';
    margin-left: 5px;
    display: inline-block;
}
.menu-icon {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #191919;
    z-index: 1;
}
.menu-icon button {
    position: fixed;
    top: 7px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    color: #fff;
    background: #191919;
    border: none;
}

/* Content Styling */
.container {
    max-width: 960px;
    margin: 10px auto;
    padding: 0 20px;
}
.content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.logo {
    width: 100%;
    text-align: center;
    margin: 30px auto 10px auto;
}
.logo img {
    max-width: 300px;
}
.landing-container {
    position: relative;
    z-index: -1;
}
.landing-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.landing-image-container img {
    max-width: 100%;
}
.landing-image-container h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1.5);
}
.three-column {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center; 
    margin-bottom: 50px;
}
.three-column div {
    flex: 1;
}
.image-container img {
    max-width: 100%;
    height: auto;
}
.three-column .image-container {
    text-align: center;
    position: relative;
    transition: opacity 0.3s ease;
}
.three-column .image-container img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5); 
    opacity: 0; 
    transition: opacity 0.3s ease; 
}
.overlay:hover {
    opacity: 0.7;
}
.three-column .image-container a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1.5);
}
.image-container:hover .overlay,
.image-container:hover .overlay-text {
    opacity: 1; /* Show overlay and text on hover */
}
.two-column {
    display: flex;
    flex-direction: row;
}
.text {
    flex: 1;
    margin-right: 20px;
}
.fact-sheet p {
    
    margin: 10px auto;
}
.image-container {
    flex: 1;
}
.footer-top {
    position: relative;
    display: block;
    height: 60px;
    width: 100%;
    background: #555;
    color: #fff;
    padding: 20px 25px;
    text-align:center;
    margin-top: 50px;
}
.footer a, .footer p {
    color: #fff;
    margin: initial;
}
.footer .footer-bottom {
    width: 100%;
    height: 100px;
    padding: 15px 25px;
}
.button2 {
    display: block;
    padding: 10px;
    background: rgb(129,52,54);
    color: #fff;
    border-radius:5px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}
.button2:hover {
    background: #191919;
    color: #fff;
}
.banner-image {
    margin: 50px auto;
}
.banner-image img {
    max-width: 933px;
}

/***************
****Form Row****
***************/
.form-container {
    margin-top: 10px;
    width: 100%;
    min-width: 916px;
}
.FormRow {
   position: relative;
   margin-bottom: 6px;
   display: block;
   padding-left: 40%;
}

/* Make sure things are aligned */
.FormRow label,
.FormRow input,
.FormRow select,
.FormRow textarea {
   vertical-align: middle;
}

/* Left Column, becomes overlay in Mobile */
.FormRow > label {
   display: inline-block;
   width: 40%;
   float: left;
   text-align: right;
   box-sizing: border-box;
   padding-right: 10px;
   position: absolute;
   left: 0px;
   top: 50%;
   transform: translateY(-50%);
   -webkit-transform: translateY(-50%);
}
.FormRow textarea {
    width: 300px;
    min-height: 75px;
    padding: 5px;
}
.FormRow > label.NoWrap {
   white-space: nowrap;
   width: auto;
   left: auto;
   right: 60%;
}
.FormRow label.Required::before {
   content: "* ";
   color: rgb(129,52,54);
}
.FormRow input[type="text"] {
    padding: 5px;
    width: 300px;
    border-radius: 5px;
}
.FormRow input[type="submit"] {
    background: rgb(129,52,54);
    color: #fff;
    border-radius: 5px;
    padding: 15px 25px;
    border: none;
    transition: background 0.3s ease, color 0.3s ease;
    margin-left: 38%;
}
.FormRow input[type="submit"]:hover {
    background: #191919;
    cursor: pointer;
}
@media(max-width: 760px) {
    h1 {
        font-size: 3vh;
    }
    .two-column {
        flex-direction: column;
    }
    .three-column {
        display: none;
    }
    .media {
        display: flex !important;
        flex-direction: column;
    }
    .media .image-container {
        min-width: 80%;
        z-index: 0;
    }
    .media .image-container:last-child {
        margin-top:20px;
    }
    .media h3 {
        font-size: 22px;
    }
    .three-column.gallery {
        display: block;
        flex: column;
        z-index: -1;
    }
    .three-column.gallery div {
        margin: 10px auto;
    }
    
    .menu-icon {
        display: block;
    }
    .menu-icon button {
        display: block;
    }
    .nav {
        position: fixed;
        top: 50px;
        left: 0px;
        width: 100%;
        justify-content: flex-end;
    }
    .nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        background-color: #191919;
        color: #fff;
        z-index: 1;
        width: 100%;
    }
    .nav ul.active {
        display: flex;
    }
    .nav li {
        border: none;
        margin: 5px auto;
        width: 100%;
        text-align: center;
    }
    .nav a {
        display: block;
        color: #fff;
        width: 100%;
    }
    .sub-menu {
        display: none;
        margin-top: 30px;
    }
    .sub-menu li {
        padding: 0px;
    }
    .nav ul li:hover {
        
    }
    .nav ul li:hover + #last-nav-link {
        margin-top: 355px;
    }
    .logo {
        margin-top: 60px;
    }
    .banner-image img {
        width: 100%;
        max-width: initial
    }
    .text {
        margin-bottom: 50px;
    }
    .footer-bottom .three-column {
        display: flex;
    }
    .form-container {
        min-width: initial;
    }
    .FormRow {
        padding: 0px;
        margin-top: 20px;
    }
    .FormRow label {
        display: block;
        position: relative;
        width: 100%;
        text-align: left;
    }
    .FormRow input[type="text"], .FormRow textarea {
        width: 100%;
        display: block;
    }
    .FormRow input[type="submit"] {
        width: 100%;
        margin-left: 0px;
    }

}

