* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; line-height: 1.6; color: #333; scroll-behavior: smooth; }
h1, h2, h3 { font-family: 'Poppins', sans-serif; }
/* Global section rhythm and anchor offset */
section {
  padding: 70px 20px;
  scroll-margin-top: 90px; /* prevent sticky nav overlap on anchor jump */
}

/* Navigation */
nav { 
  position: fixed; 
  top: 0; 
  width: 100%; 
  background: #1E3A8A; 
  padding: 15px 0; 
  z-index: 100; 
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

nav.scrolled {
  background: rgba(30, 58, 138, 0.95);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav ul { 
  list-style: none; 
  display: flex; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin: 0;
  padding: 0;
}

nav ul li { margin: 0 15px; }

nav ul li a { 
  color: #fff; 
  text-decoration: none; 
  font-weight: bold; 
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 20px;
  position: relative;
}

nav ul li a:hover { 
  color: #F97316; 
  background: rgba(249, 115, 22, 0.1);
  transform: translateY(-2px);
}

nav ul li a:active {
  transform: translateY(0);
}

nav ul li a.active {
  color: #F97316;
  background: rgba(249, 115, 22, 0.2);
}

/* Hero Section */
#hero { height: 100vh; background: linear-gradient(135deg, #1E3A8A, #F97316); display: flex; justify-content: center; align-items: center; text-align: center; color: #fff; }
#hero h1 { font-size: 3.5rem; margin-bottom: 10px; }
#hero h2 { font-size: 2rem; margin-bottom: 20px; }
#hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px; }
.cta-btn { padding: 15px 30px; background: #F97316; color: #fff; text-decoration: none; border-radius: 25px; font-weight: bold; transition: transform 0.3s; display: inline-block; }
.cta-btn:hover { transform: scale(1.1); }

/* About Section */
#about { 
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); 
  text-align: center; 
  position: relative;
  overflow: hidden;
}

#about::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23cbd5e1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

#about h2 { 
  font-size: 2.8rem; 
  margin-bottom: 30px; 
  color: #1E3A8A;
  position: relative;
  z-index: 1;
}

#about p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: #475569;
  position: relative;
  z-index: 1;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hobbies section: wrap content into a premium card */
#hobbies {
  position: relative;
}

#hobbies .hobbies-card {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(14px);
}

#hobbies .hobbies-card p {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Experience Section */
#experience { 
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%); 
  position: relative;
}

#experience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(30, 58, 138, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.08) 0%, transparent 60%),
    linear-gradient(45deg, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

#experience h2, #education h2, #projects h2, #languages h2, #internship h2, #hobbies h2, #volunteering h2 {
  text-align: center; 
  font-size: 2.8rem; 
  margin-bottom: 50px; 
  color: #1E3A8A;
  position: relative;
  z-index: 1;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#experience h2::after, #education h2::after, #projects h2::after, 
#languages h2::after, #internship h2::after, #hobbies h2::after, #volunteering h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #F97316, #EA580C);
  border-radius: 2px;
}

/* Education Section */
#education { 
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); 
}

/* Projects Section */
#projects { 
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
  position: relative;
}

#projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 70% 30%, rgba(249, 115, 22, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(30, 58, 138, 0.06) 0%, transparent 50%),
    linear-gradient(-45deg, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Languages, Internship, Hobbies, Volunteering Sections */
#languages, #internship, #hobbies, #volunteering { 
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  position: relative;
}

#languages::before, #internship::before, #hobbies::before, #volunteering::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 40% 20%, rgba(30, 58, 138, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.04) 0%, transparent 50%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.01) 0%, transparent 50%);
  pointer-events: none;
}
.timeline { max-width: 900px; margin: 0 auto; }
.job-card { 
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 30px; 
  margin: 24px 0; 
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, #F97316, #3B82F6) 1;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(249, 115, 22, 0.01) 100%);
  border-radius: 16px;
  pointer-events: none;
}

.job-card:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border-left-color: #F97316;
}

.job-card h3 { 
  color: #1E3A8A; 
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.job-card p { 
  margin: 10px 0; 
  color: #64748B;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  font-weight: 500;
}
.job-card .details ul { margin-left: 20px; }
.job-card .details li { margin: 5px 0; }
.details { display: none; color: #555; }
.job-card:hover .details { display: block; }

/* Skills Section */
#skills { 
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #3B82F6 100%); 
  color: #fff; 
  text-align: center; 
  position: relative;
  overflow: hidden;
}

#skills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
  pointer-events: none;
}

#skills h2 { 
  font-size: 2.8rem; 
  margin-bottom: 40px; 
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

#skills h3 {
  color: #ffffff !important;
  font-size: 1.8rem;
  margin: 40px 0 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

/* Ensure certificate card headings inside the Skills section are readable */
#skills .cert-item h3 { color: #1E3A8A !important; }
#skills .cert-item p  { color: #1E40AF !important; }

