@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Radio+Canada:ital,wght@0,300..700;1,300..700&display=swap");

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #333;
  --accent-color: #efb036;
  --text-color: #f0f0f0;
  --accent-blue-: #23486a;
  --accent-light-green: #4b5320;
  --accent-dark-green: #374015;
  --primary-bg: #14222d;
  --accent: #00ff00;
  --secondary-accent: #66ff66;
  --neutral-light: #ffffff;
  --neutral-dark: #0a1b26;
  --accent-dark: #00cc00;
  --soft-grey: #b0b0b0;
  --light-blue: #00ccff;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--primary-color);
}

a {
  color: var(--text-color);
  text-shadow: -1px -1px 0 var(--accent-blue-), 1px -1px 0 var(--accent-blue-),
    -1px 1px 0 var(--accent-blue-), 1px 1px 0 var(--accent-blue-);
  text-decoration: none;
}

header {
  background-color: transparent;
  padding: 1.5rem;
  position: fixed;
  font-size: 1.2em;
  width: 100%;
  z-index: 1000;
  max-height: fit-content;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

header.scroll {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 0.8rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.5rem;
  transition: all 0.8s ease-in-out;
}

.logo img {
  max-width: 240px;
}

.brand-box:hover {
  transform: scale(1.3);
  cursor: pointer;
}

.logo-txt {
  font-size: 2.5rem;
  font-family: "Radio Canada", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 2rem;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  transition: color 0.3s ease;
  font-weight: 700;
}

nav ul li a:hover {
  color: var(--accent-color);
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url(bear.png);
  background-size: cover;
  background-position: center;
  position: relative;
  max-width: 100vw;
  transition: all 0.5s ease;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-logo {
  max-height: 360px;
  width: auto;
}

.hero h1,
.hero p {
  position: relative;
  z-index: 1;
  max-width: 95vw;
}

.hero h1 {
  font-size: 4rem;
  text-transform: uppercase;
  font-family: Arial;
  font-weight: 800;
  color: var(--primary-bg);
  text-shadow: -1px 0 var(--accent), 0 1px var(--accent), 1px 0 var(--accent),
    0 -1px var(--accent);
  letter-spacing: 3px;
  align-content: center;
}

h3 {
  color: var(--accent);
  margin-bottom: 15px;
}

.hero p {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--light-blue);
}

#services {
  padding: 4rem 2rem;
  background-color: #1a1a1a;
}

#contact {
  padding: 4rem 2rem;
  background-color: var(--secondary-color);
  background-image: linear-gradient(
      to top,
      rgba(255, 255, 255, 0) 50%,
      #1a1a1a 100%
    ),
    url("mtns_3.jpg");
  background-size: cover;
  background-position: center bottom;
  position: relative;
  overflow: hidden;
}

#contact h2 {
  text-align: center;
}

footer {
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem;
  background-color: var(--primary-color);
}

button[type="reset"] {
  width: 100px;
  position: absolute;
  right: 0;
  margin-right: 25px;
}

.button-row {
  display: flex;
}

@media (max-width: 960px) {
  header {
    background-color: rgba(26, 26, 26, 0.9);
  }

  .hero {
    line-height: 1.3;
    background-position: left;
  }

  .brand-box {
    align-items: center;
  }

  nav {
    flex-direction: column;
  }

  nav ul li a {
    font-weight: 700;
  }

  .hero-logo {
    max-height: 222px;
    padding-top: 5vh;
    width: auto;
  }

  .cta {
    display: none;
  }

  nav ul {
    margin-top: 1rem;
    gap: 0px;
  }

  nav ul li {
    margin-left: 0;
    margin-right: 1rem;
  }

  button[type="reset"] {
    width: auto;
    position: inherit;
  }

  button[type="reset"] {
    margin-right: 0;
  }
}

.spotlight-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px;
  background-color: #1a1a1a;
  justify-content: center;
}

