:root {
  --primary: #50b8e7;
  --bg: #0f1724;
  --card: #0b1220;
  --muted: #9aa4b2;
  --accent: #7dd3fc;
  --glass: rgba(255, 255, 255, 0.03);
}

* {
  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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* navbar */
.navbar {
  position: fixed;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgb(255, 255, 255);
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}
.logo-img img {
  top: 0;
  left: 0;
  right: 0;
  width: 150px;
  height: auto;
}
/*.export {
  color: rgb(248, 248, 248);
}
.creative {
  color: #50b8e7;
  font-style: italic;
}*/

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: rgb(149, 11, 11);
}
.navbar .nafbar-logo br {
  color: #fff;
}

.navbar .navbar-nav a {
  color: #000000;
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
  color: #b0e5fd;
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid #000000;
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: #000000;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}
#hamburger-menu {
  display: none;
}

/* hero section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("alex-machado-80sv993lUKI-unsplash.jpg");
  background-size: cover; /* Mengatur gambar agar memenuhi elemen */
  background-position: center; /* Menempatkan gambar di tengah elemen */
  background-repeat: no-repeat;
  position: relative; /* Menghindasri pengulangan gambar */
}
.hero_produk {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("hero_poroduct.png");
  background-size: cover; /* Mengatur gambar agar memenuhi elemen */
  background-position: center; /* Menempatkan gambar di tengah elemen */
  background-repeat: no-repeat;
  position: relative; /* Menghindasri pengulangan gambar */
}
.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(0deg, rgb(51, 52, 70), rgba(51, 52, 70, 0) 90%);
}
.hero_produk::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(0deg, rgb(51, 52, 70), rgba(51, 52, 70, 0) 90%);
}

.hero .content,
.hero_produk .content,
.hero_service .content {
  padding-left: 1rem;
  padding: 20rem 20%;
  max-width: 90rem;
  box-sizing: border-box;
}

.hero .content h1,
.hero_produk .content h1,
.hero_service .content h1 {
  font-size: 5rem;
  color: rgb(255, 255, 255);
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0, 5);
  line-height: 1.2;
}

.hero .content h1 span {
  font-style: italic;
}

.hero .content p {
  color: rgb(255, 255, 255);
  font-size: 2rem;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 700;
  text-shadow: 10px 10px 30px rgba(1, 1, 3, 0, 5);
}

.hero .content .cta {
  font-style: oblique;
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: rgb(111, 2, 2);
  border-radius: 0.5rem;
  box-shadow: var(--primary);
}

/* About section */
.about,
.produk,
.contact,
.ourteam,
.news,
.isi-news,
.service {
  padding: 10rem 7% 1.4rem;
}
.about h2 {
  text-align: center;

  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.red2 {
  color: red;
}
.blue {
  color: var(--primary);
}
.about p {
  text-align: justify;
  font-style: italic;
  font-size: 1.8rem;
  margin-bottom: 15rem;
}
.about-img {
  position: relative;
  overflow: hidden; /* Menyembunyikan bagian elemen yang melampaui batas */
}

.about-img img {
  display: block;
  width: 100%; /* Pastikan gambar memenuhi lebar elemen */
  height: auto;
}

.about-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgb(51, 52, 70) 0%,
    rgb(51, 52, 70) 20%,
    rgba(1, 1, 3, 0) 80%,
    rgb(51, 52, 70) 100%
  );
  z-index: 1;
  pointer-events: none; /* Agar gradient tidak mengganggu interaksi pengguna dengan gambar */
}

.about-img img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}

.title {
  color: var(--primary);
}

/* NEWS SECTION */

.judul {
  text-align: center;
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 3rem;
}
.isi-news h2 {
  color: #000000;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.content-news {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
}
.news-card {
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  width: 350px;
  margin: 20px;
  text-align: center;
  padding: 20px;
}
.news-card:hover {
  box-shadow: 0 8px 16px 0 rgba(122, 226, 255, 0.5);
}
.news-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.news-card h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  color: #000000;
}

.news-card p {
  margin-bottom: 10px;
  color: #575757;
  text-align: justify;
  font-size: 1rem;
  font-weight: 500;
}
.button {
  background-color: #005e89;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}
.isi-news h1 {
  color: #ffffff;
  margin-bottom: 2rem;
}
.isi-news p {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
}
.isi-news li {
  color: #575757;
  font-size: 1rem;
  font-weight: 500;
}
.button:hover {
  background-color: #b0e5fd;
}

/* service section */
.service h2 {
  text-align: center;

  font-size: 2.6rem;
  margin-bottom: 3rem;
}
.service h3 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
}
.content-service {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  margin-bottom: 15rem;
}

