/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&family=Permanent+Marker&display=swap");

/* Color Variables */
:root {
  --primary-green: #57f299;
  --primary-blue: #025259;
  --primary-orange: #f29325;
  --primary-red: #d94f04;
  --neutral-white: #fff;
  --neutral-dark: #252525;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html,
body {
  display: flex;
  flex-direction: column;
}

/* Links and List Items */
li,
a {
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

/* Headings */
h1,
h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  transition: 0.6s;
}

h1 {
  font-size: 6rem;
  color: var(--primary-green);
}

h2 {
  font-size: 2.5rem;
}

h3,
h4 {
  font-family: "Permanent Marker", serif;
  font-weight: 500;
  color: white;
  transition: 0.6s;
}

h3 {
  font-size: 3rem;
}

h4 {
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-content: center;
}

/* Header and Navbar Styles */
header {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10%;
  letter-spacing: 2px;
  transition: 0.6s;
}

header ul li a {
  color: var(--neutral-white);
}

header .logo {
  max-width: 6rem;
  margin-right: auto;
  cursor: pointer;
  transition: 0.6s;
}

header.sticky {
  background-color: var(--neutral-white);
}

header.sticky ul li a,
header.sticky .logo {
  color: var(--neutral-dark);
}

header.sticky .dropdown:hover .subnav {
  display: block;
  background-color: var(--neutral-white);
}

.logo:hover {
  transform: scale(1.2);
}

.navLinks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.navLinks li {
  padding-left: 0;
}

.navLinks li a {
  display: block;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.navLinks li a:hover {
  color: var(--primary-green);
}

.navLinks li a.active {
  color: var(--primary-green);
  font-weight: bold; /* Optional for emphasis */
}

.dropdown:hover {
  display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    width: 100%;
  }

  header .logo {
    align-items: center;
    margin-right: 0;
  }

  .navLinks {
    flex-direction: column;
    align-items: center;
  }

  .navLinks li {
    padding: 5px 0;
  }

  .navLinks li a {
    width: 100%;
    text-align: left;
  }
}

/* Footer Styles */
#customFooter {
  font: 15px/1 "Open Sans", Arial, sans-serif;
  color: var(--neutral-dark);
  background-color: var(--neutral-white);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10%;
  background-image: linear-gradient(
    45deg,
    var(--neutral-white) 50%,
    var(--primary-green)
  );
}

.legal,
.social,
.footer-content p {
  width: 300px;
}

.legal {
  font-size: 0.6em;
  text-align: center;
}

.legal p,
.legal a {
  color: var(--neutral-dark);
}

.legal a:hover {
  text-decoration: underline;
}

.social {
  text-align: end;
}

.social h1 {
  font-size: 0.8em;
  margin-bottom: 8px;
}

.social a {
  color: var(--neutral-dark);
  font-weight: bold;
  font-size: 1.5rem;
  padding-left: 15px;
}

@media (max-width: 1130px) {
  .footer-content {
    justify-content: center !important;
  }

  .legal,
  .social,
  .footer-content p {
    text-align: center;
    padding-bottom: 15px;
  }
}

/* Keyframe for Sliding In */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
