/* Premium Portfolio Styles - Manya G Karle */

:root {
  /* Color Palette matching the terracotta background */
  --bg-color: #d2a078;
  --text-primary: #1A1A1A;
  /* Exact primary text color */
  --text-secondary: #2C2C2C;
  /* Secondary text color */
  --accent-light: #ffffff;
  --accent-dark: rgba(26, 26, 26, 0.7);
  /* Subtle hover transition color */

  /* Glassmorphism system */
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: rgba(30, 22, 17, 0.06);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: #FDF8F4; /* Base background is cream permanently to remove layout gutter peach bleed */
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-y: overlay; /* Use overlay scrollbars to prevent right border bleed */
  overflow-x: hidden;
  scroll-behavior: smooth; /* Smooth scrolling transition to section anchors */
  -webkit-font-smoothing: antialiased;
  scroll-snap-type: y mandatory; /* Enable vertical scroll snap */
}

/* Background Video - Full viewport bleed, mirrored */
.hero-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  background-color: var(--bg-color);
  overflow: hidden;
}

.hero-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Align to left-top inside the element, keeping top of head visible and centering avatar horizontally in left 55% */
  object-position: 22% 15%;
  transform: translateX(-28%);
  /* Shift avatar further left to align exactly under logo */
  background-color: var(--bg-color);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-dot {
  display: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: #1A1A1A;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  text-decoration: none;
  color: #1A1A1A;
  font-weight: 500;
  font-size: 14px;
  background: transparent;
  border: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #C8856A;
}

.nav-btn {
  background: #1A1A1A;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 24px;
  transition: background 0.2s ease;
}

.nav-btn:hover {
  background: #C8856A;
}

/* Content Container Overlay */
.hero-container {
  position: relative;
  z-index: 10;
  /* Render on top of background video */
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Align text block to the right */
  padding-right: 80px;
  /* Aligned right padding of 80px offset */
  padding-left: 0;
  pointer-events: auto; /* Allow all drag/scroll gestures to bubble up over the video */
  /* Terracotta gradient overlay on the right half (45%) only, transparent left (55%) */
  background: linear-gradient(90deg,
      rgba(210, 160, 120, 0) 0%,
      rgba(210, 160, 120, 0) 45%,
      rgba(210, 160, 120, 1) 55%,
      rgba(210, 160, 120, 1) 100%);
  scroll-snap-align: start; /* Align viewport snap point */
  scroll-snap-stop: always;
}

.hero-content {
  pointer-events: auto;
  /* Re-enable pointer events for content card */
  max-width: 560px; /* Increased to fit name in one line */
  width: 45%;
  /* Sits in the right 45% of the viewport */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--glass-bg);
  box-shadow: 0 4px 30px var(--glass-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 24px;
  animation: fadeIn 1s ease-out;
  /* NO borders */
  border: none;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--text-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.badge-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  text-transform: uppercase;
}

/* Titles and Copy */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.5vw, 80px); /* Fluid typography scaling to prevent overflow */
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap; /* Forces name to stay in one line only */
  color: #FFFFFF; /* Make typed name white in color */
}

/* Blinking IDE-like vertical cursor */
.hero-title::after {
  content: '|';
  font-weight: 300;
  animation: cursorBlink 0.8s step-start infinite;
  color: #FFFFFF; /* Make blinking cursor white in color */
  margin-left: 4px;
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-secondary);
  margin-bottom: 24px;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.subtitle-item:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  margin-right: 2px;
  font-weight: bold;
  opacity: 0.6;
}

.divider {
  display: none;
  /* Hide divider tags */
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Actions/Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
  animation: slideUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--text-primary);
  color: var(--bg-color);
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 16px rgba(30, 22, 17, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(30, 22, 17, 0.2);
  background-color: var(--accent-dark);
  color: #fff;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background-color: var(--glass-bg);
  color: var(--text-primary);
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition-smooth);
  /* NO borders */
  border: none;
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* Footer details cards */
.hero-footer-details {
  display: flex;
  gap: 30px;
  animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--glass-bg);
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--glass-shadow);
  /* NO borders */
  border: none;
}

