@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");

:root {
  --white: white;
  --black: #0b0b0b;
  /* Blue */
  --blue-100: #fdfeff;
  --blue-150: #f5f8fc;
  --blue-200: #f6f8fb;
  --blue-250: #e9f7ff;
  --blue-300: #b0cbff;
  --blue-400: #066fd1;
  --blue-500: #0f6fff;
  /* Blue-variant */
  --new-blue: #0054a6;
  --dark-blue: #00478d;
  /* Gray */
  --gray-200: #f2f2f2;
  --gray-300: #e0e0e0;
  --gray-400: #e2e4e8;
  --gray-500: #8997ab;
  --gray-600: #636363;
  --gray-650: #3e3e59;
}

/* html {
  scroll-behavior: smooth;
} */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #333;
  font-family: "Nunito Sans", sans-serif;
  overflow-x: hidden;
  line-height: 1.4;
}

h1 {
  color: var(--black);
  text-align: left;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  color: var(--black);
  text-align: left;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
  line-height: 20px;
}

li {
  list-style: none;
}

p {
  font-size: 20px;
  line-height: 28px;
  color: var(--gray-650);
  line-height: 1.5;
}

.d-none {
  display: none !important;
}

.margin-center {
  margin: 0 auto;
}

.primary-btn {
  border: 1px solid var(--new-blue);
  background-color: var(--new-blue);
  color: var(--white);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 600;
  transition: all 300ms;
}

.primary-btn:hover {
  background-color: #0f6fff;
  border-color: #0f6fff;
}

.secondary-btn {
  border: 1px solid var(--blue-300);
  background-color: var(--blue-100);
  color: var(--black);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 600;
  line-height: 24px;
  box-shadow: 0 2px 4px #066fd114;
  transition: all 300ms;
}

.secondary-btn:hover {
  background-color: var(--blue-300);
}

a.primary-btn,
a.secondary-btn {
  display: inline-block;
}

.none {
  display: none !important;
}

.read-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--dark-blue);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  border-bottom: 1px solid transparent;
  transition: 0.3s ease;
}

.read-more img {
  display: inline-block;
  max-width: 100%;
}

.read-more:hover {
  border-bottom: 1px solid var(--blue-400);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* TOP Navbar */

.top-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--new-blue);
  padding: 8px;
  color: var(--white);
  gap: 16px;
  font-size: 18px;
  line-height: 1.4;
}

.top-nav a {
  background-color: var(--white);
  color: var(--new-blue);
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.4;
}

.top-nav span {
  line-height: 1.35;
}

/* Header */

.header-top {
  top: 0;
  position: fixed !important;
}

header {
  background-color: white;
  position: sticky;
  z-index: 5;
  width: 100%;
}

header .navbar {
  display: flex;
  background: white;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  transition: ease 500ms;
}

header .navbar .logo {
  display: flex;
}

header .navbar img {
  width: 95px;
}

header .navbar ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

header .navbar ul li {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
}

header .navbar ul li a {
  color: var(--black);
  letter-spacing: 0.25px;
  margin-left: 5px;
  margin-right: 5px;
  padding: 5px 10px;
  font-size: 16px;
  line-height: 1.2;
}

header .navbar ul li a:last-of-type {
  margin-right: 0;
}

header .navbar ul li a:hover {
  color: var(--new-blue);
}

header .navbar ul li a.primary-btn {
  color: var(--white);
  padding: 12px 16px;
}

header .navbar ul li a.primary-btn:hover {
  background-color: #0f6fff;
  border-color: #0f6fff;
}

header .navbar ul li a.secondary-btn {
  padding: 12px 16px;
}

header .navbar ul li a.secondary-btn:hover {
  background-color: var(--blue-300);
}

/* Mobile Menu */

.nav-mob {
  display: none;
  position: relative;
  z-index: 3;
}

.mob-hidden-box {
  z-index: 3;
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  transform: translateY(-220px);
}

.toogle-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.toogle-menu .line {
  width: 24px;
  height: 2px;
  background-color: var(--new-blue);
  transition: all 0.3s ease;
}

/* Active state animations */
.toogle-menu.active .line.top {
  animation: topToX 0.6s forwards;
}

.toogle-menu.active .line.middle {
  animation: middleFade 0.6s forwards;
}

.toogle-menu.active .line.bottom {
  animation: bottomToX 0.6s forwards;
}

/* Reverse animations */
.toogle-menu:not(.active) .line.top {
  animation: topToNormal 0.6s forwards;
}

.toogle-menu:not(.active) .line.middle {
  animation: middleShow 0.6s forwards;
}

.toogle-menu:not(.active) .line.bottom {
  animation: bottomToNormal 0.6s forwards;
}

