:root {
  --blue: #0b5ea8;
  --blue2: #063d72;
  --white: #fff;
  --ink: #0c1a29;
  --muted: #607083;
  --line: #dce6ef;
  --soft: #f5f9fc;
  --dark: #07121f;
  --shadow: 0 18px 50px rgba(5, 48, 84, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color:black;
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}

.topbar {
  background: #061526;
  color: #d9ebfb;
  font-size: 12px;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.navbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.brand b,
.brand strong {
  display: block;
  line-height: 1.1;
}

.brand b {
  font-size: 12px;
  color: var(--muted);
}

.brand strong {
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 11px 17px;
  border-radius: 12px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 27px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #edf6ff, #fff 55%, #dceeff);
  padding: 70px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: -2.5px;
  margin: 0 0 22px;
  max-width: 700px;
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy>p {
  max-width: 610px;
  color: #526579;
  font-size: 17px;
}

/* Pengaturan ukuran ikon pada tombol Hero */
.hero-actions .btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: middle;
}

/* Memastikan tata letak tombol tetap rapi dan sejajar */
.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  padding: 0px 1px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-outline {
  border: 1px solid #a9c3d9;
  background: #fff;
  color: var(--blue);
}

.btn-dark {
  background: #0b1a2b;
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--blue2);
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #36536d;
}

.hero-badges span {
  background: #ffffffb8;
  border: 1px solid #cde0f0;
  padding: 8px 10px;
  border-radius: 999px;
}

.hero-photo {
  height: 510px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  border: 7px solid #fff;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #063d7200 35%, #061526c9);
}

.hero-photo-card {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 25px;
  background: #ffffffec;
  border-radius: 17px;
  padding: 16px;
}

.hero-photo-card b,
.hero-photo-card small {
  display: block;
}

.hero-photo-card b {
  font-size: 15px;
}

.hero-photo-card small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.mini-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--blue);
  font-weight: 800;
}

.floating-stat {
  position: absolute;
  right: -24px;
  bottom: 25px;
  background: var(--blue);
  color: #fff;
  border-radius: 17px;
  padding: 17px 20px;
}

.floating-stat b {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.floating-stat span {
  font-size: 10px;
}

.quick-contact {
  background: #ffffff;
  color: #030303;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-grid>a,
.quick-grid>div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 10px;
}

.quick-grid>a:hover {
  background: #0b2a45;
}

.quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffffff12;
  display: grid;
  place-items: center;
  flex: none;
}

.quick-grid small {
  display: block;
  color: #000000;
  font-size: 10px;
}

.quick-grid b {
  font-size: 12px;
}

.quick-grid i {
  margin-left: auto;
  color: #000000;
}

