/* Styles shared across all pages */
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
/* @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap"); */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.nowrap {
  white-space: nowrap;
}

body {
  min-height: 100vh;
  /* background-image: linear-gradient(to bottom, steelblue, white); */
  background-color: white;
  display: flex;
  flex-direction: column;
}

header {
  top: 0;
  position: sticky;
  background-color: #324158;
  box-shadow: 0px 3px 5px grey;
}

footer {
  bottom: 0;
  min-height: 300px;
  background-color: #324158;
}

/* Header Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5rem 1rem 5rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links li {
  margin: 0.5rem 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-weight: bolder;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a.main-nav:hover {
  color: steelblue;
  border-bottom-color: steelblue;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.menu-toggle .material-icons {
  font-size: 2.25rem !important;
}

.nav-links .dropdown-services {
  position: relative;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  border: 1px solid #ccc;
  z-index: 10;
}

.nav-links .dropdown-menu li {
  padding: 0.25rem 1rem;
  margin: 0;
}

.nav-links .dropdown-menu li a {
  color: darkslategray;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
}

.nav-links .dropdown-menu li a:hover {
  background-color: white;
  color: steelblue;
}

/* Hover for Large Screens */
@media screen and (min-width: 576px) {
  .nav-links .dropdown-services:hover .dropdown-menu {
    display: block;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  }
}

/* Get Started Button */
.button-wrapper {
  position: relative;
  display: inline-block;
  background-color: transparent;
  border-radius: 10px;
  height: auto;
  width: auto;
}

.get-started {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: rgb(39, 41, 111);
  color: white;
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  position: relative;
  z-index: 1;
}

.get-started:hover {
  background-color: #4682b4;
  transform: scale(1.03);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.get-started:active {
  background-color: #315f7d;
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.button-wrapper::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 102%;
  background-image: conic-gradient(from var(--angle), transparent 80%, blue);
  /* background-image: conic-gradient(from var(--angle), #ff4545, #00ff99, #ff0095, #ff4545); */
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -1;
  padding: 3px;
  border-radius: 10px;
  animation: 1s spin linear infinite;
}

.button-wrapper::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 102%;
  background-image: conic-gradient(from var(--angle), transparent 80%, blue);
  /* background-image: conic-gradient(from var(--angle), #ff4545, #00ff99, #ff0095, #ff4545); */
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -2;
  padding: 3px;
  border-radius: 10px;
  filter: blur(1.5rem);
  opacity: 0.5;
  animation: 1s spin linear infinite;
}

@keyframes spin {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

/* Footer Quick Links */
.quick-links {
  display: flex;
  justify-content: space-evenly;
  margin: 1rem 1rem 0 1rem;
}

.quick-links h2 {
  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.quick-links a:hover {
  color: steelblue;
}

.links,
.services,
.contact-us,
.social-media {
  padding: 1rem;
}

.footer-links,
.footer-services,
.footer-contact-us,
.footer-social-media {
  padding: 0.5rem 0 0 0;
  list-style: none;
}

.footer-links li,
.footer-services li,
.footer-contact-us li {
  padding: 0.5rem 0 0 0;
}

.footer-links a,
.footer-services a,
.footer-contact-us li {
  font-family: "Poppins", sans-serif;
  font-weight: lighter;
  color: white;
  text-decoration: none;
}

.footer-social-media {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  gap: 1rem;
}

.footer-social-media img {
  filter: brightness(0) invert(1);
  width: 40px;
  height: 40px;
}

.footer-social-media img:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* Small Screens */
@media screen and (max-width: 576px) {
  main {
    margin: 2rem 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .navbar {
    padding: 1.5rem 2rem 1rem 3rem;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    background-color: #324158;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 100vh;
    text-align: center;
  }

  .nav-links .dropdown-services.active .dropdown-menu {
    display: block;
    top: 200%;
    left: -100%;
    width: 80vw;
    border: white;
  }

  .nav-links .dropdown-menu li {
    padding: 0.5rem 1rem;
    margin: 0;
    text-align: center;
  }

  .hidden {
    display: none;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .nav-links a {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
  }

  .nav-links img {
    display: none;
  }

  .quick-links {
    display: block;
  }

  .footer-social-media {
    justify-content: left;
  }
}
