/* Main CSS for B2B Page - FIXED VERSION */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.top-bar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 50px;
    z-index: 1000;
    background-color: black;
}

.top-left .logo img {
    height: 20px;
}


/* === Language Switcher Styling === */
.language {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.language a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.language a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.language a.active {
    background: rgba(76, 175, 80, 0.25);
    border-color: rgba(76, 175, 80, 0.5);
}

.flag-emoji {
    font-size: 1.3rem;
    line-height: 1;
}

.language-separator {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    font-weight: 500;
    font-size: 1rem;
    color: white;
    margin-left: 40px;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 0; left: 0;
    background-color: white;
    transition: width 0.4s ease;
}

nav a:hover::after {
    width: 100%;
}

.menu-toggler {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px; height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggler span {
    display: block;
    height: 2px;
    background: white;
    border-radius: 2px;
}

main {
    padding-top: 120px;
    padding-bottom: 60px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-family: 'Young Serif', serif;
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.page-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.b2b-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.b2b-card {
  flex: 1 1 300px;
  background: rgba(0, 0, 0, 0.014); /* transparan */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  backdrop-filter: blur(4px); /* opsional: efek blur kaca */
}


.b2b-card label {
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.b2b-card input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.b2b-contact {
    margin-top: 50px;
}

.b2b-contact h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.send-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #4CAF50; /* Button Color */
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.send-btn:hover {
    background-color: #45a049; /* Hover color */
}

/* Sidebar Menu Mobile */
@media (max-width: 992px) {
    .top-bar {
        padding: 15px 20px;
    }

    nav {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: black;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    }

    nav.show-nav {
        right: 0;
    }

    nav a {
        margin: 10px 0;
        font-size: 1rem;
    }

    .menu-toggler {
        display: flex;
        margin-left: 20px;
    }

    .language a {
        color: white;
        margin: 0 5px;
        text-decoration: none;
        padding: 5px 8px;
        font-size: 0.75rem;
    }
    
    .flag-emoji {
        font-size: 1.1rem;
    }
}

/* Homepage Section Styling */
#homepage {
  position: relative;
  background: url('/image/b2b4.jpg') no-repeat center center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

#homepage .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Lebih gelap agar teks lebih jelas */
  z-index: 1;
}

.homepage-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.5s ease-out;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-title span {
  color: #00ffd1;
}
.italic-text {
  font-style: italic !important;
}

.page-subtitle {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Animasi teks */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsif */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .homepage-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}


#why-us {
    background: url('/image/b2b2.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh; /* Tinggi penuh layar */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px; /* Opsional: jarak kiri-kanan */
}
.table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-us-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #f0f0f0;
  font-family: 'Montserrat', sans-serif !important; /* <--- ganti jadi Montserrat */
}

.why-us-table th,
.why-us-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  font-family: 'Montserrat', sans-serif !important; /* <--- pastikan juga di sini */
}

.why-us-table th {
  background-color: #00ffd1; /* green with transparency */
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  
}

.why-us-table tbody tr {
  background-color: rgba(255, 255, 255, 0.03);
  transition: background 0.3s ease;
}

.why-us-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.why-us-table td:first-child,
.why-us-table th:first-child {
  border-top-left-radius: 8px;
}

.why-us-table td:last-child,
.why-us-table th:last-child {
  border-top-right-radius: 8px;
}
#why-us .section-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800;
  font-size: 2.5rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
}



#technical-info {
  position: relative;
  background: url('/image/b2b6.jpg') no-repeat center center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* agar background tetap diam */
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
  z-index: 1;
}

#technical-info .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.65); /* efek gelap */
  z-index: 0;
}

#technical-info .container {
  position: relative;
  z-index: 2;
}

#technical-info .section-title {
  font-size: 3rem;
  font-weight: 800; /* Semakin tinggi, semakin bold */
  margin-bottom: 40px;
  text-align: center;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif !important;
}

.info-table {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif !important;
}

.info-row {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.12); /* transparan */
  backdrop-filter: blur(10px); /* blur kaca */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  padding: 20px 25px;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
}


.info-row:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}


.info-label {
  font-weight: 600;
  color: #ffffff;
  width: 40%;
  font-family: 'Montserrat', sans-serif !important;
}