.section {
  padding: 95px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(29px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0;
}

.section-heading>p {
  color: var(--muted);
  margin: 0;
  max-width: 530px;
}

.centered {
  display: block;
  text-align: center;
}

.centered>p {
  margin: 10px auto 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  height: 490px;
  border-radius: 25px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-panel {
  position: relative;
}

.about-note {
  position: absolute;
  bottom: -18px;
  right: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 19px;
  box-shadow: var(--shadow);
  max-width: 300px;
}

.about-note b,
.about-note span {
  display: block;
}

.about-note b {
  font-size: 13px;
}

.about-note span {
  font-size: 11px;
  color: var(--blue);
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-list article {
  display: flex;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.feature-list article>span {
  font-weight: 800;
  color: var(--blue);
  font-size: 12px;
}

.feature-list h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.feature-list p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.service-card {
  padding: 19px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 17px;
}

.service-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #eaf4ff;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 13px;
  margin: 0 0 4px;
}

.service-card p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}

.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font: inherit;
  font-size: 12px;
  outline: none;
}

.filter-bar input {
  max-width: 520px;
}

.filter-bar select {
  max-width: 240px;
}

/* Style Album / Gallery Card Modern (Sesuai Contoh Referensi) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(5, 38, 68, 0.06);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(5, 38, 68, 0.12);
}

.gallery-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #e2e8f0;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img img {
  transform: scale(1.05);
}

.gallery-content {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gallery-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 3px;
  color: var(--ink);
}

.gallery-info p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.gallery-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
}

.load-more {
  display: block;
  margin: 25px auto 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #102b45;
}

.project-card.large {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}

.project-card>div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.project-card span {
  font-size: 9px;
  color: #b9dcf8;
}

.project-card h3 {
  margin: 4px 0 0;
  font-size: 16px;
}

.dark-heading>p {
  color: #a9b8c8;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.material-card {
  padding: 17px;
  border-radius: 17px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  gap: 12px;
}

.material-card .mat-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: #e7f3ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.material-card h3 {
  font-size: 12px;
  margin: 0 0 3px;
}

.material-card p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}

.cta-section {
  padding-top: 30px;
}

.cta-box {
  border-radius: 25px;
  padding: 45px 50px;
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-box .eyebrow {
  color: #bde2ff;
}

.cta-box h2 {
  font-size: 30px;
  line-height: 1.1;
  margin: 0 0 8px;
}

.cta-box p {
  margin: 0;
  color: #d7eaff;
  font-size: 13px;
}

.contact-section {
  background: #f8fbfe;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.contact-grid h2 {
  font-size: 40px;
  line-height: 1.08;
  margin: 0 0 12px;
}

.contact-grid>div>p {
  color: var(--muted);
  max-width: 520px;
}

.contact-cards {
  display: grid;
  gap: 12px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: block;
}

.contact-card b,
.contact-card span,
.contact-card strong {
  display: block;
}

.contact-card b {
  font-size: 12px;
  color: var(--blue);
}

.contact-card span {
  font-size: 13px;
  margin: 7px 0;
}

.contact-card strong {
  font-size: 11px;
  color: var(--blue);
}

.footer {
  background: #061526;
  color: #b8c9d8;
  padding: 55px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.brand-footer {
  color: #fff;
}

.footer p {
  font-size: 12px;
  max-width: 350px;
}

.footer-grid>div>b {
  color: #fff;
  font-size: 12px;
}

.footer-grid a,
.footer-grid span {
  display: block;
  font-size: 11px;
  margin-top: 9px;
}

.copyright {
  border-top: 1px solid #ffffff14;
  margin-top: 40px;
  padding-top: 18px;
  text-align: center;
  font-size: 10px;
  color: #7f95aa;
}

.theme-toggle {
  position: fixed;
  right: 18px;
  bottom: 82px;
  width: 45px;
  height: 45px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  background: #071a2ce8;
  color: #fff;
  z-index: 40;
  cursor: pointer;
  font-size: 18px;
}

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1aa76a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 25px;
  z-index: 40;
}

.modal {
  position: fixed;
  inset: 0;
  background: #02080ed9;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 25px;
}

.modal.show {
  display: flex;
}

.modal img {
  max-width: min(100%, 1000px);
  max-height: 78vh;
  border-radius: 18px;
}

.modal-close {
  position: absolute;
  right: 22px;
  top: 18px;
  background: #fff;
  border: 0;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  font-size: 25px;
}

.modal-caption {
  position: absolute;
  left: 25px;
  bottom: 20px;
  color: #fff;
}

.modal-caption span {
  font-size: 10px;
  color: #a8d6fa;
}

.modal-caption h3 {
  margin: 2px 0;
  font-size: 20px;
}

body.dark {
  --white: #0a1725;
  --ink: #edf6ff;
  --muted: #9db0c2;
  --line: #1d3348;
  --soft: #0d1e2f;
  background: #0a1725;
}

.dark .navbar,
.dark .filter-bar input,
.dark .filter-bar select,
.dark .service-card,
.dark .gallery-card,
.dark .material-card,
.dark .feature-list article,
.dark .about-note,
.dark .contact-card {
  background: #0d1e2f;
}

.dark .hero {
  background: linear-gradient(135deg, #0b1d2e, #0a1725 55%, #0e2a44);
}

.dark .btn-outline {
  background: #0d1e2f;
  border-color: #31516d;
}

.dark .section-soft,
.dark .contact-section {
  background: #081724;
}

.dark .quick-contact,
.dark .footer,
.dark .section-dark {
  background: #030d17;
}

.dark .theme-toggle {
  background: #fff;
  color: #071a2c;
}

@media(max-width:950px) {
  .nav-links {
    gap: 13px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy>p {
    margin: 0 auto;
  }
  .hero-actions,
  .hero-badges {
    justify-content: center;
  }
  .hero-photo {
    height: 430px;
    max-width: 700px;
    margin: auto;
  }
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .material-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .project-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 220px;
  }
  .project-card.large {
    grid-row: auto;
    grid-column: span 2;
  }
  .contact-grid {
    gap: 30px;
  }
}

@media(max-width:700px) {
  .container {
    width: min(100% - 24px, 1160px);
  }
  .topbar-inner {
    font-size: 9px;
  }
  .topbar-inner span:nth-child(1) {
    display: none;
  }
  .navbar {
    height: 68px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 62px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 11px;
  }
  .nav-cta {
    text-align: center;
  }
  .hero {
    padding: 50px 0 60px;
  }
  .hero h1 {
    font-size: 40px;
    letter-spacing: -1.8px;
  }
  .hero-copy>p {
    font-size: 14px;
  }
  .hero-photo {
    height: 360px;
  }
  .floating-stat {
    right: 8px;
  }
  .quick-grid {
    grid-template-columns: 1fr;
  }
  .quick-grid>a,
  .quick-grid>div {
    padding: 13px 5px;
  }
  .section {
    padding: 65px 0;
  }
  .section-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-heading h2,
  .contact-grid h2 {
    font-size: 30px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .gallery-img {
    height: 180px;
  }
  .filter-bar {
    flex-direction: column;
  }
  .filter-bar input,
  .filter-bar select {
    max-width: none;
  }
  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 180px 180px 180px;
  }
  .project-card.large {
    grid-column: auto;
    grid-row: auto;
  }
  .material-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-box {
    padding: 30px 24px;
    display: block;
  }
  .cta-box .btn {
    margin-top: 20px;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid>div:first-child {
    grid-column: span 2;
  }
}

@media(max-width:430px) {
  .hero h1 {
    font-size: 34px;
  }
  .service-grid,
  .material-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-img {
    height: 210px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid>div:first-child {
    grid-column: auto;
  }
}

/* Album manual: sembunyikan kartu yang tidak cocok dengan pencarian/filter */
.gallery-card[hidden] {
    display: none !important;
}
.text{
  text-decoration: none;
  color: white;
}