:root {
  --primary-color: #ff9800;
  --hover-color: #ff5722;
  --background-dark: #333333;
}

/* Reset dasar untuk margin, padding, dan box-sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Font dan warna dasar */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #121212;
  color: #f5f5f5;
  scroll-behavior: smooth;
}

/* Jumbotron */
.jumbotron {
  /* background: linear-gradient(rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.66)), url('image/img_jumbotron/fotojumbotronwahana3.png'); */
  color: white;
  /* background-repeat: no-repeat;
  background-size: cover; */
  display: flex;
  align-items: center;
  min-height: 90vh;
  padding-right: 2rem;
  padding-left: 1.5rem;
  text-align: center;
  flex-direction: column;
  /* position: relative;
  overflow: hidden; */
}

.jumbotron .content-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* display: grid; */
  gap: 5px;
  grid-template-columns: 600px auto;
  align-items: center;
  padding: 20px;
  border-radius: 1rem;
}

.content-container .text-content {
  padding: 20px;
  font-size: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align: initial;
}

.main-slogan {
  font-size: 2.5rem;
  font-weight: bold;
  /* margin-bottom: 1rem; */
  margin-top: 6rem;
  color: white;
}

.main-slogan span {
  color: orange;
}

.jumbotron p.lead {
  font-size: 1.5rem;
  font-weight: 300;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.content-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-content {
  flex: 1;
  margin-right: 2rem; /* Jarak antara teks dan gambar */
}

video.bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
}

/* Navbar */
/* Navbar Style */
.navbar {
  position: fixed;
  top: 0;
  left: -0%;
  width: 100%;
  z-index: 1000;
  background: transparent; /* Initially transparent */
  /* transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);  */
  transition: background-color 0.3s linear;
}

.navbar.navbar-toggled {
  background-color: rgba(0, 0, 0, 0.9); /* Adjust opacity as needed */
}
/* Navbar background when scrolled */
.navbar.scrolled {
  background-color: #0d253f; /* Change to black on scroll */
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
}

/* Logo Styling */
.logo {
  width: 200px; /* Adjust size as needed */
  height: auto;
}

/* Links and Login Button */
.nav-content nav a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
}
.nav-item,.login-link {
  font-size: 1.2rem;
}

.nav-item .nav-link:hover {
  color: #ff9800;
  transition: color 0.3s ease;
}
.login-link {
  background-color: #ff9800;
  color: #ffffff;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  margin-right: 15px;
  text-decoration: none;
  top: 10px;
}

.login-link:hover {
  background-color: #ff5722;
  transition: color 0.3s ease;
}

/* Navbar Style */
.navbar .nav-link {
  color: white;
  padding: 0.5rem 1rem;
  margin-left: 20px;
  margin-right: 40px;
}

/* Styling Toggle Button */
.navbar-toggler {
  color: #ffffff;
  padding: 8px 10px; /* Ukuran padding agar lebih besar */
  transition: background-color 0.3s ease;
}

.jumbotron-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}

.nav-center {
  display: flex;
  gap: 1 rem;
}

.jumbotron-links a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.jumbotron-links a:hover {
  color: #ff9800;
}

.login-link {
  padding: 0.5rem 1.5rem;
  background-color: #ff9800;
  color: #ffffff;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.login-link:hover {
  background-color: #ff5722;
}

.jumbotron-image {
  width: auto;
  justify-self: center;
  margin-top: 6rem;
  flex: 1;
  max-width: 50%; /* Atur lebar gambar */
}

.jumbotron-image img {
  width: fit-content;
  border-radius: 1rem;
  width: 100%;
  height: auto;
}

/* Carousel logo*/
.carousel-container {
  height: 300px; /* Atur tinggi sesuai kebutuhan */
  text-align: center;
  padding: 2rem 0;
  background-color: #173b45;
  color: #ff9800;
}
/* Gradient text kecil untuk teks deskriptif */
.gradient-text-small {
  background: linear-gradient(90deg, #97c0d9, #bb6616, #ff8c00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.5rem; /* Sesuaikan ukuran teks */
  font-weight: bold;
}
.carousel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  /* align-items: center;
  justify-items: center; */
}
.carousel-item img {
  max-width: 100px;
  height: 100px;
  border-radius: 50%;
  transition: transform 0.3s ease;
  object-fit: cover;
  margin-top: 15px;
}
.carousel-item img:hover {
  transform: scale(1.1);
}

.carousel-item .card {
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1); /* Transparan untuk tampilan modern */
  color: #ffffff;
  padding: 1rem;
  border-radius: 0.75rem; /* Sedikit lebih bulat */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* carousel cabang */

.carousel-indicators {
  position: relative;
  bottom: -10px;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  z-index: 1; /* Pastikan elemen carousel tidak menutupi elemen card */
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  background-color: #ff9800;
  border-radius: 5%;
  border: none;
  transition: background-color 0.3s ease;
  padding-bottom: 50%;
}

.carousel-indicators button.active {
  background-color: #ff5722;
}

.carousel-indicators button:hover {
  background-color: #ff5722;
}

