/* 
 * Modern Dark Portfolio Styles
 * A sophisticated dark theme design system with creative animations
 */

/* ===== CSS VARIABLES & DESIGN TOKENS ===== */
:root {
  /* Dark theme color palette */
  --primary-100: #f0f0f0;
  --primary-200: #e0e0e0;
  --primary-300: #c0c0c0;
  --primary-400: #a0a0a0;
  --primary-500: #808080;
  /* Subtle gray accent */
  --primary-600: #606060;
  --primary-700: #404040;

  /* Dark neutral palette */
  --neutral-100: #1a1a1a;
  /* Darkest background */
  --neutral-200: #202020;
  /* Card backgrounds */
  --neutral-300: #2a2a2a;
  /* Elevated surfaces */
  --neutral-400: #404040;
  /* Borders */
  --neutral-500: #606060;
  /* Muted text */
  --neutral-600: #808080;
  /* Secondary text */
  --neutral-700: #a0a0a0;
  /* Primary text */
  --neutral-800: #c0c0c0;
  /* High contrast text */
  --neutral-900: #ffffff;
  /* Pure white for emphasis */

  /* Accent colors - refined for dark theme */
  --accent-success: #22c55e;
  --accent-warning: #f59e0b;
  --accent-error: #ef4444;
  --accent-highlight: #3b82f6;
  /* Subtle blue for interactive elements */

  /* Surface colors */
  --surface-dark: #000000;
  /* Pure black */
  --surface-elevated: #1a1a1a;
  /* Slightly elevated */
  --surface-card: #202020;
  /* Card backgrounds */
  --surface-hover: #2a2a2a;
  /* Hover states */

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Font sizes - with fluid typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.125rem + 0.625vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.375rem + 0.625vw, 1.875rem);
  --text-3xl: clamp(1.875rem, 1.75rem + 0.625vw, 2.25rem);
  --text-4xl: clamp(2.25rem, 2rem + 1.25vw, 3rem);
  --text-5xl: clamp(3rem, 2.75rem + 1.25vw, 3.75rem);

  /* Line heights */
  --leading-none: 1;
  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Font weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Spacing scale */
  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.5rem;
  /* 24px */
  --space-6: 2rem;
  /* 32px */
  --space-8: 2.5rem;
  /* 40px */
  --space-10: 3rem;
  /* 48px */
  --space-12: 4rem;
  /* 64px */
  --space-16: 6rem;
  /* 96px */
  --space-20: 8rem;
  /* 128px */

  /* Container widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
  --max-width: 1200px;
  /* Maintained from original */

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --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);

  /* Focus ring */
  --ring: 0 0 0 3px var(--primary-300);

  /* Border radius */
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
  --border-radius: 0.5rem;
  /* Maintained from original but updated to 0.5rem */

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index scale */
  --z-0: 0;
  --z-10: 10;
  --z-20: 20;
  --z-30: 30;
  --z-40: 40;
  --z-50: 50;
  --z-auto: auto;
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "kern";
}

body {
  font-family: var(--font-sans);
  line-height: var(--leading-normal);
  color: var(--neutral-700);
  background-color: var(--surface-dark);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ===== LAYOUT & CONTAINERS ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

section {
  padding-block: var(--space-16);
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-margin-top: 80px;
  /* Space for fixed header */
  position: relative;
}

/* Don't need min-height for contact section */
#contact {
  min-height: auto;
  padding-bottom: var(--space-12);
}

/* Make sure hero section fills viewport */
#home {
  min-height: calc(100vh - 80px);
  margin-top: 80px;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
  color: var(--neutral-900);
  font-weight: var(--font-bold);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  text-align: center;
  margin-bottom: var(--space-10);
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-500);
  margin: var(--space-4) auto 0;
  border-radius: var(--radius);
}

h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
}

h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-medium);
}

p {
  margin-bottom: var(--space-5);
  color: var(--neutral-600);
  font-size: var(--text-base);
}

a {
  text-decoration: none;
  color: var(--accent-highlight);
  transition: color var(--transition);
  font-weight: var(--font-medium);
}

a:hover {
  color: var(--neutral-900);
}

a:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

ul {
  list-style: none;
}

/* ===== NAVIGATION ===== */
header {
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--neutral-400);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 80px;
  display: flex;
  align-items: center;
  transition: background-color var(--transition), border-color var(--transition);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-4);
  width: 100%;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  background: var(--surface-card);
  border: 2px solid var(--neutral-400);
  padding: var(--space-1);
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(160, 160, 160, 0.1));
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-full);
  z-index: 1;
}

.logo:hover::before {
  opacity: 1;
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--accent-highlight);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

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

.nav-links {
  display: flex;
  gap: var(--space-6);
}

.nav-links a {
  color: var(--neutral-600);
  font-weight: var(--font-medium);
  position: relative;
  padding: var(--space-2) var(--space-4);
  transition: all var(--transition);
  border-radius: var(--radius);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent-highlight), var(--neutral-700));
  transition: width var(--transition);
  border-radius: var(--radius-full);
}

.nav-links a:hover {
  color: var(--neutral-900);
  background-color: var(--surface-hover);
}

.nav-links a:hover::after {
  width: 80%;
}

.nav-links a:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background: var(--surface-dark);
  padding-block: var(--space-6);
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(64, 64, 64, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(64, 64, 64, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, transparent 0%, rgba(26, 26, 26, 0.8) 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1000px;
  height: 1000px;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, transparent, rgba(64, 64, 64, 0.1), transparent);
  animation: rotate 20s linear infinite;
  z-index: 0;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  background: linear-gradient(135deg, var(--neutral-900), var(--neutral-700), var(--neutral-900));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--space-4);
  animation: textShimmer 3s ease-in-out infinite;
  background-size: 200% 200%;
}

.hero h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-medium);
  color: var(--neutral-600);
  margin: var(--space-5) 0;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero h2::after {
  display: none;
}

.hero p {
  font-size: var(--text-lg);
  max-width: 700px;
  margin: 0 auto var(--space-6);
  color: var(--neutral-600);
  opacity: 0;
  animation: fadeInUp 1s ease-out 1s forwards;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.social-links {
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.5s forwards;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--neutral-300), var(--neutral-400));
  color: var(--surface-dark);
  font-size: var(--text-xl);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--neutral-400);
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-highlight), var(--neutral-700));
  border-radius: var(--radius-full);
  transform: scale(0) rotate(180deg);
  transition: all var(--transition);
  z-index: -1;
}

.social-links a:hover {
  color: var(--neutral-900);
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-highlight);
}

.social-links a:hover::before {
  transform: scale(1) rotate(0deg);
}

.social-links a:nth-child(1) {
  animation-delay: 1.6s;
}

.social-links a:nth-child(2) {
  animation-delay: 1.7s;
}

.social-links a:nth-child(3) {
  animation-delay: 1.8s;
}

.social-links a:nth-child(4) {
  animation-delay: 1.9s;
}

.social-links a:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

/* ===== EXPERIENCE SECTION ===== */
.experience-item {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--neutral-400);
  backdrop-filter: blur(10px);
}

.experience-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-highlight), var(--neutral-600));
  transition: all var(--transition);
}

.experience-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.experience-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent-highlight);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.experience-item:hover::before {
  width: 6px;
  background: linear-gradient(180deg, var(--neutral-900), var(--accent-highlight));
}

.experience-item:hover::after {
  opacity: 1;
}

.experience-item h3 {
  color: var(--neutral-900);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  position: relative;
  padding-left: var(--space-5);
}

.experience-item h3::before {
  content: '💼';
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-lg);
}

.experience-item h4 {
  color: var(--neutral-800);
  font-size: var(--text-lg);
  margin: var(--space-5) 0 var(--space-3) 0;
  padding-left: var(--space-5);
  position: relative;
}

.experience-item h4::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-highlight);
}

.date {
  color: var(--neutral-600);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-4) var(--space-5);
  display: block;
  font-style: italic;
}

.experience-item>ul {
  margin-top: var(--space-4);
  padding-left: var(--space-5);
}

