/* Shared Section Styling */
.container-about {
  max-width: 1170px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

@media (min-width: 1200px) {
  .container-about {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.history-section {
  padding: 80px 0;
  background-color: #fff;
}

.history-section .section-title {
  color: #0d2c49;
  font-family: 'Montserrat', sans-serif;
}

.history-card {
  background-color: #f0f7ff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  height: 430px;
  border: none;
  margin-bottom: 40px;
  /* Space between cards */
}

.history-card:last-child {
  margin-bottom: 0;
}

.history-text {
  flex: 0 0 50%;
  /* Strict 5/5 split */
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.history-title-inner {
  color: #0d2c49;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  line-height: 1.3;
}

.history-desc-inner {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* Clearly limit to 4 lines */
  -webkit-box-orient: vertical;
  line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-img-wrap {
  flex: 0 0 50%;
  /* Strict 5/5 split */
  overflow: hidden;
}

.history-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .history-card {
    flex-direction: column;
  }

  .history-text {
    padding: 40px 30px;
  }

  .history-img {
    height: 350px;
  }
}

/* Vision - Mission Section */
.vm-section {
  background-color: #0d2c49;
  /* Dark blue background */
  padding: 100px 0;
}

.vm-section h2 {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
}

.vm-section .row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0 !important;
}

.vm-section [class*="col-"] {
  padding: 0 !important;
  width: auto !important;
}

.vm-section h2 {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
}

.vm-card {
  background-color: #f0f7ff;
  border-radius: 30px;
  /* More rounded as per screenshot */
  overflow: hidden;
  width: 570px;
  max-width: 100%;
  min-height: 800px;
  border: none;
  display: flex;
  flex-direction: column;
}

.vm-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.vm-content {
  padding: 40px;
  flex-grow: 1;
}

.vm-title {
  color: #0d2c49;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.vm-desc {
  color: #444;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Values Section */
.values-section {
  padding: 80px 0;
}

.values-section .container {
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 1200px) {
    .values-section .container {
        max-width: 1170px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.values-section h2 {
  color: #0d2c49;
  font-family: 'Montserrat', sans-serif;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.value-card {
  background-color: #f0f7ff;
  /* Light pastel blue */
  padding: 50px 30px;
  width: 100%;
  max-width: none;
  height: 436px;
  transition: background-color 0.3s ease;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  /* Subtle white divider instead of gap */
  display: flex;
  flex-direction: column;
  border-radius: 20px;
}

.col:last-child .value-card {
  border-right: none;
}

@media (min-width: 1200px) {
    .value-card {
        width: 234px;
    }
}

/* Alternate background for cards 2 and 4 */
.col:nth-child(2) .value-card,
.col:nth-child(4) .value-card {
  background-color: #e1efff;
  /* Slightly darker pastel blue */
}

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

.value-number {
  width: 80px;
  height: 80px;
  background-color: #ffb703;
  /* Gold color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0d2c49;
  /* Dark blue */
}

.value-title {
  color: #0d2c49;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.25;
}

.value-desc {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: left;
  /* Alignment from the new screenshot */
}

/* Divider Gold for About Page headings */
.divider-gold {
  width: 60px;
  height: 3px;
  background-color: #ffb703;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
  .value-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 991.98px) {
  .values-section .row.g-0 {
    gap: 20px !important;
    /* Restore gaps on mobile */
  }

  .value-card {
    padding: 40px 25px;
    border-radius: 20px !important;
    border-right: none !important;
    min-height: auto;
  }

  .vm-section .row {
    flex-direction: column;
    align-items: center;
  }

  .vm-card {
    width: 100%;
    min-height: auto;
  }

  .vm-img {
    height: 300px;
  }
}


.home_gioi_thieu {
  color: #fbbf24 !important;
}