/* 
--- 01 TYPOGRAPHY SYSTEM

- FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Line heights
Default : 1
Small: 1.05
Medium: 1.2
Paragraph default: 1.6
Large: 1.8

- Letter spacing
- 0.5px
- 0.75px

--- 02 COLORS

- Primary: #e67e22
- Tints: 
#fdf2e9
#fae5d3
#eb984e

- Shades: 
#cf711f
#45260a

- Accents:
- Greys

#888
#767676 ( lightest grey allowed on #fff )
#6f6f6f ( lightest grey allowed on #fdf2e9 )
#555
#333

--- 05 SHADOWS
0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS

Default: 9px
Medium: 11px

--- 07 WHITESPACE

- SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

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

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans Thai", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;

  overflow-x: hidden;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 700;
  color: #333;
  letter-spacing: -0.5px;
}

.heading-primary {
  font-size: 5.2rem;
  line-height: 1.3;
  margin-bottom: 3.2rem;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;

  /* Only necessary for .btn */
  border: none;
  cursor: pointer;
  font-family: inherit;

  /* Put transition on original "state" */
  /* transition: background-color 0.3s; */
  transition: all 0.3s;
}

.btn--full:link,
.btn--full:visited {
  background-color: #1c7ed6;
  color: #fff;
  padding: 1.6rem 4.8rem;
}

.btn--full:hover,
.btn--full:active {
  background-color: #1864ab;
}

.margin-btm {
  margin-bottom: 6.4rem;
}

/**************************/
/* HEADER */
/**************************/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;

  /* Because we want header to be sticky later */
  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
}

.logo {
  height: 6rem;
}

.logo-company {
  display: flex;
  align-items: center;
  gap: 3.2rem;
  margin-left: 2rem;
}

/**************************/
/* NAVIGATION */
/**************************/

.main-nav-link:link,
.main-nav-link:visited,
.back-home-link:link,
.back-home-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 2rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active,
.back-home-link:hover,
.back-home-link:active {
  color: #1971c2;
}

/**************************/
/* BODY */
/**************************/

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  margin-bottom: 4.8rem;
}

/* .list {
  list-style: none;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 2.4rem;
  margin-bottom: 4.8rem;
} */

/* .list-item {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  line-height: 1.2;
} */

.list-item {
  font-size: 1.8rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  line-height: 1.6;
}

.list-item span {
  align-self: center;
}

.list-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #1971c2;
  /* align-self: center; */
}

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

.footer {
  background-color: #fffefc;
  border-top: 1px solid #eee;
}

.footer-first-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 6.4rem;
  justify-items: center;
  padding: 6.4rem 0;
}

.logo-col {
  display: grid;
  grid-template-rows: 0.5fr 1fr;
}

.logo-footer {
  height: 7rem;
}

.icon-text-footer {
  display: grid;
  grid-template-columns: 0.5fr 3fr;
  justify-items: start;
  align-items: center;
}

.icon-text-footer span {
  font-size: 1.6rem;
  line-height: 1.5;
}

.location-icon-footer,
.phone-icon-footer,
.email-icon-footer {
  width: 2.4rem;
  height: 2.4rem;
  color: #666;
}

.location-icon-footer {
  align-self: start;
}

.line-logo-footer {
  height: 2.3rem;
  padding-left: 0.15rem;
}

.footer-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3.2rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.nav-col:last-child {
  padding-right: 6.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #333;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  /* color: #777; */
  /* color: #666; */
  text-decoration: underline;
}

.footer-second-section {
  border-top: 1px solid #eee;
  padding: 2rem 0;
  text-align: center;
}

.copyright {
  font-size: 1.2rem;
}

.icon-text-footer span br {
  display: none;
}
