/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styling */
body {
    font-family: "Raleway", sans-serif; /* Unified font */
    margin: 0;
    padding: 0;
    min-height: 100vh;
    /* Match other pages: dark overlay + p.png */
    background:
      linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)),
      url('p.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}

/* Navbar and Hero Section Styles */
/* Navbar Fix */
.navbar-custom {
    background-color: #1b1f3b;
    padding: 0.8rem 2rem;
    margin-bottom: 0;
    font-family: 'arial';
    font-weight: bold;
  }

/* Consistent navbar styling across pages */
.navbar {
  background: rgba(0, 50, 90, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.5rem; /* standardized */
}
.navbar-text {
  color: #fff !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.1rem; /* standardized */
}
.navbar-nav .nav-link {
  color: #f0f0f0 !important;
  font-weight: 500;
  margin-right: 10px;
  transition: 0.3s;
  font-size: 1rem; /* standardized */
}
.navbar-nav .nav-link:hover {
  color: #FFD700 !important;
}

  body {
    font-family: 'Raleway', sans-serif;
  }

  /* Logo & brand */
  .navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #fff !important;
    font-size: 1.25rem;
  }

  .navbar-brand img {
    height: 32px;
    margin-right: 8px;
  }

  /* Nav Links */
  .navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
  }

  /* .navbar-nav .nav-link:hover {
    color: brown !important;
  } */

  /* Active underline */
  .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
  }


  /* Responsive */
  @media (max-width: 991px) {
    .navbar-custom {
      border-radius: 20px;
    }
  }
  
/* Hero Section */
.hero {
    background: linear-gradient(180deg, #0d6efd22 0%, #f8f9fa 100%);
    padding: 5rem 0;
    text-align: center;
    color: #333;
}

.hero h1 {
    font-weight: 600;
    font-size: 2.5rem;
}

.hero p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Hero Content Section */
.hero-section {
    padding: 60px 0;
}
.hero__pictures-column {
    max-width: 600px;
    display: flex;
    justify-content: center;
    gap: 20px; /* Jarak antar kolom kiri & kanan */
  }
  
  /* Style dasar gambar */
  .img-custom {
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 6px 0; /* Vertikal spacing antar gambar */
  }
  
  /* Hilangkan margin untuk gambar no-gap */
  .img-custom.no-gap {
    margin: 0 !important;
  }
  
  /* Ukuran gambar */
  .img-custom.tall {
    width: 260px;
    height: 430px;
  }
  
  .img-custom.medium {
    width: 260px;
    height: 260px;
  }
  
  .img-custom.small {
    width: 260px;
    height: 200px;
  }
  
  /* Kolom kiri dan kanan */
  .img-1,
.img-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

  .img-2 {
    margin-top: 40px; /* Atur sesuai keinginan, bisa 20px, 60px, dst */
  }
  

.hero__text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 30px;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 40px;
}

/* Search Form */
.search-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.search-card input,
.search-card select {
    border-radius: 4px;
    padding: 10px;
    font-size: 1rem;
}

.search-card button {
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    border: none;
}

.search-card button:hover {
    background-color: #0056b3;
}

/* Result Cards */
.result-card {
    transition: transform 0.2s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

/* Card Styling */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.image-section {
    display: flex;
    flex-wrap: wrap; /* Ensure images wrap on smaller screens */
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}
.card {
    margin-top: 50px;
    position: relative;
    width: 240px;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.6s ease-out;
}

.card:hover {
    transform: scale(1.1); /* Hover effect */
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.card-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 20px;
    color: #fff;
    text-align: center;
}

.card-info h1 {
    font-family: "Verdana", serif;
    font-size: 28px;
    font-weight: 700;
    text-shadow: rgba(0, 0, 0, 0.5) 0 10px 10px;
    margin-bottom: 10px;
}

.card-info p {
    font-size: 14px;
    line-height: 1.5em;
}

@media (max-width: 768px) {
    .card {
        width: 180px;
        height: 240px;
    }

    .card-info h1 {
        font-size: 24px;
    }
}

/* Horizontal Image Layout (Main Page) */


.image-container {
    width: 23%; /* Width to ensure four images fit in one row */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.image-container img:hover {
    opacity: 0.7; /* Hover effect */
}

/* Modal Styling for Horizontal Image Layout */
.modal-dialog {
    max-width: 1000px;
    width: 80%;
}

.modal-content {
    width: 100%;
}

.modal-body {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    overflow-x: auto; /* Enable horizontal scrolling if needed */
}

.modal-body .image-container {
    flex: 0 0 auto; /* Maintain fixed size for images */
    width: 30%; /* Make images larger in the modal */
}

/* Additional Styling */
.badge-cat {
    font-size: 0.8rem;
}
/* modal */
.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);  /* Menambahkan bayangan untuk teks */
    padding: 0 10px;
    z-index: 2;  /* Menjaga teks tetap di atas gambar */
    width: 100%;  /* Membuat teks dapat merespon ukuran kontainer */
    box-sizing: border-box;  /* Agar padding dan lebar total teks lebih terkontrol */
}


