/* Modern Landing Page Styles */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.profile-image-wrapper {
  position: relative;
  flex-shrink: 0;
}

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-primary);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

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

.status-indicator {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 24px;
  height: 24px;
  background-color: #10b981;
  border: 3px solid var(--bg-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.profile-info {
  flex: 1;
}

.name {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.title {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

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

/* Main Content */
.main-content {
  padding: 4rem 0;
}

section {
  margin-bottom: 4rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* About Section */
.about-section {
  max-width: 800px;
  margin: 0 auto;
}

.about-section h2 {
  text-align: center;
}

.about-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  text-align: justify;
}

/* Expertise Section */
.expertise-section {
  background-color: var(--bg-secondary);
  padding: 4rem 2rem;
  border-radius: 1rem;
  margin: 4rem 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.expertise-item {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.expertise-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.expertise-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

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

/* Connect Section */
.connect-section {
  max-width: 800px;
  margin: 0 auto;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.social-link i {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.social-link.linkedin:hover {
  border-color: #0077b5;
  background-color: #0077b5;
  color: white;
}

.social-link.github:hover {
  border-color: #333;
  background-color: #333;
  color: white;
}

.social-link.youtube:hover {
  border-color: #ff0000;
  background-color: #ff0000;
  color: white;
}

.social-link.blog:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: white;
}

.social-link.resume:hover {
  border-color: #059669;
  background-color: #059669;
  color: white;
}

.social-link.email:hover {
  border-color: #dc2626;
  background-color: #dc2626;
  color: white;
}

/* Footer */
.footer {
  background-color: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .profile-image {
    width: 150px;
    height: 150px;
  }
  
  .name {
    font-size: 2.5rem;
  }
  
  .title {
    font-size: 1.125rem;
  }
  
  .main-content {
    padding: 3rem 0;
  }
  
  section {
    margin-bottom: 3rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .about-text {
    font-size: 1rem;
  }
  
  .expertise-section {
    padding: 3rem 1rem;
    margin: 3rem 0;
  }
  
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .social-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .social-link {
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .name {
    font-size: 2rem;
  }
  
  .title {
    font-size: 1rem;
  }
  
  .profile-image {
    width: 120px;
    height: 120px;
  }
  
  .expertise-item {
    padding: 1.5rem;
  }
  
  .expertise-item i {
    font-size: 2rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.social-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Animation for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-header,
.about-section,
.expertise-section,
.connect-section {
  animation: fadeInUp 0.6s ease-out;
}

.expertise-item {
  animation: fadeInUp 0.6s ease-out;
}

.expertise-item:nth-child(1) { animation-delay: 0.1s; }
.expertise-item:nth-child(2) { animation-delay: 0.2s; }
.expertise-item:nth-child(3) { animation-delay: 0.3s; }
.expertise-item:nth-child(4) { animation-delay: 0.4s; }
.expertise-item:nth-child(5) { animation-delay: 0.5s; }
.expertise-item:nth-child(6) { animation-delay: 0.6s; }