.carousel-item .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#partners .title-section p {
  font-size: 2rem;
  font-weight: bold;
  font-style: italic;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff;
}
#partners .title-section p span {
  color: orange;
}
#partners .subtitle-section p {
  font-size: 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff;
}
#branches .title-section p {
  font-size: 2rem;
  font-weight: bold;
  font-style: italic;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff;
}
#branches .title-section p span {
  color: orange;
}
#branches .subtitle-section p {
  font-size: 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff;
}
/* Styling untuk Card */
.card {
  background-color: #2c2c2c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  flex: 1 1 30%; /* Setiap card akan memiliki lebar sekitar 30% dari container */
  max-width: 300px; /* Lebar maksimal untuk card */
  box-sizing: border-box;
}

.card-body {
  padding: 2%;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Pastikan gambar memenuhi card */
.card img {
  width: 100%; /* Pastikan card mengambil lebar penuh dari container induk */
  max-width: 255px; /* Atur sesuai kebutuhan jika perlu */
  height: 200px; /* Atur tinggi gambar sesuai kebutuhan */
  object-fit: cover; /* Memastikan gambar menyesuaikan ukuran card tanpa distorsi */
  border-radius: 0; /* Pastikan gambar tetap berbentuk kotak */
}

/* Untuk card container */
.card-container {
  display: flex;
  flex-wrap: wrap; /* Mengizinkan item untuk membungkus ke bawah */
  justify-content: center; /* Memposisikan card di tengah */
  gap: 20px; /* Memberikan jarak antar card */
}

.card-title {
  color: #ff9800;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-text {
  color: #bfbfbf;
  font-size: 0.9rem;
}

.card a:hover {
  background-color: #ff9800;
  color: #ffffff;
}

.card .btn-primary {
  background-color: #ff9800;
  border: none;
  color: #ffffff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  display: block;
  width: 90%;
  margin: 10px auto 0;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.card .btn-primary:hover {
  background-color: #ff5722;
}

/* Button di dalam Card */
.card a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #ffffff;
  color: #ff5722;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Styling untuk Bagian Promo Spesial dan Pengiriman Cepat */
.feature-section {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 40px;
  border-radius: 8px;
  color: #ffffff;
  background: #1e3e62;
  background-size: cover;
  background-position: center;
}

.feature {
  text-align: center;
  max-width: 250px;
}

.feature .icon {
  font-size: 2.5em;
  color: #00aaff;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.6em;
  margin: 10px 0;
}

.feature p {
  font-size: 1.1em;
  color: #cccccc;
}

.feature:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .feature-section {
    flex-direction: column;
    align-items: center;
  }
  .feature {
    margin-bottom: 20px;
  }
}
/*Info Section*/
.info-section {
  padding: 50px 20px;
  background-color: #fff;
  text-align: center;
}

/* Header Section */
.info-header h2 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn {
  padding: 12px 24px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0056b3;
}

/* Custom Section Styling */
.custom-section ul li span {
  font-size: 1rem;
}

/* Hover Effect for Image */
.zoom-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoom-effect:hover {
  transform: scale(1.05);
}

/* Custom Section Text Styling */
.custom-section h2.gradient-title {
  background: linear-gradient(90deg, #4a90e2, #9013fe);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 2.5rem;
  font-weight: bold;
}

.custom-section p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.custom-section ul {
  padding-left: 0; /* Hilangkan padding default */
}

.custom-section ul li {
  display: flex;
  gap: 15px;
  /* margin-bottom: 20px; */
}

.custom-section ul li h5 {
  font-size: 1.1rem;
  font-weight: 600;
}

.custom-section ul li p {
  font-size: 0.9rem;
  margin: 0;
}
/* Gradient text untuk About Us */
.gradient-text {
  background: linear-gradient(90deg, #ff8c00, #ff0080, #00bfff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Animasi slide untuk tulisan */
.animate-title {
  animation: slideInCenter 1.5s ease;
}

@keyframes slideInCenter {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Paragraf di bawah judul */
.gradient-text + p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Zoom effect pada gambar */
.zoom-effect {
  transition: transform 0.4s ease;
}

.zoom-effect:hover {
  transform: scale(1.1);
}

/* Gradient untuk subjudul */
.gradient-title {
  background: linear-gradient(90deg, #ff8c00, #00bfff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* margin-top: -10px; */
}

/* Section tengah */
.custom-section {
  padding: 60px 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
/* Styling Container untuk Gambar */
.image-container {
  position: relative;
  width: 80%; /* Ukuran gambar lebih kecil */
  margin: auto;
  overflow: hidden;
  border-radius: 15px; /* Sudut yang lebih halus */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect pada Gambar */
.image-container:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* Styling Gambar */
.image-container img {
  width: 100%;
  display: block;
  border-radius: inherit;
  transition: transform 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.08);
}

/* Overlay di Atas Gambar */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

/* Teks Overlay */
.overlay p {
  font-size: 1.2rem;
  margin: 0;
  letter-spacing: 0.5px;
}

.image-container:hover .overlay {
  opacity: 1;
}

/* Responsiveness */
@media (max-width: 768px) {
  .custom-section h2.gradient-title {
    font-size: 1.8rem;
  }

  .custom-section ul li span {
    font-size: 0.95rem;
  }

  .custom-section .btn-primary {
    width: 100%; /* Button memenuhi layar pada perangkat kecil */
  }
}

/* Bagian teks */
.text-container {
  flex: 1;
  padding: 20px;
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.text-container.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.text-container h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.text-container .description {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.text-container .feature-list {
  list-style: none;
  padding: 0;
}

.text-container .feature-list li {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

.text-container .feature-list li .icon {
  font-size: 20px;
  margin-right: 12px;
  color: #007bff;
}

.text-container .feature-list li span {
  font-weight: 500;
}

/*history*/
/* Global Styles */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

/* History and Why Choose Us Section */
.history-why-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  gap: 30px;
  padding: 50px 20px;
  background: linear-gradient(45deg, #2f3847, #173b45, #15181d, #000000ef);
  background-size: 400% 400%;
  animation: gradient-move 8s ease infinite;
}
@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.history-card,
.why-us-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 80%; /* Lebar card menyesuaikan */
  max-width: 900px; /* Batas lebar maksimum */
  box-sizing: border-box;
  text-align: center;
}

.history-card h1,
.why-us-card h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  /* text-transform: uppercase; */
  text-align: center;
  color: #2f3847;
}

.divider {
  width: 50px;
  height: 3px;
  background: #ff9505;
  margin: 10px auto 20px;
  border-radius: 5px;
}

.history-card p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: justify;
  line-height: 1.8;
  color: #333;
}

/* Why Us Section */
.why-us-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.why-us-container > div {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease;
}

.why-us-container > div:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.why-us-container img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 50%;
  border: 2px solid #ff9505;
}

.why-us-container h3 {
  font-size: 1.2em;
  color: #2f3847;
  margin-bottom: 10px;
}

.why-us-container p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Responsiveness */
@media (max-width: 768px) {
  .history-why-section {
    flex-direction: column;
    align-items: center;
  }

  .history-card,
  .why-us-card {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .history-card p,
  .why-us-container p {
    font-size: 1.1rem;
  }
}

/*visi dan misi*/
#vision-mission {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('image/img_jumbotron/fotojumbotronwahana2.png');
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  padding: 150px 20px;
}

#vision-mission .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.vision,
.mission {
  background-color: #1c2833;
  padding: 20px 30px;
  border-radius: 8px;
  border-left: 5px solid #f39c12;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.vision h2,
.mission h2 {
  color: #f39c12;
  margin-bottom: 15px;
}

.vision p,
.mission ul {
  line-height: 1.8;
}

.mission ul {
  list-style: none;
  padding: 0;
}

.mission ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 25px;
}

.mission ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #f39c12;
  font-weight: bold;
}

/* about us */
#about .text-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#about .text-container p {
  font-size: 1.5rem;
}

/* Footer */
footer {
  background-color: #333333;
  color: #ffffff;
  padding: 3rem 0;
}

footer h5 {
  color: #ff9800;
  margin-bottom: 1rem;
}

/* footer a {
  color: #690606;
  text-decoration: none;
  transition: color 0.3s ease;
} */
footer a:hover {
  color: #ff9800;
}

.hover-opacity:hover {
  opacity: 0.7;
}

/* Form Subscribe */
footer form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

footer form input[type='email'] {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 20px;
}

footer form button {
  padding: 0.5rem 1rem;
  border: none;
  background-color: #ff9800;
  color: #ffffff;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

footer form button:hover {
  background-color: #ff5722;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .jumbotron {
    flex-direction: row;
    text-align: left;
    justify-content: center;
  }

  .content-container {
    flex: 1;
  }

  .jumbotron-image {
    flex: 1;
    max-width: 50%;
  }

  .jumbotron-links {
    justify-content: space-between;
  }

  .carousel-container p {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-center {
    flex-direction: column;
    gap: 0.5rem;
  }
}
/* Responsif untuk info-container */
@media (max-width: 768px) {
  .info-container {
    grid-template-columns: 1fr;
  }
}
/* Responsivitas untuk layar kecil */
@media (max-width: 768px) {
  .content-container {
    flex-direction: column; /* Susun elemen secara vertikal */
    text-align: center; /* Atur teks di tengah */
  }

  .text-content {
    margin-right: 0;
    margin-bottom: -5rem; /* Jarak antara teks dan gambar */
  }

  .jumbotron-image {
    max-width: 100%; /* Gambar mengambil seluruh lebar kontainer */
  }
}

/* Media Query untuk tampilan mobile */
@media (max-width: 768px) {
  .card {
    flex: 1 1 90%; /* Card akan mengambil 90% lebar pada layar kecil */
    margin: 0 auto; /* Card diposisikan di tengah */
  }
}
/* Responsif untuk layar kecil */
@media (max-width: 768px) {
  #vision-mission .content {
    flex-direction: column; /* Tumpuk ke bawah di layar kecil */
  }
}
