@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
/* Preload ditambahkan di head oleh Layout.astro */

/* Astro View Transitions Fade Effect */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
}
::view-transition-old(root) {
  animation-name: fade-out;
}
::view-transition-new(root) {
  animation-name: fade-in;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

:root {

/* Margin spacing for contentx except home/about */
.mt-about {
  margin-top: 3rem;
}

  /* Colors */
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --secondary: #00c6ff;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #fff;

  /* Z-index Scale */
  --z-modal: 10000;
  --z-navigation: 9000;
  --z-dropdown: 8000;
  --z-fixed: 7000;
  --z-sticky: 6000;
  --z-content: 1;
  --z-background: -1;

  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --h1-size: 2.6rem;
  --h2-size: 2rem;
  --h3-size: 1.5rem;
  --h4-size: 1.2rem;
  --body-size: 1.08rem;
  --small-size: 0.96rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;

  /* Animations */
  --transition-fast: 0.3s;
  --transition-normal: 0.5s;
  --transition-slow: 0.8s;
  --cubic-bezier: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */

/* Client Slider Animation */
.client-slider-container {
  width: 100%;
  overflow: hidden;
}
.client-track {
  display: flex;
  gap: 2rem;
  animation: client-slide-left 30s linear infinite;
  align-items: center;
}
.client-track.speed1 {
  animation-duration: 32s;
}
.client-track.reverse.speed2 {
  animation-duration: 22s;
}
.client-track.speed3 {
  animation-duration: 44s;
}
.client-track.reverse {
  animation: client-slide-right 30s linear infinite;
}
.client-slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.client-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 1rem 2rem;
  min-width: 120px;
  min-height: 70px;
}
.client-logo {
  max-width: 100px;
  max-height: 60px;
  object-fit: contain;
  filter: none !important;
}
@keyframes client-slide-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes client-slide-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
/* Duplicate slides in HTML if you want a seamless infinite effect */



h1, .display-1, .display-4 {
  font-size: var(--h1-size);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

h2, .display-2, .section-header {
  font-size: var(--h2-size);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--primary-dark);
}

h3, .display-3 {
  font-size: var(--h3-size);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 1rem;
}

h4, h5, h6 {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

p, .lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.1rem;
}

strong {
  font-weight: 600;
}

ul, ol {
  margin-bottom: 1.1rem;
  padding-left: 1.25rem;
}

.section-intro {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

body {
  /* animation: fadeIn var(--transition-normal) ease-in; */
  background: linear-gradient(135deg, var(--bg-light), #f4f4f4);
  color: var(--text-dark);
  font-family: var(--font-primary);
  /* padding-top: 60px; */
}

@media (min-width: 800px) {
  body {
    padding-top: 0;
  }
}
/* Navbar Styles */
nav {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 0;
  position: relative;
  top:0;
  left: 0;
  width: 100%;
  z-index: var(--z-navigation); /* Standardized z-index */ 
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 1; 
}
nav .navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1250px;
  width: 100%;
  margin: auto;
}


 nav .navbar-container .brand {
  /* flex: 2; Allow the brand to take available space */
  padding: 0.5rem 0;
  width: auto; /* Allow brand to adjust width */
  margin: 0 15px; /* Center the brand horizontally */
  display: flex; /* Ensure it uses flexbox */
  justify-content: flex-start; /* Center items horizontally */
}
nav .navbar-container .nav-links {
  display: flex;
    list-style: none;
    justify-content: center;    
    margin: 0;
    margin-right: 40px;
    padding: 0;
    font-weight: bold;
    gap: 20px;
    align-items: center;
    /* transition: opacity 0.5s ease, transform 1s ease; */
}

/* Active link styles */
nav .navbar-container .nav-links a.active {
  color: var(--primary);
  font-weight: bold;
  position: relative;
}

nav .navbar-container .nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(1);
}

.dropdown-menu a.active {
  background-color: var(--bg-light);
  color: var(--primary) !important;
}

/* Services Section Styles */
.services-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

.services-section .section-intro {
  margin-bottom: var(--space-xl) !important;
}

.services-section .section-header {
  margin-bottom: var(--space-md);
}

/* Service Card Styles */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: var(--space-lg) !important;
}

.service-card .service-icon-wrapper {
  margin-bottom: var(--space-md);
}

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.service-card p {
  margin-bottom: var(--space-md);
}

