/* Importing custom font */
@font-face {
  font-family: 'AssistantFont';
  src: url('font/Assistant/Assistant-VariableFont_wght.ttf') format('ttf');
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

body, main {
  font-family: 'AssistantFont', sans-serif;
  line-height: 1.6;
}

main h1 {
  font-size: clamp(1rem, 2vw, 2rem);
  color: #474747;
  font-weight: 400;
}

main p {
  color: #7E7E7E;
  font-weight: 400;
}

ul {
  color: #7E7E7E;
  font-weight: 400;
  margin-left: 3vw;
}

/* Sticky Contact Header */
.sticky-contact {
  background-color: #2e2e2e;
  color: white;
  padding: 10px 40px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-left, .contact-right {
  font-size: 14px;
}

/* Main Header */
.main-header {
  background-color: #b4d0ff;
  color: black;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo {
  width: 125px;
  height: 75px;
}

.smalllogo {
  width: 50px;
  height: 30px;
}

.main-header nav {
  display: flex;
  margin-left: auto;
  justify-content: center;
}

.main-header nav ul {
  list-style: none;
  display: flex;
}

.main-header nav ul li {
  margin: 0 15px;
}

.main-header nav ul li a {
  color: #474747;
  text-decoration: none;
  font-size: 18px;
}

.main-header nav ul li a:hover {
  color: #000000;
}

#backButton {
  display: none;
}

@media (max-width: 768px) {
  #backButton {
    display: block;
    background-color: #cc0000;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(180, 0, 0, 0.3);
    transition: background-color 0.2s, transform 0.1s;
  }

  #backButton:hover {
    background-color: #aa0000;
  }

  #backButton:active {
    transform: translateY(1px);
  }
}

/* Footer */
footer {
  background-color: #F8F8F8;
  color: black;
  text-align: center;
  padding: 10px;
  margin-top: 5vh;
}

footer p {
  font-size: 14px;
}