html {
  scrollbar-gutter: stable;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: black;
}

body {
  font-family: 'Inter';
  color: white;
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 105px;

  box-sizing: border-box;
  padding: 14px 20px;

  background-color: #000;

  z-index: 1000;

  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}

/* =========================================
   ADAPTIVE HEADER - ABOUT
========================================= */

/* DEFAULT / BLACK */
.site-header.header-black {
  background-color: #000;
}

.site-header.header-light {
  background-color: #efefef;
}

.site-header.header-blue {
  background-color: #1747ff;
}

.site-header.header-shader {
  background: transparent;
}

/* isi header harus berada di atas canvas */
.site-header .brand,
.site-header .header-row {
  position: relative;
  z-index: 2;
}


/* ---------- WHITE HEADER TEXT ---------- */

.site-header.header-black .brand,
.site-header.header-black .brand-r,
.site-header.header-black .main-nav a,
.site-header.header-black .copyright,

.site-header.header-blue .brand,
.site-header.header-blue .brand-r,
.site-header.header-blue .main-nav a,
.site-header.header-blue .copyright,

.site-header.header-shader .brand,
.site-header.header-shader .brand-r,
.site-header.header-shader .main-nav a,
.site-header.header-shader .copyright {
  color: #fff;
}


.site-header.header-black .main-nav a.active-nav,
.site-header.header-blue .main-nav a.active-nav,
.site-header.header-shader .main-nav a.active-nav {
  border-color: #fff;
}


/* ---------- DARK HEADER TEXT ---------- */

.site-header.header-light .brand,
.site-header.header-light .brand-r,
.site-header.header-light .main-nav a,
.site-header.header-light .copyright {
  color: #000;
}

.site-header.header-light .main-nav a.active-nav {
  border-color: #000;
}

/* .site-header.scrolled {
  background-color: transparent;
} */

.brand {
  font-family: 'Jost';
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 14px;
}

.brand-r {
  font-size: 12px;
  vertical-align: top;
  position: relative;
  top:2px;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.left-group {
  min-width: 0;
}

.main-nav {
  display: grid;

  /*
    Posisi setiap menu dikunci.
    Ubah angka ini hanya kalau ingin
    mengatur jarak global antar menu.
  */
  grid-template-columns:
    180px
    220px
    180px
    100px;

  align-items: center;

  column-gap: 0;

  white-space: nowrap;

  /*
    Agar teks RATIONALE sejajar
    dengan posisi awal nav.
  */
  margin-left: -10px;
}


.main-nav a {
  box-sizing: border-box;

  width: max-content;

  text-decoration: none;

  padding: 3px 10px;

  border: 1px solid transparent;
  border-radius: 8px;

  line-height: 1.1;

  justify-self: start;
  color:white;
}

.main-nav a.active-nav {
  border-color: white;
}

.copyright {
  font-size: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.about-page{
    padding-top: 300px;
}

.about-collage {
  position: relative;
  width: 100%;
  height: 1800px;
  /* background: #000; */
}

#aboutHeaderShader {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;

  z-index: 0;
  pointer-events: none;

  opacity: 0;
}

.site-header.header-shader #aboutHeaderShader {
  opacity: 1;
}


.photo {
  position: absolute;
  display: block;
  object-fit: cover;

  opacity: 0;
  transition: opacity 2s ease;
}

.photo.photo-visible {
  opacity: 1;
}




.photo-1 {
  /* top: 220px; */
  left: 40px;
  width: 310px;
  z-index: 3;
}

.photo-2 {
  top: 250px;
  left: 0;
  width: 39.8vw;
  z-index: 1;
}

.photo-3 {
  left: 42vw;
  width: 25vw;
  z-index: 1;
}

.photo-4 {
    right: 0; 
}

.photo-5 {
  left: 42vw;
  width: 20vw;
}

.photo-6{
  width: 29vw;
}

.photo-7{
  width: 53.5vw;
}

.photo-8 {
  z-index: 5; /* supaya menimpa photo-6 */
}



/* =========================
   ABOUT INFO SECTION
========================= */

.about-info {
  width: 100%;
  background: #000;
  color: #fff;
}

