/*
 * PT. Aleora Simbur Jaya - Custom Stylesheet
 * Last Updated: 23 Mei 2025
 * Theme: Soft Professional with Custom Button Hovers, Hero Image, Services Page Enhancements, About Us Section, Core Values Section, and Full Height Page Header Fix
 */

/* CSS Variables - Soft Professional Palette */
:root {
  --primary-color: #607d8b;
  --primary-color-rgb: 96, 125, 139;
  --secondary-color: #90a4ae;
  --secondary-color-rgb: 144, 164, 174;
  --accent-color: #b08d57;
  --accent-color-rgb: 176, 141, 87;
  --text-color: #263238;
  --text-color-rgb: 38, 50, 56;
  --text-muted-color: #546e7a;
  --light-bg-color: #f4f6f7;
  --white-color: #ffffff;
  --pure-white-color-rgb: 255, 255, 255;
  --border-color: #cfd8dc;
  --footer-bg-color: #37474f;
  --dark-section-bg: #263238;
  --dark-section-text-color: rgba(var(--pure-white-color-rgb), 0.9);
  --dark-section-heading-color: var(--white-color);
  --dark-section-icon-bg: rgba(var(--pure-white-color-rgb), 0.08);
  --dark-section-icon-color: rgba(var(--pure-white-color-rgb), 0.7);

  --button-accent-hover-bg-color: #c07352;

  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --font-family-sans-serif: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-serif-display: "Playfair Display", serif;
  --box-shadow-light: 0 2px 8px rgba(0, 0, 0, 0.07);
  --box-shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
  --box-shadow-strong: 0 6px 20px rgba(var(--primary-color-rgb), 0.12);
}

/* Global Styles */
body {
  font-family: var(--font-family-sans-serif);
  background-color: var(--white-color);
  color: var(--text-color);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text-color);
  margin-top: 0;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

.lead {
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--text-muted-color);
}

.section-title,
.services-gallery .text-center h2 {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-weight: 700;
}

.section-subtitle,
.services-gallery .text-center p.lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted-color);
  font-size: 1.1rem;
  font-weight: 400;
}

.bg-light-subtle {
  background-color: var(--light-bg-color) !important;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.25s ease-in-out;
}
a:hover {
  color: darken(var(--accent-color), 10%);
}

/* Buttons */
.btn {
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.25s ease-in-out;
  border-width: 1px;
  border-style: solid;
}
.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white-color);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--button-accent-hover-bg-color);
  border-color: var(--button-accent-hover-bg-color);
  color: var(--white-color);
  box-shadow: 0 4px 10px rgba(var(--accent-color-rgb), 0.2);
  transform: translateY(-2px);
}

.btn-quote {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white-color);
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
}
.btn-quote:hover,
.btn-quote:focus {
  background-color: var(--button-accent-hover-bg-color);
  border-color: var(--button-accent-hover-bg-color);
  color: var(--white-color);
  box-shadow: 0 4px 10px rgba(var(--accent-color-rgb), 0.3);
  transform: none;
}

/* Navbar Styling */
.navbar {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  background: rgba(var(--pure-white-color-rgb), 0.85);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.5rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-medium);
  z-index: 1030;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.navbar .container-fluid {
  padding: 0;
}

.navbar.sticky-active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  transform: none;
  border-radius: 0;
  background-color: var(--white-color) !important;
  padding: 0.6rem 2rem;
  box-shadow: var(--box-shadow-light);
}
.navbar-brand img {
  height: 90px;
  width: auto;
  transition: height 0.3s ease;
}
.navbar.sticky-active .navbar-brand img {
  height: 90px;
}