/* Keyframes for "to X" */
@keyframes topToX {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(7px);
    opacity: 0.5;
  }

  100% {
    transform: translateY(8px) rotate(45deg);
    opacity: 1;
  }
}

@keyframes bottomToX {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-7px);
    opacity: 0.5;
  }

  100% {
    transform: translateY(-8px) rotate(-45deg);
    opacity: 1;
  }
}

/* Keyframes for middle line fade */
@keyframes middleFade {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
  }
}

/* Reverse animations (back to normal) */
@keyframes topToNormal {
  0% {
    transform: translateY(7px) rotate(45deg);
  }

  50% {
    transform: translateY(7px);
    opacity: 0.5;
  }

  100% {
    transform: translateY(0) rotate(0);
    opacity: 1;
  }
}

@keyframes bottomToNormal {
  0% {
    transform: translateY(-7px) rotate(-45deg);
  }

  50% {
    transform: translateY(-7px);
    opacity: 0.5;
  }

  100% {
    transform: translateY(0) rotate(0);
    opacity: 1;
  }
}

@keyframes middleShow {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

/* ******************** */
/* ****** CONTACT ****** */
/* ******************** */

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;

  margin: 0 auto 96px;
}

.contact-form-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  background-color: var(--blue-100);
  border-radius: 20px;
  box-shadow: 2px 0 4px #066fd114, -2px -2px 4px #066fd114, 0 2px 4px #066fd114;
}

.form-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.form-head h2 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
}

.form-head p {
  color: var(--blue-400);
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
}

/* CONTACT FORM */

.contact-form {
  display: flex;
  flex-direction: column;
  /* width: 100%; */
}

.contact-form .form-data {
  display: flex;
  flex-direction: column;
  justify-content: start;
  /* width: 100%; */
}

.form-data label {
  display: block;
  color: var(--black);
  text-align: left;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
}

.form-data input {
  color: #333;
  margin-bottom: 10px;
  display: block;
  border: 1px solid var(--gray-300);
  background-color: var(--blue-100);
  border-radius: 6px;
  padding: 16px;
  font-size: 18px;
  line-height: 1.45;
  font-family: inherit;
  height: 48px;
}

.form-data input:focus {
  border: 1px solid #3898ec;
  outline: none;
}

.form-data input::placeholder {
  font-family: "Nunito Sans", sans-serif;
}

.form-data-agree {
  display: flex;
  gap: 10px;
  margin-top: 5px;
  width: max-content;
}

.form-data-agree .checkbox {
  position: relative;
  border: 1px solid var(--gray-400) !important;
  border-radius: 4px !important;
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
}

.form-data-agree .checkbox.checked {
  background-color: var(--blue-100);
  color: var(--new-blue);
  -webkit-text-fill-color: inherit;
  background-image: url("../images/icons/check.svg");
  background-position: 50%;
  background-size: cover;
  background-clip: border-box;
  background-repeat: no-repeat;
  box-shadow: 0 0 3px 1px #3898ec;
}

.form-data-agree [type="checkbox"] {
  position: absolute;
  z-index: 1;
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  opacity: 0;
  cursor: pointer;
}

.form-data-agree label {
  cursor: text;
  margin-bottom: 0;
  font-weight: normal;
  display: inline-block;
  color: var(--gray-500);
  line-height: 1.4;
  font-size: 17px;
  cursor: pointer;
}

/* FORM BTN BOX */

.form-btn-box {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
  gap: 16px;
}

.form-btn-box input {
  font-weight: 600;
  font-family: inherit;
  line-height: inherit;
  font-size: 20px;
  line-height: 1.45;
  cursor: pointer;
}

.form-btn-box p {
  color: var(--gray-500);
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
}

/*  */

.contact-img {
  background-image: url("../images/client.webp");
  background-position: 0%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 2px 0 4px #066fd114, -2px -2px 4px #066fd114, 0 2px 4px #066fd114;
}

#formsuccess {
  background: #eaf7ff;
  width: 100%;
  padding: 20px;
  color: #3e3e59;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  line-height: 26px;
  display: none;
}

/* ******************** */
/* ****** FOOTER ****** */
/* ******************** */

footer {
  background-color: #0054a6;
  color: var(--white);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 54px 0 0;
  margin: 0 auto 64px;
  gap: 24px;
  /* max-width: 90%; */
  width: 100%;
}

/* Company-Logo */

.footer-container .company-logo p {
  color: var(--blue-300);
  font-size: 25px;
  line-height: 1.4;
}

.footer-container .company-logo .heading {
  position: relative;
  margin-bottom: 14px;
  width: fit-content;
}

.footer-container .company-logo .heading a img {
  max-width: 120px;
}

/* Company Details */

.footer-container .company-details {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  gap: 12px;
}

.footer-container .company-details ul {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  gap: 12px;
}

.footer-container .company-details a {
  font-size: 20px;
  line-height: 1.45;
  color: var(--blue-300);
  transition: ease 0.5s;
}

