@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: inherit;
}

a {
  color: var(--text);
  text-decoration: none;
}

:root {
  /* Base */
  --bg: #04070c;
  --bg-elevated: #080c12;
  --bg-panel: #0c1118;
  --bg-panel-2: #101723;
  --bg-overlay: rgba(2, 5, 10, 0.84);

  /* Surfaces */
  --surface: #0c1118;
  --surface-2: #101723;
  --surface-3: #151d2a;
  --surface-hover: #1a2433;
  --surface-active: #223045;

  /* Borders */
  --border: #1d2938;
  --border-strong: #2a3950;
  --border-soft: rgba(96, 118, 148, 0.16);

  /* Text */
  --text: #f4f7fb;
  --text-soft: #d5ddea;
  --text-muted: #97a6ba;
  --text-faint: #667487;
  --text-on-accent: #f4f7fb;

  /* Brand / Accent */
  --accent: #1f6fff;
  --accent-hover: #3b82ff;
  --accent-active: #1258d6;
  --accent-soft: rgba(31, 111, 255, 0.14);
  --accent-glow: rgba(31, 111, 255, 0.22);

  /* Secondary Accent */
  --accent-2: #6b4dff;
  --accent-2-hover: #7d63ff;
  --accent-2-active: #5537eb;
  --accent-2-soft: rgba(107, 77, 255, 0.14);

  /* Status */
  --success: #39c97c;
  --success-soft: rgba(57, 201, 124, 0.14);
  --warning: #ffb020;
  --warning-soft: rgba(255, 176, 32, 0.14);
  --danger: #ff5d5d;
  --danger-soft: rgba(255, 93, 93, 0.14);

  /* Inputs / Buttons */
  --input-bg: #0a1017;
  --input-border: #223042;
  --input-border-focus: #1f6fff;

  --button-primary-bg: #1f6fff;
  --button-primary-text: #f4f7fb;
  --button-primary-hover: #3b82ff;
  --button-primary-active: #1258d6;
  --button-primary-shadow: 0 10px 24px rgba(31, 111, 255, 0.26);

  --button-secondary-bg: #101723;
  --button-secondary-text: #f4f7fb;
  --button-secondary-border: #2a3950;
  --button-secondary-hover: #151d2a;

  /* Links */
  --link: #5c97ff;
  --link-hover: #7eadff;

  /* Hero / Decorative */
  --hero-grid: rgba(255, 255, 255, 0.03);
  --hero-line: rgba(31, 111, 255, 0.12);
  --hero-glow-1: rgba(31, 111, 255, 0.12);
  --hero-glow-2: rgba(107, 77, 255, 0.08);

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 22px 54px rgba(0, 0, 0, 0.54);

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* Layout */
  --container-width: 1200px;
}

/* Helper Classes */
.btn {
  background-color: transparent;
  color: var(--button-primary-text);
  border-radius: var(--radius-sm);
  padding: 8px 15px;
  cursor: pointer;

  &:disabled {
    cursor: not-allowed;
    opacity: 80%;
  }
}

.btn.btn-primary:hover {
  background-color: var(--button-primary-hover);
  opacity: 80%;
}

.btn.btn-primary {
  background-color: var(--button-primary-bg);
  border: 1px solid var(--border);
}

.btn.btn-secondary {
  background-color: var(--accent-active);
  border: 1px solid var(--border-strong);
}

.btn.btn-secondary:hover {
  opacity: 80%;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background-color: var(--bg);
  font-family: "Roboto", sans-serif;
}

/* Start Header */
header {
  background-color: var(--bg-elevated);
  padding: 10px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);

  display: flex;
  justify-content: space-between;
  align-items: center;

  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 1000;

  .header__img {
    width: 350px;
    height: auto;
    vertical-align: middle;
  }

  .header__link--sm {
    display: none;
  }

  .header__img--sm {
    width: 40px;
    height: auto;
  }

  ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    li a:hover {
      opacity: 80%;
    }
  }

  .mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
  }

  .mobile-nav-close {
    display: none;
  }
}
/* End Header */

/* Section Globals */
section:not(:first-of-type) {
  max-width: var(--container-width);
  margin: 30px auto 10px auto;
  /* border: 1px solid var(--border); */
  border-radius: var(--radius-sm);
  background-color: var(--bg-panel);
  padding: 20px;
  text-align: center;
}

.section__title {
  margin: 10px 0;
}

.section__title-divider {
  border-top: 5px solid var(--accent);
  max-width: 100px;
  margin: 10px auto;
}
/* End Section Globals */