/* Custom styles for navbar-collapse on desktop (large screens) */
@media (min-width: 992px) {
  .navbar-collapse {
    position: static;
    background-color: transparent;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    padding: 0;
    display: flex !important;
    flex-grow: 1;
  }

  .navbar-nav {
    flex-direction: row;
    align-items: center;
    width: auto;
  }

  .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    position: relative;
    transition: color 0.25s ease;
    transform-origin: left;
  }
  .navbar-nav .nav-link::after {
    content: "";
    display: block;
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 0.25rem;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--primary-color);
  }
  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
  }
  .navbar-nav .nav-link.active {
    font-weight: 600;
  }

  .navbar-nav .btn-quote {
    margin-top: 0 !important;
    margin-left: 1rem;
    display: inline-block !important;
    width: auto;
  }
}

/* Custom styles for navbar-collapse on mobile (small screens) */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--white-color);
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    padding: 0.5rem 0;
    box-shadow: var(--box-shadow-medium);
    border-top: 1px solid var(--border-color);
    z-index: 1029;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    position: relative;
    transition: color 0.25s ease;
    text-align: center;
  }

  .navbar-nav .nav-link::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    bottom: 0.25rem;
    height: 2px;
    background: var(--primary-color);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--primary-color);
  }
  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
  }
  .navbar-nav .nav-link.active {
    font-weight: 600;
  }

  .navbar-nav .btn-quote {
    width: calc(100% - 3rem);
    margin: 1rem 1.5rem 0.5rem;
    display: block !important;
  }
}

.navbar-toggler {
  border-color: transparent;
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* Base style for page titles and subtitles across internal pages */
.page-title-heading {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white-color); /* Umumnya putih untuk header gelap */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}
.page-header-subtitle {
  font-size: 1.2rem;
  color: rgba(var(--pure-white-color-rgb), 0.9); /* Umumnya putih dengan opacity untuk header gelap */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

/* Services Page Header */
.services-header {
  background-color: var(--dark-section-bg);
  color: var(--dark-section-text-color);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
  padding-top: 10rem; /* Ruang untuk navbar */
  padding-bottom: 5rem;
}
.services-header .container {
  position: relative;
  z-index: 2;
}
.services-header .btn {
  margin-top: 2rem;
}

/* Projects Page Header */
.projects-page-header {
  background-color: var(--dark-section-bg);
  color: var(--dark-section-text-color);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  padding-top: 10rem; /* Ruang untuk navbar */
  padding-bottom: 3rem;
}
.projects-page-header .container {
  position: relative;
  z-index: 2;
}

/* About Us Section (index.html) */
/* Pastikan about-us-section di index.html memiliki background gelap */
#about-us-section {
  /* Untuk index.html */
  background-color: var(--dark-section-bg);
  color: var(--dark-section-text-color); /* Pastikan teksnya gelap untuk index.html */
  padding-top: 5rem; /* Jarak atas dari section sebelumnya di index.html */
  padding-bottom: 5rem; /* Padding bawah umum */
}
#about-us-section .about-image-wrapper img {
  max-height: 500px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}
/* Styles for titles and text within #about-us-section in index.html */
#about-us-section .section-title-dark-alternative {
  /* Untuk 'About Us' h2 di index.html */
  font-family: var(--font-family-serif-display);
  font-size: 2.8rem;
  color: var(--dark-section-heading-color); /* Ini sudah putih */
  margin-bottom: 0.75rem;
  font-weight: 700;
}
#about-us-section .about-subtitle {
  /* Untuk lead paragraph di index.html */
  font-size: 1.25rem;
  color: var(--dark-section-text-color); /* Atur menjadi warna teks gelap */
  font-weight: 400;
  line-height: 1.5;
}
#about-us-section .text-content-muted {
  /* Untuk paragraph lainnya di index.html */
  color: var(--dark-section-text-color); /* Atur menjadi warna teks gelap */
  font-size: 0.95rem;
  line-height: 1.8;
}
#about-us-section .text-content-muted:not(:last-child) {
  margin-bottom: 1rem;
}

/* About Us Content Section (di about.html) */
/* Memberikan jarak dari navbar dan mengatur warna gelap */
#about-us-content-section {
  background-color: var(--dark-section-bg);
  color: var(--dark-section-text-color); /* Warna teks umum untuk section ini */
  padding-top: 10rem; /* Memberikan jarak dari navbar. Sesuaikan jika perlu */
  padding-bottom: 5rem;
}
#about-us-content-section .about-image-wrapper img {
  max-height: 500px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}