.footer-container .company-details a:hover {
  color: var(--white);
}

.footer-container .company-details .heading {
  position: relative;
  font-size: 25px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.footer-container .company-logo .heading::after,
.footer-container .company-details .heading::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -4px;
  width: 60px;
  height: 5px;
  background-color: white;
  border-radius: 30px;
}

.footer-container .company-details p {
  position: relative;
  color: var(--blue-300);
  font-size: 20px;
  line-height: 1.3;
  padding-left: 30px;
  transition: ease 0.5s;
}

.footer-container .company-details p::before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  top: 3px;
  left: -2px;
  background-repeat: no-repeat;
}

.footer-container .company-details .mail:hover {
  color: var(--white);
}

.footer-container .company-details .mail::before {
  background-image: url(../images/icons/mail.svg);
}

.footer-container .company-details .location::before {
  background-image: url(../images/icons/location.svg);
}

.linkedin {
  width: 40px;
  height: 40px;
  display: inline-block;
}

.copyrights {
  padding-bottom: 20px;
  color: var(--blue-300);
  font-size: 20px;
  line-height: 1.35;
  text-align: center;
}

/* ************************ */
/* ****** ANIMATIONS ****** */
/* ************************ */

/* TOP ANIMATION */

.fade-in-top {
  opacity: 0;
}

.fade-in-top.show {
  animation: fade-in-top 0.7s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  will-change: opacity, transform;
}

@keyframes fade-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* BOTTOM ANIMATION */

.fade-in-bottom {
  opacity: 0;
}

.fade-in-bottom.show {
  animation: fade-in-bottom 0.8s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  will-change: opacity, transform;
}

