/* ============================================================
   ABOUT SECTION — PROFESSIONAL EDITORIAL REDESIGN
   Two-column split: photo left, content right
   ============================================================ */

/* Section wrapper */
.about-section {
  padding: 7rem 0 6rem;
  position: relative;
}

/* Section label row */
.about-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.about-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: #a78bfa;
  opacity: 0.6;
}

.about-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a78bfa;
}

/* Main two-column grid */
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 5rem;
}

/* ---- LEFT: Photo column ---- */
.about-photo-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #0e0e14;
}

/* Subtle frame border */
.about-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  pointer-events: none;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  filter: grayscale(15%) contrast(1.05);
}

.about-photo-wrap:hover .about-photo {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(1.0);
}

/* Gradient overlay at bottom for status badge */
.about-photo-wrap::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(10,10,14,0.85) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Status badge floating on photo */
.about-status-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10,10,14,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74,222,128,0.25);
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #86efac;
  letter-spacing: 0.03em;
}

.about-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: status-pulse 2.5s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50%       { opacity: 0.85; transform: scale(1.15); box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

/* Stats row below photo */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  background: #111117;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0.5rem;
  gap: 0.3rem;
  position: relative;
}

.about-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,0.07);
}

.about-stat strong {
  font-family: 'Instrument Serif', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #f0eeff;
  line-height: 1;
}

.about-stat span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  color: #4f4d60;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

/* ---- RIGHT: Content column ---- */
.about-content-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 0.5rem;
}

/* Heading block */
.about-heading {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.about-eyebrow-right {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #4f4d60;
  text-transform: uppercase;
}

.about-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #f0eeff;
}

.about-title em {
  font-style: italic;
  color: #a78bfa;
}

/* Bio text */
.about-bio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.about-bio p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: #6b687e;
  font-weight: 300;
}

/* Info grid — 2 cols of key-value pairs */
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.about-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about-info-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3e3c4c;
}

.about-info-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: #c8c5dc;
}

.about-info-value a {
  color: #a78bfa;
  text-decoration: none;
  transition: color 0.2s;
}

.about-info-value a:hover { color: #c4b5fd; }

/* CV download button */
.about-cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0.8rem 1.75rem;
  background: transparent;
  border: 1px solid rgba(167,139,250,0.35);
  border-radius: 10px;
  color: #a78bfa;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-cv-btn:hover {
  background: rgba(167,139,250,0.08);
  border-color: rgba(167,139,250,0.65);
  color: #c4b5fd;
  transform: translateY(-2px);
}

.about-cv-btn i {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ---- SERVICES STRIP (below the grid) ---- */
.about-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
}

.about-service-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem;
  background: #0e0e14;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
  position: relative;
}

.about-service-item:last-child {
  border-right: none;
}

.about-service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.75rem;
  right: 1.75rem;
  height: 2px;
  border-radius: 0 0 4px 4px;
  transition: opacity 0.3s;
  opacity: 0;
}

.about-service-item:nth-child(1)::before { background: #a78bfa; }
.about-service-item:nth-child(2)::before { background: #e07b54; }
.about-service-item:nth-child(3)::before { background: #4ade80; }
.about-service-item:nth-child(4)::before { background: #38bdf8; }

.about-service-item:hover::before { opacity: 1; }

.about-service-item:hover {
  background: #12121a;
}

.about-service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(255,255,255,0.03);
  color: #4f4d60;
  transition: color 0.3s;
}

.about-service-item:nth-child(1):hover .about-service-icon { color: #a78bfa; }
.about-service-item:nth-child(2):hover .about-service-icon { color: #e07b54; }
.about-service-item:nth-child(3):hover .about-service-icon { color: #4ade80; }
.about-service-item:nth-child(4):hover .about-service-icon { color: #38bdf8; }

.about-service-item > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-service-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c8c5dc;
  letter-spacing: -0.01em;
}

.about-service-item p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #3e3c4c;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 300px 1fr;
    gap: 3rem;
  }

  .about-services {
    grid-template-columns: 1fr 1fr;
  }

  .about-service-item {
    border-right: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .about-service-item:nth-child(2),
  .about-service-item:nth-child(4) {
    border-right: none;
  }

  .about-service-item:nth-child(3),
  .about-service-item:nth-child(4) {
    border-bottom: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .about-section {
    padding: 5rem 0 4rem;
  }

  .about-label {
    margin-bottom: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-photo-wrap {
    aspect-ratio: 3 / 4;
    max-width: 320px;
    margin: 0 auto;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .about-stats {
    max-width: 320px;
    margin: 0 auto;
  }

  .about-services {
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
  }

  .about-service-item {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-info-grid {
    grid-template-columns: 1fr;
  }

  .about-services {
    grid-template-columns: 1fr;
  }

  .about-service-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }

  .about-service-item:last-child {
    border-bottom: none !important;
  }
}

/* ============================================================
   EXPERIENCE SECTION — PROFESSIONAL TIMELINE
   ============================================================ */

#experience {
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
}

.exp-timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 2rem;
}

/* Timeline vertical line */
.exp-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 180px;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

.exp-item {
  display: flex;
  gap: 4rem;
  position: relative;
}

/* Timeline dot */
.exp-item::before {
  content: '';
  position: absolute;
  top: 0.35rem;
  left: 176.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0e0e14;
  border: 2px solid #a78bfa;
  box-shadow: 0 0 0 4px #0e0e14;
  z-index: 2;
  transition: background 0.3s ease;
}

.exp-item:hover::before {
  background: #a78bfa;
}

.exp-date {
  width: 150px;
  flex-shrink: 0;
  text-align: right;
  padding-top: 0.2rem;
}

.exp-date span {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b687e;
  letter-spacing: 0.02em;
}

.exp-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.exp-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.exp-header h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #f0eeff;
  letter-spacing: -0.01em;
}

.exp-company {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #a78bfa;
}

.exp-desc p {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #c8c5dc;
  margin-bottom: 1rem;
}

.exp-desc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.exp-desc ul li {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #8b889e;
  position: relative;
  padding-left: 1.25rem;
}

.exp-desc ul li::before {
  content: '?';
  position: absolute;
  left: 0;
  top: 0;
  color: #4f4d60;
  font-family: inherit;
}

.exp-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.exp-skills span {
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: #8b889e;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.exp-item:hover .exp-skills span {
  border-color: rgba(167,139,250,0.3);
  color: #c4b5fd;
  background: rgba(167,139,250,0.05);
}

/* Responsive Experience */
@media (max-width: 768px) {
  #experience {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  .exp-timeline {
    margin-bottom: 1.5rem;
  }
  .exp-timeline::before {
    left: 8px;
  }
  .exp-item::before {
    left: 4.5px;
  }
  .exp-item {
    flex-direction: column;
    gap: 1rem;
  }
  .exp-date {
    width: 100%;
    text-align: left;
    padding-left: 2rem;
  }
  .exp-content {
    padding-left: 2rem;
  }
}

/* ============================================================
   GLOBAL ANIMATIONS (Scroll Fade Up)
   ============================================================ */

/* Initial state for elements with data-scroll-class="in-view" */
[data-scroll-class="in-view"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Triggered state */
[data-scroll-class="in-view"].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Add in-view to major sections */
.about-grid, .about-services, .head {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-grid.in-view, .about-services.in-view, .head.in-view {
  opacity: 1;
  transform: translateY(0);
}