.spotlight {
  flex: 1 1 300px;
  background-color: #1f1f1f;
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.spotlight::before {
  content: "";
  display: block;
  height: 5px;
  width: 50px;
  margin-bottom: 15px;
  border-radius: 3px;
}

.intelligence::before {
  background-color: #23486a;
}

.security::before {
  background-color: #c0392b;
}

.networking::before {
  background-color: #27ae60;
}

.spotlight:hover {
  transform: translateY(-5px);
}

.services-section .services-heading {
  width: 100%;
  text-align: center;
}

.services-section {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--secondary-color);
  padding: 60px 40px;
  gap: 40px;
  align-items: stretch;
}

.services-image,
.about-image {
  max-width: 600px;
  align-items: center;
  overflow: hidden;
  border-radius: 10px;
  height: auto;
  margin: auto;
}

.services-image img,
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.services-list {
  flex: 1 1 50%;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-box {
  position: relative;
  padding-top: 30px;
  padding-bottom: 15px;
  padding-left: 25px;
  border-left: 5px solid #23486a;
  background-color: #222;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.service-box:hover {
  transform: translateY(-4px);
}

.service-box::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 25px;
  width: 40px;
  height: 4px;
  border-radius: 3px;
  background-color: #23486a;
}

@media (max-width: 900px) {
  .services-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .services-image,
  .services-list {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .services-list {
    grid-template-columns: 1fr;
  }
}

.service-box:nth-child(2)::before {
  background-color: #c0392b;
}
.service-box:nth-child(3)::before {
  background-color: #27ae60;
}
.service-box:nth-child(4)::before {
  background-color: #f39c12;
}
.service-box:nth-child(5)::before {
  background-color: #9b59b6;
}
.service-box:nth-child(6)::before {
  background-color: #16a085;
}
.service-box:nth-child(7)::before {
  background-color: #e67e22;
}
.service-box:nth-child(8)::before {
  background-color: #2980b9;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 60px 40px;
  gap: 40px;
  align-items: stretch;
}

.about-content {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h2 {
  font-size: 2em;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.headline {
  width: 100%;
  justify-content: center;
}

#services .accent-bar {
  margin: auto;
  background-color: #e3dccd;
  justify-content: center;
}

#contact .accent-bar {
  margin: auto;
  margin-bottom: 32px;
  background-color: #c0392b;
}

.accent-bar {
  width: 60px;
  height: 5px;
  background-color: #23486a;
  border-radius: 3px;
  margin-bottom: 25px;
}

.about-content p {
  font-size: 1.05em;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .about-image,
  .about-content {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .about-image img {
    max-height: 300px;
    object-position: center;
  }

  .spotlight {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .spotlight h2 {
    font-size: 1.5rem;
  }
}

#contact {
  padding: 4rem 2rem;
  background-color: var(--secondary-color);
}

#contact form {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--primary-color);
  padding: 2rem 2rem 2rem 2.5rem;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

#contact form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 6px;
  background-color: var(--accent-color);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#contact input,
#contact textarea {
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fff;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

#captchaText {
  font-weight: bold;
  background-color: #222;
  border-radius: 8px;
  padding: 5px;
  width: 85%;
  margin: auto;
  text-align: center;
  font-size: larger;
  text-align: center;
}

#captchaAnswer {
  text-align: center;
  width: fit-content;
  margin: auto;
}

#responseMessage {
  font-weight: bold;
  margin: auto;
  color: var(--accent-color);
  text-align: center;
  font-size: larger;
}

.form-msg {
  color: #00cc00;
  padding: 0;
  font-size: 0.9em;
  font-weight: 600;
  margin: auto;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
  flex-wrap: wrap;
}

.contact-info {
  background-color: var(--primary-color);
  padding: 2rem;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.contact-info:nth-of-type(2) {
  margin-top: 15px;
  height: 100%;
}

.contact-info p {
  margin-bottom: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1.5rem;
}

form input,
form textarea {
  padding: 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fff;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  resize: vertical;
}

form textarea {
  min-height: 150px;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .client-list {
    display: none;
  }
}

#divider-img {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0;
  position: relative;
}

#divider-img img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
}

#divider-img:nth-of-type(3)::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0;
  background: linear-gradient(
    to top,
    #333333 0%,
    #0000ff00 60%,
    #0000ff00 100%
  );
  border-radius: 8px;
}

