/* program-detail.css */

.program-detail-container {
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 20px;
}

.program-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0 60px;
  color: white;
  text-align: left;
  z-index: 1;
}

.program-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45); /* Độ tối overlay */
  z-index: 0;
}

.program-hero .container {
  position: relative;
  z-index: 1;
}

.program-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.program-subtitle {
  font-size: 18px;
  opacity: 0.9;
  color: #E5E7EB;
}

.program-about .about-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}
.about-image {
  flex: 1 1 45%;
  max-width: 500px;
}

.about-image img {
  width: 100%;
  border-radius: 10px !important;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1) !important;
  height: 30rem !important;
}

.about-text {
  flex: 1 1 50%;
}
.about-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111827;
}

.about-desc {
  font-size: 18px;
  margin-bottom: 20px;
  color: #4B5563;
}

.about-highlights {
  display: flex;
  gap: 40px;
}

.highlight-item {
  font-size: 16px;
}
.highlight-item span {
  color: #4B5563;
  font-size: 16px;
}

.highlight-item strong {
  display: block;
  font-size: 24px;
  color: #1E3A8A;
}

.program-stats {
  background-color: #FAFAFA;
}

.section-heading {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-box {
  background: white;
  padding: 30px 20px;
  border-radius: 8px;
  border: #E5E5E5 solid 1px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: transform 0.2s ease;
}

.stat-box:hover {
  transform: translateY(-3px);
}

.stat-box h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0A0A0A;
  margin-bottom: 12px;
}

.stat-box .custom-stat-icon {
  font-size: 28px;
  color: #1E3A8A;
  margin-bottom: 8px;
  display: inline-block;
}

.stat-box p {
  font-size: 24px;
  color: #1E3A8A;
  font-weight: 700;
}

.program-investment {
  background: #fff;
}

.program-investment h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}
.program-investment h3{
    text-align: center;
    color: #4B5563;
    font-size: 20px;
    margin:0;
}

.investment-options {
  justify-content: center;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.investment-box {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  border: #E5E5E5 solid 1px;
  flex: 1 1 300px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.investment-min-cost-badge {
  display: inline-block;
  background-color: #1E3A8A; /* Màu xanh đậm */
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 16px;
  margin-top: 1px;
  margin-bottom: 20px;
}

.investment-box h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0A0A0A;
}

.investment-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.investment-box li {
  margin-bottom: 10px;
  color: #0F172A;
  position: relative;
  padding-left: 22px;
  font-size: 14px;
}

.investment-box li i {
  position: absolute;
  left: 0;
  top: 2px;
}
.investment-short-desc{
    color: #737373;
}

.program-benefits{
   background: #FAFAFA;
}

.program-requirements{
  background: #FFFFFF;
}

.program-benefits-process {
  background: #FAFAFA;
}
.program-process{
  background: #FFFFFF
  }

.benefits-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}


.benefits-box, .process-box, .requirement-box {
  background: #FFFFFF;
  border: #E5E5E5 solid 1px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 30px;
  border-radius: 8px;
}
.program-process-box {
  padding: 30px;
}

.benefits-box h3, .process-box h3, .requirement-box h3 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111827;
}
.program-process-box h2{
    font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  color: #111827;
}
.program-process-box h3{
    text-align: center;
    color: #4B5563;
    font-size: 20px;
     margin: 0px;
}

.benefits-box ul, .process-box ul, .requirement-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.benefits-box li {
  margin-bottom: 10px;
  color: #0A0A0A;
  font-size: 16px;
  position: relative;
  padding-left: 32px;
  counter-increment: step;
}

.benefits-box li i {
  position: absolute;
  left: 0;
  top: 2px;
}

.process-box li {
  margin-bottom: 12px;
  color: #0A0A0A;
  font-size: 16px;
  position: relative;
  padding-left: 32px;
  counter-increment: step;
}
.requirement-box li {
  margin-bottom: 12px;
  color: #0A0A0A;
  font-size: 16px;
  position: relative;
  padding-left: 32px;
  counter-increment: step;
}

.requirement-box li i {
  position: absolute;
  left: 0;
  top: 2px;
}

.process-box li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  background: #1E3A8A;
  color: white;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  line-height: 22px;
  border-radius: 50%;
  font-family: 'Inter', sans-serif;
}

.text-green {
  color: #10B981;
  margin-right: 8px;
}
.text-blue{
  color: #3B82F6 ;
  margin-right: 8px;
}
/* Application Process Styles */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.step-item {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.step-number {
  width: 32px;
  height: 32px;
  background-color: #1E3A8A;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-weight: bold;
  margin-right: 16px;
  font-size: 14px;
  flex-shrink: 0;
}

.step-content {
  font-size: 16px;
  color: #1F2937;
}

.container-benefit-requirement {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 20px;
}

.benefits-box,
.requirement-box {
  flex: 1 1 55%;
  min-width: 300px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #E5E5E5;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.benefit-image,
.requirement-image {
  flex: 1 1 40%;
  min-width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-image img,
.requirement-image img {
   width: 30rem;
   max-width: 40rem !important;
  height: 40rem !important;
  object-fit: cover;
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
}




@media (max-width: 768px) {
  .investment-options {
    flex-direction: column;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ✅ iPad - Max-width 1024px */
@media (max-width: 1024px) {
  .container-benefit-requirement {
    flex-direction: column;
    padding: 3rem 2rem; /* ⬅ tăng padding hai bên */
  }

  .benefits-box,
  .requirement-box,
  .benefit-image,
  .requirement-image {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: unset;
  }

  .benefit-image img,
  .requirement-image img {
    width: 100%;
    height: auto !important;
    max-width: 100% !important;
  }

  .program-about .about-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 0 2rem; /* ⬅ padding ngang */
  }

  .about-image,
  .about-text {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .about-image img {
    height: auto !important;
    max-height: 400px;
    width: 50rem; /* dùng 100% để tự co */
  }

  .about-highlights {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
  }
}

/* ✅ Mobile - Max-width 480px */
@media (max-width: 480px) {
  .container-benefit-requirement {
    padding: 2rem 1rem; /* ⬅ padding ngang nhẹ hơn */
    gap: 24px;
  }

  .benefits-box,
  .requirement-box {
    padding: 20px;
  }

  .benefit-image img,
  .requirement-image img {
    width: 100%;
    height: auto !important;
    max-width: 100% !important;
  }

  .program-about .about-wrapper {
    padding: 0 1rem; /* ⬅ padding ngang nhẹ */
  }

  .about-text h2 {
    font-size: 22px;
  }

  .about-desc {
    font-size: 16px;
  }

  .about-highlights {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
  }

  .highlight-item strong {
    font-size: 20px;
  }

  .highlight-item span {
    font-size: 14px;
  }
}
