/* ── Layout ── */
.about-intro-section {
  padding: 100px 0 40px;
  /* Fixed navbar overlap */
}

.about-split-screen {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}


.profile-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* ── Outer composition wrapper ── */
.image-composition {
  position: relative;
  width: 100%;
  max-width: 360px;
}

/* ── Ambient background environment ── */
.image-env {
  position: absolute;
  inset: -40px;
  pointer-events: none;
  overflow: hidden;
  border-radius: 40px;
  z-index: 0;
}

.env-glow-1 {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  top: -20px;
  left: -30px;
  animation: driftA 8s ease-in-out infinite;
}

.env-glow-2 {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  bottom: 30px;
  right: -20px;
  animation: driftB 10s ease-in-out infinite;
}

.env-glow-3 {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.10) 0%, transparent 70%);
  bottom: -10px;
  left: 20%;
  animation: driftC 12s ease-in-out infinite;
}

/* Geometric line accents */
.env-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* Golden particles canvas area */
.particles-wrap {
  position: absolute;
  inset: -30px;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: #d4af37;
  opacity: 0;
  animation: particleFloat var(--dur) ease-in-out infinite var(--delay);
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }

  30% {
    opacity: 0.7;
  }

  70% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
    transform: translateY(-60px) scale(1);
  }
}

/* ── Primary portrait image ── */
.portrait-wrap {
  position: relative;
  z-index: 2;
  border-radius: 200px 200px 0 0;
  aspect-ratio: 4/5;
  padding: 4px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.5) 0%, rgba(212, 175, 55, 0.05) 50%, rgba(59, 130, 246, 0.3) 100%);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.15),
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(212, 175, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.portrait-wrap:hover {
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.4),
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(212, 175, 55, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Light sweep on hover */
.portrait-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 200px 200px 0 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 3;
}

.portrait-wrap:hover::after {
  opacity: 1;
}

.portrait-inner {
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: rgba(30, 41, 59, 0.6);
  position: relative;
}

.portrait-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.portrait-wrap:hover .portrait-inner img {
  transform: scale(1.04);
}

/* Profile info below image */
.profile-info-below {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  font-family: var(--font-heading);
}

.profile-status {
  justify-content: center;
}

/* ── Animations ── */
@keyframes driftA {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }

  50% {
    transform: translate(12px, -14px) scale(1.1);
    opacity: 1;
  }
}

@keyframes driftB {

  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.6;
  }

  50% {
    transform: translate(-10px, 12px);
    opacity: 0.9;
  }
}

@keyframes driftC {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(8px, -10px);
  }
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }

  70% {
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* ── Learning block (unchanged) ── */
.learning-block {
  width: 100%;
  max-width: 320px;
  margin-top: 48px;
}

.learning-heading {
  font-size: 0.82rem;
  font-weight: 600;
  color: #aaaaaa;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.learning-heading i {
  color: #d4af37;
  font-size: 0.9rem;
}

.learning-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.l-tag {
  font-size: 0.78rem;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  color: #cccccc;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
}

.l-tag:hover {
  border-color: #d4af37;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.08);
}

.l-tag i {
  color: #d4af37;
  font-size: 0.72rem;
}

/* ── Content on the left ── */
.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1;
  gap: 28px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 5px 14px;
  width: fit-content;
}

.premium-heading {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
}

.text-gold {
  color: #d4af37;
}

.integrated-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 16px;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.i-status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaaaaa;
}

.i-status-item i {
  color: #d4af37;
}

.i-status-item.text-green {
  color: #e2e8f0;
}

.i-status-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulseGreen 2s infinite;
}

.about-paragraphs {
  font-size: 1.05rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-paragraphs p {
  color: #cccccc;
  margin: 0;
}

/* ── Stats ── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.stat-card {
  flex: 1;
  min-width: 130px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.4);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: #aaaaaa;
  margin-top: 3px;
  line-height: 1.3;
}

/* ════════════════════════════════════════
         EDUCATION SECTION (unchanged)
         ════════════════════════════════════════ */
.about-education-section {
  padding: 20px 0 60px;
}

.about-grid-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.expertise-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}

.education-intro {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #aaaaaa;
  margin: 0 0 28px;
}

.education-timeline {
  position: relative;
  padding-left: 28px;
}

.education-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary, #d4af37) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.35);
}

.timeline-dot {
  position: absolute;
  left: -35px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111;
  border: 2.5px solid #d4af37;
  transition: transform 0.2s, background 0.2s;
  z-index: 2;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  background: #d4af37;
}

.degree-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px;
}

.institution-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.88rem;
  color: #aaaaaa;
  margin-bottom: 6px;
}

.university {
  font-weight: 500;
  color: #dddddd;
}

.duration i {
  margin-right: 4px;
  color: #d4af37;
}

.subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.subject-tag {
  font-size: 0.76rem;
  padding: 3px 11px;
  background: rgba(255, 255, 255, 0.05);
  color: #aaaaaa;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: default;
}

.subject-tag:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  border-color: #d4af37;
}

.expertise-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.premium-quote {
  border-left: 3px solid #d4af37;
  padding: 18px 22px;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 0 12px 12px 0;
  margin: 0;
}

.quote-icon {
  font-size: 1.8rem;
  color: #d4af37;
  display: block;
  margin-bottom: 10px;
}

.premium-quote p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: #bbbbbb;
  font-style: italic;
  margin: 0;
}

.action-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: fit-content;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: #eab308;
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.btn-download:hover {
  background: #d4af37;
  transform: translateY(-2px);
}

.btn-projects {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: #dddddd;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-projects:hover {
  border-color: #d4af37;
  color: #d4af37;
  transform: translateY(-2px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.footer {
  padding: 40px 0 20px;
}

.footer-social {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
}

.social-icons a:hover {
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted, #999);
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

/* ════════════════════════════════════════
         MOBILE RESPONSIVE
         ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-split-screen {
    gap: 40px;
  }

  .about-grid-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .about-intro-section {
    padding: 40px 0 24px;
  }

  .about-split-screen {
    flex-direction: column;
    gap: 32px;
  }

  .profile-col {
    align-items: center;
  }

  .image-composition {
    max-width: 280px;
  }



  .premium-heading {
    font-size: 2rem;
  }

  .stats-row {
    gap: 10px;
  }

  .stat-card {
    min-width: auto;
  }

  .about-grid-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .learning-block {
    margin-top: 36px;
  }
}

@media (max-width: 480px) {
  .about-intro-section {
    padding: 28px 0 16px;
  }

  .premium-heading {
    font-size: 1.7rem;
  }

  .image-composition {
    max-width: 230px;
  }

  .stats-row {
    flex-direction: column;
  }

  .action-btns {
    width: 100%;
  }

  .btn-download,
  .btn-projects {
    justify-content: center;
    text-align: center;
  }

  .institution-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}