body {
  font-family: 'Encode Sans', sans-serif;
  background: #0b0c0f;
  color: #ebecee;
  margin: 0;
}
html, body { min-height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.homepage-carousel { flex-shrink: 0; }
.homepage-carousel {
  position: relative;
  min-height: 480px;
  height: min(74vh, 850px);
  overflow: hidden;
  background: #0b0c0f;
}
.carousel-images, .carousel-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.carousel-image { object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.carousel-image.is-active { opacity: 1; }
.homepage-carousel::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 30%, rgba(11,12,15,.25) 55%, rgba(11,12,15,.94) 100%);
}
.carousel-caption { position: absolute; z-index: 1; left: clamp(24px, 6vw, 120px); bottom: 64px; right: 24px; }
.carousel-eyebrow { color: #b2c0e8; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.carousel-caption h2 { font-size: clamp(2.2rem, 5vw, 5rem); font-weight: 500; line-height: 1.1; margin: 0 0 20px; }
.carousel-caption a { color: #ebecee; text-decoration: none; border-bottom: 1px solid #b2c0e8; padding: 6px 0; display: inline-block; }
.carousel-caption a:hover { color: #ff9e4a; }
.carousel-controls { position: absolute; z-index: 2; right: clamp(24px, 4vw, 80px); bottom: 24px; display: flex; align-items: center; gap: 12px; }
.carousel-controls button { min-width: 44px; min-height: 44px; border: 1px solid #284088; border-radius: 50%; background: rgba(11,12,15,.7); color: #284088; cursor: pointer; font: inherit; }
.carousel-controls button:hover { border-color: #ff9e4a; color: #ff9e4a; }
#carousel-prev, #carousel-next {
  position: relative;
  padding: 0;
  font-size: 0;
}
#carousel-prev::before, #carousel-next::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
#carousel-prev::before { transform: translate(-50%, -50%) translateX(1.06px) rotate(-135deg); }
#carousel-next::before { transform: translate(-50%, -50%) translateX(-1.06px) rotate(45deg); }
#carousel-pause { border-radius: 24px; padding: 0 16px; }
#carousel-count { font-size: .8rem; color: #284088; }
.homepage-carousel :focus-visible { outline: 2px solid #ff9e4a; outline-offset: 5px; }
@media (max-width: 600px) {
  .homepage-carousel { min-height: 520px; height: 72svh; max-height: 800px; }
  .carousel-caption { bottom: 108px; }
  .carousel-eyebrow { font-size: .7rem; letter-spacing: .08em; }
  .carousel-controls { left: 24px; right: auto; }
}
@media (prefers-reduced-motion: reduce) { .carousel-image { transition: none; } }
.homepage-intro {
  display: grid;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  align-content: center;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px clamp(24px, 6vw, 72px);
  text-align: left;
}
.intro-heading h2 {
  margin: 0;
  color: #b2c0e8;
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
}
.intro-copy { align-self: center; }
.intro-copy p {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #ebecee;
}
.intro-contact {
  display: inline-block;
  padding: 8px 0;
  color: #ff9e4a;
  text-decoration: none;
  border-bottom: 1px solid #ff9e4a;
  line-height: 1.6;
}
.intro-contact:hover { color: #ebecee; border-color: #ebecee; }
.intro-contact:focus-visible { outline: 2px solid #ff9e4a; outline-offset: 6px; }
@media (max-width: 760px) {
  .homepage-intro { grid-template-columns: 1fr; gap: 28px; }
}

.carousel-caption a i, .intro-contact i { margin-left: 6px; font-size: .85em; }

@media (min-width: 761px) {
  .intro-heading h2 { font-size: clamp(1.65rem, 2.5vw, 2.5rem); }
}

@import url("https://fonts.googleapis.com/css2?family=Oregano&display=swap");

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 40px;
  background-color: #0b0c0f;
}

nav .logo img {
  height: 64px; /* Adjust size as needed */
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  position: relative;
  margin-left: 50px;
}

nav ul li a {
  text-decoration: none;
  color: #b2c0e8;
  font-size: 1.5rem;
  text-transform: uppercase;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff9e4a;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* Aligns the dropdown below the parent link */
  left: 50%;
  transform: translateX(-50%);
  background-color: #070b0b;
  padding: 5px 0;
  list-style: none;
  min-width: fit-content; /* Adjust width to fit content */
  white-space: nowrap; /* Prevent text from wrapping */
  text-align: center;
  z-index: 100; /* Ensures it stays above other elements */
}

.dropdown-menu li {
  margin: 10px;
}

.dropdown-menu li a {
  padding: 8px 15px;
  font-size: 1.5rem; /* Smaller font size to fit better */
  color: #b2c0e8;
  text-transform: none;
  display: inline;
}

.dropdown:hover > a,
.dropdown:focus-within > a {
  color: #ff9e4a; /* Highlight parent link when dropdown is active */
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

/* Fix spacing between dropdown and parent link */
.dropdown a {
  display: flex; /* Enables alignment of text and icon */
  align-items: center; /* Vertically centers items */
}

.dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dropdown span i {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  box-sizing: border-box;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  font-size: inherit;
  transform: translateY(-0.12em) rotate(45deg);
  transition: transform 0.2s ease-in-out;
}

.dropdown span i::before {
  content: none;
}

.dropdown:hover span i,
.dropdown:focus-within span i {
  transform: translateY(0.12em) rotate(225deg);
}

.Logo {
  display: flex;
  align-items: center; /* Vertically center logo and text */
  justify-content: space-between; /* Space out logo and website name */
  padding: 0px;
}

.Logo .logo img {
  height: 4rem; /* Adjust to desired logo size */
  width: auto;
}

.Logo .logo-mobile img {
  display: none;
}
.Logo .website-name h1 {
  font-family: "Oregano", cursive;
  font-weight: 400;
  font-size: 3rem;
  color: #b2c0e8; /* Adjust text size */
  text-transform: none;
  margin: 20px 40px;
  line-height: 1.15;
}

.nav-link {
  text-decoration: none;
  color: #b2c0e8;
  font-size: 1.5rem;
  text-transform: uppercase;
  transition: color 0.3s;
  cursor: default; /* Prevent pointer from changing to a hand */
}

.nav-link:hover {
  color: #ff9e4a; /* Change hover color to match your style */
}

#burger,
#nav-mobile,
#burger-check {
  display: none;
}

#nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #0b0c0f;
  z-index: 1001;
  padding: 10vh 40px;
  flex-direction: column;
  align-items: end;
  gap: 1.25rem;
  font-size: 2rem;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;

  a {
    color: #d2dbfd;
    text-decoration: none;
  }
}
#nav-mobile::-webkit-scrollbar {
  display: none;
}

#burger {
  cursor: pointer;
}

@media (max-width: 1080px) {
  #desktop-nav {
    display: none;
  }
  #burger {
    display: block;
    z-index: 1002;
    font-size: 2rem;
    color: #d2dbfd;
  }
  #burger-check:checked ~ #nav-mobile {
    display: flex;
  }

  .Logo .website-name {
    display: none;
  }
  .Logo .logo img {
    display: none;
  }
  .Logo .logo-mobile img {
    display: flex;
    max-width: 30vw;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (hover: none) and (pointer: coarse) {
  #desktop-nav {
    display: none;
  }
  #burger {
    display: block;
    z-index: 1002;
    font-size: 2rem;
    color: #d2dbfd;
  }
  #burger-check:checked ~ #nav-mobile {
    display: flex;
  }

  .Logo .website-name {
    display: none;
  }
  .Logo .logo img {
    display: none;
  }
  .Logo .logo-mobile img {
    display: flex;
    max-width: 30vw;
    height: auto;
    max-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (orientation: landscape) {
  #nav-mobile {
    padding: 25vh 40px;
  }
}

