* {
  margin: 0;
  padding: 0;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  overflow: overlay;
  height: 100%;
  width: 100%;
  background-color: rgb(29, 29, 29);
  overflow-x: hidden;
}

h1 {
  font-size: 36px;
  text-transform: uppercase;
}

h1, h2, h3, h4, h5, p {
  color: rgb(189, 189, 189);
}

h3 {
  font-size: 24px;
  text-shadow: 0 0 8px rgba(46, 186, 199, 0.452);
}

p {
  margin: 0px;
  font-weight: 700;
  font-size: 20px;
  color: rgb(163, 163, 163);
}


ul {
  list-style: none;
  display: inline;
}

a {
  text-decoration: none;
  vertical-align: middle;
  text-align: center;
  color: rgba(255, 255, 255, 0.87);
}

a:hover {
  text-shadow: 0 0 10px rgba(46, 186, 199, 0.87);
}

li {
  display: inline;
  color: rgb(136, 136, 136);
  text-transform: uppercase;
  font-size: 16px;
  text-decoration: none;
}

img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.navbar a {
  text-decoration: none;
  vertical-align: middle;
  text-align: right;
  line-height: 3;
}

.navbar {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
}

/* Toggle checkbox - hidden */
#nav-toggle {
  display: none;
  z-index: 1300;
}

/* Horizontal top navbar */
.horizontal-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.678) 20%, transparent);
  z-index: 1100;
}

/* Horizontal top navbar */
.horizontal-navbar a{
  text-decoration: none;
  color: rgba(255, 255, 255, 0.87);
  vertical-align: middle;
  text-align: center;
  line-height: 3;
} 

/* Hamburger inside horizontal navbar */
.hamburger {
  position: relative;
  width: 30px;
  height: 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1200;
  top: 15px;
  right: 20px;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  height: 4px;
  background: white;
  border-radius: 1px;
  transition: 0.4s ease;
  z-index: 1099;
}

.hamburger span {
  width: 100%;
  /* Middle bar */
}

.hamburger::before,
.hamburger::after {
  position: relative;
  width: 100%;
  display: block;
}

.hamburger::before {
  top: 0;
}

.hamburger::after {
  bottom: 0;
}

/* Animate hamburger into X when checked */
#nav-toggle:checked ~ .horizontal-navbar .hamburger::before {
  transform: rotate(45deg);
  position: relative;
  top: 10px;
}

#nav-toggle:checked ~ .horizontal-navbar .hamburger span {
  opacity: 0;
}

#nav-toggle:checked ~ .horizontal-navbar .hamburger::after {
  transform: rotate(-45deg);
  position: relative;
  bottom: 10px;
}

/* Side navbar wrapper */
.navbar-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  width: auto;
  height: 100vh;
  background: #7a7a7a00;
  /* box-shadow: -2px 0 8px rgba(0,0,0,0.2); */
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 1099;
  padding: 0px 20px;
  overflow-y: auto; /* helpful for mobile */
  overflow-x: hidden;
}

/* Slide in side nav when checked */
#nav-toggle:checked ~ .navbar-wrapper {
  transform: translateX(0);
}

/* Navbar links - right aligned */
.navbar ul {
  list-style: none;
  width: 100%;
  padding: 0 8px;  /* adds right padding */
  margin: 0;
  text-align: right;     /* right-align text */
  border-right: 4mm ridge rgba(50, 200, 220, 0.6);
}

.navbar ul li {
  margin: 20px 0;
}

.navbar ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.87);
  font-weight: bold;
  font-size: 1.1em;
  display: block; /* important for aligning */
  font-size: 24px;
}


/* Overlay dims background */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

/* Show overlay when side nav is open */
#nav-toggle:checked ~ .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Optional: horizontal navbar content (e.g. site name) */
.horizontal-navbar .site-title {
  font-weight: bold;
  font-size: 1.2em;
  user-select: none;
}

/* Responsive */
@media (max-width: 400px) {
  .navbar-wrapper {
    width: 100%;
  }
}

.flex-container {
  display: flex;
  flex-wrap: nowrap;
  text-align: center;
  font-weight: 700;
}

