@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  border: none;
  outline: none;
  text-decoration: none;
  color: var(--primary-text);
}

:root {
  --primary: #0344dc;
  --secoundary: #0234a8;
  --primary-text: #0C2136;
  --bg: #0C2136;
  --sub-text: #6a8d92;
}

[class*="grid"] {
  display: grid;
}

.align-center {
  align-items: center;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  -webkit-text-size-adjust: 100%;
}

button i {
  font-size: 2rem;
  color: white;
}

p,
a,
input,
select,
textarea,
button {
  font-size: 1.6rem;
  font-weight: 500;
}

p {
  color: var(--sub-text);
  line-height: 27px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: capitalize;
}

img,
video {
  max-width: 100%;
}

.container {
  max-width: 1240px;
  padding: 0 2rem;
  margin: auto;
  width: 100%;
}

.container-max {
  max-width: 1540px;
  padding: 0 2rem;
  margin: auto;
  width: 100%;
}

button {
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 1rem;
  background: var(--primary);
  color: white;
  border-radius: 5rem;
  font-weight: bold;
  border: 1px solid var(--primary);
  text-transform: capitalize;
  line-height: 1;
  transition: 0.3s;
}

button.empty:hover {
  background: var(--primary);
  color: white;
}

button:hover {
  background: var(--secoundary);
  border-color: transparent;
}

button.learn {
  transition: 0.1s;
}

button.learn:hover {
  padding-bottom: 0.5rem;
}

button.empty {
  background: transparent;
  color: var(--primary);
}

button.learn {
  border: none;
  border-bottom: 3px solid var(--primary);
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--primary-text);
}

section {
  padding: 8rem 0;
}

/* header section */
header {
  height: 8rem;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  background: transparent;
}

header.sticky {
  background: white;
  transition: 0.3s;
  border: unset;
  box-shadow: #959da533 0px 8px 24px;
}

.logo img {
  height: 5rem;
}

header .container {
  height: 100%;
  max-width: 100%;
  padding: 0 5rem;
}

header .links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

header .links a {
  transition: 0.3s;
}

header .links a:hover {
  color: var(--primary);
}

header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

header .cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

.menu {
  font-size: 3rem;
  display: none;
}

/* header section end */
main {
  position: relative;
  min-height: 90rem;
  overflow: hidden;
  padding-top: 13rem;
  height: 95dvh;
}

main .overlay {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 1;
  width: 100%;
}

main .glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -60%;
  z-index: -1;
}

main .content {
  max-width: 85rem;
  width: 100%;
  margin: auto;
  text-align: center;
  display: grid;
  gap: 1.5rem;
}

section .cta,
main .cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

section .cta button,
main .cta button {
  font-size: 1.8rem;
}

main .content h1 {
  font-size: 9rem;
  line-height: 1;
}

main .content p {
  font-size: 1.8rem;
  max-width: 65rem;
  width: 100%;
  margin: auto;
}

.hero {
  max-width: 75rem;
  width: 100%;
  margin: auto;
  position: absolute;
  bottom: -3rem;
  filter: drop-shadow(0px 88px 400px #004cff) drop-shadow(0px -58px 300px #01d9ff5c);
  border-radius: 2rem;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%) !important;
}

.hero img {
  display: block;
  margin: auto;
}

.title {
  text-align: center;
  max-width: 60rem;
  width: 100%;
  margin: auto;
  margin-bottom: 5rem;
}

