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

html {
  scroll-behavior: smooth;
  font-family: Lato, sans-serif;
}

body {
  color: #111;
  background: #fff;
}

#button{
  padding: 12px 24px;
  border-radius: 6px;
  background-color: #7D1517;
  display: inline-flex;
  text-decoration: none;
  color: #F8FAFC;
  font-size: 16px;
  font-weight: 500;
  align-items: center;
  gap: 12px;
}

#button:hover{
  background-color: #671416;
}

#a-button{
  margin: 0; important!
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #030204;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-inner nav a {
  text-decoration: none;
  color: #F8FAFC;
  font-size: 16px;
  font-weight: 500;
  margin-right: 24px;
  font-family: "Lato", sans-serif;
  font-style: normal;
}

main {
  padding-top: 90px;
}

.hero {
  min-height: 80vh;
  margin: 0 auto;
  padding: 120px 80px;
  display: flex;
  align-items: center; 
  justify-content: center;
  text-align: center;
  background-image: url("asset/herobg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content{
  max-width: 1200px;
  text-align: center;
}

.content{
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 80px;
  display: flex;
}

.content-dark{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
}

.content-left{
  width: 42%;
  display: flex;
  flex-direction: column;
}

.content-right{
  width: 58%;
  padding: 40px;
  border-radius: 12px;
  background-color: #F6F6F6;
}

.content-right-dark{
  width: 58%;
  padding: 40px;
  border-radius: 12px;
}

.line{
  width: 44%;
  margin-bottom: 12px;
}

.section3img{
  width:100%;
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(asset/section3img.png);
}

#approach{
  background-color: #030204;
  width: 100%;
  padding: 120px 0 0 0;
}

.section5img{
  width:100%;
  height: 40vh;
  background-size: cover;
  background-position: center-top;
  background-repeat: no-repeat;
  background-image: url(asset/section5img.png);
}

.highlight-box{
  padding: 24px;
  background-color: #FFFFFF;
  margin-top:24px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  border-radius: 6px;
}

#contact{
  background-color: #030204;
  width: 100%;
  padding: 120px 0 80px 0;
}

footer {
  border-top: 1px solid #eee;
  font-size: 12px;
  padding: 24px 80px;
  text-align: center;
}


/* CONTENT TYPOGRAPHY */

.hero h1 {
  font-size: 56px;
  margin-bottom: 16px;
  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-style: normal;
  color:#F8FAFC;
}

.hero p {
  font-size: 16px;
  margin-bottom: 32px;
  color: #F8FAFC;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.content h2 {
  font-size: 56px;
  margin-bottom: 24px;
  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-style: normal;
  color:#333333;
}

.content-dark h2 {
  font-size: 56px;
  margin-bottom: 24px;
  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-style: normal;
  color:#FFFFFF;
}

.content p{
  font-size: 16px;
  line-height: 2em;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  color:#333333;
}

.content-dark p{
  font-size: 16px;
  line-height: 2em;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  color:#FFFFFF;
}

.p-light{
  margin-top: -8px;
  font-weight: 100;
}


/* Fade-in animation */
.fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */
@media (max-width: 1024px) {
  .hero,
  .content,
  footer {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero{
    min-height: 50vh;
    padding: 80px 40px;    
  }

  .content{
    padding: 80px 40px;    
  }

  .content-dark{
    padding: 0 40px;
  }

  #approach{
    padding: 80px 0 0 0;
  }

  #contact{
    padding: 80px 0 40px 0;
  }

  .content-right{
    padding: 24px;
  }

  .content-right-dark{
    padding: 24px;
  }

  .section3img{
    height: 45vh;
  }

  .section5img{
    height: 26vh;
  }

  .hero h1 {
    font-size: 32px;
  }

  .content h2 {
    font-size: 32px;
  }

  .content-dark h2 {
    font-size: 32px;
  }

  .highlight-box{
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 6px;
  }

  .p-light{
    margin-top: 2px;
    font-weight: 100;
  }

  .mobilehide{
    display: none;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .hero,
  .content,
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero{
    min-height: 60vh;
    padding: 40px 16px;    
  }

  .content{
    padding: 40px 16px; 
    flex-direction: column;  
  }

  .content-dark{
    padding: 0 16px;
    flex-direction: column;  
  }

  #approach{
    padding: 40px 0 0 0;
  }

  #contact{
    padding: 40px 0 40px 0;
  }

  .content-left{
    width: 100%;
  }

  .content-right{
    padding: 16px;
    width: 100%;
  }

  .content-right-dark{
    width: 100%;
    padding: 0px;
  }

  .section3img{
    height: 35vh;
  }

  .section5img{
    height: 26vh;
    background-position: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .content h2 {
    font-size: 32px;
  }

  .content-dark h2 {
    font-size: 32px;
  }

  .content p{
    font-size: 14px;
  }

  .content-dark p{
    font-size: 14px;
  }

  .highlight-box{
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 6px;
  }

  .p-light{
    margin-top: 2px;
    font-weight: 100;
  }

  .mobilehide{
    display: none;
  }
}