.logoText, .logotext a {
  font-size: clamp(26px, 5vw, 36px); /* Responsive font size */
  background: linear-gradient(89deg, #19f38b, #19c1f3, #19f3b2, #19a4f3);
  background-size: 800% 800%;
  color:

  -webkit-animation: AnimationName 20s ease infinite;
  -moz-animation: AnimationName 20s ease infinite;
  -o-animation: AnimationName 20s ease infinite;
  animation: AnimationName 20s ease infinite;

  /* Use the text as a mask for the background. */
  /* This will show the gradient as a text color rather than element bg. */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

@-webkit-keyframes AnimationName {
  0%{background-position:0% 69%}
  50%{background-position:100% 32%}
  100%{background-position:0% 69%}
}
@-moz-keyframes AnimationName {
  0%{background-position:0% 69%}
  50%{background-position:100% 32%}
  100%{background-position:0% 69%}
}
@-o-keyframes AnimationName {
  0%{background-position:0% 69%}
  50%{background-position:100% 32%}
  100%{background-position:0% 69%}
}
@keyframes AnimationName {
  0%{background-position:0% 69%}
  50%{background-position:100% 32%}
  100%{background-position:0% 69%}
}

.navbar ul {
  list-style: none;
  /* display: inline; */
}

.navbar li {
  margin-left: 2.5rem;
  /* display: inline; */
  color: rgb(136, 136, 136);
  text-transform: uppercase;
  font-size: 16px;
}

.flex-item-left {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 25%;
  flex: 25%;
  text-transform: uppercase;
  font-size: 30px;
}

.flex-item-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  flex: 50%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s ease-out;
}

.flex-item-right {
  display: flex;
  justify-content: right;
  align-items: center;
  padding: 10px;
  padding-right: 25px;
  flex: 25%;
}


.navbarBottom {
  background: transparent;
  position: fixed;
  width: 100%;
  bottom: 50px;
  left: 0;
  z-index: 10;
  /* overflow: hidden; */
}

.floating-menu {
  position: fixed;
  bottom: 20px;
  left: 20px;
  text-align: center;
  z-index: 1000;
}

.menu-container {
  position: relative;
  display: inline-block;
}

.menu-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
}

.dropdown {
  position: absolute;
  left: 100%;
  bottom: 0;
  margin-left: 0px;
  background: #242424;
  border: 1px solid rgb(53, 53, 53);
  color: white;
  border-radius:5px 5px 5px 0px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;

  opacity: 0;
  pointer-events: none;

  transform: translateX(-20px);
  height: 0;
  transition: 
    transform 0.3s ease,
    height 0.3s ease 0.3s,  /* height transition starts after transform */
    opacity 0.3s ease;
}

.menu-container.open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  height: 120px;  /* set to dropdown's full height */
}


.dropdown a {
  padding: 10px 15px;
  text-decoration: none;
  color: #e0e0e0;
  border-bottom: 1px solid rgb(53, 53, 53);
  transition: background 0.2s;
  text-align: left;
  white-space: nowrap;
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  background-color: rgb(53, 53, 53);
}

.menu-button {
  width: 42px;           /* fixed width */
  height: 42px;          /* fixed height to match width */
  background-color: rgba(46, 186, 199, 0.87);
  color: #1a1a1a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;            /* remove padding */
  box-sizing: border-box;
  box-shadow: 0 0px 10px rgba(46, 186, 199, 0.452);
  animation: pulse-glow 2s infinite ease-in-out;
}

.menu-button svg {
  width: 24px;
  height: 24px;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 5px rgba(46, 186, 199, 0.2);
  }
  50% {
    box-shadow: 0 0 8px rgba(46, 186, 199, 0.6),
                0 0 15px rgba(46, 186, 199, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(46, 186, 199, 0.2);
  }
}