/* Consistent subsection headings */
#languages h3,
#projects h3,
#education h3,
#internship h3,
#hobbies h3,
#volunteering h3 {
  text-align: center;
  color: #1E3A8A;
}

/* Education Section */
#education { 
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); 
  position: relative;
}

#education::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 60% 40%, rgba(30, 58, 138, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.edu-card { 
  max-width: 900px; 
  margin: 20px auto; 
  padding: 25px; 
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); 
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(30, 58, 138, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.edu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.02) 0%, transparent 50%);
  border-radius: 15px;
  pointer-events: none;
}

.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.edu-card h3 {
  color: #1E3A8A;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.edu-card p {
  color: #475569;
  line-height: 1.6;
  margin: 6px 0;
}

/* Projects section styling moved above */
.project-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 900px; margin: 0 auto; }
.project-item { 
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 28px; 
  border-radius: 18px; 
  max-width: 320px; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.project-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F97316, #3B82F6, #10B981);
  border-radius: 18px 18px 0 0;
}

.project-item::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(249, 115, 22, 0.01) 50%, rgba(16, 185, 129, 0.02) 100%);
  border-radius: 0 0 18px 18px;
  pointer-events: none;
}

.project-item:hover { 
  transform: translateY(-12px); 
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-item h3 {
  color: #1E3A8A;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.project-item p {
  color: #64748B;
  line-height: 1.7;
  margin: 8px 0;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* Languages, Internship, Hobbies, Volunteering Sections - styling moved above */
.language-grid, .license-grid { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 16px; 
  margin-top: 20px;
}
.language-item, .license-item { 
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 24px; 
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.language-item::before, .license-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(249, 115, 22, 0.02) 100%);
  border-radius: 16px;
  pointer-events: none;
}

.language-item:hover, .license-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
}

.language-item h3, .license-item h3 {
  color: #1E3A8A;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.language-item p, .license-item p {
  color: #64748B;
  line-height: 1.6;
  font-weight: 500;
}

.license-item {
  text-align: center;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #1E3A8A;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(249, 115, 22, 0.05) 100%);
}
.internship-card, .volunteering-card { 
  max-width: 900px; 
  margin: 0 auto; 
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); 
  padding: 30px; 
  border-radius: 15px; 
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(30, 58, 138, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.internship-card::before, .volunteering-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.02) 0%, transparent 50%);
  border-radius: 15px;
  pointer-events: none;
}

.internship-card:hover, .volunteering-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.internship-card h3, .volunteering-card h3 {
  color: #1E3A8A;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.internship-card p, .volunteering-card p {
  color: #475569;
  line-height: 1.7;
  margin: 8px 0;
}

/* Contact Section */
#contact { 
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  text-align: center;
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(30, 58, 138, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(249, 115, 22, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

#contact h2 { 
  font-size: 2.8rem; 
  margin-bottom: 50px; 
  color: #1E3A8A;
  position: relative;
  z-index: 1;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#contact h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #F97316, #EA580C);
  border-radius: 2px;
}
form { max-width: 500px; margin: 0 auto; }
input, textarea { width: 100%; padding: 15px; margin: 10px 0; border: 1px solid #ccc; border-radius: 5px; }
textarea { height: 150px; }

/* Animations & Skill Bars */
section { 
  opacity: 0; 
  transform: translateY(30px); 
  transition: opacity 0.8s ease-out, transform 0.8s ease-out; 
}

section.visible { 
  opacity: 1; 
  transform: none; 
}

.skill-bars { 
  max-width: 900px; 
  margin: 0 auto 40px; 
  text-align: left; 
}

.skill-bar { 
  margin: 20px 0; 
  padding: 5px 0;
}

.skill-info { 
  display: flex; 
  justify-content: space-between; 
  margin-bottom: 8px; 
  font-size: 1rem;
}

.skill-name { 
  font-weight: bold; 
  color: #ffffff;
  font-size: 1.1rem;
}

.skill-level { 
  font-style: italic; 
  color: #ffffff;
  font-weight: 600;
  background: #F97316;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.bar-bg { 
  background: #E5E7EB; 
  border-radius: 10px; 
  overflow: hidden; 
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bar-fill { 
  background: linear-gradient(90deg, #F97316, #FB923C); 
  height: 12px; 
  width: 0; 
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Certificate links styling moved to .cert-item a above */

/* Digital Skills Grid */
.digital-skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.skill-badge {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
  background: linear-gradient(135deg, #EA580C 0%, #DC2626 100%);
}

/* Certificates Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.cert-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cert-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(59, 130, 246, 0.02) 50%, rgba(249, 115, 22, 0.03) 100%);
  pointer-events: none;
}

.cert-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F97316, #3B82F6, #06B6D4);
  border-radius: 20px 20px 0 0;
}

.cert-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.cert-item h3 {
  color: #1E3A8A;
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.cert-item p {
  color: #1E40AF;
  margin-bottom: 20px;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  font-weight: 600;
}

.cert-item a {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}

.cert-item a:hover {
  background: linear-gradient(135deg, #EA580C 0%, #DC2626 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

/* Style for the contact form container */
#contact form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Style for form inputs and textarea */
#contact input,
#contact textarea {
  width: 100%;
  padding: 16px 18px;
  margin: 12px 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  font-size: 1rem;
}

/* Adjust the reCAPTCHA widget */
.g-recaptcha {
  margin: 20px auto;
  transform: scale(0.95);
  transform-origin: center;
}

/* Style for the notification */
#notification {
  text-align: center;
  padding: 10px;
  background: #e0ffe0;
  border: 1px solid #00a000;
  margin-bottom: 20px;
  border-radius: 5px;
  display: none;
}

#notification.error {
  background: #ffe0e0;
  border: 1px solid #a00000;
}

/* Optional: Center the submit button and adjust its spacing */
#contact .cta-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #hero h1 { font-size: 2.5rem; }
  #hero h2 { font-size: 1.5rem; }
  #hero p { font-size: 1rem; }
  
  nav ul { flex-direction: column; gap: 10px; }
  nav ul li { margin: 5px 0; }
  
  section { padding: 60px 15px; }
  
  .project-grid { flex-direction: column; align-items: center; }
  .cert-grid { grid-template-columns: 1fr; }
  
  .skill-bars { padding: 0 10px; }
  .digital-skills-grid { gap: 8px; }
  .skill-badge { font-size: 12px; padding: 6px 12px; }
}

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

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

.job-card {
  animation: slideIn 0.6s ease-out;
}

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

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

.cert-item, .job-card, .project-item, .language-item, .license-item, .hobbies-card, .contact-container {
  will-change: transform, opacity;
}

/* Social Sharing Section */
#social-sharing {
  background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #2563EB 100%);
  position: relative;
  overflow: hidden;
}

#social-sharing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(239, 68, 68, 0.2) 0%, transparent 50%);
  z-index: 1;
}

