/* RESET dari layout lama */
.page-hero,
.about-section,
.about-secondary-section,
.quick-links-section {
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Hindari container bootstrap ganggu */
.container,
.container-xl {
  max-width: unset !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Fix body font override */
body {
  font-family: 'Inter', sans-serif;
}

/* Grid fix */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* Mobile fix */
@media (max-width: 768px) {
  .about-section {
    grid-template-columns: 1fr;
  }
}

/* About Us Hero Section */
.page-hero {
  width: 100%;
  height: 363px;
  background: linear-gradient(to right, #014a9f, #83a6cf);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 100px;
  color: var(--white);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 380px;
  background-image: url('../img/batik-bg.png');
  background-size: cover;
  background-position: left center;
  opacity: 0.55;
  pointer-events: none;
}

.page-hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  margin-bottom: 25px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-icon {
  width: 13px;
  height: 13px;
  display: flex;
  align-items: center;
}

.breadcrumb .current {
  color: var(--white);
}

.page-hero h1 {
  font-size: 50px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.1;
}

.page-hero p {
  font-size: 20px;
  font-weight: 400;
}

/* About Us Layout Section */
.about-section {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 100px; 
  display: flex;
  justify-content: flex-start;
  gap: 8rem; /* Use a fixed large gap rather than spreading them to extreme edges */
}

/* Legacy Left Column */
.about-legacy {
  flex: 1;
  max-width: 883px;
}

.who-we-are-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(to right, #5686bf, #0e427d);
  padding: 10px 20px;
  border-radius: 100px;
  color: var(--white);
  font-size: 20px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.legacy-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.who-we-are-badge i {
  font-size: 24px;
}

.legacy-title {
  font-size: 50px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
  position: relative;
  display: inline-block;
}

.legacy-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 226px;
  height: 9px;
  background-color: #80a4cf;
  border-radius: 6px;
}

.legacy-text {
  font-size: 26px; /* Matched visual scale of Figma */
  line-height: 1.6;
  color: var(--primary-color);
  margin-bottom: 40px;
  margin-top: 50px;
}

.legacy-text p {
  margin-bottom: 20px;
}

.legacy-actions {
  display: flex;
  gap: 30px;
}

.legacy-actions .btn {
  font-size: 20px;
  font-weight: 400;
  padding: 12px 30px;
}  

.btn-vision {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 6px;
}

.btn-vision:hover {
  background-color: #003B7A;
}

.btn-history {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.05); /* Match actual shadow visually */
}

.btn-history:hover {
  background-color: #f8f9fa;
}

/* Stats Right Column */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 315px);
  gap: 20px 28px; /* Decreased vertical gap */
  flex-shrink: 0;
  align-self: center; /* Prevent grid from stretching to full height of parent and causing huge gaps */
}

.stat-card-about {
  background-color: #f8f9fb;
  border-radius: 12px;
  height: 197px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.08); /* Better matching shadow */
  text-align: center;
}

.stat-icon-wrapper {
  background-color: #80ace0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.stat-icon-wrapper i {
  color: var(--white);
  font-size: 24px;
}

.stat-card-about h3 {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-card-about p {
  font-size: 20px;
  color: var(--primary-color);
}

/* Secondary Content Section */
.about-secondary-section {
  padding: 0 100px 5rem;
  background-color: var(--white);
}

.about-secondary-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-split-view {
  display: flex;
  gap: 50px;
  align-items: flex-start; /* top align text with image per screenshot */
  margin-bottom: 35px;
}

.about-secondary-img {
  width: 50%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
}

.about-split-text {
  flex: 1;
  font-size: 24px;
  color: var(--primary-color);
  line-height: 1.6;
  font-weight: 500;
}

.about-bottom-text {
  font-size: 20px;
  color: var(--primary-color);
  line-height: 1.6;
}

.about-bottom-text p {
  margin-bottom: 25px;
}



@media screen and (max-width: 1400px) {
  .about-section {
      flex-direction: column;
      padding: 5rem 50px;
  }
  .about-stats-grid {
      justify-content: center;
  }
  .quick-links-grid {
      flex-wrap: wrap;
  }
}

@media screen and (max-width: 992px) {
  .page-hero {
    padding: 0 40px;
  }
  .page-hero h1 {
    font-size: 40px;
  }
  .page-hero p {
    font-size: 18px;
  }
  .about-section {
    padding: 4rem 40px;
  }
  .legacy-title {
    font-size: 40px;
  }
  .legacy-text {
    font-size: 20px;
    margin-top: 30px;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card-about {
    height: auto;
    padding: 2rem 1rem;
  }
  .about-secondary-section {
    padding: 0 40px 4rem;
  }
  .about-split-view {
    flex-direction: column;
    gap: 30px;
  }
  .about-secondary-img {
    width: 100%;
    height: auto;
    max-height: 400px;
  }
  .about-split-text {
    font-size: 20px;
  }
  .about-bottom-text {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .page-hero {
    padding: 0 20px;
    height: 280px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  .page-hero p {
    font-size: 16px;
  }
  .breadcrumb {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .about-section {
    padding: 3rem 20px;
    gap: 3rem;
  }
  .who-we-are-badge {
    font-size: 16px;
    padding: 8px 16px;
    margin-bottom: 40px;
  }
  .who-we-are-badge i {
    font-size: 20px;
  }
  .legacy-title {
    font-size: 32px;
    margin-bottom: 30px;
  }
  .legacy-text {
    font-size: 16px;
  }
  .legacy-actions {
    flex-direction: column;
    gap: 15px;
  }
  .legacy-actions .btn {
    width: 100%;
    text-align: center;
    font-size: 18px;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-secondary-section {
    padding: 0 20px 3rem;
  }
  .about-secondary-img {
    height: 250px;
  }
  .about-split-text {
    font-size: 18px;
  }
  .about-bottom-text {
    font-size: 16px;
  }
  .quick-links-section {
    padding: 40px 20px;
  }
  .quick-links-grid {
    gap: 20px;
  }
  .quick-link-card {
    width: 100%;
    max-width: 250px;
    height: 140px;
  }
  .quick-link-card i {
    font-size: 32px;
    margin-bottom: 10px;
  }
  .quick-link-card p {
    font-size: 18px;
  }
}

