/* Start Variables */
:root {
  --Green-500: hsl(171, 66%, 44%);
  --Blue-100: hsl(233, 100%, 69%);
  --Gray-700: hsl(210, 10%, 33%);
  --Gray-500: hsl(201, 11%, 66%);
}

/* End Variables */

/* Start Global Rules */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-size: 18px;
  font-family: "Bai Jamjuree", sans-serif;

}

h1,
h2,
h3 {
  color: var(--Gray-700)
}

h2 {
  font-size: 35px;
}

p {
  color: var(--Gray-500);
  line-height: 1.6;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Start Utility Classes */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 25px;
  box-shadow: 0 5px 10px rgb(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--Green-500);
  color: #fff;
}

.btn-primary:hover {
  background-color: hsl(171, 57%, 42%);
}

.btn-secondary {
  background-color: var(--Blue-100);
  color: #fff;
}

.btn-secondary:hover {
  background-color: hsl(233, 73%, 61%);
}

/* End Utility Classes */

/* End Global Rules */

/* Start Header */
#header {
  background: url("./images/bg-header-desktop.png") no-repeat center center / cover;
}

#header .header-content {
  max-width: 650px;
  margin: auto;
  text-align: center;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

#header .header-content h1 {
  font-size: 40px;
  margin: 3rem 0 1rem;
}

#header .header-content .download,
#section-4 .download {
  margin-top: 2rem;
}

#header .header-content .download a,
#section-4 .download a {
  margin: 0 5px;
}

/* End Header */

/* Start Section - 1 */
#section-1 {
  padding: 4rem 0;
}

#section-1 .section-heading,
#section-2 .section-heading,
#section-3 .section-heading,
#section-4 .section-heading {
  max-width: 650px;
  margin: auto;
  text-align: center;
  padding: 0 1rem;
}

#section-1 .section-heading p,
#section-2 .section-heading p,
#section-3 .section-heading p,
#section-4 .section-heading p {
  margin: 20px 0;
}

#section-1 .row {
  display: flex;
  margin-top: 4rem;
}

#section-1 .row img {
  margin-right: 4rem;
  transform: translateX(-30px);
}


#section-1 .row .item {
  margin: 50px 0;
}

#section-1 .row .item h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

#section-1 .row .item p {
  font-size: 16px;
}

/* End Section - 1 */

/* Start Section - 2 */
#section-2,
#section-3,
#section-4 {
  padding: 4rem 0;
  text-align: center;
}

/* End Section - 2 */

/* Start Section - 3 */
#section-3 .section-content {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

#section-3 .section-content .row-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1rem;
  margin-top: 5rem;

}

#section-3 .section-content .row-1 h3 {
  font-size: 24px;
  margin: 30px 0 20px;
}

#section-3 .section-content .row-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4rem;
  flex-wrap: wrap;
}

/* End Section - 3 */

/* Start Footer */
#footer {
  background-color: hsl(200, 100%, 98%);
  padding: 3rem 0;
}

#footer .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr 1fr;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

#footer .row>img {
  width: 60px;
}

#footer .row ul li {
  margin-bottom: 20px;
}

#footer .row ul li a {
  color: var(--Gray-500);
  transition: all 0.3s ease;
}

#footer .row ul li a:hover {
  color: var(--Green-500);
}

#footer .row .social-links {
  align-self: center;
}

#footer .row .social-links a {
  margin-right: 15px;
}

/* End Footer */

/* Start Responsive */
@media (max-width: 1000px) {
  #section-1 .row {
    display: block;
  }

  #section-1 .row img {
    display: block;
    margin: auto;
    transform: translateX(0px);
  }

  #section-1 .row .col {
    text-align: center;
    margin-top: 5rem;
  }

  #section-1 img,
  #section-2 img {
    width: 100%;
    padding: 0 2rem;
  }

  #footer .row {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 700px) {
  #header {
    background: url("./images/bg-header-mobile.png") no-repeat center center / cover;
  }

  #header .header-content .download a,
  #section-4 .download a {
    margin-bottom: 20px;
  }

  #section-3 .section-content .row-1 {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  #section-3 .section-content .row-2 {
    flex-direction: column;
  }

  #section-3 .section-content .row-2 img {
    margin: 40px 0;
  }

  #footer .row {
    grid-template-columns: 1fr;
    text-align: center;
    row-gap: 2rem;
  }

  #footer .row>img {
    margin: auto;
  }
}



/* End Responsive */