/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
  background: #6ea8ff;
  color: #0b1b45;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: #0d4ed8;
  position: sticky;
  top: 0;
  z-index: 999;
}

nav h3 {
  color: white;
  font-size: 28px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  transition: 0.3s ease;
}

nav a:hover {
  opacity: 0.8;
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  min-height: 520px;

  background-image: url('../img/bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 70%;

  background-color: #000;

  position: relative;
  text-align: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  margin-top: 10px;
  opacity: 0.95;
}

/* BUTTON */
.btn {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 13px 28px;
  border-radius: 10px;
  display: inline-block;
  margin-top: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ========================= */
/* ABOUT */
/* ========================= */

/* ========================= */
/* ABOUT MODERN CARD */
/* ========================= */

.about {
  padding: 90px 25px;
  background: #ffffff;
  color: #0b1b45;
}

.about h2 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  font-weight: 700;
}

.about-content img {
  width: 100%;
  max-width: 300px; /* sebelumnya 450px */
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.about-content:hover {
  transform: translateY(-5px);
}

.about-content {
  max-width: 1000px;
  margin: auto;
  text-align: center;

  background: transparent; /* hapus background */
  box-shadow: none; /* hapus bayangan */
  border: none; /* hapus border */
  border-radius: 0; /* hapus sudut membulat */

  padding: 0;
}

.about-content .text h3 {
  font-size: 38px;
  margin-bottom: 20px;
  color: #0d4ed8;
}

.about-content .text p {
  font-size: 17px;
  line-height: 1.9;
  color: #374151;
  margin-bottom: 15px;
}

/* ========================= */
/* SERVICES */
/* ========================= */

.services {
  padding: 70px 25px;
  background: #6ea8ff;
}

.services h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 45px;
  font-weight: 700;
}

.service-boxes {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(4, 1fr);
}

/* CARD */
.service-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.3s ease;
  text-align: center;

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 16px;
  padding: 14px;
  font-weight: 600;
  color: #0b1b45;
}

/* BUTTON ORDER */
.order-btn {
  display: block;
  background: #2563eb;
  padding: 13px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.order-btn:hover {
  background: #1d4ed8;
}

/* ========================= */
/* OUR WORK */
/* ========================= */

.our-work {
  text-align: center;
  padding: 70px 20px;
  background: #8bb8ff;
}

.our-work h2 {
  font-size: 42px;
  font-weight: 700;
  color: #0b1b45;
  margin-bottom: 10px;
}

.work-line {
  width: 80px;
  height: 4px;
  background: #2563eb;
  margin: 10px auto 40px;
  border-radius: 10px;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

.work-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 15px;
  transition: 0.3s ease;

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.work-gallery img:hover {
  transform: scale(1.04);
}

/* ========================= */
/* CONTACT */
/* ========================= */

.contact-section {
  padding: 70px 20px;
  background: #6ea8ff;
  color: #0b1b45;
  text-align: center;
}

.contact-section h2 {
  font-size: 36px;
  margin-bottom: 35px;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
}

.contact-info {
  width: 320px;
  text-align: left;
}

.contact-info h3 {
  margin: 18px 0 5px;
  color: #0d4ed8;
}

.contact-info a {
  color: #0d4ed8;
  text-decoration: none;
}

.contact-map {
  flex: 1;
  min-width: 300px;
}

.contact-map iframe {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ========================= */
/* FLOATING WA */
/* ========================= */

.wa-float {
  position: fixed;
  width: 58px;
  height: 58px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 5px 14px rgba(0, 0, 0, 0.3);
  z-index: 999;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: 0.3s ease;
}

.wa-float:hover {
  transform: scale(1.1);
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer {
  text-align: center;
  padding: 22px;
  background: #0d4ed8;
  color: white;
  font-size: 15px;
}

/* ========================= */
/* RESPONSIVE TABLET */
/* ========================= */

@media (max-width: 900px) {
  .service-boxes {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 768px) {
  nav {
    padding: 18px 20px;
  }

  nav h3 {
    font-size: 22px;
  }

  .hamburger {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;

    width: 250px;
    height: 100vh;

    background: #0d4ed8;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 30px;

    transition: 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    margin-left: 0;
    font-size: 18px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-content img {
    width: 100%;
    max-width: 450px;
  }

  .service-boxes {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info {
    width: 100%;
    text-align: center;
  }
}

/* IMG RESPONSIVE */
img {
  max-width: 100%;
  height: auto;
}
/* ANIMASI CARD */
.service-card,
.work-gallery img,
.about-content img {
  transition: 0.4s ease;
}

.service-card:hover,
.work-gallery img:hover {
  transform: translateY(-8px) scale(1.02);
}
/* SMOOTH SCROLL */
html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top: 90px;
}
.about {
  background: #ffffff;
}

.services {
  background: #dfe9ff;
}

.our-work {
  background: #ffffff;
}

.contact-section {
  background: #dfe9ff;
}
.about::before,
.services::before,
.our-work::before,
.contact-section::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  top: -180px;
  right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 70%);
}

.about::after,
.services::after,
.our-work::after,
.contact-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0) 70%);
} /* ========================= */
/* MODERN BUBBLE BACKGROUND */
/* ========================= */

.about,
.services,
.our-work,
.contact-section {
  position: relative;
  overflow: hidden;
}

/* Bubble 1 */
.about::before,
.services::before,
.our-work::before,
.contact-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 50%;
  top: -120px;
  right: -120px;
  z-index: 1;
}

