* {
  font-family: "poppins", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: rgba(245, 245, 245, 0.6);
}

body,
html {
  overflow-x: hidden;
}

:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #191919; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #000; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

.logo {
  width: 100px;
  height: auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  position: sticky;
  background-color: rgba(245, 245, 245, 0.6);
  top: 0;
  z-index: 1000;
  height: 80px;
}

.navbar-menu {
  display: flex;
}

.nav-items {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-items li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-items li a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: 0.4s;
}

.close-btn {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  cursor: pointer;
  color: #333;
}

.section {
  padding-top: 45px;
  padding-bottom: 20px;
}

.hero-image {
  position: relative;
  background: rgba(245, 245, 245, 0.6);
}

.hero-section {
  margin-bottom: 9rem;
}

@media (max-width: 768px) {
  .hero-section {
    position: relative;
    margin-bottom: 12rem;
    margin-top: 8rem;
  }
  .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    /* text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9); */
    border-radius: 1rem;
    z-index: 2;
    width: 90%;
  }

  .hero-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 245, 245, 0.6);
  }
  .hero-text h1 span.text-dark {
    color: black !important; /* ubah teks jadi putih di HP */
  }
}

/* layanan */
.services-section {
  margin-bottom: 8rem;
}

.service-title {
  color: black;
  font-weight: 700;
  font-size: 1.3rem;
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: default;
  background: rgba(245, 245, 245, 0.9);
}

.icon-circle:hover {
  transform: scale(1.1);
}

/* card */

.cards {
  margin-bottom: 8rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.row > .card {
  margin-bottom: 30px; /* jarak vertikal antar card */
  padding: 24px 20px; /* padding dalam card desktop */
}

/* Nomor di card */
.card > span {
  font-weight: 700;
  font-size: 28px;
  color: #ff9f00;
  display: inline-block;
  margin-bottom: 12px;
}

/* Judul card */
.card h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 16px;
  color: #222;
}

/* Paragraf deskripsi */
.card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Efek hover untuk interaksi */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

/* Responsive font */
@media (max-width: 767px) {
  .card {
    min-height: auto;
    margin: 12px;
    padding: 2rem;
  }

  .row > .card {
    margin-left: 2rem;
    margin-right: 1rem;
    padding: 24px 20px; /* padding dalam card desktop */
  }
}

/* portfolio */
.portfolio {
  margin-bottom: 4rem;
}

.portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  object-fit: contain;
  transition: transform 0.4s ease;
  border-bottom: 1px solid #eaeaea;
}

.portfolio a {
  text-decoration: none;
}

.portfolio a:hover {
  text-decoration: underline;
  color: black;
}

/* Hover effect */
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-content {
  padding: 16px;
  text-align: center;
}

.portfolio-content h4 {
  font-size: 1.1rem;
  font-weight: semibold;
  margin: 0 0 8px;
  color: #000;
}

.portdisplay {
  display: none;
}

.portdisplay.active {
  display: flex;
  padding: 20px;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.btn-up {
  display: none;
  color: black;
  background-color: white;
}

.btn-down {
  color: black;
  background-color: white;
}

.btn-up.active {
  display: flex;
  color: black;
  background-color: white;
}

.btn-down.hide {
  display: none;
  color: black;
  background-color: white;
}

/* price */
.pricing {
  margin-bottom: 8rem;
}

.pricing .pricing-item {
  background-color: var(--surface-color);
  padding: 60px 40px;
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  font-size: 48px;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  background-color: var(--background-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  z-index: 10;
}

.pricing .featured .pricing-item {
  background: var(--accent-color);
}

@media (min-width: 992px) {
  .pricing .featured .pricing-item {
    transform: scale(1.02, 1.1);
  }
}

.pricing .featured h3,
.pricing .featured h4,
.pricing .featured h4 span,
.pricing .featured ul,
.pricing .featured ul .na,
.pricing .featured ul i,
.pricing .featured ul .na i {
  color: var(--contrast-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--contrast-color);
}

.pricing .featured .buy-btn:hover {
  background: color-mix(in srgb, var(--background-color), transparent 92%);
}

.pricing a {
  text-decoration: none;
}

/* clients */

.clients {
  padding: 15px 0;
}

.clients .swiper {
  padding: 10px 0;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-slide img {
  transition: 0.3s;
  width: 100%;
  height: auto;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

.accordion-button {
  color: #000;
}

.call-to-action {
  padding: 120px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in oklab, #000, transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: #ffff;
}

.call-to-action p {
  color: #f2f2f2;
  font-size: 16px;
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e2e2e2;
  color: #333;
}

.footer .logo {
  width: 120px;
  height: auto;
}

.footer a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #000;
}

.footer h6 {
  font-size: 18px;
  margin-bottom: 0.5rem;
}

.footer ul {
  padding-left: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
  .footer h6 {
    margin-top: 1rem;
  }
}

/* Responsive - Mobile Only */
@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem 0.8rem;
  }

  .hamburger {
    display: flex;
  }
  .hamburger.hide {
    display: none !important;
  }

  .navbar ul li a {
    color: #ffffff;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: black;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    transition: right 0.3s ease-in-out;
  }

  .navbar-menu.active {
    right: 0;
  }

  .nav-items {
    flex-direction: column;
    gap: 1.2rem;
  }

  .close-btn {
    display: block;
  }

  .hero-section {
    padding-bottom: 45px;
  }

  .hero-section p {
    font-size: 14px;
  }
  .hero-section h1 {
    font-size: 24px;
  }

  .btn {
    font-size: 14px;
  }

  .portfolio-card img {
    width: 100%;
    height: 220px;
  }

  .clients img {
    width: 50%;
  }

  .maps {
    border: 0;
    height: 250px;
    width: 380px;
  }
}
