/* ===== CSS VARIABLES ===== */
:root {
  /* Light theme colors */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --border-color: #e5e7eb;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-heavy: rgba(0, 0, 0, 0.25);

  /* Common */
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dark theme colors */
.dark-theme {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-light: #9ca3af;
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --bg-tertiary: #374151;
  --border-color: #374151;
  --shadow-light: rgba(0, 0, 0, 0.3);
  --shadow-medium: rgba(0, 0, 0, 0.4);
  --shadow-heavy: rgba(0, 0, 0, 0.6);
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--shadow-medium);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--shadow-medium);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--bg-primary);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background-color: var(--bg-secondary);
}

.theme-toggle {
  margin-left: 1rem;
}

.theme-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.theme-btn:hover {
  color: var(--primary-color);
  background-color: var(--bg-secondary);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin: 3px 0;
  transition: var(--transition);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  margin-top: 80px;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.greeting {
  display: block;
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.name {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  position: relative;
  width: 350px;
  height: 350px;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  box-shadow: 0 20px 40px var(--shadow-medium);
}

.image-decoration {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.1; }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-light);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== QUICK ABOUT SECTION ===== */
.quick-about {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-card {
  background-color: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-medium);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.about-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.about-card p {
  color: var(--text-secondary);
  margin: 0;
}

.cta-section {
  text-align: center;
}

/* ===== FEATURED PROJECTS ===== */
.featured-projects {
  padding: 6rem 0;
  background-color: var(--bg-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-medium);
}

.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color)90, var(--secondary-color)90);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-link {
  color: white;
  font-size: 2rem;
  padding: 1rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.project-link:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.project-info {
  padding: 2rem;
}

.project-info h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.project-info p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-detailed {
  padding: 6rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.profile-info h2 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.profile-title {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 1.125rem;
}

.about-description h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.quick-facts {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  position: sticky;
  top: 100px;
}

.quick-facts h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.facts-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
}

.fact-item i {
  color: var(--primary-color);
  font-size: 1.25rem;
  width: 20px;
}

/* ===== TECH STACK ===== */
.tech-stack {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tech-category {
  background-color: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-light);
}

.tech-category h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-category h3 i {
  color: var(--primary-color);
}

.tech-items {
  display: grid;
  gap: 1rem;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.tech-item:hover {
  background-color: var(--bg-tertiary);
  transform: translateX(5px);
}

.tech-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 24px;
}

.tech-item span {
  color: var(--text-primary);
  font-weight: 500;
}

/* ===== ACHIEVEMENTS ===== */
.achievements {
  padding: 6rem 0;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.achievement-card {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: var(--transition);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-medium);
}

.achievement-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.achievement-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.achievement-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.achievement-year {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== RESUME SECTION ===== */
.resume-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
  text-align: center;
}

.resume-content h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.resume-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== PROJECTS PAGE ===== */
.projects-showcase {
  padding: 6rem 0;
}

.projects-grid-detailed {
  display: grid;
  gap: 4rem;
}

.project-card-detailed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: var(--transition);
}

.project-card-detailed:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-medium);
}

.project-card-detailed:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.project-card-detailed:nth-child(even) .project-image-container {
  order: 2;
}

