/* Design System & Tokens */
:root {
  /* Colors */
  --bg-primary: #080a0f;
  --bg-secondary: #0e121a;
  --card-bg: rgba(18, 24, 38, 0.45);
  --card-border: rgba(255, 255, 255, 0.06);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --primary-glow: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --accent-color: #00f2fe;
  --accent-secondary: #4facfe;
  --success: #10b981;
  --error: #ef4444;
  
  /* Layout & Sizes */
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Light Theme Overrides */
.light-theme {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(15, 23, 42, 0.06);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent-color: #0284c7;
  --accent-secondary: #0369a1;
  --primary-glow: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--nav-height);
  overflow: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Glow Background Orbs */
.glow-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(120px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
  transition: var(--transition);
}

.orb-1 {
  top: 10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--primary-glow);
}

.orb-2 {
  top: 40%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, #7c3aed 0%, #3b82f6 100%);
  opacity: 0.1;
}

.orb-3 {
  bottom: 10%;
  left: 20%;
  width: 35vw;
  height: 35vw;
  background: var(--primary-glow);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--primary-glow);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.4);
  opacity: 0.95;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Typography Helpers */
.gradient-text {
  background: var(--primary-glow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-color);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(8, 10, 15, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  z-index: 1000;
  transition: var(--transition);
}

.light-theme .navbar {
  background: rgba(248, 250, 252, 0.7);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.logo-accent {
  background: var(--primary-glow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-glow);
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
}

.sun-icon { display: none; }
.moon-icon { display: block; }

.light-theme .sun-icon { display: block; }
.light-theme .moon-icon { display: none; }

.menu-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

/* Sections General */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero-section {
  padding-top: calc(var(--nav-height) + 60px);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: var(--radius-full);
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

/* Metrics stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--primary-glow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.profile-image-container {
  position: relative;
  width: 320px;
  height: 320px;
}

.profile-image-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: var(--primary-glow);
  border-radius: var(--radius-full);
  filter: blur(15px);
  opacity: 0.3;
  z-index: 1;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
  border: 4px solid var(--bg-primary);
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.floating-card {
  position: absolute;
  z-index: 3;
  background: rgba(18, 24, 38, 0.8);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  animation: float 4s ease-in-out infinite;
}

.light-theme .floating-card {
  background: rgba(255, 255, 255, 0.95);
}

.location-card {
  top: 15%;
  left: -20%;
  animation-delay: 0s;
}

.role-card {
  bottom: 15%;
  right: -15%;
  animation-delay: 2s;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.bounce-animation {
  animation: bounce 2s infinite;
  color: var(--text-secondary);
  cursor: pointer;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.about-card {
  padding: 32px;
  text-align: center;
}

.card-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--accent-color);
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.about-details-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding: 48px;
}

.about-details-container:hover {
  transform: none;
}

.details-text h3, .details-languages h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.details-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.language-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lang-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.lang-name {
  font-weight: 600;
}

.lang-level {
  color: var(--text-secondary);
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.light-theme .progress-bar-container {
  background: rgba(0, 0, 0, 0.05);
}

.progress-bar {
  height: 100%;
  background: var(--primary-glow);
  border-radius: var(--radius-full);
}

/* Experience / Timeline Section */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 2px;
  background: var(--card-border);
}

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

.timeline-dot {
  position: absolute;
  left: 23px;
  top: 24px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 4px solid var(--accent-color);
  z-index: 2;
  box-shadow: 0 0 10px var(--accent-color);
  transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-color);
}

.timeline-date {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 8px;
  font-size: 1rem;
}

.timeline-content {
  padding: 32px;
}

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.role-title {
  font-size: 1.35rem;
}

.company-name {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.job-badge {
  padding: 4px 12px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
}

.role-description {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.role-bullets {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.role-bullets li {
  margin-bottom: 8px;
}

/* Skills Section */
.skills-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.skills-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.skills-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.skills-tab:hover, .skills-tab.active {
  background: var(--primary-glow);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.15);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.skill-pill-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
}

.skill-pill-card i {
  color: var(--accent-color);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.skill-pill-card span {
  font-size: 0.95rem;
  font-weight: 500;
}

.skill-pill-card.hidden {
  display: none;
}

/* Education Section */
.education-grid {
  max-width: 800px;
  margin: 0 auto;
}

.education-card {
  display: flex;
  gap: 28px;
  padding: 40px;
}

.edu-icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(0, 242, 254, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.edu-icon-wrapper i {
  width: 32px;
  height: 32px;
}

.edu-details .edu-date {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-color);
  font-size: 0.95rem;
}

.edu-details h3 {
  font-size: 1.4rem;
  margin: 4px 0 8px 0;
}

.edu-inst {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.edu-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  padding: 40px;
}

.contact-info-card:hover {
  transform: none;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.contact-info-card p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.contact-method-item:hover .icon-box {
  background: var(--primary-glow);
  color: #ffffff;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
  transition: var(--transition);
}

.light-theme .icon-box {
  background: rgba(0, 0, 0, 0.02);
}

.contact-method-item .label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-method-item .value {
  font-size: 0.95rem;
  font-weight: 500;
  word-break: break-all;
}

/* Form Styling */
.contact-form {
  padding: 40px;
}

.contact-form:hover {
  transform: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.light-theme .form-group input, .light-theme .form-group textarea {
  background: rgba(0, 0, 0, 0.01);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.btn-submit {
  width: 100%;
}

.form-feedback {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.form-feedback.hidden {
  display: none;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--error);
}

/* Footer */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 40px 0;
  background: var(--bg-secondary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Keyframe Animations */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-badge {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-details-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--bg-primary);
    flex-direction: column;
    padding: 48px 24px;
    gap: 28px;
    transition: var(--transition);
    border-top: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .menu-hamburger {
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-container::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 50px;
  }
  
  .timeline-dot {
    left: 11px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .education-card {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .profile-image-container {
    width: 250px;
    height: 250px;
  }
  
  .location-card {
    left: -10%;
  }
  
  .role-card {
    right: -5%;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* --- Video Modal & Floating Play Button Styles --- */

/* Profile image play button */
.profile-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: rgba(8, 10, 15, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: playPulse 2s infinite;
}

.profile-play-btn i {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  margin-left: 4px; /* offset play icon visually */
}

.profile-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--primary-glow);
  border-color: transparent;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
  animation-play-state: paused;
}

@keyframes playPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(0, 242, 254, 0);
    border-color: var(--accent-color);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0);
    border-color: rgba(255, 255, 255, 0.8);
  }
}

/* Video Modal Overlay */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 8, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
}

.video-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Modal Content Container */
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16/9;
  background: rgba(18, 24, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal-overlay:not(.hidden) .video-modal-content {
  transform: scale(1);
}

/* Video Close Button */
.video-modal-close {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(18, 24, 38, 0.8);
  border: 1px solid var(--card-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 10;
}

.video-modal-close:hover {
  background: var(--error);
  border-color: transparent;
  transform: rotate(90deg) scale(1.1);
}

.video-modal-close i {
  width: 20px;
  height: 20px;
}

/* HTML5 Video Element */
.video-player-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 8px);
  background: #000000;
}

.video-player-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Adjustments for mobile devices */
@media (max-width: 768px) {
  .video-modal-close {
    top: -56px;
    right: 0;
  }
}

/* CV Section Styling */
.cv-section {
  padding: 100px 0;
  position: relative;
}

.cv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
  max-width: 860px;
  margin: 0 auto;
  gap: 16px;
}

.cv-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.cv-icon-wrapper i {
  width: 36px;
  height: 36px;
}

.cv-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.cv-card-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.cv-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 12px;
}

.cv-preview-container {
  width: 100%;
  height: 600px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  background: rgba(8, 10, 15, 0.6);
}

.cv-preview-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .cv-card {
    padding: 28px 16px;
  }
  .cv-preview-container {
    height: 420px;
  }
  .cv-paper-document {
    padding: 20px 16px;
  }
  .cv-paper-name {
    font-size: 1.75rem;
  }
}

/* Formatted CV Document Styling */
.cv-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cv-title-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
}

.cv-paper-document {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  margin-top: 16px;
  margin-bottom: 24px;
}

.cv-paper-header {
  border-bottom: 2px solid var(--card-border);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.cv-paper-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cv-paper-contact {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.cv-paper-contact a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.cv-paper-contact a:hover {
  color: var(--accent-color);
}

.cv-paper-contact .sep {
  opacity: 0.5;
}

.cv-paper-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cv-badge {
  display: inline-block;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: lowercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.cv-badge.role-badge {
  background: rgba(79, 172, 254, 0.1);
  border-color: rgba(79, 172, 254, 0.3);
  color: #4facfe;
  text-transform: none;
}

.cv-paper-section {
  margin-bottom: 28px;
}

.cv-paper-section:last-child {
  margin-bottom: 0;
}

.cv-paper-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-color);
  background: rgba(0, 242, 254, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: inline-block;
}

.cv-paper-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-primary);
}

.cv-paper-job {
  margin-bottom: 20px;
}

.cv-paper-job:last-child {
  margin-bottom: 0;
}

.cv-job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.cv-job-title-group {
  font-size: 1.05rem;
}

.cv-company {
  font-weight: 700;
  color: var(--text-primary);
}

.cv-dash {
  margin: 0 4px;
  color: var(--text-secondary);
}

.cv-job-role {
  font-weight: 600;
  color: var(--accent-color);
}

.cv-job-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  gap: 12px;
}

.cv-job-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.cv-job-list li {
  line-height: 1.5;
}

.cv-paper-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cv-lang-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-primary);
}

@media print {
  body * {
    visibility: hidden;
  }
  .cv-paper-document, .cv-paper-document * {
    visibility: visible;
  }
  .cv-paper-document {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    color: #000 !important;
    background: #fff !important;
  }
}