#divider-img:nth-of-type(5)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, #ffff0000 0%, #1a1a1a 100%);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, #ffff0000 0%, #1a1a1a 100%);
}

@media (max-width: 768px) {
  #divider-img img {
    max-height: 250px;
  }

  #divider-img::after {
    height: 40%;
  }
}

footer {
  background-color: var(--primary-color);
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}

footer p {
  font-size: 1rem;
}

.client-list {
  height: fit-content;
}

.client-list .headline {
  padding-left: 25px;
  margin: auto;
  text-align: center;
}

.client-list .accent-bar {
  background-color: var(--accent-color);
  margin: 15px auto 0 auto;
}

.carousel-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-inner {
  display: flex;
  transition: opacity 1s ease-in-out;
  opacity: 1;
  gap: 60px;
}

.carousel-inner.hidden {
  opacity: 0;
}

.carousel-inner img {
  height: 140px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(60%) sepia(59%) saturate(4171%)
    hue-rotate(82deg) brightness(121%) contrast(119%);
  max-width: 180px;
  transition: transform 0.3s, filter 0.3s;
}

.carousel-inner img:hover {
  transform: scale(1.05);
  filter: brightness(0) saturate(100%) invert(67%) sepia(59%) saturate(4207%)
    hue-rotate(154deg) brightness(105%) contrast(104%);
}

.signin-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  background-image: url(camp.jpg);
  background-size: cover;
  background-position: bottom;
}

.signin-modal-content {
  display: flex;
  flex-direction: row;
  background-color: #1a1a1a;
  margin: 5% auto 15px;
  padding: 20px;
  max-width: 90vw;
  margin-top: 260px;
  max-height: fit-content;
  width: fit-content;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--accent);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
}

.signin-modal-info {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: center;
  background-color: #222121;
  padding: 20px;
  border: 2px solid var(--accent);
  width: 300px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
  font-family: Roboto;
  margin: 20px;
}

.signin-modal h2 {
  font-size: 22px;
}

.signin-modal p {
  margin-top: 15px;
  font-size: 14px;
  color: white;
}

label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  text-align: left;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
  margin-top: -20px;
}

.forgot-password {
  margin-top: 10px;
}

.forgot-password a {
  color: #4caf50;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.close-btn {
  color: white;
  font-size: 50px;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.close-btn:hover {
  color: #4caf50;
}

.basecamp-img {
  background-image: url(camp.jpg);
  height: 155px;
  background-position: bottom;
  background-size: cover;
  border-radius: 10px 10px 0 0;
  margin-bottom: 15px;
}

.contact-wrapper-left {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: stretch;
  justify-content: space-between;
}

.contact-info::before {
  content: "";
  display: block;
  height: 5px;
  width: 50px;
  margin-bottom: 15px;
  border-radius: 3px;
  background-color: var(--accent-color);
}

nav ul li.cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--neutral-dark);
  color: #fdf6e3;
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 2px solid var(--accent);
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

nav ul li.cta a:hover {
  background-color: #374015;
  transform: translateY(-2px);
}

nav ul li.cta img {
  width: 22px;
  height: 22px;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50%;
  margin: auto;
  gap: 0.5rem;
  background-color: var(--neutral-dark);
  color: #fdf6e3;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  outline: 2px solid var(--accent);
}

button:hover {
  background-color: #374015;
  transform: translateY(-2px);
}

#goToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  z-index: 1000;
  filter: invert(80%) sepia(80%) saturate(3731%) hue-rotate(330deg)
    brightness(97%) contrast(93%);
}

#goToTop img {
  width: 40px;
  height: 40px;
}

#goToTop.show {
  display: block;
}

#name {
  margin-top: 10px;
}

.brand-box {
  max-height: fit-content;
  display: flex;
  gap: 15px;
  transition: all 0.5s ease;
}

.brand-box .logo {
  max-width: 100%;
  max-height: 98px;
  width: auto;
  height: auto;
  display: block;
  margin: auto;
}

.brand-box .logo-text {
  font-family: "Radio Canada", "Roboto", Arial, Helvetica, sans-serif;
  font-size: 3em;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  border-left: 6px solid #00cc00;
  padding-left: 10px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}