/* testi */
 /* Section Styling */
 .section {
    padding: 80px 0;
}

.testimonial-card {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 15px;
  background-color: #ffffff;
  /* Hapus efek transform saat hover */
  transition: none;
}

.testimonial-card img {
  border: 3px solid #004d40;
  padding: 3px;
}

.row.justify-content-center {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

@media (max-width: 768px) {
  .col-md-3 {
    flex: 0 0 80%;
    max-width: 80%;
    margin-bottom: 20px;
  }
}


.form-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.form-group label {
    font-weight: bold;
    color: #333;
}

.form-group input, .form-group textarea {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px;
    width: 100%;
    font-size: 1rem;
}

.form-group input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.form-group input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .testimonial-card {
        margin-left: 10px;
        margin-right: 10px;
    }

    .form-container {
        padding: 20px;
    }
}

.section-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1b1b1b;
    text-align: center;
  }
  
  .underline {
    width: 80px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
    margin: 0 auto; /* ini yang bikin benar-benar center */
  }
  
  .row p, .row h5 {
    text-align: center;
  }
  


  /*Featured in*/
  /* === Featured In Section === */
.featured-in {
    padding: 50px 0;
    text-align: center;
    overflow: hidden; /* Hide overflow for smooth scrolling */
    background-color: transparent;
  }
  
  .featured-in h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }
  
  /* Wrapper & scrolling */
  .featured-in .scrolling-logos-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    overflow: hidden;
  }
  
  .featured-in .scrolling-logos {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
  }
  
  /* ✅ Card khusus untuk Featured In */
  .featured-in .card {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
    border: none;
    box-shadow: none;
    background-color: transparent !important; /* Hilangkan background putih */
  }
  
  /* Gambar logo langsung berwarna */
  .featured-in .card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  /* Efek hover sederhana */
  .featured-in .card img:hover {
    transform: scale(1.05);
  }
  
  /* Animasi scroll logo */
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  
  body > .content-wrapper {
    flex: 1;
  }
  /* Footer */
  .footer-section {
    background-color: #1b1f3b; /* ubah warna sesuai keinginanmu */
    color: #fff;
  }
  
  .footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: color 0.3s ease;
  }
  
  .footer-link:hover {
    color: #fff;
    text-decoration: underline;
  }
  
  .footer-section .btn-outline-light {
    border: 1px solid #fff;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
  }
  
  .footer-section .btn-outline-light:hover {
    background-color: #fff;
    color: #007bff;
  }
  
  .footer-section iframe {
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }
  
  .footer-section small {
    color: rgba(255, 255, 255, 0.8);
  }
  
  .footer-section img.img-fluid {
    filter: brightness(0) invert(1); /* Biar nyatu kalau background gelap */
    opacity: 0.9;
    transition: opacity 0.3s ease;
  }
  
  .footer-section img.img-fluid:hover {
    opacity: 1;
  }
  
  .hero-section {
    display: flex;
    align-items: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}
.hero-content {
    max-width: 50%;
    padding-right: 2rem;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}
.btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
}
.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 50%;
}
.image-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 200px;
    background-size: cover;
    background-position: center;
}
.red-wave {
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    z-index: -1;
}
.red-wave svg {
    width: 100%;
    height: 100%;
}
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        padding: 3rem 1rem;
    }
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 2rem;
    }
    .image-grid {
        max-width: 100%;
    }
}