/* Resetting margin, padding, and setting box-sizing to border-box */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic font and body styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .top-bar {
    display: flex;
    justify-content: space-between;
    background-color: #f7f7f7;
    padding: 8px 20px;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    width: 110px;
    height: auto;
    margin-right: 10px;
  }
  
  .logo-text h1 {
    margin: 0;
    font-size: 24px;
  }
  
  .logo-text span {
    color: #506de4; /* orange like logo */
  }
  
  .logo-text .green {
    color: green;
    font-weight: 500;
  }
  
  .header-info {
    display: flex;
    gap: 30px;
    color: rgb(0, 0, 0);
  }
  .header-info a{
    color: rgb(0, 0, 0);
  }
  
  .location, .contact {
    display: flex;
    align-items: center;
  }
  
  .location .icon, .contact .icon {
    font-size: 24px;
    margin-right: 10px;
  }
  
  .text strong {
    display: block;
    margin-top: 1px;
  }
  
  .main-nav {
    background-color: white;
    border-top: 1px solid #eee;
    padding: 10px 0;
  }
  
  .main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 0;
  }
  
  .main-nav ul li {
    position: relative;
  }
  
  .main-nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    transition: 0.3s;
  }
  
  .main-nav ul li.active a,
  .main-nav ul li a:hover {
    background-color: #506de4;
    color: white;
    border-radius: 5px;
  }
  
  .search-icon {
    cursor: pointer;
    font-size: 20px;
  }  

/* Hero section with full-screen background image */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Slider container that holds all the slides */
.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Individual slide styling with transition for fade effect */
.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    opacity: 0;  /* Initially hidden */
    transition: opacity 1s ease-in-out; /* Smooth fade transition */
}

/* Slide with 'active' class will have full opacity */
.slide.active {
    opacity: 1;
}

/* Styling for the caption text over the images */
.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

/* General section styling with padding */
#services, #projects, #map-project, #contact {
    padding: 50px 50px;
}

/* Flexbox layout for service and project galleries */
#services .services, #projects .projects-gallery {
    display: flex;
    justify-content: space-around;
}

.service, .project {
    text-align: center;
    margin: 20px;
}
/* Map container styling */
.map-container iframe {
    width: 100%;
    height: 400px;
}

/* Form styling for inputs and textareas */
form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
}

/* Button styling */
form button {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
}

/* Footer section styling */
.footer {
    background-color: #00214d;
    color: white;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
  }
  .footer-section a {
    
    color: #ffffff;
  }
  
  .footer-section h3,
  .footer-section h4 {
    margin-bottom: 20px;
    color: white;
  }
  
  .footer-section p {
    line-height: 1.7;
    font-size: 14px;
  }
  
  .social-icons a {
    display: inline-block;
    background-color: #506de4;
    color: white;
    width: 30px;
    height: 30px;
    margin-top: 20px;
    margin-right: 10px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-size: 16px;
    transition: 0.3s;
  }
  
  .social-icons a:hover {
    background-color: #d8541c;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin-bottom: 10px;
    font-size: 14px;
  }
  
  .footer-links span {
    color: #506de4;
    margin-right: 5px;
  }
  
  .contact-info {
    list-style: none;
    padding: 0;
    font-size: 14px;
  }
  
  .contact-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .contact-info i {
    background-color: #007bd4;
    color: white;
    padding: 8px;
    border-radius: 50%;
    width: 30px;
    text-align: center;
  }
  
#projects {
    padding: 50px 20px;
    text-align: center;
}

#projects h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#projects p {
    font-size: 1rem;
    margin-bottom: 40px;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolom tetap */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  

.project {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project:hover img {
    transform: scale(1.1); /* Gambar akan membesar saat hover */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
}

.project:hover .overlay {
    opacity: 1;
}

.overlay p {
    font-size: 1.2rem;
    font-weight: bold;
}

#services {
    padding: 50px 20px;
    text-align: center;
    background: #f8f8f8;
}

#services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsif: grid dengan ukuran kolom otomatis */
    gap: 30px;
    padding: 20px;
}

