/* ===================================================
   COMPANY PROFILE – company-profile.css
   SRJ Ventures Theme
   =================================================== */

/* ─── PAGE HERO ─── */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: 100px;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.page-hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  margin: 12px 0 10px;
  font-family: 'DM Sans', sans-serif;
}

.page-hero-content p {
  font-size: 18px;
  opacity: 0.9;
}

/* ─── SECTION LABEL (shared) ─── */
.section-label {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.section-label span {
  background: linear-gradient(135deg, #4284DB, #29EAC4);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #4284DB, #29EAC4);
  color: #fff;
  padding: 13px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ─── INTRO ─── */
.cp-intro {
  padding: 100px 80px;
  background: #FFF6F6;
}

.cp-intro-grid {
  display: flex;
  gap: 60px;
  align-items: center;
}

.cp-intro-text {
  flex: 1;
}

.cp-intro-text p {
  font-size: 16px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 18px;
}

.cp-intro-image {
  flex: 1;
  position: relative;
}

.cp-intro-image img {
  width: 100%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.cp-image-badge {
  position: absolute;
  bottom: -24px;
  left: 30px;
  background: linear-gradient(135deg, #4284DB, #29EAC4);
  color: #fff;
  padding: 20px 28px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(66,132,219,0.4);
}

.badge-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.badge-label {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 4px;
  display: block;
}

/* ─── STATS ─── */
.cp-stats {
  padding: 80px 80px;
  background: #1a1a1a;
}

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

.stat-card {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  transition: 0.3s;
}

.stat-card:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 52px;
  font-weight: 800;
  background: linear-gradient(135deg, #4284DB, #29EAC4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: #aaa;
  font-weight: 500;
}

/* ─── LEADERSHIP ─── */
.cp-leadership {
  padding: 100px 80px;
  background: #fff;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 50px;
}

.leader-card {
  background: #FFF6F6;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.leader-img-wrap {
  position: relative;
  overflow: hidden;
}

.leader-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.leader-card:hover .leader-img-wrap img {
  transform: scale(1.05);
}

.leader-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #4284DB, #29EAC4);
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px;
  transform: translateY(100%);
  transition: 0.3s;
}

.leader-card:hover .leader-social {
  transform: translateY(0);
}

.leader-social a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.leader-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 20px 6px;
  color: #1a1a1a;
}

.leader-role {
  font-size: 13px;
  color: #4284DB;
  font-weight: 600;
  margin: 0 20px 12px;
}

.leader-bio {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 24px;
}

/* ─── CERTIFICATIONS ─── */
.cp-certs {
  padding: 100px 80px;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.cert-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  padding: 40px 25px;
  text-align: center;
  color: #fff;
  transition: 0.3s;
}

.cert-card:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-6px);
}

.cert-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.cert-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cert-card p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
}

/* ─── TIMELINE ─── */
.cp-timeline {
  padding: 100px 80px;
  background: #FFF6F6;
}

.timeline {
  position: relative;
  margin-top: 60px;
  padding: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(135deg, #4284DB, #29EAC4);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item.left {
  justify-content: flex-start;
  padding-right: calc(50% + 40px);
}

.timeline-item.right {
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #4284DB, #29EAC4);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(66,132,219,0.2);
  z-index: 1;
}

.timeline-content {
  background: #fff;
  padding: 28px 32px;
  border-radius: 14px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.07);
  max-width: 380px;
  transition: 0.3s;
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.tl-year {
  display: inline-block;
  background: linear-gradient(135deg, #4284DB, #29EAC4);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .cp-intro { padding: 70px 40px; }
  .cp-intro-grid { flex-direction: column; }
  .cp-image-badge { bottom: 10px; }
  .cp-stats { padding: 60px 40px; }
  .cp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-leadership { padding: 70px 40px; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-certs { padding: 70px 40px; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-timeline { padding: 70px 40px; }
}

@media (max-width: 768px) {
  .page-hero-content h1 { font-size: 34px; }
  .section-title { font-size: 26px; }
  .cp-intro { padding: 50px 20px; }
  .cp-stats { padding: 50px 20px; }
  .cp-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .stat-number { font-size: 38px; }
  .cp-leadership { padding: 50px 20px; }
  .leadership-grid { grid-template-columns: 1fr; }
  .cp-certs { padding: 50px 20px; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .cp-timeline { padding: 50px 20px; }
  .timeline::before { left: 20px; }
  .timeline-item { padding: 0 0 0 50px !important; justify-content: flex-start !important; }
  .timeline-item::before { left: 20px; }
  .timeline-content { max-width: 100%; }
}