.service-card .service-features {
  margin-bottom: var(--space-lg);
}

.service-card .service-features li {
  margin-bottom: var(--space-xs);
  padding: calc(var(--space-xs) / 2) 0;
}

.service-card .service-features li:last-child {
  margin-bottom: 0;
}

.service-card .btn {
  margin-top: var(--space-md);
  padding: calc(var(--space-sm) - 0.25rem) var(--space-md);
}

.service-card .service-icon-bg {
  width: 60px;
  height: 60px;
  background-color: var(--bg-light);
  margin-bottom: var(--space-sm);
}

/* About Page Styles */
.about-content .lead {
  /* font-size: 1.25rem; */
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Stats Cards */
.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-card .h2 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-card .text-muted {
  font-size: 0.875rem;
}

/* About Cards */
.about-card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-card h3 {
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.about-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.about-card i {
  font-size: 1.25rem;
}

.about-card ul li {
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.about-card ul li i {
  font-size: 1rem;
  flex-shrink: 0;
}

.bg-white {
  outline: 2px solid #3e9fc9 !important; /* sky-400 */
  box-shadow: 0 4px 24px 0 #bae6fd !important; /* sky-200 */
}
/* Section Background Utilities */
.bg-light-blue {
  background: #f4faff !important;
}
.bg-blue-pastel {
  background: #eaf6fb !important;
}
.bg-soft {
  background: #f8fafc !important;
}

/* Values Section */
.values-list .value-item {
  transition: transform 0.3s ease;
}

.values-list .value-item:hover {
  transform: translateX(5px);
}

.value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon i {
  font-size: 1.25rem;
}

/* Map Section */
.map-section {
  margin-top: var(--space-xl);
}

.location-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-clip: padding-box;
}

.location-icon i {
  font-size: 1.125rem;
}

#indonesiaMap {
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 100% !important;
  min-height: 450px;
  aspect-ratio: 16/9;
}

/* Ensure map container takes full width */
.map-section .col-lg-8 {
  display: flex;
}

/* Remove default map outline */
.leaflet-container {
  outline: none !important;
}

/* Map Markers */
.custom-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 50%;
  width: 32px !important;
  height: 32px !important;
  background: var(--primary);
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.custom-marker.head-office {
  background: #ffc107;
  z-index: 1000;
  width: 40px !important;
  height: 40px !important;
}

.custom-marker.regional-office {
  background: var(--primary);
  z-index: 999;
}

.custom-marker.service-center {
  background: #6c757d;
  z-index: 998;
}

.custom-marker i {
  font-size: 14px;
}

.custom-marker.head-office i {
  font-size: 18px;
}

.map-popup {
  text-align: center;
  padding: 5px;
}

.map-popup strong {
  display: block;
  margin-bottom: 2px;
}

.map-popup .text-primary {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .stats-row .col-6 {
    padding: 0 8px;
  }
  
  .stat-card {
    padding: 1rem !important;
  }
  
  .stat-card .h2 {
    font-size: 1.5rem;
  }
  
  .stat-card .text-muted {
    font-size: 0.75rem;
  }
  
  #indonesiaMap {
    height: 300px !important;
  }
}

.nav-logo {
  height: auto;
  width: 200px;
  /* transition: transform 0.3s ease; */
}
.nav-links li {
  position: relative;
}

.nav-links li a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  min-width: 80px;
  text-align: center;
}

.nav-links li a i {
  margin-right: 0.5rem;
}

.nav-links li a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #007bff, #00bfff);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, #00bfff, #007bff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-links li a:hover {
  color: #007bff;
  transform: translateY(-3px);
}

.nav-links li a:hover::before,
.nav-links li a:hover::after {
  transform: scaleX(1);
}

.contentx {
  position: relative;
  padding-bottom: 100px; /* Add sufficient space for footer */
  max-width: 100vw;
  overflow-x: hidden;
}

/* Scroll animation */
nav.scrolled {
  position: sticky;  
  top: 15px; /*Memastikan navbar berada di posisi atas */
  background-color: rgb(255, 255, 255);
  padding: 0.3rem 0; /* Reduced padding to decrease height */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  /* transition: border-radius 0.3s ease; */
  transition: all 0.3s ease;
 
    /* Standardized z-index */
}