.experience-item ul ul {
  margin-top: var(--space-2);
  margin-bottom: var(--space-4);
  padding-left: var(--space-4);
  border-left: 2px solid var(--neutral-300);
}

.experience-item ul li {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-2);
  color: var(--neutral-600);
  line-height: var(--leading-relaxed);
}

.experience-item ul li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-highlight);
  font-size: 1.2em;
  line-height: 1.2;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.skill-category {
  background: var(--surface-card);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  border: 1px solid var(--neutral-400);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-highlight), var(--neutral-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.skill-category::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.skill-category:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-highlight);
}

.skill-category:hover::before {
  transform: scaleX(1);
}

.skill-category:hover::after {
  opacity: 1;
}

.skill-category h3 {
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--neutral-400);
}

.skill-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.skill-category li {
  margin: 0;
  color: var(--neutral-700);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  position: relative;
  padding-left: var(--space-4);
}

.skill-category li:before {
  content: '•';
  color: var(--accent-highlight);
  position: absolute;
  left: 0;
  font-weight: var(--font-bold);
}

.skill-category li strong {
  color: var(--neutral-900);
  font-weight: var(--font-semibold);
}

/* Responsive adjustments for skills section */
@media (max-width: 992px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 576px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-category {
    padding: var(--space-4);
  }

  .skill-category h3 {
    font-size: var(--text-lg);
  }

  .skill-category li {
    font-size: var(--text-xs);
  }
}

/* ===== CERTIFICATIONS SECTION ===== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.cert-item {
  background: var(--surface-card);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--neutral-400);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cert-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-highlight), var(--neutral-700));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.cert-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-highlight);
}

.cert-item:hover::after {
  transform: scaleX(1);
}

.cert-badge {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neutral-900);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  transition: all var(--transition);
  border: 2px solid var(--neutral-400);
  position: relative;
  overflow: hidden;
}

.cert-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-highlight), var(--neutral-700));
  opacity: 0;
  transition: opacity var(--transition);
}

.cert-item:hover .cert-badge {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--accent-highlight);
}

.cert-item:hover .cert-badge::before {
  opacity: 0.1;
}

.cert-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.cert-item h3 {
  font-size: var(--text-base);
  margin: var(--space-2) 0;
  color: var(--neutral-900);
  line-height: var(--leading-snug);
}

.cert-item p {
  color: var(--neutral-600);
  margin: var(--space-1) 0 0;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .certs-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-5);
  }

  .cert-badge {
    width: 100px;
    height: 100px;
  }

  .cert-item h3 {
    font-size: var(--text-sm);
  }
}

@media (max-width: 480px) {
  .certs-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTACT SECTION ===== */
.contact-info {
  max-width: 600px;
  margin: 0 auto var(--space-10);
  text-align: center;
}

.contact-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--neutral-700);
}

.contact-info i {
  margin-right: var(--space-3);
  color: var(--accent-highlight);
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-highlight), var(--neutral-700));
  color: var(--neutral-900);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  font-weight: var(--font-semibold);
  transition: all var(--transition);
  text-align: center;
  border: 2px solid var(--accent-highlight);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
  z-index: -1;
  transform: translateX(-100%);
  transition: transform var(--transition);
}

.btn:hover {
  color: #1a1a1a;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
  border-color: var(--neutral-900);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--neutral-900);
  color: white;
  padding: var(--space-6) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-highlight), var(--neutral-700));
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: var(--text-sm);
}

/* ===== BACKGROUND SECTIONS ===== */
.bg-light {
  background-color: var(--surface-elevated);
  position: relative;
  overflow: hidden;
}

