@font-face {
    font-family: 'nationalbold';
    src: url('../fonts/national-bold-webfont.woff2') format('woff2'),
         url('../fonts/national-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;

}

@font-face {
    font-family: 'nationalregular';
    src: url('../fonts/national-regular-webfont.woff2') format('woff2'),
         url('../fonts/national-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;

}

body {
  color: #0c556a;
  font-family: 'nationalregular';
  font-size: 1.5rem;
  line-height: 1.3;
}

body.contact {
  background-color: #0c556a;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'nationalbold';
  font-weight: normal;
}

.h1,
h1 {
  font-size: calc(2rem + 1.5vw);
}

.h3,
h3 {
  font-size: calc(1.5rem + 1.5vw);
}

strong {
  font-family: 'nationalbold';
  font-weight: normal;
}

.accordion-item {
  border: none;
  color: #0c556a;
  margin-bottom: 1rem;
}

.accordion-item .accordion-header .accordion-button,
.accordion-item:first-of-type>.accordion-header .accordion-button,
.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed {
  background-color: #0c556a;
  border-radius: 2.5rem;
  color: #fff;
  font-family: 'nationalregular';
  font-size: 1.25rem;
  font-weight: normal;
}

@media only screen and (min-width: 768px) {
    .accordion-item .accordion-header .accordion-button,
    .accordion-item:first-of-type>.accordion-header .accordion-button,
    .accordion-item:last-of-type>.accordion-header .accordion-button.collapsed {
      font-size: 2rem;
    }
}

.accordion-button {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.accordion-button:focus,
.accordion-button:active {
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M8 2V14M2 8H14'/%3e%3c/svg%3e");
  background-size: 1.25rem;
  color: white !important;
  filter: brightness(0) invert(1);
  width: 1.25rem;
  height: 1.25rem;
}

@media only screen and (min-width: 768px) {
    .accordion-button::after {
      background-size: 1.5rem;
      width: 1.5rem;
      height: 1.5rem;
    }
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M8 2V14M2 8H14'/%3e%3c/svg%3e");
  transform: rotate(45deg);
}

.bg-body-secondary {
 background-color: #e5e5e5;
}

.border-primary {
  border-color: #0c556a !important;
}

.btn-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #0c556a;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
}

.btn-circle i.bi::before, 
[class^="bi-"]::before, 
[class*=" bi-"]::before {
  color: #fff;
  font-size: 36px;
  font-weight: bold !important;
  line-height: 1; 
  vertical-align: middle;
}

.btn-circle:hover {
  background-color: #faec1f;
}

.btn-circle:hover i.bi::before, 
.btn-circle:hover [class^="bi-"]::before, 
.btn-circle:hover [class*=" bi-"]::before {
  color: #0c556a !important;
}

.btn-lg {
  font-size: 1.25rem;
}

@media only screen and (min-width: 768px) {
    .btn-lg {
      font-size: 2rem;
      line-height: 1;
    }
}

.btn-primary {
  background-color: #0c556a;
  border: none;
  border-radius: 2rem;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #faec1f !important;
  color: #0c556a !important;
}

.btn-primary i.bi::before {
  color: white;
  transition: color 0.3s ease-in-out;
}

.btn-primary:hover i.bi::before,
.btn-primary:focus i.bi::before,
.btn-primary:active i.bi::before {
  color: #0c556a !important;
}

.btn-primary.btn-contact {
  background-color: #fff;
  color: #0c556a;
  padding: 0.5rem 1rem;
  line-height: 1.5 !important;
  font-size: 1.5rem;
}

.footer {
  background-color: #0c556a;
  color: #9dbac3;
  font-size: 1rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.footer a:hover {
  color: #faec1f;
  text-decoration: underline;
}

.footer strong {
  color: #fff;
}

.footer hr {
  border-top-color: #fff;
  opacity: 1;
}

.small-symbol {
  font-size: 60%;

}






#site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: transparent;
  transition: background 0.3s ease-in-out;
  z-index: 999;
}

body.menu-open #site-header {
  background: #0c556a;
}

.header-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

@media only screen and (min-width: 768px) {
  .logo img {
    height: 60px;
  }
}

.navbar-toggler {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffffff;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.navbar-toggler i.bi::before {
  color: #0c556a;
  font-size: 36px;
  font-weight: bold;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.navbar-toggler:hover {
  background-color: #faec1f;
}

.navbar-toggler:hover i.bi::before {
  color: #0c556a !important;
  transform: rotate(45deg);
}

body.menu-open .navbar-toggler {
  background-color: #faec1f;
}

body.menu-open .navbar-toggler i.bi::before {
  color: #0c556a !important;
  transform: rotate(45deg);
}

#hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5vw;
}

.hero-overlay {
  text-align: center;
  color: white;
  font-size: 2.5rem;
  padding: 0 1rem;
}

.hero-overlay h1 {
  font-family: 'nationalregular';
  opacity: 0;
  transform: translateY(10px);
  animation: fadeSlideUp 0.5s ease-out forwards;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero-video {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

wistia-player {
  width: 100%;
  height: auto;
}

/* Ensure the video fills the screen below the header */
#hero-video-test {
  position: fixed;
  top: 100px; /* Keeps space for the header */
  left: 0;
  width: 100%;
  height: calc(100vh - 100px); /* Full viewport minus header */
  overflow: hidden;
  z-index: -1; /* Puts the video behind other content */
}

/* Wistia Video Container */
.wistia_responsive_padding {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0; /* Remove the default aspect ratio padding */
}

/* Make the video fully cover the section */
.wistia_responsive_wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Ensure iframe covers the entire section */
.wistia_embed {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures full coverage */
}


body.index #site-header,
body.legal #site-header {
  background-color: #0c556a !important;
}

body.connect #hero-section {
  background-image: url("../images/connect-hero.jpg");
}

body.skipper #hero-section {
  background-image: url("../images/skipper-hero.jpg");
}

