* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Roboto", sans-serif;
}
  
body {
  background-color: #0F0F0F;
  color: #F9F9F9;
  line-height: 1.6;
  position: relative;
}

/* navbar */
nav {
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
  z-index: 999;
}

.nav-links a:hover {
  color: #FF3D00;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin-bottom: 5px;
  border-radius: 5px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: auto;
  max-width: 1200px;
  padding-top: 1rem;
  padding-bottom: 10rem;
  position: relative;
}

/* Beranda */
.hero h1 {
  font-size: 5rem;
  color: #FFF;
  font-family: "Roboto", "popins";
}

.tagline {
  font-size:2.5rem;
  font-weight: bold;
  color: #FF3D00;
  margin: 1rem 0;
  margin-bottom: 2rem;
  text-align: left;
}

.cta-buttons{
  left: 0;
  display: flex;
  padding: 0;
  gap: 1rem;
  align-items: center;
}

.cta-buttons a {
  color: #FFF;
  border-radius: 8px;
  border: 1px solid #0F0F0F;
  transition: 0.3s;
  text-decoration: none;
  background-color: #FF3D00;
}

.cta-buttons img{
  padding: 10px 10px 0;
  width: 57px;
}

.btn.red {
  padding: 8px 10px;
  font-size: 1.5rem;
}

.btn:hover {
  background-color: #C62828;
  color: #0F0F0F;
}

.profil{
  width: 100%;
  max-width: 500px;
  padding: 13rem;
  position: relative;
  height: 100%;
}

.profil img{
  max-width: 100%;
  width: 500px;
  position: absolute;
  right: 0;
  top: 0;
}

/* whatapp */
.whatapp img{
  width: 70px;
}

.whatapp{
  position: absolute;
  bottom: 3rem;
  right: 3rem;
}

/* section */
.allSection{
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  position: relative;
  margin: 1rem 8rem;
  gap: 0.5rem;
}

section {
  padding-top: 3rem;
  width: 60%;
}

h2{
  font-size: 2.5rem;
}
/* about */
.about{
  padding-top: 5rem;
}

.about p{
  font-size: 1.3rem;
}

/* gallert */
.gallery .action {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0rem;
}

.gallery img {
  width: 170px;
  border-radius: 10px;
}

/* training */
.programs{
  position: absolute;
  width: 40%;
  right: 0rem;
  top: 0;
}

.programs .profil1{
  position: relative;
}

.programs .profil1 img{
  max-width: 400px;
}

.programs .program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 2fr));
  gap: 1rem;
  margin-top: 1rem;
}

.program-card {
  background-color: #C62828;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
}

.program-card img{
  width: 80px;
}

.program-card p{
  font-size: 1.3rem;
}

/* testimonials */
.testimonials blockquote {
  font-style: italic;
  text-align:left;
  font-size: 1.5rem;
}

.testimonials .clientName{
  padding: 0;
  padding-right: 5rem;
  font-size: 1rem;
  text-align: right;
}

/* contact */
.formContact{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 5rem 8rem;
  padding-top: 2rem;
}

.formContact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 50%;
  justify-content: center;
  align-items: center;
}

.formContact input,
.formContact textarea {
  padding: 12px;
  border: 1px solid #fff;
  border-radius: 8px;
  background-color: #0F0F0F;
  color: #FFF;
  width: 100%;
}

.formContact textarea{
  height: 7rem;
}

.formContact button {
  background: #FF3D00;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  color: #FFF;
  cursor: pointer;
  width: 6rem;
  transition: background 0.3s ease;
}

.formContact button:hover{
  background-color: #C62828;
}

.profil3{
  position: absolute;
  right: 0em;
  top: -7rem;
  width: 500px;
}

.profil3 img{
  width: 400px;
}

/* footer */
footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #fff;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nav-links {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    background-color: #0F0F0F;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    z-index: 1;
    transition: max-height 0.9s ease;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 1rem 0;
  }

  .hamburger {
    margin-top: 1rem;
    display: flex;
    cursor: pointer;
    position: absolute;
    z-index: 9999;
  }

  nav{
    justify-content: right;
    z-index: 999;
    width: 100%;
    position: fixed;
  }

  .hero{
    padding: 1rem 2rem;
    justify-content: left;
    overflow: hidden;
    margin: 0 1rem;
  }

  .hero h1{
    font-size: 3.5rem;
  }

  .tagline{
    font-size: 2rem;
  }

  .btn.red{
    font-size: 1.2rem;
  }

  .cta-buttons img{
    width: 50px;
  }

  .profil{
    width: auto;
    margin: 0;
    position: absolute;
    right: 3rem;
    top: 5rem;
  }

  .profil img{
    width: 300px;
    right: 0rem;
    z-index: 1;
  }

  .whatapp img{
    width: 50px;
  }

  /* section */
  .allSection{
    margin: 1rem 3rem;
  }

  section{
    width: 100%;
    margin: 1rem 0rem;
  }

  h2{
    font-size: 2rem;
  }

  /* about */
  .about p{
    font-size: 1rem;
  }
  
  /* gallery */
  .gallery img{
    width: 160px;
  }

  /* training */
  .programs{
    position: relative;
    width: 100%;
  }

  .programs .profil1 img{
    width: 300px;
  }

  .programs .program-grid{
    gap: 0.5rem;
  }

  .program-card{
    padding: 10px;
  }

  .program-card img{
    width: 65px;
  }

  .program-card p{
    font-size: 1rem;
  }

  /* testimoni */
  .testimonials blockquote{
    font-size: 1rem;
  }
  
  .testimonials .clientName{
    padding-right: 10rem;
    font-size: 0.8rem;
  }

  /* contact */
  .formContact{
    margin: 1rem 3rem 2rem;
  }
}

@media (max-width: 480px){
  body{
    line-height: 1.3;
    overflow-x: hidden;
  }
  /* navbar */
  .nav-links{
    gap: 1rem;
  }

  .hamburger{
    margin: 0;
  }

  .hero{
    margin: 0;
    padding: 0rem 1rem;
    height: 20rem;
  }

  .hero h1{
    font-size: 2rem;
  }

  .home{
    z-index:1;
  }

  .tagline{
    font-size: 1.2rem;
  }

  .cta-buttons{
    gap: 0.5rem;
  }

  .cta-buttons img{
    width: 35px;
    padding: 5px 5px 0;
  }

  .btn.red{
    font-size: 0.8rem;
  }

  .profil{
    right: 0;
  }

  .profil img{
    width: 230px;
  }
  
  /* whatapp */
  .whatapp{
    z-index: 999;
    right: 1rem;
    bottom: 2rem;
  }

  .whatapp img{
    width: 30px;
  }

  /* setion */
  .allSection{
    margin: 1rem 1rem;
    text-align: center;
  }

  h2{
    font-size: 1.8rem;
  }

  /* about */
  .about{
    padding-top: 3rem;
    margin: 0 3rem;
  }

  .about p{
    font-size: 1rem;
    padding-top: 1rem;
  }

  /* gallery */
  .gallery .action{
    padding-top: 1rem;
    justify-content: center;
  }

  .gallery img{
    width: 140px;
  }

  /* training */
  .programs .profil1 img{
    width: 300px;
  }

  .programs .profil1{
    margin-bottom: 1rem;
  }

  /* testimoni */
  .testimonials blockquote{
    padding-top: 1rem;
  }
  
  .testimonials .clientName{
    padding-right: 0;
  }

  /* contact */
  .formContact{
    margin: 0rem 2rem 2rem;
  }

  .formContact form{
    width: 100%;
  }
}