.bg-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(64, 64, 64, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(64, 64, 64, 0.1) 0%, transparent 50%);
  z-index: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  :root {
    /* Adjust spacing for mobile */
    --space-16: 4rem;
    --space-12: 3rem;
  }

  h1 {
    font-size: var(--text-4xl);
  }

  h2 {
    font-size: var(--text-2xl);
  }

  .nav-links {
    display: none;
  }

  .skills-grid,
  .certs-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 0 var(--space-4);
  }

  section {
    padding-block: var(--space-12);
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes textShimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

section {
  animation: fadeIn 0.8s ease-out forwards;
}

.hero-content {
  animation: scaleIn 1s ease-out forwards;
}

.experience-item,
.skill-category,
.cert-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* For users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==
=== INTERACTIVE SHOWCASE ===== */
.interactive-showcase {
  position: relative;
  height: 200px;
  margin-bottom: var(--space-10);
  overflow: hidden;
}

.floating-tech-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.tech-icon {
  width: 80px;
  height: 80px;
  background: var(--surface-card);
  border: 2px solid var(--neutral-400);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: float 3s ease-in-out infinite;
}

.tech-icon::before {
  content: attr(data-tech);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-dark);
  color: var(--neutral-900);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  white-space: nowrap;
  opacity: 0;
  transition: all var(--transition);
  border: 1px solid var(--accent-highlight);
}

.tech-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-highlight), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.tech-icon:hover {
  transform: translateY(-15px) scale(1.1);
  border-color: var(--accent-highlight);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.tech-icon:hover::before {
  bottom: -50px;
  opacity: 1;
}

.tech-icon:hover::after {
  opacity: 0.1;
}

.tech-icon:nth-child(1) {
  animation-delay: 0s;
}

.tech-icon:nth-child(2) {
  animation-delay: 0.5s;
}

.tech-icon:nth-child(3) {
  animation-delay: 1s;
}

.tech-icon:nth-child(4) {
  animation-delay: 1.5s;
}

.tech-icon:nth-child(5) {
  animation-delay: 2s;
}

.tech-icon:nth-child(6) {
  animation-delay: 2.5s;
}

/* Responsive adjustments for interactive showcase */
@media (max-width: 768px) {
  .floating-tech-icons {
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .tech-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* ===== SCROLL PROGRESS INDICATOR ===== */
.scroll-progress {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--neutral-400);
  z-index: var(--z-40);
}

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

/* ===== ENHANCED HOVER EFFECTS ===== */
.experience-item,
.skill-category,
.cert-item {
  transform-style: preserve-3d;
}

.experience-item:hover,
.skill-category:hover,
.cert-item:hover {
  transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
}

/* ===== UNIQUE LAYOUT ENHANCEMENTS ===== */
.skills-grid {
  perspective: 1000px;
}

.skill-category {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* ===== CREATIVE SECTION TRANSITIONS ===== */
section {
  position: relative;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neutral-400), transparent);
  opacity: 0.5;
}

/* ===== ENHANCED TYPOGRAPHY EFFECTS ===== */
h2 {
  position: relative;
  overflow: hidden;
}

h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* ===== PARTICLE EFFECT FOR HERO ===== */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--neutral-600);
  border-radius: 50%;
  animation: particleFloat 10s linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

/*
 ===== TIMELINE CONNECTOR ===== */
.timeline-connector {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-highlight), var(--neutral-600), var(--accent-highlight));
  transform: translateX(-50%);
  opacity: 0.3;
  z-index: 0;
}

.timeline-connector::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--accent-highlight);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.timeline-connector::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--neutral-600);
  border-radius: 50%;
  transform: translateX(-50%);
}

/* ===== ENHANCED EXPERIENCE LAYOUT ===== */
#experience {
  position: relative;
}

#experience .experience-item:nth-child(odd) {
  margin-left: 0;
  margin-right: auto;
  max-width: 45%;
  animation: slideInLeft 0.8s ease-out forwards;
}

#experience .experience-item:nth-child(even) {
  margin-left: auto;
  margin-right: 0;
  max-width: 45%;
  animation: slideInRight 0.8s ease-out forwards;
}

@media (max-width: 768px) {
  .timeline-connector {
    display: none;
  }

  #experience .experience-item:nth-child(odd),
  #experience .experience-item:nth-child(even) {
    max-width: 100%;
    margin: 0 0 var(--space-6) 0;
  }
}

/* ===== INNOVATIVE HOVER EFFECTS ===== */
.experience-item {
  position: relative;
}

.experience-item::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -20px;
  width: 16px;
  height: 16px;
  background: var(--accent-highlight);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all var(--transition);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
}