.service-card {
  background-color: rgb(210, 235, 253);
  box-shadow: 0 4px 8px 0 rgba(233, 233, 233, 0);
  transition: 0.3s;
  width: 300px;
  margin: 20px;
  text-align: center;
  border-radius: 20px;
  padding: 20px;
}
.service-card:hover {
  box-shadow: 0 8px 16px 0 rgba(122, 226, 255, 0.5);
}
.service-card img {
  width: 30%;
  height: auto;
  border-radius: 10px;
}

.service-card h3 {
  margin-top: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #000000;
}

.service-card p {
  margin-bottom: 10px;
  color: #575757;
  text-align: justify;
  font-size: 1rem;
  font-weight: 500;
}

/* MENU section */
.produk h2 {
  text-align: center;
  color: #ffffff;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.title_produk {
  margin: 1rem;
}
.produk h3 {
  padding: 10rem 7% 1.4rem;
  color: #ffffff;
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-left: 2rem;
  padding-bottom: 2rem;
  border-bottom: 0.1px solid #565656;
  display: flex;
  max-width: 150px;
}
.produk p,
.contact p {
  text-align: justify;
  max-width: 30rem;
  color: #fff;
  margin: auto;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 4rem;
}
.pupuk {
  text-align: center;
  max-width: 30rem;
  color: #000000;
  margin: auto;
  font-size: 1rem;
  font-weight: 100;
  line-height: 1.6;
}

.choose {
  text-align: center;
  font-size: 1.5rem;
}

.produk .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-left: 2rem;
  justify-content: center;
  gap: 0.1rem;
  align-items: center;
  margin-bottom: 10rem;
}

.produk .row .menu-card img {
  flex: 0 1 calc(33.333% - 2rem);
  border-color: #000000;
  border-radius: 50%;
  width: 80%;
  margin-bottom: 4rem;
}

.shapes {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.shapes h2 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 5rem;
  margin-top: 10rem;
}

.shape-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.shape-item {
  background: rgb(210, 235, 253);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}
.shape-item:hover {
  box-shadow: 0 8px 16px 0 rgba(122, 226, 255, 0.5);
}

.shape-item:hover {
  transform: translateY(-4px);
}

.shape-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.shape-item h3 {
  font-size: 18px;
  align-items: center;
  padding-top: 2rem;
  font-size: 18px;
  padding-bottom: 1rem;
  margin-top: 0;
  color: #222;
}

.shape-item p {
  font-size: 14px;
  color: #000000;
  margin-top: 0;
  margin-left: 1rem;
  line-height: 1.4;
}

.features {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.features h2 {
  text-align: center;
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 40px;
}

.features ul {
  list-style: none;
  padding: 10;
  margin: 10;
}

.features li {
  display: flex;
  align-items: center;
  background: #f3f3f3;
  margin-bottom: 1rem;
  height: 200px;
  border-radius: 10px;
  gap: 20px;
  padding-left: 3rem;
}

.icon-wrapper img {
  width: 70px;
  height: 70px;
}

.text-wrapper h3 {
  margin: 1px;
  font-size: 18px;
  color: #222;
}
.text-wrapper {
  align-items: center;
  margin-bottom: 10rem;
}
.text-wrapper p {
  margin: 4px 0 0;
  color: #333;
  font-size: 17px;
  line-height: 1.5;
}
.benefits .title_benefits {
  text-align: center;

  font-size: 2.6rem;
  margin-bottom: 3rem;
}
.benefits .service-card h2 {
  font-size: 1.6rem;
  color: #0b2f8a;
}

.process .title_process {
  text-align: center;

  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.process .service-card h2 {
  font-size: 1.6rem;
  color: #0b2f8a;
}
.process .service-card {
  background-color: #f3f3f3;
}

.advantages .title_advantages {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.advantages .service-card h2 {
  font-size: 1.6rem;
  padding-bottom: 1rem;
  color: #a27b5c;
}
.advantages .service-card {
  background-color: #dcd7c9;
}

/* our team */

.ourteam .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-left: 2rem;
  justify-content: center;

  border-radius: 0.5rem;
  gap: 1rem;
  align-items: center;
}
.ourteam .profile p {
  color: #f3f3f3;
  font-size: 1.3rem;
  font-weight: 400;
}
.ourteam h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
}

.ourteam .row .profile img {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex: 0 1 calc(33.333% - 2rem);
  border-color: #000000;

  width: 90%;
  margin-bottom: 0.5rem;
  display: flex;
}
.ourteam h2 {
  text-align: center;
  color: #ffffff;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

/* contact section */
.contact h2 {
  text-align: center;

  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: #222;
}
.contact .row .map {
  flex: 1 1 45rem;
  width: 100%;
  object-fit: cover;
}
.contact .row form {
  flex: 1 1 45rem;
  padding: 5rem 2rem;
  text-align: center;
}

.contact .row form .input-group {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  background-color: var(--bg);
  border: 1px solid #005e89;
  padding-left: 2rem;
}
.contact .row form .input-group input {
  width: 100%;
  padding: 2rem;
  font-size: 1.7rem;
  background: none;
  color: #fff;
}
.contact .row form .btn {
  margin-top: 3rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.7rem;
  color: #fff;
  background-color: #50b8e7;
  cursor: pointer;
}
.contact .row form .btn2 {
  margin-top: 3rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.7rem;
  color: #fff;
  background-color: rgb(111, 2, 2);
  cursor: pointer;
}

.slider {
  width: min(1000px, 90vw);
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
}
.slides {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}
.slide,
.slide2 {
  min-width: 100%;
  height: auto;
  overflow: visible;
  position: relative;
  user-select: none;
}
.slide img,
.slide2 img {
  width: 100%;
  height: auto;           /* agar tidak dipaksa tingginya */
  max-height: 650px;      /* cocok untuk laptop 1440px */
  object-fit: contain;    /* gambar tidak terpotong */
  display: block;
}

/* Caption */
.caption,
.caption2 {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25));
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
}