.menu-icon {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

@media (max-width: 600px) {
  .menu-button {
    font-size: 14px;
    padding: 8px 16px;
  }
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background-color: #242424;
  border: solid 2px rgb(53, 53, 53);
  border-radius: 5px;
  cursor: pointer;
  z-index: 999;
  
  color: rgb(134, 134, 134);   

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.back-to-top:hover {
  background-color: rgb(53, 53, 53);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}


.back-to-top svg {
  width: 24px;
  height: 24px;
}


.flex-item-left-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 25%;
  flex: 25%;
  text-transform: uppercase;
  font-size: 30px;
}

.annotation {
  background-color: #04AA6D;
  border: none;
  border-radius: 50px;
  color: white;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

/* ---------------------------- */

.heroWrapper {
  display: flex;
  flex-wrap: nowrap;
  text-align: center;
  justify-content: center;
  width: 100%;
  height: 900px;
  background-color: rgb(10, 10, 10);
  padding-bottom: 5%;
}

.wrapperOverlay {
  position: absolute;
  width: 100%;
  height: 900px;
  background: linear-gradient(0deg, rgb(10, 10, 10), transparent);
  z-index: 1;
}

.heroImage {
  position: absolute;
  width: 100%;
  height: 900px;
  background-repeat: no-repeat;
  background: url("/images/ContactHero.jpg") no-repeat top/cover;
}

.heroTextWrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-top: 25%;
}

.galleryWrapper {
  display: flex;
  flex-wrap: nowrap;
  text-align: center;
  flex-direction: column;
  width: 100%;
  height: auto;
  background-color: rgb(10, 10, 10);
  gap: 2px;
  padding-bottom: 5%;
}

.galleryTextWrapper {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.galleryRow {
  padding: 2% 10%;
  display: flex;
  flex-wrap: wrap; /* allow items to wrap */
  justify-content: center;
  gap: 16px; /* slightly larger spacing between items */
}

.item {
  background-color: rgb(15, 15, 15);
  border: 1px solid rgba(46, 186, 199, 0.87);
  transition: box-shadow 0.3s ease, border 0.3s ease;
  flex: 0 0 calc(33.333% - 10.67px); /* 3 per row with spacing */
  box-sizing: border-box;
  text-align: center;
}

.item:hover {
  box-shadow: 0 0 10px rgba(46, 186, 199, 0.466);
  border: 1px solid rgba(56, 224, 240, 0.87);
}

/* -------------Gallery Modal Styling------------- */

.modal {
  display: none;
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
}

.modal-image-wrapper {
  position: relative;
  display: inline-block;
  margin-top: 20vh;
  max-width: 100%;
  width: auto;
}

.modal-content {
  width: 100%;
  height: auto;
  max-height: 80vh;
  border-radius: 0px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  border: solid 20px #cdcdcd;
}

.close {
  position: absolute;
  top: 4%;
  right: -2.5%;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10%;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .modal-image-wrapper {
    max-width: 95%;
  }

  .close {
    font-size: 24px;
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
}


/* -------------Gallery Modal END------------- */


.itemTextWrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 10%;
  z-index: 1;
}

.itemImage {
  position: relative;
  width: 100%;
  height: 200px;
  background-repeat: no-repeat;
  border-bottom: solid 1px rgba(46, 186, 199, 0.87);
}

/* Two-Column Layout */

.sectionWrapper {
  display: flex;
  flex-wrap: nowrap;
  text-align: center;
  flex-direction: column;
  width: 100%;
  height: auto;
  background-color: rgb(10, 10, 10);
  gap: 2px;
  padding-bottom: 5%;
}

.sectionTextWrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2;
  padding: 2% 25% 2% 25%;
}

.sectionTwoColumnWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2% 10% 2% 10%;
}

.sectionFormWrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2;
  padding: 2% 25% 2% 25%;
}

.leftColumn {
  flex: 50%;
  flex-direction: column;
}

.rightColumn {
  flex: 50%;
  flex-direction: column;
  gap:10px;
}

/* Form CSS */

.formWrapper {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  background-color: #7e7e7e13;
  padding: 20px;
  height: auto;
  color: white;
}

label {
  display: inline-block;
  margin-bottom: 5%;
}

label:not(:first-child) {
  margin-top: 5%;
}

select:focus {
  outline: 3px solid rgba(46, 186, 199, 0.87);
  box-shadow: 0 0 10px rgba(46, 186, 199, 0.87);
}

textarea:focus {
  outline: 3px solid rgba(46, 186, 199, 0.87);
  box-shadow: 0 0 10px rgba(46, 186, 199, 0.87);
}

input[type=text], select {
  appearance: none;
  width: 100%;
  font-size: 1.15rem;
  padding: 0.675em 6em 0.675em 1em;
  background-color: #202020;
  border: 1px solid rgba(119, 119, 119, 0);
  border-radius: 3px;
  color: #ffffff;
  cursor: pointer;
}

input[type=email], input {
  appearance: none;
  width: 100%;
  font-size: 1.15rem;
  padding: 0.675em 6em 0.675em 1em;
  background-color: #202020;
  border: 1px solid rgba(119, 119, 119, 0);
  border-radius: 3px;
  color: #ffffff;
  box-sizing: border-box;
}

input:active {
  border: 1px solid rgba(46, 186, 199, 0.87);
}

select:active {
  border: 1px solid rgba(46, 186, 199, 0.87);
}

input[type=textarea], textarea {
  width:400px; height:200px;
  border: 1px solid rgba(119, 119, 119, 0);
  border-radius: 3px;
  background-color: #202020;
  padding: 0.675em 6em 0.675em 1em;
  color: #ffffff;
}

input[type=submit] {
  width: 100%;
  background-color: rgba(38, 145, 155, 0.87);
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: rgba(46, 178, 190, 0.87);
  box-shadow: 0 0 8px rgba(46, 186, 199, 0.507);
}


body::-webkit-scrollbar {
  width: 6px;               /* width of the entire scrollbar */
  background-color: rgba(0, 0, 0, 0);
  scrollbar-width: 6px; /* Firefox */
  -ms-overflow-style: 6px; /* IE 10+ */

}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: none !important;
  background: black;        /* color of the tracking area */
  display: none;
}

