/* Modern Design System for Portfolio Website */

/* Google Fonts Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* CSS Variables & Theme Definitions */
:root {
  /* Common variables */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --max-width: 1200px;
  --header-height: 80px;

  /* Theme: Dark (Default & Luxury) */
  --bg-primary: #090909;
  --bg-secondary: #111111;
  --bg-tertiary: #181818;
  --bg-glass: rgba(17, 17, 17, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  --text-primary: #ffffff;
  --text-secondary: #A9A9A9;
  --text-muted: #6b7280;
  
  --accent-primary: #D4AF37; /* Luxury Gold */
  --accent-primary-rgb: 212, 175, 55;
  --accent-secondary: #4F8DFD; /* Electric Blue */
  --accent-secondary-rgb: 79, 141, 253;
  --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.15);
}

[data-theme="light"] {
  /* Theme: Light Luxe */
  --bg-primary: #fdfdfd;
  --bg-secondary: #f6f6f6;
  --bg-tertiary: #ededed;
  --bg-glass: rgba(253, 253, 253, 0.85);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  
  --text-primary: #121212;
  --text-secondary: #4a4a4a;
  --text-muted: #888888;
  
  --accent-primary: #b5942d; /* Warm gold for light mode */
  --accent-primary-rgb: 181, 148, 45;
  --accent-secondary: #2b6ad4; /* Slightly deeper blue */
  --accent-secondary-rgb: 43, 106, 212;
  --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(181, 148, 45, 0.1);
}

/* Global Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Typography & Global Components */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

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

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-primary);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.section:hover .section-title::after {
  width: 100%;
}

/* Decorative Background Elements */
.bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 20s infinite alternate;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--accent-primary);
  top: 10%;
  left: 10%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  bottom: 20%;
  right: 10%;
  animation-delay: -5s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition-normal);
  font-family: var(--font-display);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  background-color: var(--bg-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  background-color: var(--bg-tertiary);
  transform: translateY(-2px);
}

/* Header & Floating Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 100;
  transition: background-color var(--transition-normal), border-bottom var(--transition-normal), height var(--transition-normal);
}

.header.scrolled {
  height: 70px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo span {
  font-weight: 400;
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
}

.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(--accent-gradient);
  transition: width var(--transition-normal);
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  background-color: var(--bg-tertiary);
  transform: scale(1.05);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.5s ease;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: none;
}

.theme-toggle-btn:hover svg {
  transform: rotate(45deg);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
}

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

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

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

.hero-typing {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-weight: 500;
  height: 2.7rem;
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--accent-primary);
  margin-left: 5px;
  animation: blink 0.8s infinite;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: var(--accent-gradient);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: morphing 15s infinite ease-in-out;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-img-wrapper:hover .hero-img {
  transform: scale(1.1) rotate(2deg);
}

.hero-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent-primary);
  filter: blur(60px);
  opacity: 0.2;
  z-index: -1;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px 16px;
  border-radius: var(--border-radius-md);
  text-align: center;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.about-skills-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.value-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius-md);
  display: flex;
  gap: 20px;
  transition: all var(--transition-normal);
}

.value-card:hover {
  border-color: var(--accent-secondary);
  background-color: var(--bg-tertiary);
  transform: translateX(5px);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--accent-secondary-rgb), 0.1);
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-card:nth-child(even) .value-icon {
  background: rgba(var(--accent-primary-rgb), 0.1);
  color: var(--accent-primary);
}

.value-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

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

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.skills-category {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 35px;
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.skills-category:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.category-title {
  font-size: 1.4rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-title svg {
  color: var(--accent-primary);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-badge {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.skill-badge:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #ffffff;
  transform: scale(1.05);
}

.skill-badge svg {
  width: 16px;
  height: 16px;
}

/* Projects Section */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-1px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background-color: var(--bg-tertiary);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--accent-primary-rgb), 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  gap: 16px;
}

.project-card:hover .project-img-overlay {
  opacity: 1;
}

.project-overlay-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.project-overlay-link:hover {
  transform: scale(1.1);
  background-color: var(--accent-secondary);
  color: #ffffff;
}

.project-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  background-color: var(--bg-tertiary);
  color: var(--accent-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.1);
}

/* Experience Timeline (One-Sided Premium Editorial) */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-primary) 0%, var(--border-color) 100%);
  top: 8px;
  bottom: 8px;
  left: 20px;
}

.timeline-item {
  padding: 0 0 48px 60px;
  position: relative;
  background-color: inherit;
  width: 100%;
  box-sizing: border-box;
}

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

