* {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #000;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  position: absolute; /* supaya di atas hero */
  width: 100%;
  top: 0;
  left: 0;
}

/* ukuran logo */
.logo img {
  height: 100px;
}

/* menu */
.menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.menu a {
  color: white;
  text-decoration: none;
} 

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f1f1f1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #f1f1f1;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: relative;
}

.navbar ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.navbar a:hover {
  color: #fff;
  background: #ffffff;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #16a34a;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  position: absolute;
  right: 20px;
  top: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #16a34a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* HERO */
.hero {
  height: 120vh;
  background: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.hero button {
  padding: 15px 35px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #16a34a;
  color: #0f172a;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 128, 128, 0.4);
  position: relative;
  z-index: 10;
}

.hero button:hover {
  background: #16a34a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(128, 128, 128, 0.6);
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Fallback background if images not found */
.hero {
  position: relative;
}

.about-img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}

.team-list img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

/* SECTION */
section {
  padding: 50px 20px;
  text-align: center;
}

/* CLIENT */
.client ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin-top: 20px;
  padding: 0;
}

.client li {
  background: #16a34a;
  color: #0f172a;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

/* TEAM */
.team-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.team {
  padding: 80px 10%;
  text-align: center;
}

.team h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

/* container */
.team-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* card */
.team-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

/* foto */
.team-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

/* teks */
.team-card h3 {
  margin-top: 15px;
}

.team-card p {
  color: gray;
}

/* CONTACT */
.contact input {
  padding: 15px 20px;
  width: 280px;
  margin: 10px;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.contact input:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(128, 128, 128, 0.2);
}

.contact button {
  padding: 15px 35px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #16a34a;
  color: #0f172a;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 128, 128, 0.4);
}

.contact button:hover {
  background: #16a34a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(128, 128, 128, 0.6);
}

.contact-info {
  margin-top: 20px;
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #ffffff;
  color: #0f172a;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 9999;
  opacity: 0.9;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 128, 128, 0.4);
}

.back-to-top:hover {
  background: #16a34a;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(128, 128, 128, 0.6);
}

/* Responsive - Mobile (max-width 768px) */
@media only screen and (max-width: 768px) {
  /* Navbar responsive */
  header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .navbar {
    flex-direction: column;
    padding: 10px 20px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .navbar ul.nav-menu {
    display: none;
    width: 100%;
    text-align: center;
    background: #0f172a;
    padding: 10px 0;
    position: absolute;
    top: 100%;
    left: 0;
    gap: 5px;
    margin-top: 10px;
  }
  
  .navbar ul.nav-menu.active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  
  .navbar a {
    padding: 10px 5px;
    font-size: 11px;
    display: block;
    text-align: center;
    border-radius: 3px;
  }
  
  .navbar a:hover {
    background: #16a34a;
    color: #0f172a;
  }
  
  .logo {
    font-size: 18px;
  }
  
  /* Hero responsive */
  .hero {
    height: 60vh;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero button {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  /* About responsive */
  .about-img {
    max-width: 100%;
  }
  
  /* Back to top responsive */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  /* Team responsive */
  .team-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .team-list img {
    height: 180px;
  }
  
  /* Sections responsive */
  section {
    padding: 30px 15px;
  }
  
/* Contact responsive */
  .contact input {
    width: 200px;
    margin: 5px;
    padding: 12px 18px;
  }
  
  .contact button {
    padding: 12px 25px;
    font-size: 13px;
  }
  
  /* Client responsive */
  .client ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .client li {
    width: 80%;
    max-width: 250px;
    font-size: 12px;
    padding: 12px 15px;
  }
}

/* Extra small devices */
@media only screen and (max-width: 480px) {
  .navbar ul {
    font-size: 10px;
    gap: 5px;
  }
  
  .hero h1 {
    font-size: 22px;
  }
  
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .team-list img {
    height: 120px;
  }
}

.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  gap: 40px;
}

/* teks */
.about-text {
  width: 50%;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* gambar */
.about-image {
  width: 100%;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.gallery {
  padding: 80px 10%;
  text-align: center;
}

/* tombol tab */
.gallery-menu {
  margin-bottom: 30px;
}

.tab-btn {
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  cursor: pointer;
  background: #eee;
}

.tab-btn.active {
  background: black;
  color: white;
}

/* isi gallery */
.gallery-content {
  display: none;
}

.gallery-content.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-content img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* TWO-COLUMN ABOUT SECTION */
.about-container {
  display: flex;
  min-height: 100vh;
}

.about-left {
  width: 45%;
  padding: 60px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-logo {
  width: 120px;
  margin-bottom: 40px;
}

.about-title {
  color: #16a34a;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-subtitle {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-subtitle span {
  color: #16a34a;
}

.about-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.about-right {
  width: 55%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
}

.about-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-full {
  grid-column: span 2;
}

.overlay-text {
  position: absolute;
  color: #1e293b;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.2;
}

.image-wrapper {
  position: relative;
}

/* NAVBAR STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.logo img {
  height: 50px;
  width: auto;
}

.navbar nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  opacity: 0.8;
  transition: 0.3s;
}

.navbar nav a:hover,
.navbar nav a.active {
  color: #00a86b;
  opacity: 1;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .menu.active {
    display: flex;
  }
  
  .menu-icon {
    display: block;
  }
}

/* NEW TEAM SECTION */
.team {
  background: linear-gradient(180deg, #6fc36a, #a8d5a2);
  text-align: center;
  padding: 60px 20px;
}

.team h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 40px;
}

.team-wrapper {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.team-card-new {
  background: #e5e5e5;
  border-radius: 20px;
  width: 240px;
  padding: 15px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.team-card-new img {
  width: 100%;
  border-radius: 15px;
  height: 180px;
  object-fit: cover;
}

.team-card-new h3 {
  font-size: 16px;
  margin: 12px 0 5px;
  color: #111;
}

.team-card-new .role {
  font-size: 14px;
  color: #0a7c3a;
  font-weight: 600;
}

.team-logo {
  margin-top: 40px;
}

.team-logo img {
  height: 40px;
}

/* NEW CUSTOMERS SECTION */
.customers {
  position: relative;
  padding: 80px 40px;
  text-align: center;
  background: #f3f4f6;
  overflow: hidden;
}

.customers::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -10%;
  width: 120%;
  height: 300px;
  background: #a7d3c1;
  border-bottom-left-radius: 200px;
  border-bottom-right-radius: 200px;
  z-index: 0;
}

.customers::after {
  content: "";
  position: absolute;
  top: -80px;
  left: 10%;
  width: 80%;
  height: 250px;
  background: #5ea98a;
  border-bottom-left-radius: 180px;
  border-bottom-right-radius: 180px;
  z-index: 0;
}

.customers h2 {
  position: relative;
  z-index: 2;
  font-size: 42px;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 50px;
}

.customers h2 span {
  color: #10b981;
}

.logos {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  align-items: center;
}

.logos img {
  width: 100%;
  max-width: 110px;
  margin: auto;
  filter: grayscale(0);
  transition: transform 0.3s;
}

.logos img:hover {
  transform: scale(1.1);
}

/* NEW CONTACT SECTION */
.contact-container {
  max-width: 1000px;
  margin: auto;
}

.cta-box {
  border: 3px solid black;
  border-radius: 30px;
  padding: 40px;
  text-align: center;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
}

.cta-box h2 {
  color: #0c7a5c;
  margin-bottom: 10px;
}

.cta-box p {
  color: #00a86b;
  font-weight: bold;
  margin-bottom: 20px;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-form input {
  padding: 15px 25px;
  border-radius: 30px;
  border: none;
  width: 250px;
  font-size: 16px;
}

.cta-form button {
  padding: 15px 25px;
  border-radius: 30px;
  border: none;
  background: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 128, 128, 0.4);
}

.cta-form button:hover {
  background: #0c7a5c;
  color: white;
  box-shadow: 0 6px 20px rgba(128, 128, 128, 0.6);
}

.info {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  flex-wrap: wrap;
}

.info div {
  width: 30%;
}

.info h2 {
  color: #0c7a5c;
  margin-bottom: 15px;
}

.info p {
  margin-bottom: 10px;
  font-size: 16px;
}

/* NEW HERO SECTION */
body {
  overflow-x: hidden;
}

/* NAVBAR */
header {
  position: fixed;
  width: 100%;
  z-index: 10;
  background: transparent;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.9);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
  color: white;
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
}

.menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.menu li {
  cursor: pointer;
  font-size: 14px;
  opacity: 0.8;
}

.menu li.active {
  color: #00a86b;
  font-weight: bold;
}

.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* HERO */
.hero {
  height: 100vh;
  background: url('images/hero/RZL00331.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

/* overlay */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}

/* CONTENT */
.hero .content {
  position: relative;
  color: white;
  max-width: 800px;
  padding: 20px;
}

.hero .content h1 {
  font-size: 55px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 3px 3px 0px black;
}

.hero .content span {
  color: #00a86b;
}

/* BUTTON */
.hero .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.hero .btn:hover {
  background: white;
  color: black;
}

/* =========================================================
   FINAL MOBILE OVERRIDES (authoritative, placed at end)
   ========================================================= */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  section {
    padding: 40px 16px;
  }

  /* Header / Navbar + Hamburger */
  header {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
  }

  .navbar {
    padding: 12px 16px;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .logo img {
    height: 42px;
  }

  .menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 38px;
    height: 38px;
    border: 1px solid #10b981;
    background: #10b981;
    border-radius: 8px;
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
    cursor: pointer;
  }

  .navbar nav {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding-top: 6px;
  }

  .navbar nav.active {
    display: flex;
  }

  .navbar nav a {
    margin: 0;
    padding: 10px 12px;
    font-size: 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #000;
    line-height: 1.2;
  }

  .navbar nav a:hover,
  .navbar nav a.active {
    background: transparent;
    color: #00a86b;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    height: auto;
    padding: 110px 16px 48px;
    text-align: center;
  }

  .hero .content {
    max-width: 100%;
    padding: 0;
  }

  .hero .content h1 {
    font-size: 30px;
    line-height: 1.25;
    text-shadow: 2px 2px 0px black;
  }

  .hero .btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  /* About */
  .about {
    padding: 0;
  }

  .about-container {
    min-height: auto;
    flex-direction: column;
  }

  .about-left,
  .about-right {
    width: 100%;
  }

  .about-left {
    padding: 28px 16px;
  }

  .about-logo {
    width: 90px;
    margin-bottom: 20px;
  }

  .about-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .about-subtitle {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .about-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .about-right {
    grid-template-columns: 1fr 1fr;
  }

  .about-right img {
    min-height: 150px;
  }

  /* Team */
  .team {
    padding: 50px 16px;
  }

  .team h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .team-wrapper {
    gap: 14px;
  }

  .team-card-new {
    width: 100%;
    max-width: 340px;
  }

  /* Gallery */
  .gallery {
    padding: 50px 16px;
  }

  .gallery-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .tab-btn {
    margin: 0;
  }

  .gallery-content.active {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-content img {
    height: 160px;
  }

  /* Customers */
  .customers {
    padding: 56px 16px;
  }

  .customers h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .logos img {
    max-width: 80px;
  }

  /* Contact */
  .contact-container {
    max-width: 100%;
  }

  .cta-box {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .cta-box h2 {
    font-size: 24px;
  }

  .cta-form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cta-form input,
  .cta-form button {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    padding: 12px 14px;
  }

  .info {
    margin-top: 28px;
    flex-direction: column;
    gap: 18px;
  }

  .info div {
    width: 100%;
  }

  .info h2 {
    font-size: 20px;
  }

  .info p {
    font-size: 14px;
  }

  /* Back to top */
  .back-to-top {
    width: 42px;
    height: 42px;
    font-size: 20px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 32px 12px;
  }

  .navbar {
    padding: 10px 12px;
  }

  .menu-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .logo img {
    height: 36px;
  }

  .navbar nav a {
    font-size: 11px;
    padding: 9px 10px;
  }

  .hero {
    padding: 96px 12px 36px;
  }

  .hero .content h1 {
    font-size: 24px;
  }

  .about-left {
    padding: 22px 12px;
  }

  .about-title {
    font-size: 22px;
  }

  .about-subtitle {
    font-size: 16px;
  }

  .gallery-content.active {
    grid-template-columns: 1fr;
  }

  .gallery-content img {
    height: 190px;
  }

  .customers h2 {
    font-size: 24px;
  }

  .logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-box h2 {
    font-size: 20px;
  }
}