nav .Logo .home-link,
nav .Logo .home-link:visited,
nav .Logo .home-link:hover,
nav .Logo .home-link:active {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.Logo .home-link:focus-visible {
  outline: 2px solid #ff9e4a;
  outline-offset: 6px;
  border-radius: 4px;
}

footer {
  position: static;
  bottom: 0;
  background-color: #0b0c0f;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

footer .social-links {
  display: flex;
  gap: 40px;
  padding-bottom: 20px;
  padding-top: 20px;
}

footer .social-links a {
  color: #284088;
  font-size: 1.8rem;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

footer .social-links a:hover {
  transform: scale(1.1); /* Slight zoom effect */
  color: #ff9e4a; /* Highlight on hover, customize to your palette */
}

.footer-link {
  position: absolute;
  right: 25px; /* Adjust to fine-tune spacing from the edge */
  bottom: 0;
  padding-bottom: 25px;
  color: #284088;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.mobile-socials {
  display: none;
  color: #284088;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-link:hover,
.mobile-socials:hover {
  color: #ff9e4a; /* Change hover color to match your theme */
}

@media (max-width: 1080px) {
  .footer-container {
    gap: 32px;
    padding: 20px 16px;
  }

  footer .social-links {
    display: none;
  }

  .mobile-socials {
    display: inline-block;
  }

  .footer-link {
    position: static;
    display: inline-block;
    padding-bottom: 0;
  }
}

@media (hover: none) and (pointer: coarse) {

  footer {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #070b0b;
  }
  footer .social-links {
    padding-top: 20px;
    flex-direction: row;
  }
}

.footer-language {
  position: absolute; left: 25px; top: 50%; transform: translateY(-50%);
  display: flex; gap: 6px; padding: 0; background: transparent;
  font-size: .95rem; color: #284088;
}
.footer-language a { color: #284088; text-decoration: none; padding: 8px 0; }
.footer-language a[aria-current="page"] { color: #b2c0e8; }
.footer-language a:hover { color: #ff9e4a; }
.footer-language a:focus-visible { outline: 2px solid #ff9e4a; outline-offset: 4px; }
.footer-language span { padding: 8px 0; }
@media (max-width: 1080px) {
  .footer-container { flex-wrap: wrap; gap: 20px; }
  .footer-language { position: static; transform: none; }
}
