html {
  scroll-behavior: smooth;
}

#home,
#about,
#service {
  scroll-margin-top:30vh;
}

* {
  font-family: 'Fira Sans', sans-serif;
  box-sizing: border-box;
}

body {
  margin:0;
  padding:0;
  height:100%;
}
.hero {
  min-height:100vh;
  margin-top: 0px;
  padding:0px;
  position: relative;
  overflow:hidden;
}

/* background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('background web-min.png') center / cover no-repeat;
  background-size:cover;
  z-index: -11;
  border-radius: 10px;
  margin-top:0px;
}

.headline {
  color: white;
  margin-top:240px;
  font-size: 4rem;
  font-weight: 500;
  text-align: center;
  z-index:3;
}

.biru {
  color: #00bfff;
  font-weight: 700;
}

/* navigasi bar */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;

  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: 10px;

  width: fit-content;
  margin: 10px auto;

  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;

  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;

  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.nav-wrapper a {
  text-decoration: none;
  font-size: 1rem;
  padding: 10px;
  border-radius: 10px;
}

.main-nav a {
  background:none;
  color: #00AFEF;
  outline:1px rgba(0, 175, 239, 0.5) solid;
  outline-offset: 1px;
  font-weight: 400;
  margin:0px;
  padding:10px;
}

.nav-highlight {
  background: rgba(0, 175, 239, 1);
  color: white;
  font-weight: 400;
  height: 59.2px;
  width:auto;
  align-items: center;
  display:flex;
}

.nav-logo {
  background: rgba(0, 0, 0, 0.3);
  color: white;
  height: 59.2px;
  width:auto;
  display:flex;
}

.main-nav a:hover {
  color:white;
  font-weight:400;
  outline:1px #00AFEF solid;
}

.nav-link.active {
  color:white;
  font-weight:400;
  outline:2px #00AFEF solid;
}

.nav-highlight.active {
  background:rgba(255, 255, 255, 1);
  color:#00AFEF;
  font-weight:400;
  outline:3px #ffffffff solid;
}

/* CONTENT HOME */
.homeSection {
  position: relative;
  display: grid;
  grid-template-columns: 60vw 1fr;
  padding:0px 10px 10px 100px;
  background: #00AFEF;
  border-radius: 20px;
  margin-top: 150px;
  margin-left:100px;
  margin-right:100px;
  margin-bottom:100px;
  align-items: center;
}

 .home-left h2 {
    font-size:3rem;
    font-weight:500;
    color:white;
 }
 
.home-left p {
    font-size:1rem;
    font-weight:400;
    color:white;
 }

.homeSection img {
  position: absolute;
  right: 40px;      
  top:-34.3%;
  width: 400px;
  z-index: 10;
}

/* CONTENT About */
.aboutSection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px;
  align-items:center;
  margin-bottom:20px;
}

.leftAbout {
  position: relative;
  width: 400px;     
  margin: auto;    
}

.leftAbout img {
  filter:blur(1px);
  transform: scale(1.05);
  display: block;
  width: 100%;
  height: auto;
  border-radius:20px;
}

.textLeft {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 3rem;
  color: white;
  text-align: center;
  z-index: 2;
}

.rightAbout {
  display: flex;
  flex-direction: column;
  gap:0px;
  margin:auto;
}

.aboutHeader {
  display: flex;
  align-items: center;
  gap: 15px;
}

.aboutHeader img {
  width: 35px; 
  height: auto;
}

.textRight {
  color:black;
  font-size: 2rem;
  font-weight: 500;
}

.rightAbout h3 {
  background-color:rgb(211, 211, 211);
  color:black;
  border-radius:6px;
  padding:10px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: justify;
  margin-right:150px;
}

/* CONTENT Service */
.serviceSection::before {
  content: "";
  position: absolute;
  inset: 0;

  background: 
    linear-gradient(
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.35)
    ),
    url("bg mobil-min.png") center / cover no-repeat;

  filter: blur(6px);
  transform: scale(1.1); 

  z-index: -1;
}