#experience .experience-item:nth-child(even)::before {
  right: auto;
  left: -20px;
}

.experience-item:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
}

/* ===== CREATIVE SECTION DIVIDERS ===== */
section+section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-highlight), transparent);
  transform: translateX(-50%);
  opacity: 0.6;
}

/* ===== ENHANCED MOBILE EXPERIENCE ===== */
@media (max-width: 768px) {
  .floating-tech-icons {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    position: static;
  }

  .tech-icon {
    position: static;
    margin: var(--space-2);
  }

  .interactive-showcase {
    height: auto;
    padding: var(--space-6) 0;
  }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {

  .tech-icon,
  .experience-item,
  .skill-category,
  .cert-item {
    animation: none !important;
  }

  .hero::after {
    animation: none !important;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

/* ===== FOCUS STATES FOR ACCESSIBILITY ===== */
.tech-icon:focus,
.experience-item:focus,
.skill-category:focus,
.cert-item:focus {
  outline: 2px solid var(--accent-highlight);
  outline-offset: 2px;
}

/* ===== HIGH CONTRAST MODE SUPPORT ===== */
@media (prefers-contrast: high) {
  :root {
    --neutral-600: #ffffff;
    --neutral-700: #ffffff;
    --neutral-800: #ffffff;
    --neutral-900: #ffffff;
    --accent-highlight: #00ffff;
  }
}

/* =====
 SKILLS METER SHOWCASE ===== */
.skills-meter-showcase {
  background: var(--surface-card);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin-bottom: var(--space-10);
  border: 1px solid var(--neutral-400);
  position: relative;
  overflow: hidden;
}

.skills-meter-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent);
  pointer-events: none;
}

.skills-meter-showcase h3 {
  text-align: center;
  color: var(--neutral-900);
  margin-bottom: var(--space-8);
  font-size: var(--text-2xl);
}

.skill-meters {
  display: grid;
  gap: var(--space-6);
  max-width: 800px;
  margin: 0 auto;
}

.skill-meter {
  display: grid;
  grid-template-columns: 200px 1fr 60px;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-400);
  transition: all var(--transition);
}

.skill-meter:hover {
  transform: translateX(10px);
  border-color: var(--accent-highlight);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skill-name {
  font-weight: var(--font-semibold);
  color: var(--neutral-800);
  font-size: var(--text-sm);
}

.meter-bar {
  height: 8px;
  background: var(--neutral-400);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-highlight), var(--neutral-700));
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 2s ease-out;
  position: relative;
  overflow: hidden;
}

.meter-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: shimmerMeter 2s infinite;
}

.skill-percentage {
  font-weight: var(--font-bold);
  color: var(--accent-highlight);
  font-size: var(--text-sm);
  text-align: right;
}

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

  100% {
    transform: translateX(100%);
  }
}

/* Animate meters when in view */
.skills-meter-showcase.in-view .meter-fill {
  width: var(--level, 0%);
}

@media (max-width: 768px) {
  .skill-meter {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2);
  }

  .skill-name {
    font-size: var(--text-base);
  }

  .skill-percentage {
    text-align: center;
  }
}

/* ==
=== FLOATING ACTION BUTTON ===== */
.floating-nav {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: var(--z-50);
}

.fab-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-highlight), var(--neutral-700));
  border: none;
  color: var(--neutral-900);
  font-size: var(--text-xl);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.fab-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
  opacity: 0;
  transition: opacity var(--transition);
}

.fab-main:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.fab-main:hover::before {
  opacity: 1;
}

.fab-main i {
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
}

.fab-main:hover i {
  transform: rotate(-90deg);
}

.fab-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
}

.floating-nav.active .fab-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 2px solid var(--neutral-400);
  color: var(--neutral-700);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  transition: all var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.fab-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-highlight), var(--neutral-700));
  opacity: 0;
  transition: opacity var(--transition);
}

