@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Roboto:wght@400;700;900&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", serif;
  box-sizing: border-box;
}

body {
  background-color: #00081d;
  color: #fff;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  font-size: 1.25rem;
}

:root {
  --padding-inline: 50px;
}

/* utilities clasess */

.container {
  /* max-width: 1230px; */
  padding-inline: var(--padding-inline);
}

.flex {
  display: flex;
  align-items: center;
}

.email-sign-up {
  margin-block: 10px;
}

.email-sign-up .email {
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
  overflow: hidden;
}

.email-sign-up input {
  flex: 1;
  border: 1px solid grey;
  border-radius: 4px;
  padding: 20px;
  font-size: 14px;
  background-color: #00000075;
  text-align: left;
  color: white;
}

.email-sign-up button {
  background-color: #e50914;
  border: 0;
  outline: 0;
  border-radius: 4px;
  color: white;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease-out;
}

.email-sign-up button:hover {
  background-color: #c11119;
}

/* Navbar */

nav {
  margin-block: 10px;
  padding-block: 10px;
  justify-content: space-between;
}

nav img {
  cursor: pointer;
  width: 150px;
}

nav .btn {
  gap: 10px;
}

nav button {
  border: 0;
  outline: 0;
  background-color: #e50914;
  color: #fff;
  font-size: 14px;
  padding: 7px 15px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  background-color: #2929292e;
  border: 1px solid grey;
  color: #fff;
  padding: 7px 15px;
}

.lang-btn .lang-logo {
  margin-right: 10px;
}

.lang-btn img {
  margin-left: 10px;
  width: 10px;
}

.primary-btn:hover {
  background-color: #b41b20;
}

/*--------Header-----------*/

.header-section {
  padding: 110px;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(images/header-image.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.header-section h1 {
  font-size: 60px;
  line-height: 70px;
  font-weight: 700;
  max-width: 650px;
  margin-bottom: 10px;
}

.header-section h3 {
  font-weight: 500;
}

/*---------------features section-------------- */

.features {
  margin-block: 30px;
  padding: 50px 10%;
  font-size: 22px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  background-color: #0b0921;
}

.row {
  width: 100%;
  flex-wrap: wrap;
  padding: 50px 0;
}

.text-col {
  flex-basis: 50%;
  margin-bottom: 20px;
}

.text-col h2 {
  font-size: 45px;
  margin-bottom: 20px;
}

.img-col {
  flex-basis: 50%;
  margin-bottom: 20px;
}

.img-col img {
  display: block;
  width: 90%;
  margin: auto;
  background-color: transparent;
}

.features hr {
  border: 3px solid hsl(244deg 7.11% 41.37%);
  height: 0;
}

/*-----------------faq section-----------*/

.faq-section {
  margin-block: 30px;
}

.faq {
  text-align: left;
  padding: var(--padding-inline) 8%;
}

.faq h2 {
  font-size: 40px;
  font-weight: 600;
}

.accordion {
  margin: 20px 0;
  width: 100%;
}

.accordion li {
  list-style: none;
  width: 100%;
}

.accordion input[type="radio"] {
  display: none;
}

.accordion li label {
  width: 100%;
  display: flex;
  background-color: #132144;
  border: 2px solid transparent;
  padding: 24px;
  font-size: 24px;
  font-weight: 500;
  margin: 6px auto 3px;
  cursor: pointer;
  position: relative;
}

.accordion li label:hover {
  background-color: #223362;
}

.accordion li label::after {
  content: "+";
  font-size: 34px;
  position: absolute;
  bottom: 10px;
  right: 20px;
  transition: transform 0.5s;
}

.accordion .content {
  background-color: #101b38;
  padding: 0 20px;
  font-size: 35px;
  font-weight: 400;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s, padding 0.5s;
}

.accordion input[type="radio"]:checked + label + .content {
  max-height: 600px;
  padding: 30px 20px;
}

.accordion input[type="radio"]:checked + label::after {
  transform: rotate(135deg);
}

.faq .email input {
  max-width: 450px;
}

/*-------Footer----------*/

footer {
  margin: 20px 0;
  color: #aca7a7;
}

.footer-container {
  padding: var(--padding-inline) 8%;
}

.footer-container h2 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;
}

.footer-container .row {
  align-items: flex-start;
  flex-wrap: wrap;
}

footer ul li {
  list-style-type: none;
}

.col-links {
  flex-direction: column;
  flex-basis: 25%;
  flex-grow: 1;
  align-items: start;
  font-size: 15px;
}

.col-links a {
  color: #aca7a7;
  display: block;
  font-size: 14px;
  margin-bottom: 15px;
}

footer button {
  margin-bottom: 30px;
  padding: 8px 10px;
}

footer .copywrite {
  font-size: 14px;
}

/* ----------media query----------- */

@media only screen and (max-width: 600px) {
  html, body {
    padding: 0;
    margin: 0;
  }
  .container {
    padding-inline: 20px;
  }

  /* -----nav------- */ 
  nav .company-logo img {
    width: 100px;
  }
  nav button {
    padding: 5px 10px;
  }
  nav .lang-btn {
    padding: 4px 8px;
  }
  nav .lang-btn .lang-text {
    font-size: 0;
  }

  /* ------header------- */
  header {
    .header-section {
      padding-top: 150px;
      padding-left: 10px;
    }
    .header-section h1 {
      font-size: 30px;
      line-height: 30px;
    }
  }
    .email {
      flex-wrap: wrap;
    }
    .email input {
      flex: 1;
      padding: 12px;
      font-size: 12px;
    }
    .email button {
      font-size: 12px;
      padding: 10px 20px;
    }
  

  /* -----features section------ */
  .text-col, .img-col {
    flex-basis: 100%;
  }
  .text-col h2 {
    font-size: 30px;
  }
  .text-col p {
    font-size: 15px;
  }
  .features .reverse{
    flex-direction: column-reverse;
  }

  /* --------FAQ-------- */
  .faq h2 {
    font-size: 20px;
  }
  .accordion .content p {
    padding: 10px;
    font-size: 14px;
  }
  .accordion input[type="radio"]:checked + label + .content {
    max-height: 600px;
    padding: 8px 7px;
}
  .accordion li label {
    padding: 10px;
    font-size: 14px;
  }
  .accordion li label::after {
    font-size: 22px;
    top: 4px;
    bottom: 0;
  }

  /* ------footer------- */
  footer .row {
    display: block;
  }
}

