/* 
   Zeynep Tatar - Portfolio Design System
   Theme: Modern Premium Light Theme
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&family=Outfit:wght@100..900&display=swap');

:root {
  /* Color Palette */
  --bg: #f8fafc; /* Slate 50 */
  --bg-surface: #ffffff;
  --bg-surface-trans: rgba(255, 255, 255, 0.75);
  --border: #e2e8f0; /* Slate 200 */
  --border-focus: #cbd5e1; /* Slate 300 */
  
  --text-primary: #0f172a; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #64748b; /* Slate 500 */
  --text-light: #94a3b8; /* Slate 400 */
  
  /* Accent Colors (Vibrant Indigo & Cyan) */
  --primary: #4f46e5; /* Indigo 600 */
  --primary-hover: #4338ca; /* Indigo 700 */
  --primary-light: rgba(79, 70, 229, 0.08);
  --primary-light-hover: rgba(79, 70, 229, 0.15);
  
  --secondary: #0891b2; /* Cyan 600 */
  --secondary-light: rgba(8, 145, 178, 0.08);
  
  --gradient-accent: linear-gradient(135deg, #4f46e5 0%, #0891b2 100%);
  --gradient-bg: radial-gradient(circle at top right, rgba(99, 102, 241, 0.06), transparent 45%),
                 radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.06), transparent 45%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-serif: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Shadows & Radius */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-inset: inset 0 2px 4px 0 rgba(15, 23, 42, 0.03);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Constraints */
  --max-width: 1100px;
  --header-height: 80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  background-color: var(--bg);
  background-image: var(--gradient-bg);
  background-attachment: fixed;
  color: var(--text-secondary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6.5rem 0;
  position: relative;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background-color: var(--bg-surface-trans);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-normal);
}

header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-sm);
}

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

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

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: var(--radius-full);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition-normal);
  border-radius: var(--radius-full);
}

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

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

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101;
  border: none;
  background: none;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--text-primary);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

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

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

.hero-text-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  border: 1px solid rgba(79, 70, 229, 0.15);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-badge span.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  display: inline-block;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--text-primary);
}

.hero-title span.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: -0.5rem;
}

.hero-summary {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
  background: var(--bg-surface);
  border-color: var(--border);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Avatar/Interactive Monogram Area */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.avatar-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  transition: var(--transition-slow);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.avatar-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(79, 70, 229, 0.3), transparent 60%);
  animation: rotateBorder 8s linear infinite;
  z-index: -1;
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.avatar-initials {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.avatar-sub {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--text-light);
  background: #f1f5f9;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.avatar-bg-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.02) 70%, transparent 100%);
  filter: blur(10px);
  z-index: -1;
  animation: float 6s ease-in-out infinite alternate;
}

/* Floating Shapes background */
.floating-circle-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  border-radius: var(--radius-full);
  pointer-events: none;
}

.floating-circle-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 70%);
  bottom: 0;
  left: -10%;
  border-radius: var(--radius-full);
  pointer-events: none;
}

/* Section Common Styling */
.section-header {
  margin-bottom: 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--primary-light);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.5rem;
  position: relative;
}

.section-title span.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
}

/* About / Summary Section */
.about-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.about-info-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-intro {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.detail-value a:hover {
  color: var(--primary);
}

.about-skills-intro-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.highlight-quote {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1.4;
  color: var(--text-primary);
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  font-style: italic;
}

/* Skills Section with Filter */
.skills-filter-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--border-focus);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

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

.skill-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

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

.skill-card.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.9);
}

.skill-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition-normal);
}

.skill-card:hover .skill-icon {
  background: var(--primary);
  color: #ffffff;
}

.skill-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.skill-level {
  font-size: 0.75rem;
  background: #f1f5f9;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 4rem;
}

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

.timeline-dot {
  position: absolute;
  left: -5px;
  top: 6px;
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg);
  transition: var(--transition-normal);
  z-index: 2;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.4);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.timeline-content {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
}

.timeline-content:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.timeline-title-area {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.job-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.company-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-date {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.timeline-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.timeline-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-body li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.timeline-body li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Projects Section (Interactive Cards) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.project-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-focus);
}

.project-visual {
  height: 200px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(8, 145, 178, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.project-visual::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 80%);
}

.project-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
  border: 1px solid var(--border);
  z-index: 2;
  transition: var(--transition-normal);
}

.project-card:hover .project-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-accent);
  color: #ffffff;
  border-color: transparent;
}

.project-details-container {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.project-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tech-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(79, 70, 229, 0.08);
}

.project-card:hover .project-tech-badge {
  background: var(--primary-light-hover);
}

.project-action-row {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-expander-btn {
  background: none;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.project-expander-btn:hover {
  color: var(--primary-hover);
  transform: translateX(3px);
}

.project-expanded-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f8fafc;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  border: 0 solid var(--border);
}

.project-expanded-content.show {
  max-height: 600px;
  border-width: 1px;
  padding: 1.5rem;
}

.expanded-section-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.expanded-section-title span.dot {
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  border-radius: var(--radius-full);
}

.project-expanded-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.project-expanded-content li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.5;
}

.project-expanded-content li::before {
  content: "•";
  color: var(--secondary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

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

.education-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 3rem;
  transition: var(--transition-normal);
}

.education-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.edu-icon-container {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
  flex-shrink: 0;
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.edu-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.edu-school {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}

.edu-degree {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.edu-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.edu-tag {
  background: var(--secondary-light);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.edu-date {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Contact Details */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}

.contact-intro-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.contact-links-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1.25rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition-normal);
  width: 100%;
}

.contact-link-item:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-link-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary);
  transition: var(--transition-normal);
}

.contact-link-item:hover .contact-link-icon {
  background: var(--primary);
  color: #ffffff;
  border-color: transparent;
}

.contact-link-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.contact-link-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-link-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}

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

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-social-icon {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-social-icon:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Scroll Animation Support */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Animations */
@keyframes rotateBorder {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(79, 70, 229, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px) scale(1);
  }
  100% {
    transform: translateY(-15px) scale(1.05);
  }
}

/* Responsive Media Queries */
@media (max-width: 968px) {
  section {
    padding: 5rem 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-text-container {
    align-items: center;
  }
  
  .hero-badge {
    align-self: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .about-card {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem;
  }
  
  .about-skills-intro-col {
    order: -1;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .education-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Navigation Mobile */
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: var(--bg-surface);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: var(--shadow-xl);
    border-left: 1px solid var(--border);
    transition: var(--transition-normal);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .about-details {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .timeline-content {
    padding: 1.75rem;
  }
  
  .timeline-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .timeline-date {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .avatar-wrapper {
    width: 260px;
    height: 260px;
  }
  
  .avatar-initials {
    font-size: 4.5rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
}
