/* Existing styles (unchanged except for .card-img and responsive adjustments) */
.main-content {
  background: #ecf4ff;
  padding: 25px;
  margin-top: 20px;
  margin-bottom: 80px;
}

.list-card {
  margin-top: 35px;
}

.card-body {
  margin-top: 10px;
}

.card-img {
  border-radius: 10px;
  height: 360px;
  width: 80%;
  max-width: 400px; /* Limit max width on desktop */
  object-fit: cover; /* Ensure image fits without distortion */
  background-color: white;
  object-position: center;
}

.card-header {
  display: flex;
  justify-content: center;
}

.title-section h1,
.section-title,
.vision-content h2,
.main-content h2 {
  color: #428df9;
  font-weight: bold;
}

.vision-content p {
  color: #607696;
  font-weight: 600;
}

/* Navigation css */
.navigate-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  border: none;
  position: relative;
}

.navigate-btn {
  background: transparent;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  position: relative;
}

.navigate-btn > p,
.card-description,
.card-name {
  color: #55768e;
  font-weight: 700;
}

.navigate-btn:hover {
  background: #f1f1f1;
  cursor: pointer;
}

.navigate-btn.active {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.navigate-btn.active > p {
  color: #000;
  font-weight: 600;
}

.navigate-btn.active > p > i {
  color: rgb(1, 1, 250);
}

/* Main row and cards */
.main-row {
  display: flex;
  align-items: center;
  min-height: 60vh;
}

.title-section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-right: 30px;
}

.title-section h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 0;
  text-align: center;
}

.cards-section {
  padding-left: 30px;
}

.row-cards {
  margin-left: -12px;
  margin-right: -12px;
  display: flex;
  flex-wrap: wrap;
}

.row-cards [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  margin-bottom: 24px;
}

.value-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.value-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  color: #2563eb;
  flex-shrink: 0;
}

.card-title {
  font-size: 2rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.card-description {
  line-height: 1.6;
  font-size: 1.4rem;
  margin-bottom: 0;
  /* flex-grow: 1; */
  /* display: flex;
  align-items: flex-start; */
}

/* Icons */
.icon-lightbulb::before {
  content: "💡";
}

.icon-users::before {
  content: "👥";
}

.icon-target::before {
  content: "🎯";
}

.icon-award::before {
  content: "🏆";
}

/* Vision Section */
.vision-section {
  padding: 80px 0;
}

.vision-row {
  display: flex;
  align-items: center;
  min-height: 50vh;
}

.vision-content {
  padding-right: 40px;
}

.vision-content h2 {
  line-height: 1.2;
  margin-bottom: 30px;
}

.vision-content p {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.vision-images {
  /* padding-left: 40px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.vision-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
}

/* .vision-image:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
} */

.vision-image img {
  width: 100%;
  height: 100%;
}

/* Mission Section */
.mission-visual {
  background: #2d3748;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 400px;
  overflow: hidden;
}

.mission-visual img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 15px;
  object-fit: contain;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 50px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .card-img {
    width: 68%;
    height: 360px;
    border-radius: 10px;
    object-position: center;
    /* object-fit: cover; */
  }
  .main-row,
  .vision-row {
    display: block;
    min-height: auto;
  }
  .title-section {
    padding-right: 15px;
    text-align: center;
    margin-bottom: 40px;
    height: auto;
  }
  .title-section h1,
  .vision-content h2 {
    font-size: 2rem;
  }
  .cards-section {
    padding-left: 15px;
  }
  .vision-content {
    padding-right: 15px;
    text-align: center;
    margin-bottom: 40px;
  }
  .vision-images {
    padding-left: 15px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  .vision-image {
    width: 80px;
    height: 80px;
  }
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
  }
  .mission-visual {
    margin-bottom: 30px;
    max-height: 300px;
    padding: 15px;
  }
  .row-cards {
    display: block;
  }
  .row-cards [class*="col-"] {
    display: block;
    margin-bottom: 20px;
  }
  .value-card {
    padding: 20px;
    min-height: auto;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .card-description {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .vision-content p {
    font-size: 0.95rem;
  }
  .navigate-container {
    padding: 10px 15px;
    gap: 5px;
  }
  .navigate-btn p {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }
  .navigate-btn i {
    font-size: 1.2rem;
  }
  .navigate-btn p i::after {
    content: "";
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  .card {
    margin-bottom: 10px;
  }
  .card-img {
    width: 60%;
    height: 360px;
    border-radius: 10px;
    /* object-fit: contain; */
    object-position: center;
  }
  .main-row,
  .vision-row {
    display: block;
    min-height: auto;
  }
  .title-section {
    padding-right: 15px;
    text-align: center;
    margin-bottom: 40px;
    height: auto;
  }
  .title-section h1,
  .vision-content h2 {
    font-size: 2.5rem;
  }
  .cards-section {
    padding-left: 15px;
  }
  .vision-content {
    padding-right: 15px;
    text-align: center;
    margin-bottom: 40px;
  }
  .vision-images {
    padding-left: 15px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  .vision-image {
    width: 100%;
    height: 100%;
  }
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
  }
  .mission-visual {
    margin-bottom: 30px;
    max-height: 400px;
    padding: 15px;
  }
  .row-cards {
    display: block;
  }
  .row-cards [class*="col-"] {
    display: block;
    margin-bottom: 20px;
  }
  .value-card {
    min-height: auto;
  }
  .vision-content p {
    font-size: 1.2rem;
  }
  .navigate-container {
    padding: 10px 15px;
    gap: 5px;
  }
  .navigate-btn p {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }
  .navigate-btn i {
    font-size: 1.2rem;
  }
  .navigate-btn p i::after {
    content: "";
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .vision-image {
    width: 100%;
    height: 100%;
  }
  .card-img {
    width: 45%;
    height: 370px;
    /* max-width: 400px; */
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
  }
  .card-description {
    display: block;
    margin-bottom: 0.6em;
  }
  .row-cards {
    margin-left: -12px;
    margin-right: -12px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 2em;
  }
}

@media (min-width: 992px) {
  .vision-image {
    width: 150%;
    height: 100%;
  }
  .card-img {
    border-radius: 10px;
    height: 360px;
    width: 75%;
    max-width: 400px;
    object-fit: cover;
  }
}