.info-inner-line {
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  margin-left: 24px;
  margin-right: 24px;
}

/* generic states */
.info-block-open {
  background: #efefef;
  color: #000;
}

.info-block-closed {
  background: #000;
  color: #fff;
}

/* PROFILE block */
.info-block {
  width: 100%;
}

#prof{
  width: 100%;
  padding: 26px 24px 20px;
}

.info-header {
  /* width: 100%; */
  border: none;
  background: transparent;
  color: inherit;
  padding: 26px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  
}

.info-title {
  font-size: 58px;
  line-height: 0.95;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}

.info-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.info-content {
  display: none;
}

.info-block-open > .info-content {
  display: block;
}

/* PROFILE content */
/* .profile-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 22px 24px 28px;
  margin: 0;
} */

.profile-columns {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 22px 24px 28px;
  border-top: none;
  margin: 0;
}

#profileBlock.info-block-open .profile-columns::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.35);
}

.profile-text {
  font-size: 17px;
  line-height: 1.28;
  font-weight: 300;
  text-align: justify;
}

#profileBlock::after {
  content: "";
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  margin: 0 24px;
}

#profileBlock.info-block-closed:hover {
  background: #efefef;
  color: #000;
}

#profileBlock.info-block-open::after {
  border-bottom-color: rgba(0, 0, 0, 0.35);
}

/* SERVICE section title */
.service-section {
  width: 100%;
  background: #000;
  color: #fff;
  padding-top: 110px;
}

.service-section-title-wrap {
  width: 100%;
}

.service-section-title {
  padding: 0 24px 18px;
}

.service-section-line {
  margin-bottom: 0;
}

/* service items */
.service-list {
  width: 100%;
}

