@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: DM Sans;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
}

li {
  list-style: none;
}

html {
  font-size: 62.5%;
}
:root {
  --theme-color: #215f9a;
}

main {
  overflow-x: hidden;
}

.navigation__checkbox {
  display: none;
}

.main-container {
  max-width: 144rem;
  margin: 0 auto;
}

.center-container {
  max-width: 132rem;
  margin: 0 auto;
}

.padding-util {
  padding: clamp(2rem, calc(4.8vw + 1rem), 8.2rem) 2rem;
}

.btn {
  font-weight: 500;
  font-size: 1.6rem;
  padding: 1.6rem 2.7rem;
  border-radius: 0.8rem;
  color: white;
  background-image: linear-gradient(
    120deg,
    #215f9a 0%,
    #215f9a 50%,
    white 50%,
    white 100%
  );
  background-size: 230%;
  transition: all 0.2s;
  border: 2px solid #215f9a;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.btn:not(:hover)::after {
  content: url("../assets/images/White\ Arrow.svg");
}

.btn:hover:after {
  content: url("../assets/images/Blue\ Arrow.svg");
}

.btn:hover {
  color: #215f9a;
  background-position: 100%;
}

.footer {
  background: url("../assets/images/footer_bg.jpg");
  background-size: cover;
}

/* --------------------Section_1------------------------ */

.footer__flex {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  gap: clamp(2rem, calc(2.08vw + 1rem), 4.1rem);
}

.footer__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.footer__link {
  font-weight: 400;
  font-size: 1.5rem;
}

.footer__link a:link,
.footer__link a:visited {
  color: #ffffff99;
  display: inline-block;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

.footer__link a:hover,
.footer__link a:active {
  color: white;
  transform: skew(-20deg);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.footer__link a:hover::after,
.footer__link a:active::after {
  width: 100%;
}

.footer__link {
  position: relative;
}

.footer__social-media {
  display: flex;
  gap: 1.6rem;
}

.social-media {
  padding: 1.4rem;
  border: 1px solid #ffffff61;
  border-radius: 50%;
}

.footer__copyright {
  font-weight: 400;
  font-size: 1.6rem;
  color: #ffffffde;
  border-top: 1px solid #ffffff40;
  width: 100%;
  text-align: center;
  padding-top: 4rem;
}

.navigation {
  background-color: #03213d;
  top: 0;
  left: 0;
  z-index: 1000;
  position: sticky;
}

.navigation-container {
  display: flex;
  justify-content: space-between;
  font-size: 1.6rem;
  padding: 1.6rem 2rem;
  align-items: center;
  margin: 0 auto;
}

.navigation__logo {
  width: 29.5rem;
  height: 5.2rem;
}

.navigation__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navigation__menu {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation__item {
  position: relative;
}

.navigation__link-wrapper {
  display: flex;
  align-items: center;
}

.navigation__link:link,
.navigation__link:visited {
  position: relative;
  font-weight: 400;
  font-size: 1.6rem;
  color: #ffffffde;
  padding: 8px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navigation__link:after {
  content: "";
  z-index: 2000;
  position: absolute;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  background-color: var(--theme-color);
  left: 0;
  bottom: -2px;
  transition: transform 0.2s ease;
  transform-origin: right;
}

.navigation__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navigation__link:hover {
  color: #ffffff;
}

.navigation__chevron {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 4px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.chevron-icon {
  transition: transform 0.3s ease;
}

.navigation__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #03213d;
  list-style: none;
  padding: 1rem 0;
  margin: 0;
  min-width: 130px;
  border-radius: 4px;
  z-index: 1001;
  display: none;
  opacity: 1;
}

.navigation__sublink:link,
.navigation__sublink:visited {
  display: block;
  padding: 0.8rem 1.6rem;
  color: #ffffffde;
  text-decoration: none;
  font-size: 1.4rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navigation__sublink:hover {
  background-color: #ffffff1a;
  color: var(--theme-color);
}

.navigation__mob {
  display: none;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
}

.hamburger {
  width: 100%;
  height: 4px;
  background-color: #ffffffde;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navigation__toggle {
  display: none;
}

.navigation__toggle:checked ~ .navigation__box {
  opacity: 1;
  visibility: visible;
}

.navigation__toggle:checked ~ .navigation__mob .hamburger:nth-child(1) {
  transform: translateY(13px) rotate(45deg);
}

.navigation__toggle:checked ~ .navigation__mob .hamburger:nth-child(2) {
  opacity: 0;
}

.navigation__toggle:checked ~ .navigation__mob .hamburger:nth-child(3) {
  transform: translateY(-13px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .navigation__box {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80%;
    max-width: 400px;
    background-color: #03213d;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
  }

  .navigation__toggle:checked ~ .navigation__box {
    opacity: 1;
    visibility: visible;
  }

  .navigation__menu {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    width: 100%;
  }

  .navigation__link-wrapper {
    justify-content: center;
  }

  .navigation__link:link,
  .navigation__link:visited {
    font-size: 2rem;
    padding: 1rem;
  }

  .navigation__chevron {
    margin-left: 8px;
  }

  .navigation__submenu {
    position: static;
    background-color: #03213dcc;
    border: none;
    padding: 1rem 0;
    margin: 0;
    width: 100%;
    display: none;
  }

  .navigation__mob {
    display: flex;
  }

  .navigation__logo {
    width: 20rem;
    height: 4rem;
  }
}

.disclaimer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.disclaimer-popup {
  background: #1e1e1e;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}
.disclaimer-content {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  color: #e0e0e0;
  font-family: "Martian Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
}
.disclaimer-content h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}
.disclaimer-content p,
.disclaimer-content li {
  margin-bottom: 10px;
}
.disclaimer-content ol {
  padding-left: 20px;
}
.disclaimer-buttons {
  padding: 15px;
  background: #2a2a2a;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.disclaimer-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Martian Mono", monospace;
  font-size: 14px;
  background: #333333; /* Unified dark background for both buttons */
  color: #ffffff;
  transition: background 0.3s ease, transform 0.2s ease; /* Smooth hover transition */
}
.disclaimer-btn:hover {
  background: #4a4a4a; /* Slightly lighter dark shade on hover */
  transform: translateY(-2px); /* Subtle lift effect */
}
.accept-btn {
  background: #333333; /* Match dark theme */
  color: #ffffff;
}
.accept-btn:hover {
  background: #4a4a4a; /* Consistent hover effect */
  transform: translateY(-2px);
}
.decline-btn {
  background: #333333; /* Match dark theme */
  color: #ffffff;
}
.decline-btn:hover {
  background: #4a4a4a; /* Consistent hover effect */
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .disclaimer-popup {
    width: 95%;
    max-height: 90vh;
  }
  .disclaimer-content {
    font-size: 12px;
    padding: 15px;
  }
  .disclaimer-content h2 {
    font-size: 18px;
  }
  .disclaimer-btn {
    padding: 8px 15px;
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  .navigation-container {
    padding: 1rem 1.5rem;
  }

  .navigation__link:link,
  .navigation__link:visited {
    font-size: 1.8rem;
  }

  .footer__list {
    flex-direction: column;
  }
}

.footer__social-media a {
  transition: all 0.2s ease;
}

.footer__social-media a:hover {
  transform: translatey(-5px);
}

#contact-us {
  background-color: var(--theme-color);
  border-radius: 0.8rem;
}

#contact-us::after {
  content: unset;
}

.navigation__link.active,
.navigation__sublink.active {
  color: #215f9a;
}

.navigation.what-we-do,
.navigation.reserch,
.navigation.job {
  background-color: black;
}