/* Styles for titles and text within #about-us-content-section in about.html */
#about-us-content-section .section-title-dark-alternative {
  /* Untuk 'About Us' h2 di about.html */
  font-family: var(--font-family-serif-display);
  font-size: 2.8rem;
  color: var(--dark-section-heading-color); /* Ini sudah putih */
  margin-bottom: 0.75rem;
  font-weight: 700;
}
#about-us-content-section .about-subtitle {
  /* Untuk lead paragraph di about.html */
  font-size: 1.25rem;
  color: var(--dark-section-text-color); /* Di sini diubah jadi pure white */
  font-weight: 400;
  line-height: 1.5;
}
#about-us-content-section .text-content-muted {
  /* Untuk paragraph lainnya di about.html */
  color: var(--dark-section-text-color); /* Di sini diubah jadi pure white */
  font-size: 0.95rem;
  line-height: 1.8;
}
#about-us-content-section .text-content-muted:not(:last-child) {
  margin-bottom: 1rem;
}

/* Vision and Mission Section (Visi Misi) - di about.html */
#vision-mission-section {
  background-color: var(--dark-section-bg); /* Warna latar belakang sama dengan about-us-content-section */
  padding-top: 5rem;
  padding-bottom: 5rem;
  color: var(--dark-section-text-color); /* Warna teks umum untuk section ini */
}
#vision-mission-section .section-title {
  color: var(--dark-section-heading-color); /* Judul section utama agar putih */
}
#vision-mission-section .section-subtitle {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--dark-section-text-color); /* Warna subtitle agar putih solid */
}
#vision-mission-section .card {
  background-color: rgba(var(--pure-white-color-rgb), 0.05); /* Sedikit transparan agar terlihat berbeda dari background */
  border: 1px solid rgba(var(--pure-white-color-rgb), 0.1); /* Border yang lebih terang */
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#vision-mission-section .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-medium);
}
#vision-mission-section .card-title {
  font-family: var(--font-family-sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-section-heading-color); /* Warna judul card agar putih */
}
#vision-mission-section .card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dark-section-text-color); /* Warna teks deskripsi card agar putih */
  text-align: justify; /* Rata kanan kiri */
  max-width: 400px; /* Batasi lebar teks dalam card */
  margin-left: auto; /* Tengahkan teks dalam batas max-width */
  margin-right: auto; /* Tengahkan teks dalam batas max-width */
}
#vision-mission-section .mission-list {
  /* Untuk misi list */
  padding-left: 0;
  list-style: none; /* Hapus bullet default jika perlu */
  text-align: left; /* Teks misi rata kiri */
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark-section-text-color); /* Warna teks list agar putih */
}
#vision-mission-section .mission-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}
#vision-mission-section .mission-list li:last-child {
  margin-bottom: 0;
}
#vision-mission-section .mission-list i {
  font-size: 1.1em;
  vertical-align: middle;
  margin-right: 0.5rem; /* Jarak antara ikon dan teks */
  color: var(--accent-color); /* Warna ikon */
}

/* Hero Section (index.html) */
#hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("../img/home.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--white-color);
  padding-top: 14rem;
  padding-bottom: 8rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease-in-out 0.2s;
  position: relative;
  overflow: hidden;
}
#hero-section.fade-in {
  opacity: 1;
}
#hero-section .hero-container {
  width: 100%;
}

#hero-section .hero-content h1 {
  color: var(--white-color);
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  #hero-section .hero-content h1 {
    font-size: 3.8rem;
  }
}