@keyframes fade-in-bottom {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }

  10% {
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* AUTO SCROLL */

.scroll-parent {
  position: relative;
  height: inherit;
  width: 100vw;
  overflow-x: hidden;
}

.scroll-primary {
  width: inherit;
  position: absolute;
  left: 0%;
  top: 22%;
  /* animation: primary 20s linear infinite; */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* @keyframes primary {
  from {
    left: 0%;
  }

  to {
    left: -100%;
  }
} */

/* ***************************** */
/* ******* MEDIA QUERIES ******* */
/* ***************************** */

/* ******* LAPTOP ******* */

@media (max-width: 1440px) {
  .container {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }

  .read-more {
    font-size: 20px;
  }

  .primary-btn,
  .secondary-btn {
    font-size: 18px;
    line-height: 1.15;
  }

  /* TOP NAV */

  .top-nav {
    padding: 6px 0;
    font-size: 16px;
  }

  .top-nav a {
    font-size: 16px;
  }

  /* Header */

  header .navbar {
    padding: 16px 0;
    right: 0;
  }

  header .navbar img {
    width: 95px;
  }

  header .navbar ul li a {
    font-size: 16px !important;
    line-height: 1.45;
  }

  header .navbar ul li a.secondary-btn,
  header .navbar ul li a.primary-btn {
    line-height: 1.15;
  }

  /* CONTACT FORM */
  .form-head h2 {
    font-size: 42px;
  }

  .form-head p {
    font-size: 18px;
  }

  /* FORM */

  .form-data label {
    font-size: 16px;
    line-height: 22px;
  }

  .form-data input {
    font-size: 16px;
    line-height: 22px;
  }

  .form-data-agree {
    width: auto;
  }

  .form-data-agree label {
    font-size: 16px;
    line-height: 22px;
  }

  .form-btn-box p {
    font-size: 16px;
  }

  .form-btn-box input {
    font-size: 18px;
    line-height: 1.15;
  }

  /* FOOTER */

  .footer-container {
    padding: 48px 0 0;
    margin: 0 auto 60px;
  }

  .footer-container .company-logo .heading a img {
    max-width: 100px;
  }

  .footer-container .company-details .heading {
    font-size: 22px;
  }

  .footer-container .company-logo p {
    font-size: 22px;
  }

  .footer-container .company-details a {
    font-size: 18px;
  }

  .footer-container .company-details p {
    font-size: 18px;
  }

  .copyrights {
    font-size: 18px;
    padding-bottom: 16px;
  }
}

/* ******* MINI_LAPTOP ******* */

@media (max-width: 1200px) {
  /* FORM */

  .form-head h2 {
    font-size: 35px;
  }

  /* FOOTER */

  .footer-container .company-logo p {
    font-size: 19px;
  }

  .footer-container .company-details .heading {
    font-size: 19px;
  }
}

/* ******* LAPTOP_DESKTOP_VIEW ******* */

@media (max-width: 1024px) {
  /* NAV */
  .top-nav {
    padding: 6px;
  }

  .top-nav a {
    padding: 8px 16px;
  }

  /* Header */
  header .navbar ul li a {
    font-size: 18px;
  }

  header .navbar ul li a {
    font-size: 18px;
  }
}

/* ******* TABLETS_LARGE ******* */

@media (max-width: 990px) {
  /* HEADER */

  header.container {
    margin: 0 auto;
  }

  header .navbar ul {
    display: none;
  }

  /* MOBILE */

  .nav-mob {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .mob-hidden-box {
    display: block;
  }

  .hidden-box {
    width: 100vw;
    display: flex;
    justify-content: center;
    /* gap: 24px; */
    background-color: #fff;
    /* border-radius: 12px; */
    padding: 24px;
    box-shadow: 2px 0 4px #066fd114, -2px -2px 4px #066fd114,
      0 2px 4px #066fd114;
    transition: all ease 400ms;
    /* TEMP */
    opacity: 0;
  }

  .hidden-box.slide-in-top {
    transform: translateY(280px);
    opacity: 1;
  }

  .mob-hidden-box ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mob-hidden-box ul li {
    margin: 8px 0;
  }

  .mob-hidden-box ul li:last-child {
    margin-bottom: 0px;
  }

  .mob-hidden-box ul li a {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
  }

  .mob-hidden-box ul li a.secondary-btn {
    font-size: 18px;
  }

  /* CONTACT FORM */

  .contact-container {
    gap: 20px;
  }

  .contact-form-box {
    padding: 28px 20px;
  }

  .form-head h2 {
    font-size: 32px;
  }
}

/* ******* TABLETS ******* */

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }

  .read-more {
    font-size: 16px;
  }

  .primary-btn,
  .secondary-btn {
    line-height: 1.15;
  }

  /* TOP NAV */

  .top-nav {
    padding: 6px 16px;
  }

  .top-nav a {
    padding: 8px 14px;
    text-wrap: nowrap;
  }

  /* Header */
  /* header .navbar {
    padding: 16px 1px;
  } */

  header .navbar img {
    width: 100%;
  }

  /* CONTACT FORM */

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-img {
    background-image: url("../images/filter-section.webp");
    background-position: 0 0;
    display: block;
    height: 650px;
  }

  .contact-form-box {
    padding: 28px 16px;
  }

  .form-head p {
    text-align: center;
  }

  #formsuccess {
    font-size: 16px;
    line-height: 24px;
  }

  /* FOOTER */

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-container .company-logo {
    margin: 0 auto;
  }

  .footer-container .company-details .heading {
    font-size: 18px;
  }

  .footer-container .company-logo p {
    font-size: 18px;
  }

  .footer-container .company-logo .heading {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 auto 20px;
  }

  .footer-container .company-details {
    align-items: center;
    gap: 16px;
  }

  .footer-container .company-details ul {
    text-align: center;
    gap: 16px;
  }

  .footer-container .company-details:last-of-type {
    width: 250px;
  }

  .footer-container .company-details a {
    font-size: 18px;
  }

  .footer-container .company-details p {
    text-align: left;
  }
  .footer-container .company-details p::before {
    top: 1px;
  }
  .footer-container .company-details .mail,
  .footer-container .company-details .location {
    font-size: 18px;
    line-height: 23px;
  }

  .footer-container .company-logo .heading::after,
  .footer-container .company-details .heading::after {
    transform: translate(30%, 0);
    right: 50%;
    bottom: -4px;
    width: 60%;
    height: 4px;
  }

  .copyrights {
    font-size: 17px;
  }
}

/* ******* MOBILE ******* */

@media (max-width: 480px) {
  .top-nav {
    gap: 8px;
  }

  .top-nav span {
    text-align: center;
    line-height: 1.35;
  }

  header .navbar ul li a {
    font-size: 16px !important;
  }

  /* MOBILE NAVBAR */
  .nav-mob .nav-items {
    display: none;
  }

  .mob-hidden-box ul li:last-child {
    margin-bottom: -6px;
  }

  .hidden-box ul .nav-items {
    display: block;
  }

  .hidden-box .nav-items.secondary-btn {
    display: none;
  }

  /* CONTACT FORM */

  .form-head h2 {
    font-size: 29px;
  }

  .form-head p {
    font-size: 16px;
  }

  .form-btn-box input {
    font-size: 16px;
  }

  /* FOOTER */

  /* footer {
    padding-bottom: 90px;
  } */

  .footer-container {
    margin: 0 auto 40px;
  }

  .footer-container .company-logo p {
    font-size: 16px;
  }

  .footer-container .heading {
    font-size: 18px;
  }

  .footer-container .company-details a {
    font-size: 16px;
  }

  .footer-container .company-details .mail,
  .footer-container .company-details .location {
    font-size: 16px;
    line-height: 21px;
  }

  .copyrights {
    font-size: 16px;
    line-height: 22px;
  }
}