.service-item {
  width: 100%;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.service-item.info-block-open {
  background: #efefef;
  color: #000;
}

.service-item.info-block-closed {
  background: #000;
  color: #fff;
}

.service-header {
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 24px 25px;
  cursor: pointer;
  text-align: left;
}

.service-title {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.service-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.service-content {
  display: none;
}

.service-item.info-block-open .service-content {
  display: block;
}

.service-content-inner {
  padding: 14px 24px 28px;
  font-size: 15px;
  line-height: 1.28;
  font-weight: 300;
  margin: 0;
}

.service-item.info-block-open .service-content-inner {
  border-top-color: rgba(0, 0, 0, 0.35);
}

.service-item.info-block-closed .service-content-inner {
  border-top-color: rgba(255, 255, 255, 0.35);
}

.service-item.info-block-closed:hover {
  background: #efefef;
  color: #000;
}


/* line under each service row, inset only */
.service-item::after {
  content: "";
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  margin: 0 24px;
}

.service-item.info-block-open::after {
  border-bottom-color: rgba(0, 0, 0, 0.35);
}

.info-block-open .info-icon,
.info-block-open .service-icon {
  filter: brightness(0);
}


/* ===== TEAM SECTION ===== */
.team-section {
  margin-top: 60px;
  margin-bottom: 0;

  background: #000;
}

.team-section:has(.team-header.info-block-closed) {
  padding-bottom: 60px;
}

.team-section:has(.team-header.info-block-open) {
  padding-bottom: 0;
}

/* HEADER (reuse style tapi beda warna saat open) */
.team-header {
  transition: background 0.3s ease;
}

.team-header {
  position: relative;
}

.team-header .info-header {
  position: relative;
  padding-bottom: 22px;
}

.team-header .info-header::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

/* garis bawah (inset) */
/* .team-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.7);
} */

/* CLOSED */
.team-header.info-block-closed {
  background: #000;
  color: #fff;
}

/* OPEN */
.team-header.info-block-open {
  background: #1747ff;
  color: #fff;
}

/* CONTENT */
.team-content {
  display: none;
}

.team-header.info-block-open .team-content {
  display: block;
}

/* GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 80px;
  padding: 40px 24px 60px;
}

/* CARD */
.team-card img {
  width: 100%;
  max-width: 200px;
  display: block;
}

.team-role {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.team-name {
  font-size: 18px;
  margin-top: 4px;
  opacity: 0.9;
}

/* 2nd row alignment (biar mirip layout kamu) */
.team-grid .team-card:nth-child(4) {
  grid-column: 1;
}
.team-grid .team-card:nth-child(5) {
  grid-column: 2;
}

/* ICON warna tetap putih (tidak perlu filter lagi) */
.team-header.info-block-open .info-icon {
  filter: none;
}

#judulmainteam{
  font-size: 58px;
  padding-top: 10px;
  margin: 0;
}

/* =========================
   ABOUT FOOTER
========================= */

.about-page {
  position: relative;
  z-index: 2;

  padding-top: 300px;
}

.about-footer {
  position: relative;
  z-index: 1;

  isolation: isolate;
  overflow: visible;

  color: #fff;

  padding:
    34px
    20px
    20px;

  background: #0c0f30;
}
#aboutFooterShader {
  position: absolute;

  left: 0;
  right: 0;
  top: -105px;

  width: 100%;
  height: calc(100% + 105px);

  display: block;

  z-index: 0;
  pointer-events: none;
}

/* .about-footer::before {
  content: "";
  position: absolute;

  left: 0;
  right: 0;
  top: -105px;
  height: calc(100% + 105px);

  z-index: 1;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 65% 30%,
      rgba(255,255,255,0.04),
      transparent 28%
    ),
    radial-gradient(
      circle at 30% 75%,
      rgba(255,255,255,0.035),
      transparent 24%
    );

  mix-blend-mode: screen;
} */


.about-footer-top,
.about-footer-bottom {
  position: relative;
  z-index: 2;
}

/* optional subtle texture glow */
/* .about-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 65% 30%, rgba(255,255,255,0.04), transparent 28%),
    radial-gradient(circle at 30% 75%, rgba(255,255,255,0.035), transparent 24%);
  mix-blend-mode: screen;
} */

.about-footer-top {
  /* position: relative;
  z-index: 1; */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 120px;
  margin-bottom: 430px;

  font-size: 55px;
  line-height: 0.95;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.about-footer-bottom {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  justify-content: space-between;
  align-items: start;
  width: 100%;
  
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col h4 {
  margin: 0 0 24px;
}

.footer-col p {
  margin: 0;
  white-space: nowrap;
}

.footer-address p {
  max-width: 330px;
}

/* spacing antar baris alamat */
.footer-address p + p {
  margin-top: 2px;
}

/* FOOTER */
.footer {
  background: #000;
  color: #fff;
  padding: 34px 24px 18px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  column-gap: 40px;
  align-items: end;
}

.footer-left {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.footer-center p {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: justify;
}

.footer-right {
  font-size: 9px;
  font-weight: 300;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .about-footer {
    min-height: 620px;
  }

  .about-footer-top {
    font-size: 62px;
    margin-bottom: 320px;
  }

  .about-footer-bottom {
    grid-template-columns: 1.5fr 1fr 1.3fr 1fr 1.1fr;
  }

  .footer-col p {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .about-footer {
    min-height: auto;
    padding: 28px 20px 34px;
  }

  .about-footer-top {
    font-size: 42px;
    margin-bottom: 180px;
  }

  .about-footer-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }

  .footer-address {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .about-footer-top {
    font-size: 28px;
    margin-bottom: 120px;
  }

  .about-footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-col h4 {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .footer-col p {
    font-size: 15px;
  }
}

/* responsive */
@media (max-width: 960px) {
  .info-title {
    font-size: 42px;
  }

  .profile-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-title {
    font-size: 16px;
  }

  .profile-text,
  .service-content-inner {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .info-header,
  .service-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .profile-columns,
  .service-content-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  #profileBlock::after {
    margin-left: 16px;
    margin-right: 16px;
  }

  .info-inner-line,
  .service-item::after {
    margin-left: 16px;
    margin-right: 16px;
  }

  .info-title {
    font-size: 32px;
  }

  .info-icon,
  .service-icon {
    width: 32px;
    height: 32px;
  }

  .service-title {
    font-size: 14px;
  }

  .service-section {
    padding-top: 70px;
  }
}

@media (min-width: 1201px) {
  .footer-col p {
    white-space: nowrap;
  }
}