/* ===========================
   About Page Styles
   =========================== */

/* ---------- Navbar (Matches Home Page) ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.Logo {
  text-decoration: none;
  color: white;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #666;
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #666, #999);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ---------- Hero Section ---------- */
.about-hero,
.hero {
  padding: 0;
  text-align: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  padding-bottom: 0;
}

.hero-video {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
  z-index: -3;
  pointer-events: none;
  filter: brightness(0.35) contrast(1.05) saturate(0.95);
}

.hero-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: transparent;
}

.about-hero-content,
.about-detailed,
.container,
.footer {
  position: relative;
  z-index: 1;
}


.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  transform: translateY(-40px);
}

/* Make About hero typography match Work page */
.about-hero .hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
}

.about-hero .hero-subtitle {
  font-size: 18px;
  color: #aaa;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease forwards 0.3s;
}

/* Ensure the internal title span uses same sizing as Work page */
.about-hero .title-line {
  display: block;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 300;
  margin-bottom: 10px;
}

.about-hero .title-line-2 {
  display: block;
  font-size: 1.6rem;
  opacity: 0.9;
}

/* ---------- Main About Section ---------- */
.about-detailed {
  padding: 50px 0;
  margin-top: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 100px;
}

.about-main {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* ---------- Story Section ---------- */
.about-story .story-content p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ---------- Philosophy Cards ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.philosophy-item {
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.philosophy-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.philosophy-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.philosophy-item p {
  color: #999;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Sidebar ---------- */
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.profile-section {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.profile-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.skill-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

.profile-info h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

.profile-role {
  color: #999;
  font-size: 16px;
  margin-bottom: 5px;
}

.profile-location {
  color: #666;
  font-size: 14px;
}

/* ---------- Quick Facts & Interests ---------- */
.quick-facts,
.interests {
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.quick-facts h3,
.interests h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.facts-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fact-label {
  color: #999;
  font-size: 14px;
}

.fact-value {
  color: #fff;
  font-weight: 600;
}

.interests-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interest-tag {
  padding: 8px 15px;
  font-size: 12px;
  color: #ccc;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.interest-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ---------- Skills & Experience ---------- */
.skills-experience.enhanced {
  background: linear-gradient(180deg,
      transparent,
      rgba(255, 255, 255, 0.02),
      transparent);
}

.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.skill-category {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.category-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

/* Timeline */
.experience-timeline {
  position: relative;
  padding-left: 30px;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #666, #333);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: -23px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #333;
  border-radius: 50%;
}

.timeline-content {
  padding-left: 20px;
}

.exp-description {
  color: #999;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
}

/* ---------- Education & Certifications ---------- */
.education-certs {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
}

.edu-certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.education-item,
.cert-item {
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.education-item:hover,
.cert-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.edu-degree,
.cert-name {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

.edu-field,
.edu-school,
.cert-provider {
  color: #999;
  font-size: 14px;
  margin-bottom: 3px;
}

.edu-duration {
  color: #666;
  font-size: 12px;
}

/* ---------- Call To Action ---------- */
.cta-section {
  padding: 80px 0;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02));
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ffffff, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  color: #999;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-button.primary {
  color: #fff;
  background: linear-gradient(90deg, #333, #555);
  border: 1px solid #666;
}

.cta-button.primary:hover {
  background: linear-gradient(90deg, #444, #666);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary {
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* ---------- Common Button ---------- */
.common-button {
  position: relative;
  display: inline-block;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 500;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: pointer;
}

.common-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.08));
}

.common-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  transition: left 0.5s ease;
}

.common-button:hover::before {
  left: 100%;
}

.common-button::after {
  content: "→";
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.common-button:hover::after {
  transform: translateX(5px);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-menu {
    gap: 20px;
  }

  .nav-link {
    font-size: 14px;
  }

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

  .philosophy-grid,
  .edu-certs-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
  }

  .cta-title {
    font-size: 36px;
  }

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

  .title-line {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .profile-image {
    width: 100px;
    height: 100px;
  }

  .cta-title {
    font-size: 28px;
  }

  .title-line {
    font-size: 36px;
  }

  .about-detailed {
    padding: 40px 0;
  }
}