/* Controls */
.nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}
.btn {
  background: rgba(0, 0, 0, 0.35);
  border: 0;
  color: white;
  padding: 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.btn:active {
  transform: scale(0.98);
}

/* Dots */
.dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: solid;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.dot.active {
  background: rgb(0, 0, 0);
}

.slider_gambar {
  margin-bottom: 8rem;
  margin-top: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download_pdf {
  text-align: center;
  margin-bottom: 10rem;
}

.Outdor {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

/* maps */
.maps2 {
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 16px;
}
.maps2 .container {
  width: 1100px;
  max-width: calc(100% - 48px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.maps2 .title {
  display: flex;
  flex-direction: column;
}
.maps2 .title h1 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.2px;
}
.maps2 .title p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.maps2 .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.maps2 .card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(3, 7, 18, 0.6);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.maps2 .card .meta {
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
}

.maps2 .pin {
  background: linear-gradient(180deg, var(--accent), rgba(125, 211, 252, 0.7));
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #04293a;
  font-weight: 700;
  font-size: 18px;
  flex: 0 0 40px;
}

.maps2 .meta h3 {
  margin: 0;
  font-size: 15px;
}
.maps2 .meta p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.maps2 .map {
  height: 100%;
  min-height: 160px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.maps2 iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* footer */
footer {
  background-color: #2a4759;
  text-align: center;
  padding: 1rem 0 3rem;
  margin-top: 5rem;
}
footer .socials {
  padding: 1rem 0;
}

footer .links {
  margin-bottom: 1.4rem;
}
footer .socials a {
  color: #fff;
  margin: 1rem;
}

footer .socials a:hover,
footer .links a:hover {
  color: var(--bg);
}

footer .links a {
  color: #fff;
  padding: 0.7rem 1rem;
}

footer .credit {
  font-size: 0.8rem;
}

footer .credit a {
  color: var(--bg);
  font-weight: 700;
}

.download-btn {
  text-decoration: none;
  background: #007bff;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background: #0056b3;
}

/* laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}
/* tablet */
@media (max-width: 768px) {
  html {
    font-size: 65%;
  }

  #hamburger-menu {
    display: inline-block;
  }
  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: rgba(0, 0, 0, 0.6);
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: rgb(255, 255, 255);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }
  .produk .row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 7rem;
    margin-left: 7rem;
    justify-content: center;
    gap: 0.1rem;
    align-items: center;
  }

  .features li {
    display: flex;
    align-items: center;
    background: #f3f3f3;
    margin-bottom: 1rem;
    height: 250px;
    border-radius: 10px;
    gap: 20px;
    padding-left: 3rem;
  }

  .text-wrapper {
    align-items: center;
    margin-bottom: 10rem;
    margin-right: 3rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
    border-bottom: 0.1rem solid --primary;
  }
  .navbar .navbar-nav a:hover {
    color: var(--primary);
  }
  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.1);
  }
  .contact .row {
    flex-wrap: wrap;
  }
  .contact .row .map {
    height: 30rem;
  }
  .contact .row form {
    padding-top: 0;
  }
  .benefits .service-card h2 {
    font-size: 2rem;
    color: #0b2f8a;
  }

  .caption {
    font-size: 13px;
    padding: 8px 10px;
  }

  .slider {
    width: min(1000px, 80vw);

    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
  }

  .maps2 .grid {
    grid-template-columns: 1fr;
  }
  .maps2 .container {
    padding-bottom: 18px;
  }
}
/* mobile phone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}