#social-sharing > * {
  position: relative;
  z-index: 2;
}

#social-sharing h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.social-share-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.share-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.share-btn:hover::before {
  left: 100%;
}

.share-btn.linkedin {
  background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
  box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.share-btn.twitter {
  background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
  box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.share-btn.facebook {
  background: linear-gradient(135deg, #1877F2 0%, #166fe5 100%);
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.share-btn.github {
  background: linear-gradient(135deg, #333 0%, #24292e 100%);
  box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
}

.share-btn.email {
  background: linear-gradient(135deg, #EA4335 0%, #d23721 100%);
  box-shadow: 0 4px 15px rgba(234, 67, 53, 0.3);
}

.share-divider {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 20px 0;
  position: relative;
}

.share-divider::before,
.share-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.share-divider span {
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.share-btn.share-linkedin,
.share-btn.share-twitter {
  padding: 8px 16px;
  font-size: 14px;
  opacity: 0.8;
}

.share-btn.share-linkedin:hover,
.share-btn.share-twitter:hover {
  opacity: 1;
}

.share-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.share-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .social-share-buttons {
    gap: 15px;
  }
  
  .share-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .share-btn svg {
    width: 18px;
    height: 18px;
  }
  
  #social-sharing h2 {
    font-size: 2rem;
  }
}

/* Footer Styles */
#footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
  z-index: 1;
}

#footer > * {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 60px 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  color: #60a5fa;
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-section p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #60a5fa;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
  background: #60a5fa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(96, 165, 250, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #ffffff;
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text h4 {
  margin: 0 0 10px 0;
  color: #60a5fa;
  font-size: 1.1rem;
}

.cookie-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.cookie-btn.accept {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.cookie-btn.accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.cookie-btn.settings {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.cookie-btn.settings:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.cookie-btn.decline {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn.decline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Modal Styles */
.cookie-modal, .privacy-modal, .terms-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 20px;
}

.cookie-modal-content, .privacy-modal-content, .terms-modal-content {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #ffffff;
  border-radius: 15px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-header, .privacy-modal-header, .terms-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-header h3, .privacy-modal-header h3, .terms-modal-header h3 {
  margin: 0;
  color: #60a5fa;
  font-size: 1.5rem;
}

.close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.cookie-modal-body, .privacy-modal-body, .terms-modal-body {
  padding: 25px;
}

.cookie-category {
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-category h4 {
  margin: 0;
  color: #60a5fa;
}

.cookie-category p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #10b981;
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

input:disabled + .toggle-slider {
  background-color: #6b7280;
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.privacy-modal-body h4, .terms-modal-body h4 {
  color: #60a5fa;
  margin-top: 20px;
  margin-bottom: 10px;
}

.privacy-modal-body h4:first-child, .terms-modal-body h4:first-child {
  margin-top: 0;
}

.privacy-modal-body p, .terms-modal-body p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px 30px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-links {
    gap: 20px;
  }
  
  .cookie-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  .cookie-modal-content, .privacy-modal-content, .terms-modal-content {
    margin: 10px;
    max-height: 90vh;
  }
  
  .cookie-modal-footer {
    flex-direction: column;
  }
}