nav.scrolled .dropdown-menu {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
@media (max-width: 900px) { 
  .nav-links {
    margin-right: 50px;
  }
}

@media (max-width: 800px) {
  nav {  
    position: sticky;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    height: 60px;
      /* background-color: rgba(255, 255, 255, 0.95); */
    z-index: var(--z-navigation);
  }

    nav.scrolled {
      position: sticky;
      top: 5px;
      /*Memastikan navbar berada di posisi atas */
      background-color: rgb(255, 255, 255);
      padding: 0.3rem 0;
      /* Reduced padding to decrease height */
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      border-radius: 25px;
      /* transition: border-radius 0.3s ease; */
      transition: all 0.3s ease;
  
      /* Standardized z-index */
    }

  

  nav .nav-link-container {
    position: fixed;
    top: 60px;
    right: -100%;
    max-width: 300px;
    width: 100%;
    height: auto;   
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: var(--z-navigation);
    transition: all 0.5s ease;
    
  }
nav.scrolled .nav-link-container{
top: 65px;
}

    nav .nav-link-container .nav-links  {
      flex-direction:row;
        /* margin: 10px 0; Add margin between menu items */

    display: flex;
    flex-direction: column;
    align-items: center;
   list-style: none;
    margin-bottom: 10px;
    margin-top: 10px;
  }

   

  .burger-button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: calc(var(--z-navigation) + 1);

    display: flex;
      /* Ensure it is displayed as flex */
      flex-direction: column;
      
      margin-left: auto;
      /* Push to the right if needed */
  } 

  .brand {
    margin-right: auto; /* Push the brand logo to the right */
    display: flex; /* Ensure it uses flexbox */
    justify-content: flex-end; /* Align items to the end */
    margin: 0;
    padding: 0;
  }

  .nav-logo {
    width: 150px;  /* Adjust this value as needed for responsiveness */
    height: auto; /* Maintain aspect ratio */
    margin: 0; /* Remove any margins */
  }

    .dropdown-menu {
     border-radius: 8px; 
     
     right :1%;

      
    }

  
}


.footer-links a:hover {
  color: var(--bs-primary) !important;
  transition: color 0.3s ease;
}
.office-card {
  transition: transform 0.3s ease;
}
.office-card:hover {
  transform: translateY(-5px);
}
.social-links .btn:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}


/* Mobile specific styles */
@media (max-width: 800px) {
  .hero-section {
    /* display: none; */
    margin-top: 0px; /* Reduced from 60px to prevent overlap but minimize gap */
    padding-top: 15px; /* Add some padding for breathing room */
  }
  
  /* Fix for horizontal scrolling on about and contact pages */
  #about, #contact {
    max-width: 100%;
    overflow-x: hidden;
    will-change: transform; /* Hardware acceleration for smoother scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  }
  
  /* Make all pages with mt-about class consistent */
  .contentx.mt-about {
    margin-top: 0; /* Reset the margin on mobile */
    padding-top: 60px; /* Add consistent padding for all pages except index */
  }
  
  /* Fix for map container to prevent overflow */
  .map-section {
    max-width: 100%;
    overflow-x: hidden;
    contain: layout paint; /* Improve rendering performance */
  }
  
  /* Ensure map container fits within screen */
  #locationMap, .map-container {
    max-width: 100%;
    width: 100% !important;
    transform: translateZ(0); /* Force hardware acceleration */
    backface-visibility: hidden; /* Reduce paint complexity */
  }
  
  /* Optimize form elements for better performance */
  .contact-form {
    contain: content; /* Improve rendering performance */
  }
  
  /* Reduce paint operations during scroll */
  .contact-info, .office-card {
    will-change: transform;
    backface-visibility: hidden;
  }
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  background-color: rgba(255, 255, 255, 0.918);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  width: auto; /* Menyesuaikan lebar dropdown dengan konten */
  min-width: 150px; /* Menentukan lebar minimum jika diperlukan */
  white-space: nowrap; /* Mencegah konten untuk wrap */
  top: calc(100% + 13px); /* Memastikan dropdown muncul di bawah navbar dengan jarak */
  z-index: 1000; /* Memastikan dropdown berada di atas elemen lain */
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0.5rem 0;
}