#hero-section .hero-content p.lead {
  color: rgba(var(--pure-white-color-rgb), 0.9);
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
  #hero-section .hero-content p.lead {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-cta-button {
  font-weight: 700;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.3);
  display: inline-flex;
  align-items: center;
}
.hero-cta-button:hover,
.hero-cta-button:focus {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 20px rgba(var(--accent-color-rgb), 0.4);
}
.hero-cta-button i {
  margin-left: 0.5rem;
  font-size: 1.2em;
  transition: transform 0.2s ease-in-out;
}
.hero-cta-button:hover i {
  transform: translateX(4px);
}

/* Services Section Dark (index.html) */
.services-section-dark {
  background-color: var(--dark-section-bg);
  color: var(--dark-section-text-color);
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.section-title-dark {
  font-family: var(--font-family-serif-display);
  font-size: 2.8rem;
  color: var(--dark-section-heading-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.section-subtitle-dark {
  color: rgba(var(--pure-white-color-rgb), 0.75);
  font-size: 1.05rem;
  margin-bottom: 0;
  max-width: 100%;
}
.btn-view-all-services {
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}
.btn-view-all-services i {
  transition: transform 0.3s ease;
  align-items: center;
}
.btn-view-all-services:hover {
  background-color: var(--accent-color);
  color: var(--white-color);
  border-color: var(--accent-color);
}
.btn-view-all-services:hover i {
  transform: translateX(5px);
}

.service-card-dark {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 1rem;
  transition: transform 0.3s ease;
  height: 100%;
}
.service-card-dark:hover {
  transform: translateY(-5px);
}
.service-icon-dark {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--dark-section-icon-bg);
  color: var(--accent-color);
  margin-bottom: 1.25rem !important;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.1);
}
.service-icon-dark i {
  font-size: 1.8rem;
}
.service-card-dark:hover .service-icon-dark {
  background-color: var(--accent-color);
  color: var(--dark-section-bg);
  box-shadow: 0 4px 20px rgba(var(--accent-color-rgb), 0.3);
}
.service-title-dark {
  color: var(--dark-section-heading-color);
  font-weight: 600;
  font-size: 1.2rem;
}
.service-text-dark {
  color: var(--dark-section-text-color);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Core Values & Commitment Section (services.html) */
.core-values-section {
  background-color: var(--dark-section-bg);
  color: var(--dark-section-text-color);
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.core-values-section .section-title-dark-alternative {
  font-family: var(--font-family-sans-serif);
  margin-bottom: 0.75rem;
  font-size: 2.8rem;
}
.core-values-section .section-subtitle-dark {
  font-size: 1.15rem;
  color: rgba(var(--pure-white-color-rgb), 0.85);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}
.value-card {
  background-color: transparent;
  border: none;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease-out;
}
.value-card:hover {
  transform: translateY(-8px);
}
.value-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--dark-section-icon-bg);
  border: 1px solid rgba(var(--pure-white-color-rgb), 0.2);
  color: var(--accent-color);
  font-size: 2.2rem;
  margin-bottom: 1.5rem !important;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.value-icon i {
  font-size: inherit;
}
.value-card:hover .value-icon {
  background-color: var(--accent-color);
  color: var(--dark-section-bg);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(var(--accent-color-rgb), 0.3);
}
.value-title {
  font-family: var(--font-family-sans-serif);
  color: var(--dark-section-heading-color);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.value-text {
  color: rgba(var(--pure-white-color-rgb), 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Gallery Section (services.html - Latar Terang) */
.services-gallery {
  background-color: var(--light-bg-color);
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.service-img-card {
  background-color: var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-light);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  height: 100%;
  overflow: hidden;
}
.service-img-card:hover {
  box-shadow: var(--box-shadow-medium) !important;
  transform: translateY(-6px);
}
.service-img-wrapper {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
@media (max-width: 767.98px) {
  .service-img-wrapper {
    aspect-ratio: 16 / 9;
  }
}
.service-img-card.flex-column .service-img-wrapper {
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}
@media (min-width: 768px) {
  .service-img-card:not(.service-img-card-reversed) .service-img-wrapper {
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
  }
  .service-img-card.service-img-card-reversed .service-img-wrapper {
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
  }
}
.service-img-wrapper img {
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease-out;
}
.service-img-card:hover .service-img-wrapper img {
  transform: scale(1.08);
  opacity: 0.9;
}
.service-img-card .p-4 {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-img-card h5 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.service-img-card p.small {
  color: var(--text-muted-color);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.service-list {
  list-style-type: none;
  padding-left: 0;
  font-size: 0.9rem;
  color: var(--text-muted-color);
  margin-top: auto;
  margin-bottom: 0 !important;
}
.service-list li {
  padding-left: 1.6em;
  text-indent: -1.6em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}
.service-list li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  margin-right: 0.7em;
  color: var(--accent-color);
  font-size: 0.9em;
  line-height: inherit;
  margin-top: 0.1em;
}
.service-img-card .btn-learn-more {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--accent-color);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  margin-top: auto;
  align-self: flex-start;
  text-decoration: none;
}
.service-img-card .btn-learn-more:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white-color);
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(var(--accent-color-rgb), 0.2);
}
@media (min-width: 768px) {
  .service-img-card.service-img-card-reversed .service-img-wrapper {
    order: 2;
  }
  .service-img-card.service-img-card-reversed .p-4 {
    order: 1;
  }
}

/* Projects Section (Main content) */
.projects-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: var(--light-bg-color); /* Pastikan latar belakangnya terang seperti di screenshot */
}

.project-card {
  background-color: var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; /* Tambahkan flexbox untuk mengatur layout internal card */
  flex-direction: column; /* Konten di dalam card akan vertikal */
  height: 100%; /* Pastikan kartu mengisi tinggi penuh kolomnya */
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-medium);
}

.project-image-slider {
  position: relative;
  width: 100%;
  padding-bottom: 65%; /* **PENTING: Sesuaikan aspect ratio. Misalnya 65% untuk 16:10 atau 75% untuk 4:3. Coba sesuaikan ini sampai gambar terlihat pas.** */
  overflow: hidden;
  background-color: #eee; /* Placeholder background */
  flex-shrink: 0; /* Pastikan slider tidak menyusut */
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0; /* Rounded top corners */
}

.project-image-slider .slides {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s ease-in-out;
}

.project-image-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Pastikan gambar mengisi area tanpa terdistorsi */
  flex-shrink: 0; /* Penting untuk slider agar gambar tidak mengecil */
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6); /* Warna latar belakang tombol yang lebih gelap */
  color: var(--white-color);
  border: none;
  padding: 0.5rem 0.75rem; /* Padding lebih kecil */
  cursor: pointer;
  z-index: 10;
  font-size: 1.25rem; /* Ukuran font lebih kecil */
  opacity: 0.8; /* Opacity default */
  transition: opacity 0.3s ease, background-color 0.3s ease;
  border-radius: var(--border-radius-sm); /* Border radius kecil */
}

