/* Common Styles (shared across all pages) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  color: #333;
  line-height: 1.6;
}

.top-bar {
  background-color: #333;
  color: white;
  padding: 10px 0;
  font-size: 14px;
  position: relative;
  z-index: 9999;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.top-bar .container .contact-cta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
  }

.top-bar .container > div span {
  display: flex;
  transition: 0.3s ease;
}

.top-bar .container div span:hover,
.top-bar .container div span:focus {
  filter: opacity(50%);
}

.top-bar .container .socials a > #facebook-img:hover {
  filter: invert(30%) sepia(96%) saturate(1654%) hue-rotate(187deg)
    brightness(99%) contrast(92%);
}

.top-bar .container .socials a > #instagram-img:hover {
  filter: invert(32%) sepia(19%) saturate(6612%) hue-rotate(231deg)
    brightness(88%) contrast(90%);
}

.top-bar .container .socials a > #tiktok-img:hover {
  filter: invert(9%) sepia(74%) saturate(7459%) hue-rotate(335deg)
    brightness(121%) contrast(111%);
}

.top-bar a {
  color: white;
  text-decoration: none;
  margin-left: 5px;
}

.top-bar:nth-child(1) img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.top-bar .socials a {
  margin-left: 10px;
}

.top-bar .socials img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

header {
  background: #f4f4f4;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
   {
     {
      /* position: fixed;
  right: 0;
  left: 0;
  top: 0; */
    }
  }
  background: white;
  max-height: 10%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav .logo {
  font-size: 24px;
  position: relative;
  z-index: 100;
  display: flex;
  margin-left: 20px;

  width: 10%;

  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: black;
}

nav .logo img {
  width: 100%;
  max-width: 60px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  height: auto;
  aspect-ratio: 1/1;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 20px;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  position: relative;
}

.nav-links li a:not(.nav-link):hover::after,
.nav-links li a:not(.nav-link):focus::after {
  opacity: 1;
  transform: translate3d(0, 0.2em, 0);
}
.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.15em;
  background-color: #f39200;
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
}

.nav-links li a:is(.nav-link)::after {
  opacity: 1;
  height: 0.15em;
  bottom: -0.2em;
}

.cta {
  background: #36a096;
  color: white !important;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}

footer {
  padding: 20px;
  background: #333;
  color: white;
  text-align: center;
}

.hero {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
      padding: 80px 20px;

}

.hero h1 {
  font-size: 48px;
}

.hero p {
  font-size: 24px;
  margin: 10px 0;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin: 20px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px;
  transition: 0.3s;
}

/* Hide Nav Links on Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #f4f4f4;
    padding: 20px;
  }

  /* When links are active */
  .nav-links.active {
    display: flex;
    top: 0;
    height: 100%;

    font-size: 20px;
    gap: 0.7rem;

    z-index: 99;
  }

   {
     {
      /* .nav-links.active li a:hover {
    background-color: #f39200bf;
    color: white !important;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
  } */
    }
  }

  .nav-links.active li a.nav-link {
    font-size: 20px;
  }

  .nav-links.active li:nth-child(1) {
    margin-top: 150px;
  }

  .burger {
    display: flex;
    z-index: 100;
  }
}

/* Burger animation when clicked */
.burger.toggle div:nth-child(1) {
  transform-origin: top left;
  transform: rotate(45deg);
}

.burger.toggle div:nth-child(2) {
  opacity: 0;
}

.burger.toggle div:nth-child(3) {
  transform-origin: left;
  transform: rotate(-45deg) translate(2px, -5px);
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
  .top-bar .container {
    justify-content: center;
  }

   {
     {
      /*
  .top-bar .socials {
    margin-top: 10px;
  } */
    }
  }

  nav .nav-links {
    flex-direction: column;
    text-align: center;
    margin: 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  nav .logo {
    width: 100%;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta {
    padding: 10px 15px;
    font-size: 16px;
  }
}

@media (max-width: 396px) {
  .top-bar .container .contact-cta {
    justify-content: center;
  }

  .top-bar .socials {
    margin-top: 10px;
  }
  /* .top-bar .container {
    flex-direction: column;
    text-align: center;
  }*/
}
