/* Modern Design System - Google Material Inspired */

/* Hide scrollbar but keep scrolling functionality */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

html::-webkit-scrollbar {
  display: none; /* WebKit browsers (Chrome, Safari, Edge) */
}

body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

body::-webkit-scrollbar {
  display: none; /* WebKit browsers (Chrome, Safari, Edge) */
}

:root {
  /* Primary Colors */
  --primary-50: #e3f2fd;
  --primary-100: #bbdefb;
  --primary-200: #90caf9;
  --primary-300: #64b5f6;
  --primary-400: #42a5f5;
  --primary-500: #2196f3;
  --primary-600: #1e88e5;
  --primary-700: #1976d2;
  --primary-800: #1565c0;
  --primary-900: #0d47a1;
  
  /* Secondary Colors */
  --secondary-50: #f3e5f5;
  --secondary-100: #e1bee7;
  --secondary-200: #ce93d8;
  --secondary-300: #ba68c8;
  --secondary-400: #ab47bc;
  --secondary-500: #9c27b0;
  --secondary-600: #8e24aa;
  --secondary-700: #7b1fa2;
  --secondary-800: #6a1b9a;
  --secondary-900: #4a148c;
  
  /* Neutral Colors */
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #eeeeee;
  --neutral-300: #e0e0e0;
  --neutral-400: #bdbdbd;
  --neutral-500: #9e9e9e;
  --neutral-600: #757575;
  --neutral-700: #616161;
  --neutral-800: #424242;
  --neutral-900: #212121;
  
  /* Accent Colors */
  --accent-green: #34a853;
  --accent-orange: #ff9800;
  --accent-red: #ea4335;
  --accent-purple: #9c27b0;
  --accent-teal: var(--primary-500);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-500), var(--secondary-700));
  --gradient-hero: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
  --gradient-card: linear-gradient(145deg, #ffffff, #f8f9fa);
  --gradient-dark: linear-gradient(135deg, #2c3e50, #34495e);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px rgba(0,0,0,0.15);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Typography */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-mono: 'Fira Code', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

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

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-800);
  background: var(--neutral-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Modern Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--neutral-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

/* Modern Section Blocks */
.section-block {
  padding: var(--space-3xl) var(--space-2xl);
  background: white;
  border-radius: var(--radius-2xl);
  margin: var(--space-3xl) 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.section-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.section-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

a,
a:hover {
  color: white;
  text-decoration: none;
}

.menu,
.submenu {
  list-style-type: none;
}
.logo {
  font-size: 20px;
  padding: 7.5px 10px 7.5px 0;
}
.item {
  padding: 10px;
}
.item.button {
  padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after {
  color: #ccc;
}

p {
  text-align: justify;
}

.section-header-block {
  position: relative;
  text-align: center;
  margin-bottom: 4rem;
}

.section-header {
  position: relative;
  font-weight: 500;
}

.section-header-block:after {
  position: absolute;
  content: "";
  bottom: -10px;
  background: var(--primary-600);
  width: 80px;
  height: 4px;
  left: 0;
  right: 0;
  margin: auto;
}

.list-items {
  list-style: none;
  margin-left: 20px;
  font-size: 20px;
}

.list-items li {
  padding: 7px;
  display: flex;
}

.list-items li b {
  color: var(--primary-600);
}

.list-items li:before {
  font-family: "Font Awesome 5 Free";
  content: "\f0a4";
  margin-left: -30px;
  margin-right: 15px;
}

.my-image .img-fluid {
  border-radius: 20px;
}

#experience-section p {
  font-size: 16px;
}

/* Simple Enhanced Footer */
.footer {
  background: var(--gradient-dark);
  color: white;
  margin-top: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-text p {
  margin: 0;
  color: var(--neutral-300);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-text i {
  color: #e74c3c;
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.footer-text strong {
  color: white;
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: white;
  text-decoration: none;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.social-link i {
  font-size: 1.1rem;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  text-align: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-lg);
  }
  
  .footer-text p {
    font-size: 0.9rem;
  }
  
  /* Completely remove all timeline elements on mobile */
  .timeline-marker,
  .marker-dot,
  .marker-line {
    display: none !important;
  }
  
  .timeline-content {
    margin-left: 0 !important;
  }
  
  .timeline {
    padding-left: 0 !important;
  }
  
  .timeline::before {
    display: none !important;
  }
  
  .timeline-item {
    margin-bottom: 20px;
  }
  
  /* Reduce padding for experience section on mobile */
  .experience-card {
    padding: 15px;
  }
  
  .section-block {
    padding: 15px;
    margin: 20px 0;
  }
  
  /* Make experience cards 100% width on mobile */
  .container-fluid {
    padding: 0;
  }
  
  .main-block {
    padding: 0;
  }
  
  .experience-card {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }
}

@media (max-width: 576px) {
  .footer-content {
    padding: var(--space-md) var(--space-lg);
  }
  
  .social-link {
    width: 36px;
    height: 36px;
  }
  
  .social-link i {
    font-size: 1rem;
  }
}

/* Hero Section Enhancements */
.hero-buttons {
  margin-top: 20px;
}

.hero-buttons .btn {
  margin-right: 15px;
  margin-bottom: 10px;
}

.google-ready-badge {
  margin: 20px 0;
  text-align: center;
}

.badge-text {
  background: linear-gradient(45deg, var(--primary-500), var(--accent-green), #ff9800, var(--accent-red));
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Project Cards */
.project-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-600);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.project-card h4 {
  color: var(--primary-600);
  margin-bottom: 10px;
  font-weight: 600;
}

.project-tech {
  color: #6c757d;
  font-style: italic;
  margin-bottom: 15px;
  font-size: 14px;
}

.project-achievements {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.project-achievements li {
  padding: 5px 0;
  position: relative;
  padding-left: 20px;
}

.project-achievements li:before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Skills Section */
.skill-category {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  height: 100%;
}

.skill-category h4 {
  color: var(--primary-600);
  margin-bottom: 15px;
  font-weight: 600;
}

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

.skill-tag {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skill-tag.expert {
  background-color: var(--primary-50);
  color: var(--primary-800);
  border: 1px solid var(--primary-200);
}

.skill-tag.advanced {
  background-color: var(--primary-100);
  color: var(--primary-700);
  border: 1px solid var(--primary-300);
}

.skill-tag.intermediate {
  background-color: var(--accent-orange);
  color: white;
  border: 1px solid var(--accent-orange);
}

/* Experience Section */
.experience-item {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.experience-item:last-child {
  border-bottom: none;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.experience-header h4 {
  color: var(--primary-600);
  margin: 0;
  font-weight: 600;
}

.company-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.company-info a {
  color: var(--primary-600);
  font-weight: 600;
  text-decoration: none;
}

.company-info a:hover {
  text-decoration: underline;
}

.duration {
  color: #6c757d;
  font-size: 14px;
  margin-top: 5px;
}

/* Achievements Section */
.achievement-card {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: white;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
}

.achievement-card:hover {
  transform: translateY(-5px);
}

.achievement-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

.achievement-desc {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
}

/* Profile Links */
.profile-link {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.profile-link:hover {
  background: var(--primary-600);
  color: white;
  transform: translateX(5px);
  text-decoration: none;
}

.profile-link i {
  font-size: 24px;
  margin-right: 15px;
  width: 30px;
  text-align: center;
}

.profile-link a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
}

.contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

.contact-info {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  height: 100%;
}

.contact-info h5 {
  color: var(--primary-600);
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-details p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-details i {
  color: var(--primary-600);
  margin-right: 10px;
  width: 20px;
}

/* Section Subtitle */
.section-subtitle {
  color: #6c757d;
  font-size: 18px;
  margin-top: 10px;
  font-style: italic;
}

/* About Section Enhancements */
.about-image-container {
  position: relative;
  text-align: center;
}

.about-image-container .image-wrapper {
  position: relative;
  display: inline-block;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.about-image-container .image-wrapper:hover {
  transform: scale(1.05);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-container .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(23, 162, 184, 0.9), rgba(0, 123, 255, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
}

.overlay-content i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.overlay-content span {
  font-weight: bold;
  font-size: 1.1rem;
}

.image-badge {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, var(--primary-600), var(--primary-700));
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-content {
  padding-left: 20px;
}

.about-intro h3 {
  color: var(--primary-600);
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.about-intro .lead {
  font-size: 1.2rem;
  color: #495057;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about-highlights {
  margin-bottom: 30px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 15px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.highlight-item:hover {
  background: #e9ecef;
  border-left-color: var(--primary-600);
  transform: translateX(5px);
}

.highlight-icon {
  background: linear-gradient(45deg, var(--primary-600), var(--primary-700));
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.highlight-content h5 {
  color: var(--primary-600);
  margin-bottom: 8px;
  font-weight: 600;
}

.highlight-content p {
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: white;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Experience Section Timeline */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-600), var(--primary-700));
}

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

.timeline-marker {
  position: absolute;
  left: -37px;
  top: 20px;
}

.marker-dot {
  width: 20px;
  height: 20px;
  background: var(--primary-600);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--primary-600);
  position: relative;
  z-index: 2;
}

.marker-line {
  position: absolute;
  top: 20px;
  left: 9px;
  width: 2px;
  height: calc(100% + 20px);
  background: #e9ecef;
}

.timeline-item:last-child .marker-line {
  display: none;
}

.timeline-content {
  margin-left: 20px;
}

.experience-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-600), var(--primary-700));
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

.role-info h4 {
  color: var(--primary-600);
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.company-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c757d;
  font-weight: 500;
}

.company-badge i {
  color: var(--primary-600);
}

.company-badge a {
  color: var(--primary-600);
  text-decoration: none;
  font-weight: 600;
}

.company-badge a:hover {
  text-decoration: underline;
}

.duration-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  padding: 8px 15px;
  border-radius: 20px;
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
}

.duration-badge i {
  color: var(--primary-600);
}

.experience-summary {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  border-left: 4px solid var(--primary-600);
}

.experience-summary p {
  margin: 0;
  color: #495057;
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.achievement-card-small {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.achievement-card-small:hover {
  border-color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.achievement-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--primary-600), var(--primary-700));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.achievement-text {
  display: flex;
  flex-direction: column;
}

.achievement-text strong {
  color: var(--primary-600);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.achievement-text span {
  color: #6c757d;
  font-size: 0.8rem;
}

.key-responsibilities h6 {
  color: var(--primary-600);
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.1rem;
}

.responsibility-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.responsibility-list li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
  color: #495057;
  line-height: 1.5;
  border-bottom: 1px solid #f8f9fa;
}

.responsibility-list li:last-child {
  border-bottom: none;
}

.responsibility-list li:before {
  content: "▶";
  color: var(--primary-600);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 0.8rem;
}

/* Education Section */
.education-item {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-600);
  height: 100%;
}

.education-item h4 {
  color: var(--primary-600);
  margin-bottom: 10px;
  font-weight: 600;
}

.institution {
  color: #6c757d;
  font-weight: 500;
  margin-bottom: 5px;
}

.duration {
  color: var(--primary-600);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}

.description {
  color: #495057;
  line-height: 1.6;
  margin-bottom: 0;
}

.certification-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.certification-list li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
  border-bottom: 1px solid #e9ecef;
}

.certification-list li:last-child {
  border-bottom: none;
}

.certification-list li:before {
  content: "🎓";
  position: absolute;
  left: 0;
  top: 8px;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-logo {
  margin-bottom: 30px;
}

.logo-animation {
  font-size: 4rem;
  font-weight: bold;
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress {
  height: 100%;
  background: white;
  border-radius: 2px;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes loading {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(23, 162, 184, 0.2);
  z-index: 1000;
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-600), var(--primary-700));
  width: 0%;
  transition: width 0.1s ease;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--primary-600), var(--primary-700));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #f8f9fa;
  color: var(--primary-600);
  border: 2px solid var(--primary-600);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.dark-mode-toggle:hover {
  background: var(--primary-600);
  color: white;
  transform: scale(1.1);
}

/* Modern Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: var(--space-3xl) 0;
  width: 100%;
  margin: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3xl);
  width: 100%;
}

.hero-text {
  color: white;
  max-width: 600px;
}

.hero-greeting {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.greeting-text {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.hero-profile-mobile {
  display: none;
}

.hero-profile-img-mobile {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  border: 3px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.hero-profile-img-mobile:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.hero-name {
  font-family: var(--font-family-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #ffffff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.2em;
}

.hero-title {
  position: relative;
  margin-bottom: var(--space-xl);
}

.title-text {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.title-highlight {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-600);
  border-radius: var(--radius-full);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.badge-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.badge-item i {
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: white;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: white;
}

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

.hero-image-container {
  position: relative;
  width: 400px;
  height: 400px;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

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

.image-wrapper:hover .hero-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(156, 39, 176, 0.2));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--neutral-800);
  animation: floatCard 4s ease-in-out infinite;
}

.card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.card-2 {
  top: 30%;
  left: -15%;
  animation-delay: 1s;
}

.card-3 {
  bottom: 30%;
  right: -10%;
  animation-delay: 2s;
}

.card-4 {
  bottom: 10%;
  left: -15%;
  animation-delay: 3s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
}

/* Hide scroll indicator on mobile to prevent overlap */
@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }
}

.scroll-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.scroll-arrow {
  font-size: 1.2rem;
}

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

/* Enhanced Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--neutral-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
}

@media (max-width: 992px) {
  .nav-container {
    padding: 0;
  }
}

.nav-logo .logo-link {
  text-decoration: none;
  color: var(--primary-700);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-normal);
  font-family: var(--font-family-heading);
}

.nav-logo .logo-link:hover {
  transform: scale(1.05);
  color: var(--primary-600);
}

.logo-text {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.7rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neutral-600);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: var(--space-sm);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  color: var(--neutral-700);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.1;
  transition: left var(--transition-slow);
}

.nav-link:hover::before {
  left: 0;
}

.nav-link:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-link.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.nav-link i {
  font-size: 0.9rem;
}

.nav-resume-link {
  background: var(--gradient-primary);
  color: white !important;
  border: none;
  box-shadow: var(--shadow-md);
}

.nav-resume-link:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white !important;
}

.nav-resume-link i,
.nav-resume-link span {
  color: white !important;
}

.nav-resume-link:hover i,
.nav-resume-link:hover span {
  color: white !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.bar {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
  display: block;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Dark Mode Styles */
.dark-mode {
  background: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode .section-block {
  background: #2d2d2d;
  border-color: #404040;
  color: #e0e0e0;
}

.dark-mode .navbar {
  background: rgba(26, 26, 26, 0.95);
}

.dark-mode .nav-link {
  color: #e0e0e0;
}

.dark-mode .project-card,
.dark-mode .achievement-card,
.dark-mode .experience-card {
  background: #2d2d2d;
  border-color: #404040;
  color: #e0e0e0;
}

.dark-mode .skill-category,
.dark-mode .about-highlights .highlight-item {
  background: #2d2d2d;
  color: #e0e0e0;
}

.dark-mode .contact-form,
.dark-mode .contact-info {
  background: #2d2d2d;
  color: #e0e0e0;
}

/* Animation Classes */
.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}

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

/* Enhanced Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Improved Focus States */
.nav-link:focus,
.btn:focus,
button:focus {
  outline: 2px solid var(--primary-600);
  outline-offset: 2px;
}

/* Enhanced Card Hover Effects */
.project-card,
.achievement-card,
.experience-card,
.skill-category {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover,
.achievement-card:hover,
.experience-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .nav-container {
    padding: 0 var(--space-lg);
  }
  
  .nav-menu {
    gap: var(--space-xs);
  }
  
  .nav-link {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }
  
  .hero-content {
    gap: var(--space-2xl);
  }
  
  .hero-image-container {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }
  
  .hero-image-container {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  
  .floating-card {
    display: none;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-xl);
    padding: var(--space-xl) 0;
    gap: 0;
    border-top: 1px solid var(--neutral-200);
    height: calc(100vh - 80px);
    overflow-y: auto;
  }

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

  .nav-item {
    margin: var(--space-sm) 0;
  }

  .nav-link {
    padding: var(--space-md) var(--space-xl);
    width: 200px;
    margin: 0 auto;
    justify-content: center;
    color: var(--neutral-700);
  }

  .nav-container {
    justify-content: center;
    position: relative;
  }
  
  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    min-width: 44px;
    min-height: 44px;
    box-shadow: var(--shadow-md);
    padding: 8px;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    margin-left: 0;
  }
  
  .nav-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 var(--space-3xl);
  }
  
  .dark-mode-toggle {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    justify-content: center;
    position: relative;
  }
  
  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    min-width: 44px;
    min-height: 44px;
    box-shadow: var(--shadow-md);
    padding: 8px;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    margin-left: 0;
  }
  
  .nav-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 var(--space-3xl);
  }
  
  .nav-menu {
    order: 3;
  }
  
  .hero-profile-mobile {
    display: block;
  }
  
  .hero-visual {
    display: none;
  }
  
  .about-image-container .image-wrapper {
    width: 200px;
    height: 200px;
  }
  
  .hero-section {
    min-height: 90vh;
    padding: var(--space-2xl) 0;
  }
  
  .hero-content {
    padding: 0 var(--space-xl);
  }
  
  .hero-image-container {
    width: 250px;
    height: 250px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .about-content {
    padding-left: 0;
    margin-top: 30px;
  }
  
  .about-intro h3 {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .about-intro .lead {
    text-align: center;
    font-size: 1.1rem;
  }
  
  .highlight-item {
    flex-direction: column;
    text-align: center;
  }
  
  .highlight-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .stat-item {
    padding: 15px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  /* Timeline styles removed for mobile */
  
  .experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .duration-badge {
    align-self: flex-start;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .achievement-card-small {
    padding: 12px;
  }
  
  .skill-tags {
    justify-content: center;
  }
  
  .achievement-number {
    font-size: 2rem;
  }
  
  .experience-card {
    padding: 20px;
  }
  
  .experience-summary {
    padding: 15px;
  }
  
  .experience-summary p {
    font-size: 1rem;
  }
  
  .nav-container {
    height: 70px;
  }
  
  .nav-menu {
    top: 70px;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .logo-subtitle {
    font-size: 0.6rem;
  }
}

@media (max-width: 576px) {
  .hero-profile-img-mobile {
    width: 45px;
    height: 45px;
  }
  
  .about-image-container .image-wrapper {
    width: 180px;
    height: 180px;
  }
  
  .nav-toggle {
    left: 0;
  }
  
  .container-fluid {
    padding: 0 10px;
  }
  
  .section-block {
    margin: 60px 0;
    padding: 20px 15px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-link {
    width: 180px;
    padding: 12px 15px;
  }
  
  .dark-mode-toggle,
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }
  
  .dark-mode-toggle {
    top: 15px;
  }
}

/* Large Screen Optimizations */
@media (min-width: 1400px) {
  .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .section-block {
    margin: 100px 0;
  }
  
  .about-intro h3 {
    font-size: 2.5rem;
  }
  
  .about-intro .lead {
    font-size: 1.3rem;
  }
}

/* Ultra-wide Screen Support */
@media (min-width: 1920px) {
  .container-fluid {
    max-width: 1600px;
  }
  
  .nav-container {
    max-width: 1600px;
  }
}