.detail-icon {
  font-size: 16px;
}

.detail-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Animations definitions */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(30, 22, 17, 0.4);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(30, 22, 17, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(30, 22, 17, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Volume Toggle Button */
.volume-btn {
  position: fixed;
  bottom: 40px;
  left: 40px;
  right: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--glass-bg);
  box-shadow: 0 4px 20px var(--glass-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  transition: var(--transition-smooth);
  border: none;
}

.volume-btn:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.35);
  color: var(--accent-dark);
}

.volume-icon .sound-wave {
  display: none;
}

.volume-icon .mute-line {
  display: block;
}

.volume-btn.unmuted .volume-icon .sound-wave {
  display: block;
}

.volume-btn.unmuted .volume-icon .mute-line {
  display: none;
}

/* Responsive Design Rules */
@media (max-width: 1200px) {
  .site-header {
    padding: 25px 40px;
  }

  .hero-container {
    padding-right: 40px;
    padding-left: 0;
  }

  .hero-title {
    font-size: 60px;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 52px;
  }

  .hero-content {
    width: 60%;
    /* Allow slightly more room on tablets */
  }
}

@media (max-width: 768px) {

  html,
  body {
    overflow-y: auto;
    /* Enable page scroll on mobile */
  }

  .hero-container {
    height: auto;
    min-height: 100vh;
    padding: 120px 24px 60px 24px;
    align-items: flex-start;
    justify-content: flex-start;
    /* Reset desktop align to right */
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-video-container {
    position: relative;
    height: 50vh;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .hero-video-container video {
    position: relative;
    width: 100%;
    height: 100%;
    transform: none;
    /* no mirror on mobile */
    object-position: center center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .site-header {
    padding: 20px 24px;
    background-color: var(--bg-color);
    /* solid header on mobile */
  }

  .nav-menu {
    gap: 20px;
  }

  .nav-link:not(.btn-contact) {
    display: none;
    /* clean mobile header: only show CTA */
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    width: 100%;
  }

  .volume-btn {
    bottom: 20px;
    left: 20px;
    right: auto;
  }

  .skills-section {
    padding: 80px 24px;
  }

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

  .skills-sidebar {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 12px;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .category-btn {
    flex-shrink: 0;
    width: auto;
    padding: 14px 20px;
    font-size: 14px;
    scroll-snap-align: start;
  }
  
  .skills-grid {
    grid-template-columns: 1fr; /* Stack skill cards in a single column on mobile */
    gap: 16px;
  }
}

/* Redesigned Skills Section Styles */
.skills-section {
  min-height: 100vh;
  width: 100%;
  padding: 80px;
  background-color: #FDF8F4; /* solid warm cream background */
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start; /* Align viewport snap point */
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.skills-content-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.skills-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skills-eyebrow {
  color: #C8856A; /* terracotta */
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.skills-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: #1A1A1A; /* dark text */
  letter-spacing: -1px;
  margin: 0;
  text-transform: none;
}

.skills-subtitle {
  font-size: 15px;
  color: #555555;
  margin: 0;
}

.skills-grid-all {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 column grid, full width */
  gap: 24px;
  width: 100%;
}

.category-card {
  background-color: #FFFFFF; /* white card */
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); /* subtle shadow */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-label {
  color: #C8856A; /* small terracotta label */
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.pills-container {
  display: flex;
  flex-wrap: wrap; /* skill pills/tags in a flex wrap row */
  gap: 10px;
}

.skill-pill {
  background-color: #F5EDE3;
  color: #1A1A1A;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #E8D5C4;
  transition: var(--transition-smooth);
  font-weight: 500;
  cursor: default;
}

.skill-pill:hover {
  background-color: #C8856A; /* hover on pill: background terracotta, color white */
  color: #FFFFFF;
  border-color: #C8856A;
}

/* Center and stretch the Tools card (the 7th item) on desktop */
.category-card:nth-child(7) {
  grid-column: span 2;
  align-items: center;
  text-align: center;
}

.category-card:nth-child(7) .pills-container {
  justify-content: center;
}

/* Media Query Adjustments */
@media (max-width: 991px) {
  .skills-section {
    padding: 100px 24px 60px 24px;
    height: auto;
    min-height: auto;
  }

  .skills-grid-all {
    grid-template-columns: 1fr; /* 1 column collapse on mobile */
    gap: 16px;
  }

  .category-card {
    padding: 20px;
  }

  .category-card:nth-child(7) {
    grid-column: span 1 !important;
    align-items: flex-start;
    text-align: left;
  }

  .category-card:nth-child(7) .pills-container {
    justify-content: flex-start;
  }
}

/* Projects Section Styles */
.projects-section {
  min-height: 100vh;
  width: 100%;
  padding: 80px;
  background-color: #FDF8F4; /* solid warm cream background */
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start; /* Align viewport snap point */
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.projects-content-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.projects-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.projects-eyebrow {
  color: #C8856A; /* terracotta label */
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.projects-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: #1A1A1A; /* bold title */
  letter-spacing: -1px;
  margin: 0;
}

.projects-grid-all {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns grid */
  gap: 24px;
  width: 100%;
}

.project-card {
  background-color: #FFFFFF; /* white card */
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); /* subtle shadow */
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
  border-left: 3px solid transparent; /* left indicator transition base */
  text-decoration: none; /* remove underline just in case */
}

.project-card:hover {
  transform: translateY(-4px); /* hover effect: card lifts up */
  border-left-color: #C8856A; /* terracotta left border appears */
  box-shadow: 0 12px 30px rgba(200, 133, 106, 0.08);
}

.project-card-full {
  grid-column: span 2; /* 5th card centered */
  justify-self: center;
  width: calc(50% - 12px);
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.project-title-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
}

.project-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-pill-link {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.pill-live {
  background-color: #C8856A; /* terracotta pill */
  color: #FFFFFF;
  border: 1px solid #C8856A;
}

.pill-live:hover {
  background-color: #b06f54;
  border-color: #b06f54;
}

.pill-github {
  background-color: transparent;
  color: #C8856A;
  border: 1px solid #E8D5C4; /* outline pill */
}

.pill-github:hover {
  background-color: #F5EDE3;
  color: #C8856A;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap; /* tech stack pills in a flex wrap row */
  gap: 8px;
}

.tech-pill {
  background-color: #F5EDE3; /* cream background */
  color: #1A1A1A;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid #E8D5C4;
}

.project-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #555555; /* soft dark text */
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 2-3 line description */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-view-details {
  font-size: 13px;
  font-weight: 600;
  color: #C8856A; /* terracotta link */
  text-decoration: none;
  margin-top: auto;
  width: fit-content;
  transition: var(--transition-smooth);
}

.project-view-details:hover {
  text-decoration: underline;
}

/* Projects Media Queries */
@media (max-width: 991px) {
  .projects-section {
    padding: 100px 24px 60px 24px;
    height: auto;
    min-height: auto;
  }

  .projects-grid-all {
    grid-template-columns: 1fr; /* collapse to 1 column */
    gap: 16px;
  }

  .project-card-full {
    grid-column: span 1;
    width: 100%;
    justify-self: stretch;
  }

  .project-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Project Card Image Styles */
.project-image-wrap {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #F0EAE4;
  flex-shrink: 0;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.project-card:hover .project-image {
  transform: scale(1.04); /* subtle zoom on hover */
}

/* Experience Section Styles */
.exp-section {
  min-height: 100vh;
  width: 100%;
  padding: 80px;
  background-color: #FDF8F4;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.exp-content-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.exp-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp-eyebrow {
  color: #C8856A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.exp-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: -1px;
  margin: 0;
}

.exp-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 40px;
  margin-top: 20px;
}

.exp-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background-color: #C8856A;
}

.exp-item {
  position: relative;
  width: 100%;
}

.exp-dot {
  position: absolute;
  left: -40px;
  top: 36px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #FDF8F4;
  z-index: 2;
}

.exp-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #E8D5C4;
  border-left: 3px solid #C8856A;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.exp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.exp-role {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 4px 0;
}

.exp-company {
  font-size: 15px;
  font-weight: 600;
  color: #C8856A;
  margin: 0;
}

.exp-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.exp-meta-item {
  font-size: 13px;
  color: #888888;
}

.exp-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #555555;
}

.bullet-arrow {
  color: #C8856A;
  font-weight: bold;
  flex-shrink: 0;
}

.exp-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.exp-skill-pill {
  background-color: #F5EDE3;
  color: #1A1A1A;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid #E8D5C4;
}

.exp-cert-btn {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #C8856A;
  text-decoration: none;
  border: 1px solid #E8D5C4;
  border-radius: 20px;
  padding: 8px 16px;
  width: fit-content;
  transition: var(--transition-smooth);
  margin-top: 8px;
}

.exp-cert-btn:hover {
  background-color: #C8856A;
  color: #FFFFFF;
  border-color: #C8856A;
}

.exp-footer-text {
  font-size: 13px;
  color: #888888;
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 991px) {
  .exp-section {
    padding: 100px 24px 60px 24px;
    height: auto;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .exp-timeline {
    padding-left: 20px;
  }
  .exp-timeline::before {
    left: 4px;
  }
  .exp-dot {
    left: -20px;
    width: 10px;
    height: 10px;
  }
  .exp-card {
    padding: 20px;
  }
  .exp-meta {
    align-items: flex-start;
  }
}

/* Certifications Section Styles */
.certs-section {
  min-height: 100vh;
  width: 100%;
  padding: 80px;
  background-color: #FDF8F4;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.certs-content-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.certs-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.certs-eyebrow {
  color: #C8856A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.certs-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: -1px;
  margin: 0;
}

.certs-subtitle {
  font-size: 15px;
  color: #555555;
  margin: 0;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3-column grid */
  gap: 20px;
  width: 100%;
}

.cert-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition-smooth);
  border-left: 3px solid transparent;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-left-color: #C8856A;
  box-shadow: 0 12px 30px rgba(200, 133, 106, 0.08);
}

.cert-image-wrap {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #F8F3ED;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-card:hover .cert-image {
  transform: scale(1.04);
}

.cert-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.cert-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
  line-height: 1.3;
}

.cert-issuer {
  font-size: 13px;
  font-weight: 600;
  color: #C8856A; /* terracotta issuer name */
  margin: 0;
}

.cert-date {
  font-size: 12px;
  color: #888888; /* muted gray date */
  margin: 0 0 8px 0;
}

.cert-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cert-skill-pill {
  background-color: #F5EDE3;
  color: #C8856A; /* terracotta text on cream bg */
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid #E8D5C4;
}

.cert-cred-btn {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #C8856A;
  text-decoration: none;
  border: 1px solid #E8D5C4;
  border-radius: 20px;
  padding: 6px 14px;
  width: fit-content;
  transition: var(--transition-smooth);
}

.cert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.cert-cred-btn:hover {
  background-color: #C8856A;
  color: #FFFFFF;
  border-color: #C8856A;
}



/* Education Section Styles */
.edu-section {
  min-height: 100vh;
  width: 100%;
  padding: 80px; 
  background-color: #FDF8F4;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.edu-content-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.edu-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.edu-eyebrow {
  color: #C8856A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.edu-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: -1px;
  margin: 0;
}

.edu-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 36px 40px;
  border: 1px solid #E8D5C4;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: relative;
}

.edu-card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.edu-title-wrapper {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.edu-title-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: #C8856A; 
  border-radius: 2px;
}

.edu-degree {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
}

.edu-college {
  font-size: 14px;
  font-weight: 600;
  color: #C8856A;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
}

.edu-desc {
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
  margin: 8px 0 12px 0;
  max-width: 800px;
}

.edu-pills {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.edu-pill {
  background-color: #F8F3ED; 
  color: #1A1A1A;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #E8D5C4;
}

@media (max-width: 991px) {
  .edu-section {
    padding: 60px 24px;
  }
}

@media (max-width: 768px) {
  .edu-card {
    padding: 24px 20px;
  }
  .edu-degree {
    font-size: 20px;
  }
}

/* Certifications Section Styles */
.certs-section {
  min-height: 100vh;
  width: 100%;
  padding: 120px 80px 80px 80px;
  background-color: #FDF8F4;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.certs-content-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.certs-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.certs-eyebrow {
  color: #C8856A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.certs-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: -1px;
  margin: 0;
}

.certs-subtitle {
  font-size: 15px;
  color: #555555;
  margin: 0;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3-column grid */
  gap: 20px;
  width: 100%;
}

.cert-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition-smooth);
  border-left: 3px solid transparent;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-left-color: #C8856A;
  box-shadow: 0 12px 30px rgba(200, 133, 106, 0.08);
}

.cert-image-wrap {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #F8F3ED;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-card:hover .cert-image {
  transform: scale(1.04);
}

.cert-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.cert-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
  line-height: 1.3;
}