.fab-item:hover {
  transform: scale(1.1);
  border-color: var(--accent-highlight);
  color: var(--neutral-900);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.fab-item:hover::before {
  opacity: 1;
}

.fab-item i {
  position: relative;
  z-index: 1;
}

/* Staggered animation for fab items */
.floating-nav.active .fab-item:nth-child(1) {
  animation-delay: 0.1s;
}

.floating-nav.active .fab-item:nth-child(2) {
  animation-delay: 0.2s;
}

.floating-nav.active .fab-item:nth-child(3) {
  animation-delay: 0.3s;
}

.floating-nav.active .fab-item:nth-child(4) {
  animation-delay: 0.4s;
}

.floating-nav.active .fab-item:nth-child(5) {
  animation-delay: 0.5s;
}

.floating-nav.active .fab-item {
  animation: fabSlideIn 0.3s ease-out forwards;
}

@keyframes fabSlideIn {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.5);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .floating-nav {
    bottom: 20px;
    right: 20px;
  }

  .fab-main {
    width: 50px;
    height: 50px;
    font-size: var(--text-lg);
  }

  .fab-item {
    width: 40px;
    height: 40px;
    font-size: var(--text-sm);
  }
}

/* ===== FINAL POLISH ANIMATIONS ===== */
@keyframes gentleGlow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  }

  50% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
  }
}

.tech-icon:hover {
  animation: gentleGlow 2s ease-in-out infinite;
}

/* ===== PRINT STYLES ===== */
@media print {

  .floating-nav,
  .scroll-progress,
  .hero-particles,
  .interactive-showcase {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  section {
    page-break-inside: avoid;
  }
}

/* ====
= FEEDBACK FORM ===== */
.feedback-form-container {
  max-width: 600px;
  margin: var(--space-10) auto;
  background: var(--surface-card);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid var(--neutral-400);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feedback-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent);
  pointer-events: none;
}

.feedback-form {
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: var(--space-6);
  position: relative;
}

.form-group label {
  display: block;
  color: var(--neutral-800);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface-elevated);
  border: 2px solid var(--neutral-400);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  color: var(--neutral-800);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  transition: all var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-highlight);
  background: var(--surface-card);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--neutral-500);
}

.form-group textarea {
  min-height: 120px;
  line-height: var(--leading-relaxed);
}

.btn-submit {
  width: 100%;
  position: relative;
  overflow: hidden;
  font-size: var(--text-lg);
  padding: var(--space-5) var(--space-8);
  margin-top: var(--space-4);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.btn-submit:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

.btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--neutral-900);
}

.form-message {
  margin-top: var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: var(--font-medium);
  animation: slideInUp 0.5s ease-out;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--accent-success);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--accent-error);
}

.contact-divider {
  text-align: center;
  margin: var(--space-10) 0;
  position: relative;
}

.contact-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neutral-400), transparent);
}

.contact-divider span {
  background: var(--surface-dark);
  padding: 0 var(--space-4);
  color: var(--neutral-600);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--neutral-400);
  color: var(--neutral-700);
  padding: var(--space-4) var(--space-8);
}

.btn-secondary::before {
  background: linear-gradient(135deg, var(--surface-card), var(--surface-elevated));
}

.btn-secondary:hover {
  border-color: var(--accent-highlight);
  color: var(--neutral-900);
}

/* Form validation styles */
.form-group.error input,
.form-group.error textarea {
  border-color: var(--accent-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.success input,
.form-group.success textarea {
  border-color: var(--accent-success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.error-message {
  color: var(--accent-error);
  font-size: var(--text-xs);
  margin-top: var(--space-1);
  display: block;
}

/* Responsive form styles */
@media (max-width: 768px) {
  .feedback-form-container {
    margin: var(--space-8) auto;
    padding: var(--space-6);
  }

  .form-group {
    margin-bottom: var(--space-5);
  }

  .btn-submit {
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-6);
  }
}

/* Form animation enhancements */
.form-group {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.form-group:nth-child(1) {
  animation-delay: 0.1s;
}

.form-group:nth-child(2) {
  animation-delay: 0.2s;
}

.form-group:nth-child(3) {
  animation-delay: 0.3s;
}

.btn-submit {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

/* Focus ring for accessibility */
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.btn-submit:focus-visible {
  outline: 2px solid var(--accent-highlight);
  outline-offset: 2px;
}