/* ============================================
   NEW PORTFOLIO DESIGN - MODERN & CLEAN
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES FOR NEW THEME - FLAT & MODERN
   ============================================ */
:root {
  --primary-color: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --secondary-color: #8b5cf6;
  --secondary-dark: #7c3aed;
  --secondary-light: #a78bfa;
  --accent-color: #06b6d4;
  
  /* Neutral Colors - Flat Design */
  --dark-bg: #0f172a;
  --darker-bg: #020617;
  --light-bg: #f8fafc;
  --surface-color: #ffffff;
  --surface-hover: #f1f5f9;
  --border-color: #e2e8f0;
  
  /* Text Colors - High Contrast */
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  
  /* White & Black */
  --white: #ffffff;
  --black: #000000;
  
  /* Flat Design Elements */
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.12);
  --button-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --button-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   MODERN FLAT DARK MODE - ENHANCED READABILITY
   ============================================ */
[data-theme="dark"] {
  /* Primary Colors - Vibrant but not too bright */
  --primary-color: #60a5fa;
  --primary-dark: #3b82f6;
  --primary-light: #93c5fd;
  --secondary-color: #a78bfa;
  --secondary-dark: #8b5cf6;
  --secondary-light: #c4b5fd;
  --accent-color: #22d3ee;
  
  /* Background Hierarchy - Flat Dark Surfaces */
  --dark-bg: #0f172a;
  --darker-bg: #020617;
  --light-bg: #1e293b;
  --surface-color: #1e293b;
  --surface-hover: #334155;
  --border-color: #334155;
  --white: #1e293b;
  
  /* Text Colors - Light text on dark backgrounds */
  --text-dark: #f1f5f9;
  --text-medium: #cbd5e1;
  --text-light: #94a3b8;
  --text-lighter: #64748b;
  
  /* Flat Design Elements for Dark Mode */
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  --card-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.3);
  --button-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  --button-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ============================================
   TOP NAVIGATION - FLAT DESIGN
   ============================================ */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--surface-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

[data-theme="dark"] .top-nav {
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

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

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* ============================================
   HERO SECTION - FLAT DESIGN
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
  padding: 100px 20px 50px;
}

[data-theme="dark"] .hero-section {
  background: var(--dark-bg);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

.hero-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  margin: 0 auto 2rem;
  display: block;
  animation: float 3s ease-in-out infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

[data-theme="dark"] .hero-title {
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

[data-theme="dark"] .hero-description {
  color: var(--text-medium);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  box-shadow: var(--button-shadow);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--button-shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* ============================================
   SECTION STYLES - FLAT
   ============================================ */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-medium);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

[data-theme="dark"] .section-subtitle {
  color: var(--text-medium);
}

/* ============================================
   ABOUT SECTION - FLAT
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-medium);
}



[data-theme="dark"] .about-text {
  color: var(--text-medium);
}

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

.highlight-card {
  background: var(--surface-color);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

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

.highlight-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.highlight-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.highlight-label {
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* ============================================
   TIMELINE (EXPERIENCE) - FLAT DESIGN
   ============================================ */
.timeline {
  position: relative;
  padding: 2rem 0;
}

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

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--card-shadow);
}

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

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 4px solid var(--surface-color);
  z-index: 1;
}