.project-image-container {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.project-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.project-header h3 {
  color: var(--text-primary);
  margin: 0;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project-features {
  margin-bottom: 1.5rem;
}

.project-features h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.project-features ul {
  list-style: none;
  padding: 0;
}

.project-features li {
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  position: relative;
  padding-left: 1.5rem;
}

.project-features li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ===== COMING SOON ===== */
.coming-soon {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
  text-align: center;
}

.coming-soon-content h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.coming-soon-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.social-follow p {
  margin-bottom: 1rem;
  font-weight: 500;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.social-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== SKILLS PAGE ===== */
.skills-section {
  padding: 4rem 0;
}

.skills-section:nth-child(even) {
  background-color: var(--bg-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-card {
  background-color: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: var(--transition);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-medium);
}

.skill-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.skill-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background-color: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

.skill-level {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.skill-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

/* ===== FRAMEWORKS GRID ===== */
.frameworks-grid {
  display: grid;
  gap: 3rem;
}

.framework-category {
  background-color: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-light);
}

.framework-category h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.framework-category h3 i {
  color: var(--primary-color);
}

.framework-items {
  display: grid;
  gap: 1.5rem;
}

.framework-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.framework-item:hover {
  background-color: var(--bg-tertiary);
  transform: translateX(5px);
}

.framework-icon {
  font-size: 2rem;
  color: var(--primary-color);
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.framework-info h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.framework-info p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.proficiency {
  display: flex;
  align-items: center;
}

.proficiency-level {
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.proficiency-level.advanced {
  background-color: var(--secondary-color);
  color: white;
}

.proficiency-level.intermediate {
  background-color: var(--accent-color);
  color: white;
}

/* ===== TOOLS GRID ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.tool-item {
  background-color: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: var(--transition);
}

.tool-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-medium);
}

.tool-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.tool-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.tool-item p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

/* ===== OTHER SKILLS ===== */
.other-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.skill-category {
  background-color: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-light);
}

.skill-category h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.skill-category ul {
  list-style: none;
  padding: 0;
}

.skill-category li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.skill-category li:last-child {
  border-bottom: none;
}

.skill-category li i {
  color: var(--primary-color);
  width: 20px;
}

/* ===== LEARNING GOALS ===== */
.learning-goals {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.learning-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.learning-item {
  background-color: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: var(--transition);
}

.learning-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-medium);
}

.learning-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.learning-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.learning-item p {
  color: var(--text-secondary);
  margin: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 6rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contact-methods {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

.contact-method:hover {
  background-color: var(--bg-tertiary);
  transform: translateX(5px);
}

.method-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.method-info h3 {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.method-info p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.contact-link {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: underline;
  font-size: 0.875rem;
}

.contact-link:hover {
  color: var(--primary-dark);
}

.availability {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
}

.availability h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.availability h3 i {
  color: var(--primary-color);
}

.availability p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.status {
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
}

.status.available {
  background-color: var(--secondary-color);
  color: white;
}

/* ===== CONTACT FORM ===== */
.contact-form-container {
  background-color: var(--bg-secondary);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-light);
}

.contact-form-container h2 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 2px;
  color: white;
  font-size: 0.875rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.faq-item {
  background-color: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-light);
}

.faq-item h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-item h3 i {
  color: var(--primary-color);
}

.faq-item p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ===== CONTACT CTA ===== */
.contact-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  background-color: white;
  color: var(--primary-color);
}

.cta-buttons .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
  background-color: white;
  color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--bg-secondary);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-info h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.footer-info p {
  color: var(--text-secondary);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background-color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.25rem;
  transition: var(--transition);
  box-shadow: 0 2px 10px var(--shadow-light);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px var(--shadow-medium);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-light);
  margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--bg-primary);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content .hero-image {
    order: -1;
  }

  .name {
    font-size: 3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-section {
    flex-direction: column;
    text-align: center;
  }

  .quick-facts {
    position: static;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card-detailed {
    grid-template-columns: 1fr;
  }

  .project-card-detailed:nth-child(even) .project-image-container {
    order: 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-cards,
  .skills-grid,
  .tools-grid,
  .learning-items {
    grid-template-columns: 1fr;
  }

  .image-container {
    width: 250px;
    height: 250px;
  }

  .name {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .contact-form-container {
    padding: 2rem;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .about-card,
  .project-card,
  .skill-card,
  .achievement-card,
  .tool-item,
  .learning-item,
  .faq-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
  }

  .about-card:nth-child(1) { animation-delay: 0.1s; }
  .about-card:nth-child(2) { animation-delay: 0.2s; }
  .about-card:nth-child(3) { animation-delay: 0.3s; }
  .about-card:nth-child(4) { animation-delay: 0.4s; }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ===== SKILL PROGRESS ANIMATION ===== */
.skill-progress[data-level="90"] { width: 90%; }
.skill-progress[data-level="85"] { width: 85%; }
.skill-progress[data-level="80"] { width: 80%; }
.skill-progress[data-level="75"] { width: 75%; }
.skill-progress[data-level="95"] { width: 95%; }
