/* ========================================
   Modern Cybersecurity Portfolio Design
   Professional & Elegant
   ======================================== */

/* Color Palette */
:root {
  /* Primary Colors - Professional Purple/Blue Gradient */
  --primary: #8B5CF6;
  --primary-dark: #6D28D9;
  --primary-light: #A78BFA;

  /* Secondary Colors - Teal/Cyan Accents */
  --secondary: #14B8A6;
  --secondary-dark: #0D9488;
  --secondary-light: #5EEAD4;

  /* Neutral Colors */
  --background: #FFFFFF;
  --background-alt: #F9FAFB;
  --surface: #FFFFFF;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;

  /* Accent Colors */
  --accent-pink: #EC4899;
  --accent-orange: #F59E0B;

  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  --gradient-secondary: linear-gradient(135deg, #14B8A6 0%, #6366F1 100%);
  --gradient-subtle: linear-gradient(135deg, #F3E8FF 0%, #E0F2FE 100%);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.2;
  font-weight: 600;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.logo-icon {
  font-size: 1.5rem;
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

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

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

.nav-link.contact-btn {
  padding: 0.5rem 1.5rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50px;
}

.nav-link.contact-btn::after {
  display: none;
}

.nav-link.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, #FDFCFB 0%, #F3E8FF 50%, #E0F2FE 100%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-greeting {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.wave {
  display: inline-block;
  animation: wave 2.5s infinite;
  transform-origin: 70% 70%;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(14deg); }
  20%, 40% { transform: rotate(-8deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(-4deg); }
  70% { transform: rotate(6deg); }
  80% { transform: rotate(-2deg); }
}

.hero-name {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: rgba(139, 92, 246, 0.2);
  z-index: -1;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat {
  text-align: center;
}

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

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

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

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

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

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

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

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: white;
  color: var(--text-secondary);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

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

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

.social-link.email:hover {
  background: var(--accent-pink);
  color: white;
}

.hero-image {
  animation: fadeInRight 0.8s ease-out;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: var(--gradient-primary);
  z-index: 1;
  opacity: 0.3;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-muted);
  animation: bounce 2s infinite;
  transition: var(--transition);
}

.scroll-text {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

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

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

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

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

/* ========================================
   Section Styles
   ======================================== */
section {
  padding: 6rem 0;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* ========================================
   About Section
   ======================================== */
.about {
  background: var(--background-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.about-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.about-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-subtle);
  color: var(--primary);
}

.card-icon.cloud {
  background: linear-gradient(135deg, #E0F2FE 0%, #DBEAFE 100%);
  color: #0284C7;
}

.card-icon.security {
  background: linear-gradient(135deg, #FCE7F3 0%, #F3E8FF 100%);
  color: #C026D3;
}

.card-icon.code {
  background: linear-gradient(135deg, #D1FAE5 0%, #DBEAFE 100%);
  color: #059669;
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

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

.badge {
  padding: 0.375rem 0.875rem;
  background: var(--gradient-subtle);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========================================
   Education Section
   ======================================== */
.education {
  background: white;
}

.education-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.education-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: var(--transition);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow);
}

.timeline-content {
  background: var(--background-alt);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.timeline-date {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.institution {
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.description {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========================================
   Experience Section
   ======================================== */
.experience {
  background: var(--background-alt);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.experience-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  border-left: 4px solid var(--primary);
}

.experience-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.experience-card.highlight {
  border-left-color: var(--accent-pink);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.experience-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.company {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.duration {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.experience-description {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========================================
   Projects Section
   ======================================== */
.projects {
  background: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
  opacity: 0;
  transform: translateY(30px);
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.project-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  color: white;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.project-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

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

.tag {
  padding: 0.375rem 0.875rem;
  background: var(--background-alt);
  color: var(--text-secondary);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.project-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

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

/* ========================================
   Skills Section
   ======================================== */
.skills {
  background: var(--background-alt);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: scale(0.95);
}

.skill-category.visible {
  opacity: 1;
  transform: scale(1);
}

.skill-category:hover {
  box-shadow: var(--shadow-lg);
}

.skill-category h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.375rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

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

.skill-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--background-alt);
  border-radius: 12px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.skill-item:hover {
  background: var(--gradient-subtle);
  border-color: var(--primary-light);
  transform: translateX(5px);
}

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

.skill-item span {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
}

/* ========================================
   Certifications Section
   ======================================== */
.certifications {
  background: white;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 2px solid transparent;
  opacity: 0;
  transform: scale(0.95);
}

.cert-card.visible {
  opacity: 1;
  transform: scale(1);
}

.cert-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.cert-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  background: var(--gradient-subtle);
  color: var(--primary);
}

.cert-icon.comptia {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #D97706;
}

.cert-icon.microsoft {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  color: #1D4ED8;
}

.cert-icon.aws {
  background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 100%);
  color: #EA580C;
}

.cert-icon.security {
  background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
  color: #9333EA;
}

.cert-icon.ethical {
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
  color: #059669;
}

.cert-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.cert-date {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ========================================
   Languages Section
   ======================================== */
.languages {
  background: var(--background-alt);
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.language-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.language-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.language-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.language-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--background-alt);
  border-radius: 16px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.contact-method:hover {
  background: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateX(10px);
}

.method-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.method-details h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.method-details p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.contact-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-badge-large {
  text-align: center;
  padding: 3rem;
  background: var(--gradient-subtle);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.security-badge-large i {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.security-badge-large h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.security-badge-large p {
  color: var(--text-secondary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.footer-content p {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.footer-tagline {
  opacity: 0.7;
  font-size: 0.9375rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

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

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-content {
    text-align: center;
  }

  .hero-stats,
  .hero-buttons {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .container {
    padding: 0 1.5rem;
  }

  section {
    padding: 4rem 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-visual {
    order: -1;
  }

  .about-grid,
  .projects-grid,
  .skills-grid,
  .certifications-grid {
    grid-template-columns: 1fr;
  }

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

  .experience-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .duration {
    white-space: normal;
  }
}

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

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

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

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