* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background-color: #ddd;
  color: #35424a;
  text-size-adjust: 100%;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

header {
  background: #ddd;
  padding: 1px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: background 0.3s ease;
}

.logo img {
  width: 100px;
  height: auto;
  cursor: pointer;
}

.hamburger {
  cursor: pointer;
  display: none;
}

.hamburger input {
  display: none;
}

.hamburger svg {
  /* The size of the SVG defines the overall size */
  height: 2.3em;
  /* Define the transition for transforming the SVG */
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
  fill: none;
  stroke: black;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  /* Define the transition for transforming the Stroke */
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
  stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
  transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

.hamburger input:not(:checked) + svg {
  transform: rotate(0deg);
}

.hamburger input:not(:checked) + svg .line-top-bottom {
  stroke-dasharray: 12 63;
  stroke-dashoffset: 0;
}

nav a {
  color: black;
  text-decoration: none;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 40px;
  cursor: pointer;
}
nav ul li {
  position: relative;
}
nav ul li a {
  text-decoration: none;
}
nav ul li a:hover {
  color: #f5a623;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ddd;
  padding: 10px 0;
  border-radius: 6px;
  min-width: 220px;
  list-style: none;
  z-index: 999;
  max-height: 300px;
  overflow-y: auto;
}
.submenu li a {
  display: block;
  padding: 10px 15px;
  color: black;
  white-space: nowrap;
}

.submenu li a:hover {
  color: #f5a623;
}

.dropdown:hover .submenu {
  display: block;
}

.dropdown i {
  margin-left: 70px;
  font-size: 0.8em;
  display: none;
}

hr {
  width: 60%;
  margin: 40px auto;
  border: none;
  height: 1px;
  background-color: #ddd;
}

.site-footer {
  background: #35424a;
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 40px;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 150px;
  max-width: 1100px;
  margin: auto;
}
.site-footer h3 {
  margin-bottom: 10px;
  color: #f5a623;
}
.footer-contact p,
.footer-about p {
  font-size: 14px;
  line-height: 1.6;
}
.footer-contact a {
  color: #fff;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin: 6px 0;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: none;
}
.footer-contact i {
  margin-right: 8px;
  color: #f5a623;
}
.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.contact-section {
  padding: 4rem 2rem;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #35424a;
}

.contact-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #35424a;
}

.contact-details p {
  margin: 0.5rem 0;
}

.contact-details a {
  color: #f5a623;
  text-decoration: none;
  font-style: italic;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #f5a623;
  font-style: italic;
}

.form-group input,
.form-group textarea {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #f5a623;
  outline: none;
}

.form-group textarea {
  min-height: 120px;
}

.btn {
  background-color: #35424a;
  color: #ddd;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: center;
  width: 150px;
}

.btn:hover {
  animation: jump 0.6s ease-in-out;
}

.fade-slide {
  opacity: 0;
  transform: translateX(-50px);
}

/* when visible, play animation */
.fade-slide.visible {
  animation: fadeSlideIn 0.8s ease forwards;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.border-box {
  border-left: 4px solid #f5a623; /* Orange left border */
  border-top: 4px solid #f5a623; /* Orange top border */
  border-bottom: 4px solid #f5a623; /* Orange bottom border */
  border-right: none; /* No right border */
  padding: 10px 20px; /* Space inside the border */
  display: inline-block;
  position: relative;
}

/* Create the missing parts of the lines so the border looks like the image*/

.border-box::before,
.border-box::after {
  content: "";
  position: absolute;
  background-color: #f5a623;
}

.border-box::before {
  width: 4px;
  height: 20px;
  top: 0;
  right: 0;
}

.border-box::after {
  width: 4px;
  height: 20px;
  bottom: 0;
  right: 0;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    z-index: 1003;
  }

  header {
    padding: 1px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1002;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    font-weight: 600;
  }

  .dropdown i {
    display: block;
    float: right;
    margin-top: 2px;
    transition: transform 0.3s ease;
  }

  .dropdown.open i {
    transform: rotate(90deg);
  }

  .hero {
    height: 25vh;
  }

  .hero-content {
    padding: 0 20px;
    line-height: 1.4;
  }

  #mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ddd;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .logo {
    z-index: 1002;
  }

  #mobile-nav.open {
    max-height: 100vh;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  nav ul li {
    border-bottom: 1px solid #eee;
    margin: 0;
    width: 80%;
    margin: 0 auto;
  }

  nav ul li a {
    padding: 15px 20px;
    display: inline-block;
    text-decoration: none;
    box-sizing: border-box;
    width: 100%;
  }

  .submenu {
    position: static;
    padding-left: 20px;
    box-shadow: none;
    /* background: #ddd; */
  }

  .dropdown.open .submenu {
    display: block !important;
  }
  .dropdown .submenu {
    display: none !important;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-section {
    padding: 2rem 1rem;
    text-align: left;
  }

  .contact-section h2 {
    font-size: 1.6rem;
  }

  .contact-section p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .contact-details p {
    font-size: 0.95rem;
    margin: 0.7rem 0;
  }
}