body::-webkit-scrollbar-thumb {
  background-color: rgba(128, 128, 128, 0.281);    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
}

/* Textarea Scrollbar */

textarea::-webkit-scrollbar {
  width: 6px;               /* width of the entire scrollbar */
  background-color: rgba(0, 0, 0, 0);
  scrollbar-width: 6px; /* Firefox */
  -ms-overflow-style: 6px; /* IE 10+ */

}

textarea::-webkit-scrollbar-track {
  -webkit-box-shadow: none !important;
  background: black;        /* color of the tracking area */
  display: none;
}

textarea::-webkit-scrollbar-thumb {
  background-color: rgba(128, 128, 128, 0.281);    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
}


.footer {
  display: flex;
  flex-wrap: nowrap;
  text-align: center;
  flex-direction: column;
  height: auto;
  background-color: rgb(25, 99, 105);
  background-image: url(/images/FooterBackground.jpg), linear-gradient(90deg, rgba(10, 10, 10, 0.452), transparent);
  background-repeat: no-repeat;
  padding: 5%;
  padding-right: 10%;
  padding-left: 10%;
  color: white;
  box-shadow: 0px 0px 500px rgba(13, 71, 148, 0.801);
  z-index: 30;
}

.footerColumnsRow {
  display: flex;
  flex-wrap: nowrap;
  text-align: center;
  flex-direction: row;
  border-bottom: solid 2px rgba(126, 126, 126, 0.486);
  margin: 2%;
  padding-bottom: 1%;
  font-size: 20px;
}

.footerColumnsRow a {
  font-size: 20px;
  margin-left: 25px;
  font-weight: 700;
}

.footerColumnsRow a:not(:first-child) {
  margin-left: 50px;
}

.footerColumn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  width: 25%;
  flex: 33%;
  text-transform: uppercase;
  font-size: 30px;
}

.footerUnderRow {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: row;
  margin-left: 2%;
}

.footerUnderColumn {
  display: flex;
  flex: 1 1 auto;
  position: relative;
  text-align: left;
}

.copyrightWrapper, .copyrightWrapper p {
  margin: 2px;
  margin-left: 10px;
  font-size: 14px;
  flex: auto;
  flex-direction: column;
  text-align: left;
}

/* Responsive layout - makes a one column-layout instead of a two-column layout */
@media (max-width: 800px) {
  .flex-item-right, .flex-item-left {
    flex: 33%;
  }
}

/* Responsiveness Old Macs */
@media (min-width: 1440px) {
  .flex-item-center{
      max-height: none;
      top: 0;
      position: relative;
      float: right;
      width: fit-content;
      background-color: transparent;
  }
  .menu li{
      float: left;
  }
  .menu a:hover{
      background-color: transparent;
      color: var(--gray);
  }

  .hamb{
      display: none;
  }
  
  .galleryRow {
      flex-flow: wrap-reverse;
  }
}


/* Responsiveness */
@media (min-width: 820px) {
    .flex-item-center{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }
    .menu li{
        float: left;
    }
    .menu a:hover{
        background-color: transparent;
        color: var(--gray);
    }

    .hamb{
        display: none;
    }
    
    .galleryRow {
        flex-flow: wrap-reverse;
    }
}

/* === Mobile first adjustments === */
@media screen and (max-width: 767px) {
  .heroWrapper,
  .sectionTwoColumnWrapper,
  .footerColumnsRow,
  .galleryRow {
    flex-direction: column;
  }

  .leftColumn,
  .rightColumn,
  .footerColumn {
    flex: 100%;
    width: 100%;
    padding: 10px 0;
  }

  .item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .formWrapper,
  .itemImage,
  input[type="textarea"],
  textarea {
    width: 100% !important;
  }

  .footerUnderRow {
    flex-direction: column;
    align-items: start;
    margin-left: 0;
    margin-top: 5%;
  }

  .copyrightWrapper, .copyrightWrapper p {
  font-size: 14px;
  margin-left: 0px;
  text-align: left;
}
}


@media screen and (max-width: 767px) {
  .navbar-wrapper {
    width: 100%;
    padding: 60px 20px;
    background: #0c0c0c;
  }

  .horizontal-navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
  }

  .horizontal-navbar a {
    margin-left: 50px;
  }

  .hamburger {
    top: 0px;
    right: 30px;
  }
}

@media screen and (max-width: 767px) {
  .navbar-wrapper {
    width: 100%;
    padding: 0px;
  }

  .navbar a {
    text-align: center;
  }

  .horizontal-navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
  }

  .sectionFormWrapper {
  padding: 0%;
}

}

input[type="text"],
textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}