.timeline-date {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.timeline-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.timeline-company {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.timeline-description {
  color: var(--text-medium);
  line-height: 1.6;
}

.timeline-description ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.timeline-description li {
  margin-bottom: 0.5rem;
  color: var(--text-medium);
}

/* ============================================
   SKILLS - FLAT DESIGN
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.skill-category-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

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

.skill-category-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-category-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-weight: 500;
  color: var(--text-dark);
}

.skill-level {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--primary-color);
  border-radius: 4px;
  transition: width 1s ease;
  animation: progressAnimation 1.5s ease-in-out;
}

/* ============================================
   PROJECTS GRID - FLAT
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.project-description {
  color: var(--text-medium);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tag {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

/* ============================================
   PHOTOGRAPHY SECTION - MODERN REDESIGN
   ============================================ */
.photography-section {
  background: var(--surface-color);
  padding: 60px 20px;
  border-radius: 16px;
  margin: 2rem 0;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.photography-gallery {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 20px;
  background: var(--surface-color);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.view-toggle {
  display: flex;
  gap: 10px;
  background: var(--light-bg);
  padding: 8px;
  border-radius: 10px;
}

.view-btn {
  background: transparent;
  border: 2px solid transparent;
  color: var(--text-medium);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.view-btn i {
  font-size: 1rem;
}

.view-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.view-btn:hover:not(.active) {
  background: var(--surface-hover);
  color: var(--text-dark);
  border-color: var(--border-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  aspect-ratio: 4/3;
  background: var(--light-bg);
  border: 2px solid var(--border-color);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

[data-theme="dark"] .gallery-item:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-caption {
  color: white;
  font-weight: 500;
  font-size: 1rem;
  display: block;
}

.load-more-container {
  text-align: center;
  margin-top: 2rem;
}

/* ============================================
   LIGHTBOX MODAL - SIMPLE & PERFECTLY CENTERED
   ============================================ */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-container {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-container img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: -10px;
  color: white;
  font-size: 36px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close:hover {
  background: var(--primary-color);
  transform: scale(1.1);
  border-color: transparent;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 100000;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary-color);
  transform: scale(1.1);
  border-color: transparent;
}

.lightbox-caption {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 50px;
  max-width: 80%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-index {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   YOUTUBE VIDEO SECTION - FLAT
   ============================================ */
.video-section-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.video-card {
  background: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  overflow: hidden;
}

.video-thumbnail-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-content {
  padding: 1.5rem 2rem 2rem;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-color);
  color: white;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.video-badge i {
  font-size: 0.85rem;
}

.video-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.video-description {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.video-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-medium);
  font-size: 0.85rem;
}

.video-meta-item i {
  color: var(--primary-color);
}

/* ============================================
   EDUCATION SECTION - ENHANCED DESIGN
   ============================================ */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.education-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--border-color);
  box-shadow: var(--card-shadow);
  position: relative;
}

.education-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary-color);
}

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

.education-card-secondary:hover {
  border-color: var(--secondary-color);
}

.education-card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 25px 30px;
  position: relative;
  overflow: hidden;
}

.education-card-secondary .education-card-header {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
}

.education-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.education-badge i {
  font-size: 1rem;
}

.education-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.education-link {
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.university-name {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.link-icon {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.education-link:hover .link-icon {
  transform: translateX(5px);
}

.education-card-body {
  padding: 30px;
}

.education-meta {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.education-location,
.education-years {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
  font-size: 0.95rem;
  font-weight: 500;
}

.education-location i,
.education-years i {
  color: var(--primary-color);
}

.education-card-secondary .education-location i,
.education-card-secondary .education-years i {
  color: var(--secondary-color);
}

.education-degree {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.6;
  padding-left: 5px;
  border-left: 3px solid var(--primary-color);
}

.education-card-secondary .education-degree {
  border-left-color: var(--secondary-color);
}

.education-gpa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--light-bg);
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
}

.gpa-label {
  color: var(--text-medium);
  font-weight: 500;
}

.gpa-value {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
}

.education-card-secondary .gpa-value {
  color: var(--secondary-color);
}

.education-thesis {
  background: var(--light-bg);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
}

.thesis-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.thesis-title i {
  color: var(--primary-color);
}

.education-card-secondary .thesis-title i {
  color: var(--secondary-color);
}

.thesis-topic {
  color: var(--text-medium);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

.coursework-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.coursework-title i {
  color: var(--primary-color);
}

.education-card-secondary .coursework-title i {
  color: var(--secondary-color);
}

.coursework-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coursework-tag {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.education-card-secondary .coursework-tag {
  background: rgba(139, 92, 246, 0.1);
  color: var(--secondary-color);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* ============================================
   ENHANCED LIST SECTIONS DESIGN
   ============================================ */
.enhanced-list-section {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 40px;
  margin: 2rem 0;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.list-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  gap: 15px;
}

.list-section-title i {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.enhanced-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.list-item-card {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

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

.list-item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.list-item-card:hover::before {
  opacity: 1;
}

.list-item-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.list-item-content {
  flex: 1;
}

.list-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.list-item-description {
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0;
}

.list-item-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 0.85rem;
}

.meta-item i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* ============================================
   CERTIFICATES SECTION
   ============================================ */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.certificate-item {
  background: var(--surface-color);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: var(--card-shadow);
}

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

.certificate-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.certificate-item a:hover {
  color: var(--primary-dark);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  margin: 2rem 0 1.5rem;
  font-weight: 600;
  font-size: 1.3rem;
  text-align: center;
  border: none;
}

/* ============================================
   CONTACT SECTION - FLAT
   ============================================ */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary-color);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
}

.contact-details p {
  color: var(--text-medium);
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ============================================
   FOOTER - FLAT
   ============================================ */
.footer {
  background: var(--surface-color);
  color: var(--text-medium);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer p {
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--text-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-color);
}

/* ============================================
   THEME TOGGLE - FLAT
   ============================================ */
.theme-toggle-new {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--button-shadow);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle-new:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
  box-shadow: var(--button-shadow-hover);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes progressAnimation {
  from {
    width: 0;
  }
}

/* ============================================
   RESPONSIVE DESIGN - ENHANCED
   ============================================ */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--surface-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    gap: 1.5rem;
  }

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

  .mobile-menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 60px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-marker {
    left: 30px;
  }

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

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

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

  .video-section-container {
    grid-template-columns: 1fr;
  }

  /* Photography Gallery Mobile */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .gallery-controls {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .view-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .view-btn {
    flex: 1;
    text-align: center;
  }

  /* Lightbox Mobile */
  .lightbox-nav {
    padding: 0 10px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lightbox-close {
    top: -45px;
    right: 0;
  }
  
  .education-grid {
    grid-template-columns: 1fr;
  }
  
  .enhanced-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 15px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-image {
    width: 150px;
    height: 150px;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .theme-toggle-new {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  /* Photography Mobile */
  .photography-section {
    padding: 40px 15px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

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

  .video-section-container {
    grid-template-columns: 1fr;
  }

  .video-card {
    margin-bottom: 1.5rem;
  }
  
  .enhanced-list-section {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .btn {
    width: 100%;
    max-width: 250px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .nav-container {
    padding: 1rem;
  }

  .nav-logo {
    font-size: 1.3rem;
  }

  /* Photography Extra Small */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-controls {
    padding: 10px;
  }

  .view-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  /* Education Cards */
  .education-card {
    padding: 1.5rem;
  }

  .education-degree {
    font-size: 1rem;
  }

  /* Contact Section */
  .contact-item {
    padding: 1rem;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .contact-details h3 {
    font-size: 1rem;
  }

  .contact-details p {
    font-size: 0.9rem;
  }

  /* Timeline Mobile */
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 40px;
  }

  .timeline-marker {
    left: 20px;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .timeline-title {
    font-size: 1.2rem;
  }

  /* Footer */
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-image {
    width: 130px;
    height: 130px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .gallery-grid {
    gap: 0.8rem;
  }

  .view-btn {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}