.slide-btn:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.8);
}

.slide-btn.prev-btn {
  left: 10px;
}

.slide-btn.next-btn {
  right: 10px;
}

.project-info {
  padding: 1.25rem; /* Padding yang lebih besar */
  flex-grow: 1; /* Biarkan info mengisi sisa ruang vertikal */
  display: flex;
  flex-direction: column;
}

.project-title {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.project-category {
  color: var(--text-muted-color);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.project-date {
  color: var(--text-muted-color);
  font-size: 0.85rem;
  margin-top: auto; /* Mendorong tanggal ke bawah jika ada ruang lebih */
}

/* CTA Section (services.html, projects.html, about.html) */
.cta-section {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.cta-section h2,
.cta-section p.lead {
  color: var(--white-color) !important;
}
.cta-section p.lead {
  opacity: 0.85;
  font-size: 1.1rem;
}
.cta-section h2 {
  font-size: 2rem;
}
.cta-btn {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: var(--white-color) !important;
}
.cta-btn:hover,
.cta-btn:focus {
  background-color: var(--button-accent-hover-bg-color) !important;
  border-color: var(--button-accent-hover-bg-color) !important;
  color: var(--white-color) !important;
}

/* Footer Styling */
.footer-custom {
  background-color: var(--footer-bg-color);
  color: rgba(var(--pure-white-color-rgb), 0.75);
}
.footer-logo {
  height: 100px;
  opacity: 0.9;
}
.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(var(--pure-white-color-rgb), 0.8);
}
.footer-heading {
  color: var(--white-color);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links li,
.footer-contact-info li {
  margin-bottom: 0.65rem;
}
.footer-links a,
.footer-contact-info,
.footer-contact-info a {
  color: rgba(var(--pure-white-color-rgb), 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.9rem;
}
.footer-links a:hover,
.footer-contact-info a:hover {
  color: var(--accent-color);
}
.footer-contact-info i {
  color: var(--accent-color);
  font-size: 1rem;
  width: 20px;
  text-align: center;
  vertical-align: middle;
}
.footer-social-icons a {
  color: rgba(var(--pure-white-color-rgb), 0.75);
  font-size: 1.4rem;
  margin-right: 1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social-icons a:last-child {
  margin-right: 0;
}
.footer-social-icons a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}
.footer-divider {
  border-color: rgba(var(--pure-white-color-rgb), 0.15) !important;
}
.copyright-footer {
  color: rgba(var(--pure-white-color-rgb), 0.65);
  font-size: 0.85rem;
}

/* Modal Styling */
/* Pastikan ini untuk LIGHTBOX khusus projects.html */
#projectImageLightbox .modal-dialog {
  max-width: 900px; /* Contoh: Lebar maksimum 900px */
  width: 90%; /* Akan mengambil 90% lebar viewport jika kurang dari max-width */
  margin: 1.75rem auto; /* Atur margin agar ada jarak dari tepi layar */
}

#projectImageLightbox .modal-content {
  border-radius: var(--border-radius-lg);
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  background-color: var(--white-color);
  max-height: calc(100vh - 3.5rem); /* Batasi tinggi konten modal agar tidak melebihi layar */
  overflow: hidden; /* Sembunyikan overflow jika konten terlalu tinggi */
}

#projectImageLightbox .modal-body {
  padding: 1rem; /* Padding internal body modal */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1; /* Biarkan body tumbuh mengisi ruang */
  overflow-y: auto; /* Izinkan scroll jika gambar lebih besar dari modal-body */
}

#projectImageLightbox .modal-body img {
  max-width: 100%;
  max-height: 100%;
  width: auto; /* Biarkan lebar mengikuti konten */
  height: auto; /* Biarkan tinggi mengikuti konten */
  object-fit: contain; /* Penting: Gambar akan menyesuaikan diri dalam batasan tanpa terpotong/distorsi */
}