/* Timeline bullet node */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  left: 15px;
  top: 8px;
  background-color: var(--bg-primary);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  z-index: 2;
  transition: transform var(--transition-normal), background-color var(--transition-normal);
  box-shadow: 0 0 10px rgba(var(--accent-primary-rgb), 0.5);
}

.timeline-item:hover::after {
  transform: scale(1.4);
  background-color: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
}

.timeline-content {
  padding: 28px;
  background-color: var(--bg-secondary);
  position: relative;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.timeline-item:hover .timeline-content {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: inline-block;
  background-color: rgba(212, 175, 55, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.timeline-role {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-company::before {
  content: "•";
  color: var(--accent-secondary);
}

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

/* Timeline bullet points */
.timeline-bullets {
  margin-top: 12px;
  padding-left: 0;
  list-style-type: none;
}

.timeline-bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

.timeline-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  opacity: 0.85;
}


/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

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

.contact-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius-md);
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--accent-primary-rgb), 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

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

.contact-form-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

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

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

.form-input {
  width: 100%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
}

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

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

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

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.toast {
  background-color: var(--bg-secondary);
  border: 1px solid var(--accent-secondary);
  border-left: 4px solid var(--accent-secondary);
  padding: 16px 24px;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
}

.toast-msg {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Keyframe Animations */
@keyframes float {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes morphing {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .about-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: left var(--transition-normal);
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-img-wrapper {
    width: 280px;
    height: 280px;
  }

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

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item.left {
    left: 0;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-item::after {
    left: 23px;
    right: auto;
  }

  .timeline-item.right::after {
    left: 23px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DARK LUXURY ACCENTS & PREMIUM INTERACTIONS
   ========================================================================== */

/* Glow Mask Border Hover Card Style */
.card-glow-hover {
  position: relative;
}

.card-glow-hover::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(212, 175, 55, 0.15), transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card-glow-hover:hover::after {
  opacity: 1;
}

.card-glow-hover:hover {
  border-color: transparent;
}

/* Custom follow-along luxury cursor styling */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-cursor.cursor-hover {
  width: 24px;
  height: 24px;
  background-color: rgba(212, 175, 55, 0.2);
  mix-blend-mode: normal;
}

.custom-cursor-follower.cursor-hover {
  width: 60px;
  height: 60px;
  border-color: var(--accent-primary);
  background-color: rgba(212, 175, 55, 0.03);
}

.custom-cursor.cursor-drag {
  width: 32px;
  height: 32px;
  background-color: var(--accent-secondary);
  mix-blend-mode: normal;
}

.custom-cursor-follower.cursor-drag {
  width: 70px;
  height: 70px;
  border-color: var(--accent-secondary);
}

@media (max-width: 1024px) {
  .custom-cursor, .custom-cursor-follower {
    display: none !important;
  }
}

/* --- Reveal Animation Classes (Intersection Observer driven) --- */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

.reveal-blur {
  opacity: 0;
  filter: blur(15px);
  transform: translateY(10px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), filter 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, opacity, transform;
}

.reveal-blur.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Delay modifiers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Education Styling */
.education-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
}

.education-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

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

.education-date {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.education-degree {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
  color: var(--text-primary);
}

.education-spec {
  font-size: 0.9rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 6px;
}

.education-school {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.language-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.language-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

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

.language-level {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background-color: var(--bg-tertiary);
  padding: 2px 10px;
  border-radius: 50px;
}

/* Icon Highlight Hover States */
.timeline-item:hover .timeline-icon-wrapper {
  background-color: var(--accent-primary) !important;
  color: #000000 !important;
  border-color: var(--accent-primary) !important;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.education-card:hover .education-icon-wrapper {
  background-color: var(--accent-secondary) !important;
  color: #ffffff !important;
  border-color: var(--accent-secondary) !important;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(79, 141, 253, 0.4);
}

/* ==========================================================================
   INFINITE SLIDING MARQUEE TICKER
   ========================================================================== */
.skills-marquee-container {
  overflow: hidden;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  width: 100%;
  display: flex;
  position: relative;
  z-index: 10;
}

.skills-marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: scrollMarqueeLeft 30s linear infinite;
  width: max-content;
}

.skills-marquee-item {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  opacity: 0.85;
}

.skills-marquee-divider {
  color: var(--accent-primary);
  font-size: 1.1rem;
  opacity: 0.7;
}

/* Keyframes for sliding LEFT */
@keyframes scrollMarqueeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.33%);
  }
}