/* CTA Section */
.cta {
  padding: 10px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  background: linear-gradient(135deg, #0d121b 0%, #111827 45%, #162238 100%);

  .btn {
    width: 150px;
  }
}
/* End CTA Section */

/* About Section */
.about {
  .section__content p {
    margin: 30px 0;
  }
}

.about__boxes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 20px;

  .box {
    background-color: var(--accent);
    padding: 20px;
    border-radius: var(--radius-xs);

    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 1.5rem;
    font-weight: bold;

    /* transition: transform 0.3s ease-out; */

    /* &:hover {
      transform: translateY(-10px);
    } */
  }
}
/* End About Section */

/* Who We Serve Section */
.serve__boxes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 20px;

  .box {
    background-color: var(--accent);
    /* padding: 20px; */
    border-radius: var(--radius-xs);

    width: 200px;
    height: 200px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    font-size: 1.5rem;

    transition: transform 0.3s ease-out;

    &:hover {
      transform: translateY(-10px);
    }

    i {
      background-color: var(--accent-active);
      padding: 10px;
      border-radius: 50%;
      width: 64px;
      height: 64px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
}
/* End Who We Serve Section */

/* Image Banner */
.spanImg-container {
  width: 100%; /* Set the desired cropped width */
  height: 200px; /* Set the desired cropped height */
  overflow: hidden; /* Ensures any part of the image outside these dimensions is hidden */
  margin: 20px 0 20px 0;
}

#spanImg {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Resizes and crops the image to fill the container while maintaining aspect ratio */
  object-position: center; /* (Optional) Controls the focal point of the crop */
  filter: blur(5px);
}
/* End Image Banner */

/* Products Section */
.products {
  margin-top: 10px !important;
}

.product__boxes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 20px;

  .box {
    background-color: var(--accent);
    /* padding: 20px; */
    border-radius: var(--radius-xs);

    width: 100%;
    height: 250px;

    padding: 30px 0;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;

    .box__title {
      font-size: 1.5rem;
      font-weight: bold;
      background-color: var(--accent-active);
      padding: 10px;
      border-radius: var(--radius-xs);
    }

    p {
      max-width: 50%;
    }

    i {
      background-color: var(--accent-active);
      padding: 10px;
      border-radius: 50%;
      width: 64px;
      height: 64px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
}
/* End Products Section */

/* Start Contact Section */
.contact {
  min-width: 100%;
}

.contact__box {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 1200px;
  margin: auto;

  background-color: var(--accent-active);
  padding: 10px;
  margin-top: 20px;

  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
}

.contact__form {
  margin: 20px auto 0 auto;
  max-width: 1200px;

  input,
  textarea,
  button {
    width: 100%;
    padding: 10px;
  }

  input,
  textarea {
    outline: none;
    background-color: var(--input-bg);
    color: var(--text);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-xs);
    transition: border-color 0.3s ease;

    &:focus {
      border-color: var(--input-border-focus);
    }
  }

  textarea {
    resize: none;
    margin-top: 5px;
    height: 150px;
  }

  .input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    .input-container {
      flex: 1;
    }
  }
}
/* End Contact Section */

/* Footer */
footer {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-panel);
  color: var(--text-faint);
  text-align: center;
  padding: 10px 0;
  z-index: 1000;
  border-top: 1px solid var(--border-soft);
  margin-top: 20px;
}
/* End Footer */

/* Media Queries */
@media (max-width: 992px) {
  .header__link {
    display: none;
  }

  .header__link--sm {
    display: block !important;
  }

  .serve__boxes {
    flex-direction: column;

    .box {
      width: 100%;
    }
  }

  .product__boxes {
    flex-direction: column;

    .box {
      height: 100%;
    }
  }
}

@media (max-width: 768px) {
  header .mobile-nav-toggle {
    display: block;
  }

  header ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background-color: var(--bg-elevated);
    border-left: 1px solid var(--border-soft);
    padding: 20px;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
  }

  header ul.open {
    display: flex;
  }

  header ul .mobile-nav-close {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 10px;
  }

  header ul li {
    width: 100%;
  }

  header ul li a {
    display: block;
    padding: 10px;
    border-radius: var(--radius-xs);
  }

  header ul li a:hover {
    background-color: var(--surface-hover);
  }

  .mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: var(--bg-overlay);
    z-index: 999;
  }

  .mobile-nav-overlay.open {
    display: block;
  }
}

@media (max-width: 576px) {
  .cta .button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: column;
  }

  .about__boxes {
    flex-direction: column;
  }

  .contact__box {
    flex-direction: column;
    gap: 10px;
  }
}
