/* ==========================================================================
   ABOUT PAGE STYLESHEET (nmirshad.com/about/)
   Hero, Professional Journey Timeline, Values, Vision, Approach, CTA
   ========================================================================== */

/* Top Header on About Page (Visible Immediately on Desktop/Tablet) */
.site-sticky-header.about-page-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 180, 0, 0.2) !important;
  z-index: 9990 !important;
  padding: 15px 0 !important;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.about-hero-section {
  padding: 80px 0 100px 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: #000000;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

/* Hero Heading:
   - "I'm Irshad -": 24px, #f0eee9
   - "Marketer Developer Trainer.": Poppins, 80px, 400 weight, 80px line-height, #f0eee9, yellow dot after Trainer
   - "based in Kerala": 24px, #f0eee9
*/
.about-hero-heading {
  font-family: 'Poppins', sans-serif;
  color: #f0eee9;
  margin-bottom: 30px;
}

.about-hero-sub {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  color: #f0eee9;
  letter-spacing: -0.2px;
}

.about-hero-intro-text {
  margin-bottom: 12px;
}

.about-hero-location-text {
  margin-top: 14px;
}

.about-hero-roles {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 80px;
  color: #f0eee9;
  letter-spacing: -2px;
}

.about-hero-desc p {
  font-size: 16px;
  color: rgba(240, 238, 233, 0.85);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-hero-cta {
  margin-top: 35px;
}

.about-hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-image-box {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
  max-width: 440px;
  width: 100%;
}

.about-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   2. PROFESSIONAL JOURNEY TIMELINE
   ========================================================================== */

.professional-journey-section {
  padding: 100px 0 120px 0;
  background-color: #000000;
  position: relative;
  overflow: hidden;
}

/* Journey Heading: Like Hero Section (Poppins, 80px, 400 weight, 80px line-height, #f0eee9) */
.journey-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 80px;
  color: #f0eee9;
  letter-spacing: -2px;
  text-align: center;
  margin-bottom: 90px;
}

.journey-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Base Central Line */
.journey-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(240, 238, 233, 0.22);
  transform: translateX(-50%);
  z-index: 1;
}

/* Orange Progress Line */
.journey-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 0%;
  background: #ffb400;
  transform: translateX(-50%);
  transform-origin: top;
  z-index: 2;
  transition: height 0.15s ease-out;
}

/* Experience Row */
.journey-experience {
  position: relative;
  width: 100%;
  min-height: 150px;
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.journey-card {
  position: relative;
  width: calc(50% - 65px);
  padding: 26px 30px;
  border-radius: 18px;
  background: #f0eee9;
  color: #000000;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
  z-index: 3;
}

.journey-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.journey-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 180, 0, 0.15);
}

.journey-experience.left .journey-card {
  margin-right: auto;
}

.journey-experience.right .journey-card {
  margin-left: auto;
}

/* Card Connectors */
.journey-connector {
  position: absolute;
  top: 50%;
  height: 1px;
  background: rgba(240, 238, 233, 0.28);
  z-index: 2;
}

.journey-experience.left .journey-connector {
  left: calc(50% - 65px);
  width: 65px;
}

.journey-experience.right .journey-connector {
  right: calc(50% - 65px);
  width: 65px;
}

/* Center Dot */
.journey-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #000000;
  border: 2px solid rgba(240, 238, 233, 0.65);
  transform: translate(-50%, -50%);
  z-index: 5;
  transition: all 0.3s ease;
}

.journey-experience.active .journey-dot {
  background: #ffb400;
  border-color: #ffb400;
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 12px rgba(255, 180, 0, 0.8);
}

.journey-number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(0, 0, 0, 0.30);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.journey-company {
  margin: 0 35px 6px 0;
  padding: 0;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
}

.journey-role {
  margin: 0;
  padding: 0;
  color: #555555;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
}

/* Experience Counters */
.journey-counter {
  position: relative;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.journey-counter.revealed {
  opacity: 1;
  transform: translateY(0);
}

.counter-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 25px;
  background: #000000;
  z-index: 3;
}

.counter-number {
  color: #ffb400;
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
}

.counter-label {
  color: #f0eee9;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
}

.journey-counter::before,
.journey-counter::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 150px);
  height: 1px;
  background: rgba(240, 238, 233, 0.15);
  z-index: 1;
}

.journey-counter::before { left: 0; }
.journey-counter::after { right: 0; }

.counter-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffb400;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  z-index: 2;
}

/* ==========================================================================
   3. VALUES, VISION & APPROACH (3 COLUMNS)
   ========================================================================== */