/* Pastikan header dan footer modal juga tidak terlalu besar jika ada di lightbox */
#projectImageLightbox .modal-header,
#projectImageLightbox .modal-footer {
  flex-shrink: 0;
}

/* General Modal (for Quote Modal) */
.modal-content {
  /* Menggunakan kelas umum modal-content untuk modal quote */
  border-radius: var(--border-radius-lg);
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  background-color: var(--white-color);
}
.modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 1.75rem;
}
.modal-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
}
.btn-close {
  filter: invert(50%) sepia(10%) saturate(900%) hue-rotate(160deg) brightness(80%) contrast(85%);
  transition: filter 0.2s ease;
}
.btn-close:hover {
  filter: invert(30%) sepia(10%) saturate(1200%) hue-rotate(160deg) brightness(70%) contrast(90%);
}
.btn-close:focus {
  box-shadow: none;
}
.modal-body {
  padding: 1.5rem 1.75rem;
}
.modal-body .pt-2 {
  padding-top: 0.5rem !important;
}
.modal-body .text-muted {
  font-size: 0.95rem;
}
.modal-input,
.form-select.modal-input {
  border-radius: var(--border-radius-md);
  min-height: 50px;
  border: 1px solid var(--border-color);
  box-shadow: none;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #f9fafb;
}
.modal-input:focus,
.form-select.modal-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.15);
  background-color: var(--white-color);
}
.modal .form-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted-color);
  margin-bottom: 0.3rem;
}
.modal .form-text {
  font-size: 0.8rem;
  color: var(--text-muted-color);
}
.modal .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
  padding: 0.6rem 1.5rem;
  font-weight: 600;
}
.modal .btn-primary:hover,
.modal .btn-primary:focus {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white-color);
  box-shadow: none;
  transform: none;
}
.modal .btn-outline-secondary {
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-color: var(--border-color);
  color: var(--text-muted-color);
}
.modal .btn-outline-secondary:hover {
  background-color: var(--light-bg-color);
  color: var(--text-color);
  border-color: var(--border-color);
}

