:root {
  --primary: #b6895b;
  --bg: #010101;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: #fff;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgba(1, 1, 1, 0.8);
  border-bottom: 1px solid #513c28;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  font-style: italic;
}

.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
  color: var(--primary);
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#menu {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/header-bg.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(1, 1, 3, 1) 8%,
    rgba(255, 255, 255, 0) 50%
  );
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
}

.hero .content h1 {
  font-size: 5em;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1.2;
}

.hero .content p {
  font-size: 1.6rem;
  color: #010101;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 600;
  text-shadow: 1px 1px 3px #b6895b;
}

.hero .content .cta,
.row .konsul-card .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #010101;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

.about,
.konsul {
  padding: 10rem 7% 1.4rem;
}

.about h2,
.konsul h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.about h2 span,
.konsul h2 span {
  color: var(--primary);
}

.about .row {
  display: flex;
}

.about .row .about-img {
  flex: 1 1 45rem;
}

.about .row .about-img img {
  width: 100%;
}

.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
}

.about .row .content .definisi p {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

.about .row .content .definisi p span {
  color: var(--primary);
}

.about .row .content .faq details {
  background: var(--primary);
  margin: 10px 0;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.about .row .content .faq summary {
  font-weight: bold;
  font-size: 1.45rem;
  color: #010101;
  cursor: pointer;
}
.about .row .content .faq summary span {
  font-weight: normal;
  color: #010101;
  font-size: 1.35rem;
}
.about .row .content .faq .panduan {
  margin-top: 10px;
  font-size: 1.4rem;
  color: #010101;
  line-height: 1.5;
}
.about .row .content .faq .panduan ol {
  margin-left: 18px;
}
.about .row .content .faq .catatan {
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
  color: #010101;
  font-size: 1.35rem;
}

.about .row .content .faq .buku-panduan .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  color: #010101;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  margin-top: 1rem;
}

/* Konsul Section */
.konsul h2 {
  margin-bottom: 1rem;
}

.konsul .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
  gap: 30px;
}

.konsul .row .konsul-card {
  text-align: center;
  padding-bottom: 4%;
}

.konsul .row .konsul-card img {
  border-radius: 50%;
  width: 180px;
  height: 180px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.konsul .row .konsul-card .konsul-card-title {
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: #fff;
  padding: 40px 60px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 20px;
}

.footer-left {
  max-width: 55%;
}

.footer-left p {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.footer-left .footer-icons .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  padding: 1px 2px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-left .footer-icons .cta svg {
  width: 1.2em;
  height: 1.2em;
}

.footer-left .footer-icons .cta:hover {
  color: var(--bg);
}

.footer-right {
  text-align: right;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.footer-nav li {
  margin: 4px 0;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--bg);
}

.footer-bottom {
  text-align: center;
  padding-top: 10px;
  font-size: 1.2rem;
  color: #fff;
}

.footer-bottom a {
  color: #010101;
}

/* Media Queries */
/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}
/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }
  #menu {
    display: inline-block;
  }
  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #fff;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }
  .navbar .navbar-nav.active {
    right: 0;
  }
  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }
  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }
  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }
  .about .row {
    flex-wrap: wrap;
  }
  .about .row .about-img img {
    height: 24rem;
    object-fit: cover;
    object-position: center;
  }
  .about .row .content {
    padding: 0;
  }
  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }
  .about .row .content p {
    font-size: 1.6rem;
  }
  .konsul p {
    font-size: 1.2rem;
  }
  .footer {
    padding: 30px 25px 15px;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  .footer-left {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .footer-left p {
    font-size: 1.4rem;
  }
  .footer-left .footer-icons .cta {
    margin: 0 6px;
    font-size: 1.2rem;
  }
  .footer-right {
    text-align: center;
  }
  .footer-nav {
    margin-bottom: 15px;
  }
  .footer-nav li {
    display: inline-block;
    margin: 0 8px;
  }
  .footer-nav a {
    font-size: 1.2rem;
  }
  .footer-bottom {
    font-size: 1.2rem;
    margin-top: 10px;
    padding-top: 8px;
  }
}
/* Mobile Phone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}