.about-values-section {
  padding: 100px 0;
  background-color: #050505;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.about-value-col {
  display: flex;
  flex-direction: column;
}

/* Typography: Poppins, 32px, 400 weight, #f0eee9 */
.about-value-title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  color: #f0eee9;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 180, 0, 0.3);
}

.about-value-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-value-checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: #f0eee9;
  transition: transform 0.2s ease;
}

.about-value-checklist li:hover {
  transform: translateX(4px);
  color: #ffb400;
}

.about-value-checklist li i {
  color: #ffb400;
  font-size: 14px;
  width: 22px;
  height: 22px;
  border: 1px solid #ffb400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-value-text p {
  font-size: 15px;
  color: rgba(240, 238, 233, 0.85);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* ==========================================================================
   4. CTA BANNER SECTION
   ========================================================================== */

.about-cta-section {
  padding: 100px 0;
  background: #000000;
}

.about-cta-box {
  background: #080808;
  border: 1px solid #222222;
  padding: 60px 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-cta-intro {
  font-size: 16px;
  color: rgba(240, 238, 233, 0.65);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CTA Heading: Like Hero Section (Poppins, 80px, 400 weight, 80px line-height, #f0eee9) */
.about-cta-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 80px;
  color: #f0eee9;
  letter-spacing: -2px;
  margin-bottom: 25px;
}

.about-cta-desc {
  font-size: 16px;
  color: rgba(240, 238, 233, 0.85);
  max-width: 600px;
  margin: 0 auto 35px auto;
  line-height: 1.6;
}

.about-cta-action {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   5. RESPONSIVE DESIGN (MOBILE VIEW MATCHING HOMEPAGE)
   ========================================================================== */

@media (max-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero-content {
    text-align: center;
  }

  .about-hero-heading {
    font-size: 60px;
    line-height: 64px;
  }

  .journey-heading {
    font-size: 60px;
    line-height: 64px;
  }

  .about-cta-heading {
    font-size: 60px;
    line-height: 64px;
  }

  .about-hero-cta {
    display: flex;
    justify-content: center;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* 20px Container Side Padding */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .about-hero-section {
    padding: 40px 0 60px 0;
  }

  .about-hero-grid {
    display: flex;
    flex-direction: column;
  }

  /* Image first on mobile (exact match with homepage) */
  .about-hero-image-wrap {
    order: -1;
    margin-bottom: 25px;
    width: 100%;
  }

  .about-hero-image-box {
    max-width: 100%;
  }

  /* Responsive Hero Heading on Mobile */
  .about-hero-heading {
    margin-bottom: 25px;
  }

  .about-hero-sub {
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.35;
  }

  .about-hero-roles {
    font-size: clamp(34px, 8.5vw, 48px);
    line-height: 1.15;
    letter-spacing: -1px;
  }

  .about-hero-desc p {
    font-size: 15px;
    text-align: left;
  }

  .about-hero-cta .btn-discussion {
    width: 100%;
    justify-content: center;
  }

  /* Responsive Timeline Heading on Mobile */
  .professional-journey-section {
    padding: 60px 0 80px 0;
  }

  .journey-heading {
    font-size: clamp(34px, 8vw, 48px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 50px;
  }

  .journey-line,
  .journey-progress {
    left: 20px;
    transform: none;
  }

  .journey-experience {
    min-height: auto;
    display: block;
    margin: 25px 0;
  }

  .journey-card {
    width: calc(100% - 50px);
    margin-left: 50px !important;
    margin-right: 0 !important;
    padding: 22px 20px;
    border-radius: 14px;
  }

  .journey-connector {
    left: 20px !important;
    right: auto !important;
    width: 30px !important;
    top: 50%;
  }

  .journey-dot {
    left: 20px;
    width: 12px;
    height: 12px;
  }

  .journey-counter {
    height: 75px;
    justify-content: flex-start;
    padding-left: 50px;
  }

  .counter-box {
    padding: 0 10px 0 0;
    gap: 8px;
  }

  .counter-number {
    font-size: 25px;
  }

  .counter-label {
    font-size: 14px;
  }

  .journey-counter::before {
    display: none;
  }

  .journey-counter::after {
    left: 20px;
    right: 0;
    width: auto;
  }

  .counter-dot {
    left: 20px;
  }

  /* Values Titles on Mobile */
  .about-value-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  /* Responsive CTA Heading on Mobile */
  .about-cta-box {
    padding: 40px 20px;
  }

  .about-cta-heading {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
  }

  .about-cta-action .btn-discussion {
    width: 100%;
    justify-content: center;
  }
}
