/* Start Variables */
:root {
  --bg-main: hsl(218, 28%, 13%);
  --bg-secondary: hsl(217, 28%, 15%);
  --bg-footer: hsl(216, 53%, 9%);
  --bg-testimonials: hsl(219, 30%, 18%);
  --cyan: hsl(176, 68%, 64%);
  --blue: hsl(198, 60%, 50%);
}

/* End Variables */

/* Start Global Rules */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  color: #fff;
}

h1,
h2,
h3 {
  font-family: "Raleway", sans-serif;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/* Start Utility Classes */
.btn {
  display: inline-block;
  padding: 15px;
  margin-top: 30px;
  border-radius: 50px;
  width: 220px;
  font-family: "Raleway", sans-serif;
  cursor: pointer;
  border: none;
  background: linear-gradient(to right, var(--blue), var(--cyan));
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

/* End Utility Classes */

/* End Global Rules */

/* Start Header */
#header {
  background: url("./images/bg-curvy-desktop.svg") no-repeat bottom / contain var(--bg-secondary);
}

#header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 180px;
  max-width: 1300px;
  margin: auto;
}

#header .navbar ul {
  display: flex;
}

#header .navbar ul a {
  margin: 0 25px;
  color: #fff;
  font-family: "Raleway", sans-serif;
  padding-bottom: 5px;
}

#header .navbar ul a:hover {
  border-bottom: 1px solid #fff;
}

#header .header-content {
  padding: 5rem 0 12em;
  text-align: center;
  max-width: 600px;
  margin: auto;
}

#header .header-content img,
#section-2 .row img {
  max-width: 100%;
}

#header .header-content h1 {
  font-size: 40px;
  margin: 3rem 0 1rem;
  line-height: 1.5;
}

#header .header-content p {
  max-width: 450px;
  margin: auto;
  line-height: 1.5;
}

/* End Header */

/* Start Section - 1 */
#section-1,
#section-2 {
  background-color: var(--bg-main);
  padding: 5rem 2rem;
}

#section-1 .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 10rem;
  text-align: center;
  max-width: 800px;
  margin: auto;
}

#section-1 .row h2 {
  font-size: 20px;
  margin: 15px 0 5px;
}

/* End Section - 1 */

/* Start Section - 2 */
#section-2 .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  column-gap: 5rem;
}

#section-2 .row h2 {
  font-size: 36px;
  max-width: 80%;
}

#section-2 .row .section-content p {
  margin: 20px 0;
}

#section-2 .row .section-content a {
  color: var(--cyan);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--cyan);
}

#section-2 .row .section-content a i {
  font-size: 10px;
  margin-left: 2px;
}

#section-2 .row .section-content a:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}

/* End Section - 2 */

/* Start Section - 3 */
#section-3 {
  background-image: url("./images/bg-quotes.png");
  background-repeat: no-repeat;
  background-position: 12% 8%;
  background-color: var(--bg-main);
  padding: 5rem 0 20rem;
}

#section-3 .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;
}

#section-3 .row .col {
  background-color: var(--bg-testimonials);
  padding: 2rem;
}

#section-3 .row .col .user {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

#section-3 .row .col .user img {
  width: 25px;
  border-radius: 50%;
  margin-right: 10px;
}

#section-3 .row .col .user h2 {
  font-size: 12px;
}

#section-3 .row .col .user p {
  font-size: 10px;
  margin-top: 3px;
}

/* End Section - 3 */

/* Start Footer  */
#footer {
  background-color: var(--bg-footer);
  padding-bottom: 5rem;
}

/* Start Sign-up */
#footer .sign-up {
  background-color: var(--bg-secondary);
  padding: 3rem 5rem;
  text-align: center;
  max-width: 800px;
  margin: auto;
  transform: translateY(-50%);
}

#footer .sign-up h2 {
  font-size: 30px;
}

#footer .sign-up p {
  margin: 15px 0;
}

#footer .sign-up #form input {
  width: 65%;
  padding: 15px;
  border-radius: 25px;
  border: none;
  outline: none;
  margin-right: 20px;
}

#footer .sign-up #form .btn {
  width: 30%;
}

/* End Sign-up */
#footer .row {
  display: grid;
  grid-template-columns: 3fr 2fr 1fr 1fr 1fr;
  margin-top: 1rem;
  column-gap: 3rem;
}

#footer .row .col {
  display: flex;
  align-items: start;
}

#footer .row .col img {
  margin-right: 20px;
  margin-top: 5px;
}

#footer .row li {
  margin-bottom: 15px;
}

#footer a {
  color: #fff;
}

#footer .row li img {
  margin-right: 10px;
  vertical-align: middle;
}

#footer .row .social-links i {
  margin-right: 5px;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 2;
  transition: all 0.3s ease;
}

#footer .row .social-links i:hover {
  color: var(--cyan);
  border: 1px solid var(--cyan);
}

/* End Footer  */

/* Start Responsive */
@media(max-width: 750px) {
  #header .navbar img {
    width: 80px;
  }

  #header .navbar li a {
    margin: 0 10px;
  }

  #header .header-content h1 {
    font-size: 27px;
  }

  #section-1 .row {
    grid-template-columns: 1fr;
    row-gap: 3rem;

  }

  #section-2 .row,
  #section-3 .row {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }

  #section-2 .row {
    text-align: center;
  }

  #section-2 .row h2 {
    max-width: 400px;
    margin: auto;
  }

  #section-3 {
    background-position: 10% 6%;
  }

  #footer .sign-up {
    padding: 2rem 2rem;
  }

  #footer .sign-up h2 {
    font-size: 22px;
  }

  #footer .sign-up #form input,
  #footer .sign-up #form .btn {
    width: 100%;
    margin: 10px 0;
  }

  #footer .row {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }
}

/* End Responsive */