/* Bubble 2 */
.about::after,
.services::after,
.our-work::after,
.contact-section::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  bottom: -100px;
  left: -100px;
  z-index: 1;
}

/* Konten di atas bubble */
.about-content,
.service-boxes,
.work-gallery,
.contact-container,
.about h2,
.services h2,
.our-work h2,
.contact-section h2 {
  position: relative;
  z-index: 2;
}
/* ========================= */
/* PREMIUM FLOATING BUBBLE */
/* ========================= */

.about,
.services,
.our-work,
.contact-section {
  position: relative;
  overflow: hidden;
}

/* Bubble Kanan Atas */
.about::before,
.services::before,
.our-work::before,
.contact-section::before {
  content: '';
  position: absolute;

  width: 350px;
  height: 350px;

  top: -150px;
  right: -150px;

  border-radius: 50%;

  background: rgba(37, 99, 235, 0.15);
  backdrop-filter: blur(10px);

  animation: floatBubble1 8s ease-in-out infinite;

  z-index: 1;
}

/* Bubble Kiri Bawah */
.about::after,
.services::after,
.our-work::after,
.contact-section::after {
  content: '';
  position: absolute;

  width: 280px;
  height: 280px;

  bottom: -120px;
  left: -120px;

  border-radius: 50%;

  background: rgba(59, 130, 246, 0.12);
  backdrop-filter: blur(10px);

  animation: floatBubble2 10s ease-in-out infinite;

  z-index: 1;
}

/* Pastikan semua konten di atas bubble */
.about > *,
.services > *,
.our-work > *,
.contact-section > * {
  position: relative;
  z-index: 2;
}

/* Animasi Bubble 1 */
@keyframes floatBubble1 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-20px, 25px);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* Animasi Bubble 2 */
@keyframes floatBubble2 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(20px, -25px);
  }

  100% {
    transform: translate(0, 0);
  }
}
/* ========================= */
/* 4 FLOATING BUBBLES */
/* ========================= */

.about,
.services,
.our-work,
.contact-section {
  position: relative;
  overflow: hidden;
}

/* Bubble 1 */
.about::before,
.services::before,
.our-work::before,
.contact-section::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  top: -120px;
  right: -120px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  filter: blur(20px);
  animation: bubbleFloat1 8s ease-in-out infinite;
  z-index: 1;
}

/* Bubble 2 */
.about::after,
.services::after,
.our-work::after,
.contact-section::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -80px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  filter: blur(15px);
  animation: bubbleFloat2 10s ease-in-out infinite;
  z-index: 1;
}

/* Konten selalu di atas bubble */
.about > *,
.services > *,
.our-work > *,
.contact-section > * {
  position: relative;
  z-index: 5;
}
/* Bubble Tambahan */

.bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.bubble3 {
  width: 150px;
  height: 150px;
  background: rgba(37, 99, 235, 0.08);
  top: 30%;
  left: 5%;
  filter: blur(12px);
  animation: bubbleFloat3 12s ease-in-out infinite;
}

.bubble4 {
  width: 100px;
  height: 100px;
  background: rgba(59, 130, 246, 0.1);
  top: 60%;
  right: 8%;
  filter: blur(10px);
  animation: bubbleFloat4 14s ease-in-out infinite;
}
@keyframes bubbleFloat1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-25px, 20px);
  }
}

@keyframes bubbleFloat2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -25px);
  }
}

@keyframes bubbleFloat3 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

@keyframes bubbleFloat4 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(25px);
  }
}
@media (max-width: 768px) {
  .bubble3 {
    width: 90px;
    height: 90px;
  }

  .bubble4 {
    width: 70px;
    height: 70px;
  }
}
@media (max-width: 768px) {
  .about::before,
  .services::before,
  .our-work::before,
  .contact-section::before {
    width: 180px;
    height: 180px;
    top: -70px;
    right: -70px;
  }

  .about::after,
  .services::after,
  .our-work::after,
  .contact-section::after {
    width: 140px;
    height: 140px;
    bottom: -50px;
    left: -50px;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: 350px;
    background-size: 90%;
  }

  .btn {
    margin-top: 140px;
  }
}