.service-item {
    background-color: #f4f4f4;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px); /* Efek hover untuk menaikkan elemen */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-icon img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

.service-item a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.service-item a:hover {
    background-color: #666;
}

#galeri {
    padding: 40px;
    background-color: #fff;
    text-align: center;
  }
  
  .galeri-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
  }
  
  .galeri-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .galeri-item img:hover {
    transform: scale(1.03);
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .galeri-gallery {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .galeri-gallery {
      grid-template-columns: 1fr;
    }
  }
  .service-container {
    padding: 40px 20px;
    background-color: #fff;
    display: flex;
    justify-content: center;
  }
  
  .service-content {
    max-width: 900px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  .service-image {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .service-text {
    padding: 30px;
  }
  
  .service-text h3 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
    text-align: center;
  }
  
  .service-text p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .service-text ul {
    padding-left: 20px;
    margin-bottom: 20px;
  }
  
  .service-text ul li {
    list-style-type: disc;
    margin-bottom: 6px;
  }
  
  .more-link {
    display: block;
    text-align: right;
    color: #f9a825;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
  }
  
  .more-link span {
    font-size: 18px;
    margin-left: 5px;
  }
  .profil-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .profil-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
  }
  
  .quote-mark {
    font-size: 60px;
    color: #f97316;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -39px;
  }
  
  .profil-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-top: 40px;
  }
  
  .profil-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    justify-content: center;
  }
  
  .profil-text {
    flex: 1;
    min-width: 300px;
    font-size: 16px;
    color: #374151;
  }
  
  .profil-text p {
    margin-bottom: 16px;
    line-height: 1.6;
  }
  
  .profil-image {
    flex: 1;
    min-width: 300px;
    position: relative;
  }
  
  .img-card {
    width: 320px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgb(255, 255, 255);
    position: relative;
    z-index: 2;
    border: 8px solid #60a1e3;
  }
  
  .img-bg {
    width: 380px;
    position: absolute;
    right: -40px;
    top: 30px;
    border-radius: 10px;
    z-index: 1;
  }
      
  .clients-container {
    overflow: hidden;
    white-space: nowrap;
    background: #f8f8f8;
    padding: 20px 0;
    text-align: center;
  }
  .clients-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.clients-container p{
    font-size: 1rem;
    margin-bottom: 40px;
}
  .clients-logo-track {
    display: inline-block;
    white-space: nowrap;
    animation: scrollClient 20s linear infinite;
  }
  
  .clients-logo-track img {
    height: 80px;
    margin: 0 40px;
    vertical-align: middle;
    transition: filter 0.3s;
  }
  
  .clients-logo-track img:hover {
    filter: grayscale(0%);
  }
  
  @keyframes scrollClient {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .container {
  width: 100%;
  max-width: 1140px; /* Ukuran lebar konten maksimum */
  margin: 0 auto;     /* Tengah horizontal */
  padding-left: 1px;
  padding-right: 1px;
  box-sizing: border-box;
}

.contact-box {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #333;
}

.contact-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-box .contact-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
}

.contact-box .contact-list li {
  margin-bottom: 10px;
}

.contact-box .contact-list a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.contact-box .contact-list a i {
  color: #005bac;
  background: #e4f0fc;
  border-radius: 50%;
  padding: 8px;
  font-size: 14px;
  margin-right: 10px;
}

.contact-box h4 {
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 5px;
}

.contact-box address {
  font-style: normal;
  line-height: 1.6;
}

.contact-box hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #ccc;
}

.social-icons a {
  text-decoration: none;
  display: inline-block;
  color: white;
  background-color: #ff5b00;
  margin-right: 10px;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  font-size: 14px;
}
.produk-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 40px 20px;
}

.produk-box {
  width: 180px;
  background: white;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
  padding: 15px 10px 25px;
  transition: transform 0.3s;
  border: 2px solid #ffdddd;
}

.produk-box:hover {
  transform: translateY(-5px);
}

.produk-box img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.produk-box h4 {
  margin: 10px 0;
  font-size: 16px;
  font-weight: 600;
}

.btn-beli {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #506de4;
  color: white;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}

.btn-beli:hover {
  background-color: #3459ec;
}

.contact-button-wrapper {
  text-align: center;
  margin-top: 20px;
}

.contact-button {
  display: inline-block;
  background-color: #506de4; /* warna oranye sesuai dengan tema sebelumnya */
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background-color: #e67300;
}

.stats-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 0;
  background-color: #fff;
}

.stat-box {
  text-align: center;
}

.stat-box h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
  color: #000;
}

.stat-box h2 span {
  color: red;
  font-size: 3rem;
  margin-left: 4px;
}

.stat-box p {
  font-size: 2rem;
  color: #666;
  font-weight: 500;
}

/* GENERAL FLEX ADJUSTMENTS */
.top-bar, .main-header, .header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.logo img {
  max-width: 70px;
  height: auto;
}

.logo-text h1 {
  font-size: 1.2rem;
  margin: 0;
}

.logo-text p {
  margin: 0;
  font-size: 0.9rem;
}

.main-header {
  padding: 10px 0;
  flex-wrap: wrap;
}

.header-info {
  gap: 15px;
}

.location, .contact {
  display: flex;
  align-items: center;
  gap: 5px;
}

.location .text, .contact .text {
  font-size: 0.9rem;
}

/* NAVIGATION */
.main-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 10px 0;
  list-style: none;
}

.main-nav ul li {
  margin: 5px 10px;
}

.main-nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

/* RESPONSIVE FOR SMALL SCREENS */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    text-align: center;
    gap: 5px;
    font-size: 0.9rem;
  }

  .main-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 10px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 5px;
  }

  .main-nav ul li {
    margin: 5px 0;
  }

  .logo-text h1 {
    font-size: 1.1rem;
  }

  .logo-text p {
    font-size: 0.85rem;
  }
}

/* Hamburger icon */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
}

/* Hide nav menu by default on mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    text-align: right;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    background-color: #fff;
    padding: 10px;
    border-top: 1px solid #ccc;
    text-align: center;
  }

  .main-nav ul.show {
    display: flex;
  }

  .main-nav ul li {
    margin: 10px 0;
  }
}