.title h2 {
  font-size: 4.5rem;
  text-transform: capitalize;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card .ico i {
  color: var(--primary);
  font-size: 4rem;
}

.card {
  padding: 3rem;
}

.card .body {
  margin-top: 1.5rem;
}

.card .body h3 {
  font-size: 2.3rem;
}

.mt-5 {
  margin-top: 5rem;
}

section.bg {
  background: var(--bg);
  position: relative;
  padding: 0;
  overflow: hidden;
}


section.bg .m1 {
  top: -1px;
  width: 100%;
  z-index: 2;
}

section.bg .m2 {
  bottom: -1px;
  transform: rotateZ(180deg);
  z-index: 2;
}


section.bg .container {
  padding: 13rem 2rem;
  position: relative;
  z-index: 1;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

section.bg :is(h1, h2, h3, h4, h5, h6, .learn) {
  color: white;
}

section.bg .cta {
  justify-content: flex-start;
}

.texts h2 {
  font-size: 6.5rem;
  text-transform: none;
}

.source {
  position: relative;
  width: 140%;
  right: -10rem;
}

section .texts {
  display: grid;
  gap: 1.5rem;
}

footer {
  background: #fafafa;
  padding-bottom: 0;
}

footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
}

.link,
.contact {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.link h2,
.contact h2 {
  font-size: 2rem;
  color: #0a2539;
}

.link a,
.contact a {
  font-weight: 500;
}

footer p {
  font-size: 1.5rem;
}

.link a,
.contact a,
footer p {
  color: var(--primary-text);
}

footer p {
  margin: 2rem 0;
}

footer .social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social i {
  font-size: 2.5rem;
  color: var(--primary);
}

.copy {
  padding: 2rem;
  text-align: center;
  color: var(--bg);
  font-size: 1.5rem;
}

a {
  width: fit-content !important;
}

@media (max-width: 1024px) {
  html {
    font-size: 45%;
  }

  .container {
    padding: 0 1.5rem;
  }
}

header .cta button.empty {
  display: inline-block;
}

header .links button.empty {
  display: none;
}

@media (max-width: 660px) {
  html {
    font-size: 62%;
  }

  header .container {
    padding: 0 1.5rem;
    align-items: center;
    height: 100%;
    display: flex;
    justify-content: space-between;
  }

  header .logo img {
    height: 6rem;
  }

  .menu {
    display: block;
  }

  .menu {
    height: 2.5rem;
    width: 3.5rem;
    cursor: pointer;
  }

  .menu span:nth-child(1),
  .menu span:nth-child(1)::before,
  .menu span:nth-child(1)::after {
    background: var(--primary-text);
    content: "";
    position: absolute;
    width: 3.5rem;
    height: 3px;
    border-radius: 1rem;
    margin-top: 13px;

    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  .menu span:nth-child(1)::before {
    margin-top: -12px;
    -webkit-transition: 0.3s ease-in-out 0.3s;
    -moz-transition: 0.3s ease-in-out 0.3s;
    -o-transition: 0.3s ease-in-out 0.3s;
    transition: 0.3s ease-in-out 0.3s;
  }

  .menu span:nth-child(1)::after {
    margin-top: 12px;

    -webkit-transition: 0.3s ease-in-out 0.3s;
    -moz-transition: 0.3s ease-in-out 0.3s;
    -o-transition: 0.3s ease-in-out 0.3s;
    transition: 0.3s ease-in-out 0.3s;
  }

  .menu span:nth-child(2) {
    background: var(--primary-text);
    content: "";
    position: absolute;
    width: 0px;
    height: 3px;
    margin-top: 13px;
    border-radius: 1rem;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);

    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  .menu.active span:nth-child(1)::before,
  .menu.active span:nth-child(1)::after {
    margin-top: 0;
  }

  .menu.active span:nth-child(1) {
    -webkit-transition: 0.3s ease-in-out 0.3s;
    -moz-transition: 0.3s ease-in-out 0.3s;
    -o-transition: 0.3s ease-in-out 0.3s;
    transition: 0.3s ease-in-out 0.3s;

    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu.active span:nth-child(2) {
    width: 3.5rem;
    -webkit-transition: 0.3s ease-in-out 0.5s;
    -moz-transition: 0.3s ease-in-out 0.5s;
    -o-transition: 0.3s ease-in-out 0.5s;
    transition: 0.3s ease-in-out 0.5s;
  }

  header {
    background: white;
  }

  header .links {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    height: calc(100vh - 8rem);
    position: fixed;
    top: 8rem;
    background: var(--bg);
    backdrop-filter: blur(15px);
    width: 100%;
    padding: 5rem 0;
    left: 0px;
    transition: 0.5s;
    transform: translateX(100%);
  }

  .active {
    transform: translateX(0%) !important;
  }

  header .links a {
    color: white;
  }

  header .cta button.empty {
    display: none;
  }

  header .links button.empty {
    display: inline-block;
  }

  section {
    padding: 5rem 0;
    overflow: hidden;
  }

  header.sticky .menu {
    color: white;
  }

  [class*="grid"],
  .slider-wraper,
  footer .container {
    grid-template-columns: 1fr !important;
  }

  .fix {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  main .content h1 {
    font-size: 6rem;
  }

  main {
    height: 100%;
  }

  main .hero {
    width: 80%;
  }

  .texts h2 {
    font-size: 4.5rem;
    text-transform: none;
  }

  .source {
    width: 100%;
    right: unset;
  }

  .grid-2 {
    gap: 3rem;
  }

  section.bg .container {
    padding: 5rem 2rem;
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 520px) {
  main .content h1 {
    font-size: 4.6rem;
  }
}

@media (max-width: 380px) {
  main .content h1 {
    font-size: 4rem;
  }

  .title h2,
  .texts h2 {
    font-size: 4rem;
    text-transform: capitalize;
  }
}

.list i {
  color: var(--primary);
  font-size: 2.3rem;
}

.list p {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}