/* ============= HISTORY SECTION ============= */
.history-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.history-section h2 {
  color: #003b77;
  font-size: 2rem;
  margin-bottom: 25px;
  text-align: center;
}

.section-content p {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: justify;
}

/* ============= MISSION VISION SECTION ============= */
.mission-vision-section {
  background: linear-gradient(135deg, #003b77 0%, #e53333 100%);
  padding: 60px 20px;
  margin: 50px 0;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.mission-card,
.vision-card {
  background: #fff;
  border-radius: 12px;
  padding: 35px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.card-icon {
  font-size: 3rem;
  color: #e53333;
  margin-bottom: 15px;
}

.mission-card h3,
.vision-card h3 {
  color: #003b77;
  font-size: 1.5rem;
  margin: 15px 0;
}

.mission-card p,
.vision-card p {
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* ============= VALUES SECTION ============= */
.values-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.values-section h2 {
  text-align: center;
  color: #003b77;
  margin-bottom: 40px;
  font-size: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.value-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-top: 4px solid #e53333;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(229,51,51,0.15);
}

.value-icon {
  font-size: 2.5rem;
  color: #e53333;
  margin-bottom: 15px;
}

.value-card h3 {
  color: #003b77;
  font-size: 1.1rem;
  margin: 12px 0;
}

.value-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ============= LEADERSHIP SECTION ============= */
.leadership-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.leadership-section h2 {
  text-align: center;
  color: #003b77;
  margin-bottom: 40px;
  font-size: 2rem;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
}

.leader-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-top: 5px solid #e53333;
  transition: all 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(229,51,51,0.2);
}

.leader-image {
  overflow: hidden;
  height: 300px;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.leader-card:hover .leader-image img {
  transform: scale(1.05);
}

.leader-content {
  padding: 30px;
}

.leader-content h3 {
  color: #003b77;
  font-size: 1.4rem;
  margin: 0 0 8px 0;
}

.position {
  color: #e53333;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 5px 0;
}

.qualification {
  color: #666;
  font-size: 0.95rem;
  margin: 5px 0;
}

.experience {
  color: #777;
  font-size: 0.9rem;
  font-style: italic;
  margin: 5px 0 15px 0;
}

.leader-bio {
  margin: 15px 0;
  padding: 15px 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.leader-bio p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 10px 0;
}

.leader-contact {
  margin: 15px 0;
  padding: 12px;
  background: #f7fafd;
  border-radius: 8px;
}

.leader-contact p {
  color: #666;
  font-size: 0.9rem;
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.leader-contact i {
  color: #e53333;
}

.leader-achievements {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e8e8e8;
}

.leader-achievements p {
  color: #003b77;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.leader-achievements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leader-achievements li {
  color: #555;
  font-size: 0.9rem;
  margin: 6px 0;
  padding-left: 20px;
  position: relative;
}

.leader-achievements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e53333;
  font-weight: bold;
}

/* ============= ACHIEVEMENTS SECTION ============= */
.achievements-section {
  background: #f7fafd;
  padding: 50px 20px;
  margin: 50px 0;
  border-radius: 12px;
}

.achievements-section h2 {
  text-align: center;
  color: #003b77;
  margin-bottom: 40px;
  font-size: 2rem;
}

.milestones-timeline {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.milestones-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #003b77 0%, #e53333 100%);
  transform: translateX(-50%);
}

.milestone {
  margin-bottom: 30px;
  display: flex;
  position: relative;
}

.milestone:nth-child(odd) {
  flex-direction: row;
  margin-left: 0;
  text-align: right;
  padding-right: 52%;
}

.milestone:nth-child(even) {
  flex-direction: row-reverse;
  margin-left: 0;
  text-align: left;
  padding-left: 52%;
}

.milestone-year {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background: #e53333;
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(229,51,51,0.3);
}

.milestone-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-left: 4px solid #e53333;
}

.milestone:nth-child(even) .milestone-content {
  border-left: none;
  border-right: 4px solid #e53333;
}

.milestone-content h3 {
  color: #003b77;
  font-size: 1.1rem;
  margin: 0 0 8px 0;
}

.milestone-content p {
  color: #555;
  margin: 0;
  font-size: 0.95rem;
}

/* ==================== Responsive Enhancements ==================== */

@media (max-width: 992px) {
  /* Force milestones to stack vertically on tablets and smaller screens */
  .milestone {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Remove side paddings for smaller screens */
  .milestone:nth-child(odd),
  .milestone:nth-child(even) {
    padding: 0;
    margin-bottom: 50px;
  }

  /* Position year label above content for better visibility */
  .milestone-year {
    position: static;
    transform: none;
    margin-bottom: 0;
  }

  /* Remove border adjustments for even/odd */
  .milestone:nth-child(even) .milestone-content {
    border-left: none;
    border-right: none;
    max-width: 67vw;
  }
  .milestone:nth-child(odd) .milestone-content {
    border-left: none;
    border-right: none;
    max-width: 67vw;
  }
}

/* Additional fine-tuning for smaller screens */
@media (max-width: 600px) {
  .achievements-section h2 {
    font-size: 1.75rem;
  }

  .milestone-year {
    width: 60px;
    height: 60px;
    font-size: 0.8rem;
  }

  .milestone-content {
    padding: 15px;
  }
}


/* ============= STATS SECTION ============= */
.stats-section {
  margin: 50px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.stats-section h2 {
  text-align: center;
  color: #003b77;
  margin-bottom: 40px;
  font-size: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.stat-card {
  background: linear-gradient(135deg, #003b77 0%, #e53333 100%);
  color: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ============= WHY CHOOSE SECTION ============= */
.why-choose-section {
  background: #f7fafd;
  padding: 50px 20px;
  margin: 50px 0;
  border-radius: 12px;
}

.why-choose-section h2 {
  text-align: center;
  color: #003b77;
  margin-bottom: 40px;
  font-size: 2rem;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.reason-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-left: 4px solid #e53333;
  transition: all 0.3s ease;
  position: relative;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(229,51,51,0.15);
}

.reason-number {
  position: absolute;
  top: -15px;
  left: 25px;
  background: #e53333;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
}

.reason-card h3 {
  color: #003b77;
  margin: 20px 0 12px 0;
  font-size: 1.1rem;
}

.reason-card p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ============= CONTACT CTA SECTION ============= */
.contact-cta-section {
  background: linear-gradient(135deg, #003b77 0%, #e53333 100%);
  color: #fff;
  padding: 60px 20px;
  border-radius: 12px;
  text-align: center;
  margin: 50px auto;
  max-width: 1200px;
}

.contact-cta-section h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.contact-cta-section > p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 35px;
}

.cta-contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 35px;
}

.contact-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  max-width: 320px;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* gap: 15px; */
}

/* Style the icon container div */
.contact-box > div:first-child {
  font-size: 2.5rem;
}

.contact-box i {
  font-size: 2rem;
  color: #fff;
  flex-shrink: 0;
}

.contact-box h3 {
  color: #fff;
  margin: 0 0 8px 0;
  font-size: 1.2rem;
}

.contact-box p {
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 14px 32px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: #fff;
  color: #e53333;
}

.btn-primary:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}