.dropdown-menu li a {
  color: #444;
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.dropdown-menu li a i {
  margin-right: 0.5rem;
}

.dropdown-menu li a:hover {
  color: #007bff;
  background-color: rgba(0, 123, 255, 0.05);
}

@media (max-width: 800px) {
  .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    display: none;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Burger Button */
.burger-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  margin-left: auto;
}

.burger-button .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Burger button animation */
.burger-button.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-button.active .bar:nth-child(2) {
  opacity: 0;
}

.burger-button.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Show burger button in mobile mode */
@media (max-width: 800px) {
  .burger-button {
    display: flex; /* Show the burger button in mobile mode */
    /* Removed duplicate burger button styles */
  }
}

/* Reusable Hover Effect */
.hover-effect {
  position: relative;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.hover-effect::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #007bff, #00bfff);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.hover-effect::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, #00bfff, #007bff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.hover-effect:hover {
  color: #007bff;
  transform: translateY(-3px);
}

.hover-effect:hover::before,
.hover-effect:hover::after {
  transform: scaleX(1);
}

.btn.hover-effect {
  border: 1px solid transparent;
  background-clip: border-box; /* Standard */
  -webkit-background-clip: border-box; /* Safari */
  -moz-background-clip: border-box; /* Firefox */
}

/* Services Section */
.services-section {
  position: relative;
  overflow: hidden;
}

.service-card {
  transition: all 0.3s ease;
  z-index: 1;
}

.shadow-hover {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-icon-wrapper {
  position: relative;
}

.service-icon-bg {
  width: 70px;
  height: 70px;
  background: rgba(var(--bs-primary-rgb), 0.1);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-bg {
  background: var(--primary);
}

.service-card:hover .service-icon-bg i {
  color: white !important;
}

.service-features .feature-item {
  font-size: 0.95rem;
}

.service-card-decoration {
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, transparent 50%, rgba(var(--bs-primary-rgb), 0.1) 50%);
  z-index: 0;
}

.btn-outline-primary:hover i {
  transform: translateX(5px);
  transition: transform 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card {
    text-align: center;
  }
  
  .service-features .feature-item {
    justify-content: center;
  }
}


.btn.hover-effect {
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn.hover-effect:hover {
  border-color: #007bff;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
}

/* Client Section Styles */
.bg-gradient-light {
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
}

.client-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.client-slider-container::before,
.client-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.client-slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.client-slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.client-track {
  display: flex;
  animation: slideTrack 40s linear infinite;
  width: max-content;
}

.client-track:hover {
  animation-play-state: paused;
}

.client-slide {
  flex: 0 0 auto;
  padding: 0 2rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-slide:hover {
  opacity: 1;
  transform: scale(1.05);
}

.client-logo-wrapper {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  width: 200px;
}

.client-logo {
  max-width: 120px;
  height: auto;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-slide:hover .client-logo {
  filter: grayscale(0%);
}

.client-name {
  color: var(--text-dark);
  margin: 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.client-industry {
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 0;
}

@keyframes slideTrack {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .client-slide {
    padding: 0 1rem;
  }
  
  .client-logo-wrapper {
    width: 160px;
    padding: 1rem;
  }
  
  .client-logo {
    max-width: 100px;
  }
}

.btn.hover-effect:hover {
  border-color: #007bff;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}







/* Menghapus hover effect bawaan Bootstrap pada button */
.btn {
  transition: none !important;
}

.btn:hover,
.btn:focus {
  transform: none !important;
  box-shadow: none !important;
}

a.text-decoration-none {
  position: relative;
  overflow: hidden;
  display: inline; /* Mengatur agar lebar sesuai dengan konten */
  padding: 5px 10px; /* Menambahkan padding untuk ruang di sekitar teks */
}

a.text-decoration-none::before {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, #007bff, #00bfff);
  height: 2px; /* Sesuaikan tinggi garis */
  width: 100%;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

a.text-decoration-none:hover::before {
  transform: scaleX(1);
}

a.text-decoration-none:hover {
  color: #007bff;
  background-color: rgba(0, 123, 255, 0.1);
  transition: background-color 0.3s ease;
}

h2.section-header {
  text-align: center;
  margin-bottom: 30px; /* Menambahkan jarak bawah */
}

#tagline-container {
  opacity: 0;
  transform: translateY(30px);
}
#tagline-container.animate-hero {
  animation: heroFadeIn 0.8s cubic-bezier(.4,2,.6,1);
  opacity: 1;
  transform: translateY(0);
}
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#tagline-container.show {
  opacity: 1;
  transform: translateY(0);
}

/* Service Card Styles */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform var(--transition-normal) var(--cubic-bezier),
              box-shadow var(--transition-normal) var(--cubic-bezier);
  padding: 2rem;
}

.service-card-decoration {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  opacity: 0.1;
  top: -75px;
  right: -75px;
  transition: transform var(--transition-normal) var(--cubic-bezier);
}

.service-card:hover .service-card-decoration {
  transform: scale(1.2);
}

.service-icon-bg {
  width: 70px;
  height: 70px;
  /* background: linear-gradient(135deg, var(--primary-dark), var(--primary)); */
  position: relative;
  z-index: 1;
  transition: transform var(--transition-normal) var(--cubic-bezier);
}

.service-card:hover .service-icon-bg {
  transform: rotate(15deg) scale(1.1);
}

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

.service-header {
  text-align: center;
  margin-bottom: 2rem;
}

.service-icon-wrapper {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  position: relative;
}

.service-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  transition: opacity var(--transition-normal) var(--cubic-bezier);
}

.service-card:hover .service-icon::before {
  opacity: 0.6;
}

.service-title {
  font-size: var(--h3-size);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature-item {
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 12px;
  transition: transform var(--transition-fast) var(--cubic-bezier);
}

.feature-item:hover {
  transform: translateX(5px);
}

.feature-icon {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.feature-list li i {
  color: var(--primary);
  font-size: 0.85rem;
}

.service-cta {
  text-align: center;
  margin-top: auto;
}

.service-cta .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform var(--transition-fast) var(--cubic-bezier);
}

.service-cta .btn:hover {
  transform: translateX(5px);
}

/* Review Section Styles */
.review-section {
  position: relative;
  overflow: hidden;
}

.review-card {
  transition: transform var(--transition-normal) var(--cubic-bezier),
              box-shadow var(--transition-normal) var(--cubic-bezier);
}

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

.stars {
  display: inline-flex;
  gap: 4px;
}

.review-text {
  font-size: var(--body-size);
  line-height: 1.6;
  color: var(--text-light);
  font-style: italic;
}

.review-card img {
  transition: transform var(--transition-fast) var(--cubic-bezier);
}

.review-card:hover img {
  transform: scale(1.1);

  padding: 20px; /* Menambahkan padding di dalam card untuk memberi ruang pada konten */
  position: relative; /* Pastikan card memiliki posisi relative */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px; /* Menambahkan sudut rounded pada card */
  z-index: 1; /* Menetapkan z-index yang sama untuk all card */
}

.service-icon {
  position: relative;
  margin-bottom: 10px; /* Menambahkan jarak bawah pada ikon */
}

.service-details {
  margin-top: 10px; /* Menambahkan jarak atas pada detail layanan */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.gradient-text {
  background: linear-gradient(90deg, #007bff, #00bfff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Client Section Animation */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Multi-Testimonial Carousel Styles */
.multi-testimonial-carousel {
  max-width: 100%;
  margin: 3rem auto;
  padding: 1rem 0;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  padding: 0 50px; /* Space for arrows */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  padding: 10px 0;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 280px;
  padding: 0 10px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(100% - 20px);
  }
}

.review-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  z-index: 10;
}

.carousel-control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.testimonial-controls {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.testimonial-indicators .indicator {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e1e1e1;
  border: none;
  color: #666;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-indicators .indicator.active {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.testimonial-nav-buttons {
  display: flex;
  gap: 1rem;
}

.testimonial-nav-buttons button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-nav-buttons button:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
  max-width: 90%;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

@media (min-width: 768px) {
  .review-card {
    max-width: 600px;
  }
}

.client-section {
  overflow: hidden;
  position: relative;
}

.client-section .container {
  width: 100%;
  overflow: hidden;
}

.client-section .row {
  display: flex;
  width: 200%;
  animation: slide 120s linear infinite;
  position: relative;
  margin-left: -100%;
}

.client-section .row:hover {
  animation-play-state: paused;
}

.client-section img {
  flex: 0 0 auto;
  width: 150px;
  margin: 0 2rem;
  transition: transform 0.3s ease;
}

.client-section img:hover {
  transform: scale(1.1);
}

.hero-section {
  height: 80vh;
  background: url('assets/img/bg/testi_bg_2.png') center center no-repeat rgba(7, 7, 7, 0.95);
  display: flex;
  align-items: center;
  /* padding-top: 100px; */

  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
    
}

.hero-section .container {
    position: relative;
    /* background-color: transparent; */
}