/* Global Success/Error Message */
#globalSuccessMessage {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2050;
  padding: 1rem 1.75rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-medium);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.4s;
  display: flex;
  align-items: center;
  min-width: 350px;
  max-width: 90%;
  font-size: 0.95rem;
}
#globalSuccessMessage.show {
  opacity: 1;
  top: 25px;
  visibility: visible;
}
#globalSuccessMessage i {
  font-size: 1.2rem;
  margin-right: 0.85rem;
}
#globalSuccessMessage.alert-success {
  background-color: #e6f4ea;
  color: #3c763d;
  border: 1px solid #d6e9c6;
}
#globalSuccessMessage.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: var(--white-color);
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out, background-color 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: #1dae54;
  color: var(--white-color);
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .navbar {
    max-width: 960px;
  }
}

@media (max-width: 991.98px) {
  /* Ukuran font untuk h1 di header halaman */
  .services-header .page-title-heading,
  .projects-page-header .page-title-heading {
    font-size: 2.2rem;
  }
  /* about-us-section h2 (yang jadi About Us header di mobile) */
  #about-us-section .section-title-dark-alternative, /* Targetkan #about-us-section untuk index.html */
  #about-us-content-section .section-title-dark-alternative {
    /* Targetkan #about-us-content-section untuk about.html */
    font-size: 2.2rem; /* Sesuaikan ukuran font untuk About Us header di mobile */
  }
  /* Ukuran font untuk h2 di bagian lain */
  h2,
  .services-gallery .text-center h2 {
    font-size: 1.8rem;
  }

  /* Tinggi dan padding header halaman */
  .services-header {
    padding-top: 12rem;
    padding-bottom: 5rem;
    min-height: 65vh;
  }
  .projects-page-header {
    padding-top: 10rem;
    padding-bottom: 3rem;
    min-height: 45vh;
  }
  /* About Us Content Section padding-top di mobile */
  #about-us-content-section {
    padding-top: 8rem; /* Lebih kecil untuk mobile, agar tidak terlalu jauh dari navbar */
  }

  #hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 70vh;
  }
  #hero-section .hero-content h1 {
    font-size: 2.5rem;
  }
  #hero-section .hero-content p.lead {
    font-size: 1.15rem;
  }

  .services-section-dark .row.align-items-center {
    flex-direction: column;
    text-align: center;
  }
  .services-section-dark .col-md-8,
  .services-section-dark .col-md-4 {
    text-align: center !important;
  }
  .btn-view-all-services {
    margin-bottom: 2rem;
  }

  .service-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
  }
  .service-img-card.service-img-card-reversed .service-img-wrapper {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
  }

  .footer-custom {
    text-align: center;
  }
  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-social-icons {
    justify-content: center;
    display: flex;
    margin-top: 1rem;
  }
  .footer-heading {
    margin-top: 2rem;
  }
  .footer-heading:first-of-type {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 15px;
  }
  /* Ukuran font untuk h1 di header halaman */
  .services-header .page-title-heading,
  .projects-page-header .page-title-heading {
    font-size: 2rem;
  }
  /* about-us-section h2 (yang jadi About Us header di mobile) */
  #about-us-section .section-title-dark-alternative, /* Targetkan #about-us-section untuk index.html */
  #about-us-content-section .section-title-dark-alternative {
    /* Targetkan #about-us-content-section untuk about.html */
    font-size: 2rem; /* Sesuaikan ukuran font untuk About Us header di mobile */
  }
  /* Ukuran font untuk h2 di bagian lain */
  h2,
  .services-gallery .text-center h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.4rem;
  }

  /* Tinggi dan padding header halaman */
  .services-header {
    padding-top: 10rem;
    padding-bottom: 4rem;
    min-height: 55vh;
  }
  .projects-page-header {
    padding-top: 8rem;
    padding-bottom: 3rem;
    min-height: 35vh;
  }
  /* About Us Content Section padding-top di mobile */
  #about-us-content-section {
    padding-top: 8rem; /* Lebih kecil untuk mobile */
  }

  .page-header-subtitle {
    font-size: 1.05rem;
  }
  .about-subtitle {
    font-size: 1.1rem;
  }
  .section-subtitle-dark {
    font-size: 1rem;
  }

  #hero-section .hero-content h1 {
    font-size: 2.2rem;
  }
  #hero-section .hero-content p.lead {
    font-size: 1.1rem;
  }
  .hero-cta-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .services-section-dark,
  .services-gallery,
  .cta-section,
  .projects-section,
  .vision-mission-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .service-card-dark h5,
  .service-img-card h5 {
    font-size: 1.1rem;
  }
  .service-card-dark p.small,
  .service-img-card p.small,
  .service-list {
    font-size: 0.85rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }
  .footer-custom {
    padding-top: 3rem;
  }
  .footer-tagline {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    top: 10px;
    padding: 0.5rem 1rem;
  }
  .navbar.sticky-active {
    padding: 0.4rem 1rem;
  }
  .navbar-brand img {
    height: 70px;
  }
  .navbar.sticky-active .navbar-brand img {
    height: 70px;
  }

  .modal-dialog {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .modal-title {
    font-size: 1.25rem;
  }
  .modal-body,
  .modal-header {
    padding: 1.25rem;
  }

  /* Tinggi dan padding header halaman */
  .services-header {
    padding-top: 8rem;
    padding-bottom: 3rem;
    min-height: 45vh;
  }
  .projects-page-header {
    padding-top: 8rem;
    padding-bottom: 3rem;
    min-height: 35vh;
  }
  /* About Us Content Section padding-top di mobile */
  #about-us-content-section {
    padding-top: 6rem; /* Lebih kecil lagi untuk mobile sangat kecil */
  }

  .page-header-subtitle {
    font-size: 1rem;
  }
  .about-subtitle {
    font-size: 1.05rem;
  }
  .section-subtitle-dark {
    font-size: 0.9rem;
  }

  .section-title,
  .services-gallery .text-center h2 {
    font-size: 1.8rem;
  }
  .section-subtitle,
  .services-gallery .text-center p.lead {
    font-size: 0.95rem;
  }

  #hero-section {
    padding-top: 9rem;
    padding-bottom: 5rem;
    min-height: auto;
  }
  #hero-section .hero-content h1 {
    font-size: 2rem;
  }
  #hero-section .hero-content p.lead {
    font-size: 1rem;
  }

  .service-img-card .p-4 {
    padding: 1rem !important;
  }
  .service-img-card h5 {
    font-size: 1.05rem;
  }
  .service-img-card p.small,
  .service-list {
    font-size: 0.85rem;
  }

  #globalSuccessMessage {
    min-width: calc(100% - 2rem);
    margin-left: 1rem;
    margin-right: 1rem;
    left: auto;
    transform: none;
    box-sizing: border-box;
  }
  #globalSuccessMessage.show {
    top: 15px;
  }

  .btn,
  .btn-lg {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  .btn-lg {
    padding: 0.75rem 1.8rem;
    font-size: 1rem;
  }
}

/* Fallback for browsers not supporting backdrop-filter */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
  .navbar {
    background: var(--white-color);
  }
}