.info-value {
  text-align: right;
  color: #ffffff;
  width: 55%;
  font-family: 'Montserrat', sans-serif !important;
}


#certifications {
  background: url('/image/b2b5.jpg') no-repeat center center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: white;
}

#certifications .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
  text-align: left;
  width: 100%;
  padding-left: 10px;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 kolom tetap */
  gap: 30px;
  width: 100%;
}
@media (max-width: 992px) {
  .certification-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kolom di tablet */
  }
}
@media (max-width: 600px) {
  .certification-grid {
    grid-template-columns: 1fr; /* 1 kolom di HP */
  }
}

.certification-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.036);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  text-align: left;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.certification-card:hover {
  transform: translateY(-8px);
}

.certification-card img {
  max-width: 80px;
  height: auto;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.certification-card h4 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.certification-card p {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #f0f0f0;
}


#b2b-services {
  position: relative;
  background: url('/image/b2b10.jpg') no-repeat center center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif !important;
  color: white !important;
}

#b2b-services::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

#b2b-services .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  font-family: 'Montserrat', sans-serif !important;
}

#b2b-services .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif !important;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  font-family: 'Montserrat', sans-serif !important;
}

.service-card {
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 30px 20px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-family: 'Montserrat', sans-serif !important;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.service-card h3 {
  font-size: 1.4rem;
  margin: 15px 0 10px;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif !important;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0e0e0;
  font-family: 'Montserrat', sans-serif !important;
}

.icon-box {
  font-size: 2.5rem;
  color: #00ffd1;
  margin-bottom: 15px;
}


#faq {
  position: relative;
  background: url('/image/b2b7.jpg') no-repeat center center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
  z-index: 1;
  font-family: 'Montserrat', sans-serif !important;
  color: white !important;
}

/* Overlay untuk efek redup */
#faq::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* Container konten */
#faq .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  font-family: 'Montserrat', sans-serif !important;
}

/* FAQ item: Glassmorphism effect */
.faq-item {
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease-in-out;
  overflow: hidden;
  color: white !important;
}

/* Tombol pertanyaan */
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif !important;
}

/* Ikon panah */
.faq-icon {
  transition: transform 0.3s ease;
  color: #ffffff;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Jawaban */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 25px;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif !important;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 0;
  padding-bottom: 20px;
  font-family: 'Montserrat', sans-serif !important;
}

/* Efek hover */
.faq-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

#company-profile {
  position: relative;
  height: 100vh;
  background: url('/image/background.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

#company-profile .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.234);
  z-index: 1;
}

#company-profile .container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.company-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: white;
}

.company-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #dddddd;
}

.profile-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.profile-btn {
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 220px;
}

.profile-btn:hover {
  background-color: #00ffd1;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 255, 209, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .company-title {
    font-size: 2.2rem;
  }

  .company-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .profile-btn {
    font-size: 0.95rem;
    min-width: 100%;
    padding: 12px 18px;
  }
}

/* === RFQ Section Styling - Vertical Minimal === */
#rfq {
background: url('/image/b2b.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 80px 20px;
  font-family: 'Montserrat', sans-serif !important;
}



#rfq .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  background: none; /* Hapus background kotak */
  box-shadow: none; /* Hapus bayangan */
  border-radius: 0; /* Tidak pakai radius frame */
}

#rfq h2.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
  text-align: center;
  font-family: 'Montserrat', sans-serif !important;
}

#rfq p {
  text-align: center;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 50px;
  font-family: 'Montserrat', sans-serif !important;
}

.b2b-card label {
  font-weight: 600;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif !important;
}

.b2b-card input {
  width: 100%;
  padding: 16px;
  border: none;
  border-bottom: 2px solid #ffffff;
  background: transparent;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif !important;
  transition: border-color 0.3s, background-color 0.3s;
}

.b2b-card input:focus {
  border-color: #006b50;
  background-color: #6a6a6a5d;
  outline: none;
}

.send-btn {
  margin-top: 40px;
  background: #006b50;
  color: white;
  padding: 14px 38px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: 'Montserrat', sans-serif !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.send-btn:hover {
  background: #004f3a;
}