body.manager #hero-section {
  background-image: url("../images/manager-hero.jpg");
}

body.smartberth #hero-section {
  background-image: url("../images/smartberth-hero.jpg");
}

body.smartmeters #hero-section {
  background-image: url("../images/smart-meters-hero.jpg");
}

body.contact #site-header {
  background-color: #0c556a;
}

.fullscreen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #0c556a;
  display: none;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px;
  z-index: 998;
}

.fullscreen-nav {
  padding-top: 100px;
}

@media only screen and (min-width: 768px) {
  .fullscreen-nav {
    padding-left: 100px;
  }
}

.fullscreen-nav ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.fullscreen-nav ul li {
  margin: 10px 0;
}

.fullscreen-nav ul li a {
  color: white;
  text-decoration: none;
}

@media only screen and (min-width: 768px) {
  .fullscreen-nav ul li a {
    font-size: 2.5rem;
  }
}

.fullscreen-nav ul li a:hover {
  color: #faec1f;
}

.language-switch {
  color: #fff;
}

.language-switch a {
  font-size: 1.8rem;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.language-switch a:hover {
  color: #faec1f;
}





/* Remove rounded corners from input blocks */
.bg-white {
  background: white;
  border-radius: 0;
}

/* Remove input border focus shadow */
.form-control:focus {
  outline: none;
  box-shadow: none;
}

/* Change placeholder text color */
::placeholder {
  color: #0c556a !important;
  opacity: 1; /* Ensures consistent color across browsers */
}

/* White text for the privacy acceptance section */
.form-check-label,
.small {
  color: white;
  font-size: 0.75rem; /* Smaller text */
  line-height: 1.3;
}

/* Align privacy policy & buttons at the top */
.form-container .row.g-0.align-items-center {
  align-items: flex-start !important;
}

/* Style checkboxes */
.form-check-input {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

/* Scoped button styles for this form */
.form-buttons .form-btn {
  background: white;
  color: #0c556a;
  border-radius: 2rem; /* Rounded borders for buttons */
  padding: 0.5rem 1.5rem;
  font-size: 1.2rem;
  border: 2px solid #0c556a;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Yellow Hover Effect */
.form-buttons .form-btn:hover {
  background: #faec1f;
  color: #0c556a;
}