/* ABOUT PAGE FIXES */

body, html { overflow-x: hidden; width: 100%; }
* { box-sizing: border-box; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* Hero */
.page-hero { position: relative; height: 400px; overflow: hidden; }
.hero-background { position: absolute; inset: 0; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; z-index: 1; }
.hero-title { color: white; font-size: 3rem; margin: 0 0 15px; }
.hero-subtitle { color: white; opacity: 0.9; font-size: 1.2rem; margin: 0 0 20px; }
.hero-breadcrumb { display: flex; gap: 10px; align-items: center; justify-content: center; color: white; }
.hero-breadcrumb a { color: white; opacity: 0.8; }
.hero-breadcrumb a:hover { opacity: 1; color: var(--gold); }

/* Colors */
.section-title { color: var(--primary); }
.section-subtitle { color: #666; }

/* Company Overview */
.company-overview { overflow: hidden; padding: 80px 0; background: white; }
.overview-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: start; max-width: 100%; }
.overview-content h2 { color: var(--primary); margin: 0 0 30px; }
.overview-text p { color: #666; line-height: 1.8; margin: 0 0 20px; }
.overview-stats { display: grid; gap: 20px; }
.stat-box { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); display: flex; gap: 20px; align-items: center; }
.stat-icon { width: 60px; height: 60px; background: rgba(207,164,71,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--gold); flex-shrink: 0; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--gold); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-label { font-size: 0.9rem; color: #666; }

/* Mission Vision */
.mission-vision { overflow: hidden; padding: 80px 0; background: #f8f9fa; }
.mission-vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 100%; }
.mission-box, .vision-box, .values-box { background: white; padding: 40px; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.box-icon { width: 70px; height: 70px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: white; margin: 0 0 20px; }
.mission-box h3, .vision-box h3, .values-box h3 { color: var(--primary); margin: 0 0 15px; }
.mission-box p, .vision-box p { color: #666; line-height: 1.7; }
.values-box ul { list-style: none; padding: 0; margin: 0; }
.values-box ul li { color: #666; margin: 0 0 12px; line-height: 1.6; }
.values-box ul li strong { color: var(--primary); }

/* Timeline */
.timeline-section { overflow: hidden; padding: 80px 0; background: white; }
.timeline { position: relative; max-width: 900px; margin: 50px auto 0; width: 100%; padding: 0 20px; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--gold), rgba(207,164,71,0.3)); transform: translateX(-50%); z-index: 0; }
.timeline-item { position: relative; margin: 0 0 60px; min-height: 80px; }
.timeline-marker { position: absolute; left: 50%; top: 5px; width: 24px; height: 24px; background: var(--gold); border: 5px solid white; border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 4px rgba(207,164,71,0.2); z-index: 2; transition: all 0.3s ease; }
.timeline-item:hover .timeline-marker { transform: translateX(-50%) scale(1.2); box-shadow: 0 0 0 6px rgba(207,164,71,0.3); }
.timeline-content { width: calc(50% - 50px); background: white; padding: 30px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); position: relative; transition: all 0.3s ease; }
.timeline-content:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.timeline-item:nth-child(odd) .timeline-content { margin-left: auto; margin-right: calc(50% + 50px); text-align: right; }
.timeline-item:nth-child(even) .timeline-content { margin-right: auto; margin-left: calc(50% + 50px); text-align: left; }
.timeline-year { display: inline-block; background: linear-gradient(135deg, var(--gold), var(--brown)); color: white; padding: 8px 20px; border-radius: 25px; font-weight: 700; font-size: 1.1rem; margin: 0 0 12px; box-shadow: 0 2px 10px rgba(207,164,71,0.3); }
.timeline-content h3 { color: var(--primary); margin: 0 0 12px; font-size: 1.4rem; font-weight: 700; }
.timeline-content p { color: #666; margin: 0; line-height: 1.7; font-size: 0.95rem; }

/* Leadership */
.leadership-section { overflow: hidden; padding: 80px 0; background: #f8f9fa; }
.leadership-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 100%; }
.leader-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.leader-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.leader-image { position: relative; height: 450px; overflow: hidden; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); display: flex; align-items: center; justify-content: center; }
.leader-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 20px; }
.leader-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.leader-card:hover .leader-overlay { opacity: 1; }
.leader-social { display: flex; gap: 15px; }
.leader-social a { width: 50px; height: 50px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; transition: transform 0.3s; }
.leader-social a:hover { transform: scale(1.1); }
.leader-info { padding: 30px; }
.leader-info h3 { color: var(--primary); margin: 0 0 5px; font-size: 1.5rem; font-weight: 700; }
.leader-info h4 { color: var(--gold); font-weight: 600; margin: 0 0 15px; font-size: 1.1rem; }
.leader-info p { color: #666; line-height: 1.7; margin: 0 0 20px; }
.leader-expertise { display: flex; flex-wrap: wrap; gap: 8px; }
.leader-expertise span { background: rgba(207,164,71,0.1); color: var(--gold); padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; }

/* Certifications */
.certifications-section { overflow: hidden; padding: 80px 0; background: white; }
.certifications-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 100%; }
.certification-card { background: #f8f9fa; padding: 30px; border-radius: 16px; text-align: center; transition: all 0.3s; }
.certification-card:hover { background: white; box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-5px); }
.cert-icon { width: 100px; height: 100px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.cert-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.certification-card h3 { color: var(--primary); margin: 0 0 15px; }
.certification-card p { color: #666; line-height: 1.6; margin: 0 0 20px; font-size: 0.9rem; }
.cert-status { display: flex; flex-direction: column; gap: 8px; }
.status-badge { padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.status-badge.active { background: rgba(207,164,71,0.1); color: var(--gold); }
.status-badge.upcoming { background: rgba(47,50,55,0.1); color: #666; }
.cert-year { font-size: 0.85rem; color: #999; }

/* CTA */
.about-cta { overflow: hidden; padding: 80px 0; background: linear-gradient(135deg, var(--gold), var(--brown)); text-align: center; }
.about-cta h2 { color: white; margin: 0 0 15px; }
.about-cta p { color: white; opacity: 0.95; margin: 0 0 30px; }
.about-cta .cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Section Header */
.section-header { text-align: center; margin: 0 0 50px; }
.section-header .section-title { font-size: 2.5rem; margin: 0 0 10px; }
.section-header .section-subtitle { font-size: 1.1rem; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .overview-grid { grid-template-columns: 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .certifications-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding: 0 15px; }
  .timeline::before { left: 30px; transform: none; }
  .timeline-marker { left: 30px; transform: translateX(-50%); }
  .timeline-item { margin: 0 0 40px; }
  .timeline-item:nth-child(odd) .timeline-content, .timeline-item:nth-child(even) .timeline-content { margin-left: 70px; margin-right: 0; width: auto; text-align: left; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .section-header .section-title { font-size: 2rem; }
  .certifications-grid { grid-template-columns: 1fr; }
  .about-cta .cta-buttons { flex-direction: column; max-width: 300px; margin: 0 auto; }
}


/* TIMELINE OVERRIDE - Force correct styles */
.timeline-section .timeline {
  position: relative !important;
  max-width: 900px !important;
  margin: 50px auto 0 !important;
  width: 100% !important;
  padding: 0 20px !important;
}

.timeline-section .timeline::before {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 3px !important;
  background: linear-gradient(180deg, #cfa447, rgba(207,164,71,0.3)) !important;
  transform: translateX(-50%) !important;
  z-index: 0 !important;
}

.timeline-section .timeline-item {
  position: relative !important;
  margin: 0 0 60px !important;
  min-height: 80px !important;
  width: 100% !important;
  padding: 0 !important;
  left: 0 !important;
  text-align: left !important;
}

.timeline-section .timeline-marker {
  position: absolute !important;
  left: 50% !important;
  top: 5px !important;
  width: 24px !important;
  height: 24px !important;
  background: #cfa447 !important;
  border: 5px solid white !important;
  border-radius: 50% !important;
  transform: translateX(-50%) !important;
  box-shadow: 0 0 0 4px rgba(207,164,71,0.2) !important;
  z-index: 2 !important;
  transition: all 0.3s ease !important;
}

.timeline-section .timeline-item:hover .timeline-marker {
  transform: translateX(-50%) scale(1.2) !important;
  box-shadow: 0 0 0 6px rgba(207,164,71,0.3) !important;
}

.timeline-section .timeline-content {
  width: calc(50% - 50px) !important;
  background: white !important;
  padding: 30px !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
  position: relative !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.timeline-section .timeline-content:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
}

.timeline-section .timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto !important;
  margin-right: calc(50% + 50px) !important;
  text-align: right !important;
}

.timeline-section .timeline-item:nth-child(even) .timeline-content {
  margin-right: auto !important;
  margin-left: calc(50% + 50px) !important;
  text-align: left !important;
}

.timeline-section .timeline-year {
  display: inline-block !important;
  background: linear-gradient(135deg, #cfa447, #5a3a1e) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  margin: 0 0 12px !important;
  box-shadow: 0 2px 10px rgba(207,164,71,0.3) !important;
}

.timeline-section .timeline-content h3 {
  color: #2f3237 !important;
  margin: 0 0 12px !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
}

.timeline-section .timeline-content p {
  color: #666 !important;
  margin: 0 !important;
  line-height: 1.7 !important;
  font-size: 0.95rem !important;
}

/* Responsive Timeline Override */
@media (max-width: 1024px) {
  .timeline-section .timeline {
    padding: 0 15px !important;
  }
  
  .timeline-section .timeline::before {
    left: 30px !important;
    transform: none !important;
  }
  
  .timeline-section .timeline-marker {
    left: 30px !important;
    transform: translateX(-50%) !important;
  }
  
  .timeline-section .timeline-item {
    margin: 0 0 40px !important;
  }
  
  .timeline-section .timeline-item:nth-child(odd) .timeline-content,
  .timeline-section .timeline-item:nth-child(even) .timeline-content {
    margin-left: 70px !important;
    margin-right: 0 !important;
    width: auto !important;
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  .timeline-section {
    padding: 60px 0 !important;
  }
  
  .timeline-section .timeline {
    padding: 0 10px !important;
  }
  
  .timeline-section .timeline::before {
    left: 20px !important;
  }
  
  .timeline-section .timeline-marker {
    left: 20px !important;
    width: 20px !important;
    height: 20px !important;
  }
  
  .timeline-section .timeline-item {
    margin: 0 0 30px !important;
  }
  
  .timeline-section .timeline-item:nth-child(odd) .timeline-content,
  .timeline-section .timeline-item:nth-child(even) .timeline-content {
    margin-left: 55px !important;
    margin-right: 0 !important;
    padding: 20px !important;
  }
  
  .timeline-section .timeline-year {
    font-size: 1rem !important;
    padding: 6px 15px !important;
  }
  
  .timeline-section .timeline-content h3 {
    font-size: 1.2rem !important;
  }
  
  .timeline-section .timeline-content p {
    font-size: 0.9rem !important;
  }
}


/* ===== HEADER FIXES FOR ABOUT PAGE ===== */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

main {
    padding-top: 85px !important;
}

@media (max-width: 768px) {
    main {
        padding-top: 70px !important;
    }
}