.cert-issuer {
  font-size: 13px;
  font-weight: 600;
  color: #C8856A; /* terracotta issuer name */
  margin: 0;
}

.cert-date {
  font-size: 12px;
  color: #888888; /* muted gray date */
  margin: 0 0 8px 0;
}

.cert-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cert-skill-pill {
  background-color: #F5EDE3;
  color: #C8856A; /* terracotta text on cream bg */
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid #E8D5C4;
}

.cert-cred-btn {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #C8856A;
  text-decoration: none;
  border: 1px solid #E8D5C4;
  border-radius: 20px;
  padding: 6px 14px;
  width: fit-content;
  transition: var(--transition-smooth);
}

.cert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.cert-cred-btn:hover {
  background-color: #C8856A;
  color: #FFFFFF;
  border-color: #C8856A;
}

/* Certifications Media Queries */
@media (max-width: 1024px) {
  .certs-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    gap: 16px;
  }
}

@media (max-width: 991px) {
  .certs-section {
    padding: 100px 24px 60px 24px;
    height: auto;
    min-height: auto;
  }

  .certs-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 14px;
  }

  .project-image-wrap {
    height: 150px;
  }
}

/* Contact Section Styles */
.contact-section {
  min-height: 100vh;
  width: 100%;
  padding: 80px;
  background-color: #FDF8F4;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.contact-content-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.contact-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.contact-eyebrow {
  color: #C8856A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: -1px;
  margin: 0;
}

.contact-subtitle {
  font-size: 16px;
  color: #555555;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid #E8D5C4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(200, 133, 106, 0.12);
  border-color: #C8856A;
}

.contact-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #F8F3ED;
  color: #C8856A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.contact-card:hover .contact-icon-wrap {
  background-color: #C8856A;
  color: #FFFFFF;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-method {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
}

.contact-value {
  font-size: 14px;
  font-weight: 500;
  color: #888888;
  margin: 0;
  transition: var(--transition-smooth);
}

.contact-card:hover .contact-value {
  color: #C8856A;
}

@media (max-width: 991px) {
  .contact-section {
    padding: 100px 24px 60px 24px;
    height: auto;
    min-height: auto;
  }
  .contact-links {
    grid-template-columns: 1fr;
  }
}