.serviceSection {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top:100px;
  margin-bottom:100px;
}

.bodyservice {
  width: 100%;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
  justify-items:center;
}

@media (max-width: 960px) {
  .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .container {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  width: 300px;
  height: 350px;

  background: rgba(0, 175, 239, 0.3);
  border: 1px solid #00AFEF;
  border-radius: 14px;

  overflow: hidden;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.45);

  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card__title {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 16px;
  text-align: center;

  font-size: 2rem;
  font-weight: 700;
  color: white;

  z-index: 2;
  transition: transform 0.3s ease, font-size 0.3s ease;
}

.card__content {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  color:white;

  padding: 24px;
  text-align: justify;

  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;

  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card:hover .card__title {
  transform: translateY(-15%);
  font-size: 1rem;
}

.card:hover .card__content {
  opacity: 1;
  transform: translateY(20);
  pointer-events: auto;
}

/* CONTENT CONTACT */
.contactSection {
position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-left: 100px;
  padding-right: 100px;
  padding-bottom:20px;
  padding-top:20px;
  background: #00AFEF;
  border-radius-bottom: 20px;
  margin-top: 100px;
  margin-left:0px;
  margin-right:0px;
  margin-bottom:0px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px; 
}

.contact-info p {
  color: black;
  margin-bottom: 10px;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom:0px;
  line-height: 1;
  font-style: italic;
}

.info-item .icon {
  background: white;
  color: black;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.icon-link {
  background: white;
  color: black;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item:last-child {
  margin-bottom: 0;
}

/* KANAN */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 5px;
  margin-bottom: 20px;
  outline: none;
}

.contact-form textarea {
  resize: none;
  height: 80px;
}

.contact-form button {
  background: orange;
  border: none;
  color: white;
  padding: 10px 25px;
  border-radius: 20px;
  cursor: pointer;
  display: block;
  margin-left: auto;
}

/* ========================= */
/* RESPONSIVE MOBILE */
/* ========================= */
@media (max-width: 700px) {

  /* RESET DASAR */
  body {
    overflow-x: hidden;
  }

  /* HERO */
  .headline {
    margin-top: 200px;
    font-size: 3rem;
    padding: 0 20px;
  }

  /* NAVIGATION */
  .nav-wrapper {
    bottom: 15px;
    padding: 5px;
  }

  .main-nav {
    gap: 6px;
    padding: 6px;
  }

  .main-nav a {
    font-size: 0.85rem;
    padding: 8px;
  }

  /* ================= HOME ================= */
  .homeSection {
    grid-template-columns: 1fr;
    padding: 25px;
    margin: 80px 20px;
    text-align: justify;
  }

  .homeSection img {
    position: static; /* HENTIKAN ABSOLUTE */
    width: 260px;
    margin: 20px auto 0;
    backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(to bottom, blue 80%, transparent);
  }

.home-left h2 {
    font-size: 2rem;
    text-align: center;
  }

.home-left p {
    font-size: 0.95rem;
    text-align: center;
  }

  /* ================= ABOUT ================= */
  .aboutSection {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .leftAbout {
    width: 100%;
    max-width: 300px;
  }

  .textLeft {
    font-size: 2rem;
  }

  .rightAbout {
    text-align: center;
  }

  .rightAbout h3 {
    margin-right: 0;
    font-size: 0.95rem;
  }

  .textRight {
    font-size: 1.6rem;
  }

  /* ================= SERVICE ================= */
  .container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .card {
    width: 80%;
    height: 320px;
  }

  .card__title {
    font-size: 1.5rem;
  }

  /* ================= CONTACT ================= */
  .contactSection {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 30px;
  }

  .contact-form {
    padding: 25px;
  }

  .info-item {
    align-items: center;
  }
}
