/* Modern Design System */
:root {
  /* Updated Color Palette */
  --primary: #FF725C;          /* Coral */
  --primary-light: #ff8d7a;    /* Lighter coral */
  --secondary: #4C7AF2;        /* Soft blue */
  --secondary-light: #6b92f5;  /* Lighter soft blue */
  --background: #ffffff;
  --surface: #f8fafc;         /* Light gray for cards */
  --text: #2A2A2A;
  --text-light: #64748b;
  --success: #10b981;         /* Emerald */
  --warning: #f59e0b;         /* Amber */
  
  /* Updated Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  
  /* Modern Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  
  /* Modern Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
  
  /* Modern Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  
  /* Reduced header height */
  --header-height: 4rem;  /* Back to original size */
  --max-width: 1280px;
  --section-padding: clamp(3rem, 8vw, 8rem);

  /* Modern Typography System */
  --font-display: clamp(2.5rem, 8vw, 4.5rem);
  --font-h1: clamp(2rem, 6vw, 3.5rem);
  --font-h2: clamp(1.5rem, 4vw, 2.5rem);
  --font-large: clamp(1.25rem, 3vw, 1.5rem);
  --font-medium: 1.125rem;
  --font-base: 1rem;
}

/* Modern Base Styles */
body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--background);
  background-image: 
    linear-gradient(var(--surface) 1px, transparent 1px),
    linear-gradient(90deg, var(--surface) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center;
  background-attachment: fixed;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-lg);
}

h1 {
  font-size: var(--font-h1);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: var(--font-h2);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

/* Modern Container */
.container {
  width: min(90%, var(--max-width));
  margin-inline: auto;
  padding: var(--section-padding) 0;
}

/* Modern Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: left;
}

.logo-name {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.1rem;
}

.logo-surname {
  display: block;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
  opacity: 0.8;
  transition: all 0.2s ease;
  padding: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.lang-switch .nav-link {
  font-weight: 600;
  opacity: 0.7;
}

.burger {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

@media (max-width: 768px) {
  :root {
    --header-height: 3.0rem;  /* Reduced size only on mobile */
  }

  .nav-wrapper {
    height: var(--header-height);  /* Apply reduced height */
  }

  /* Adjust logo size for mobile */
  .logo-name {
    font-size: 1.2rem;  /* Slightly smaller on mobile */
  }

  .logo-surname {
    font-size: 0.9rem;  /* Slightly smaller on mobile */
  }

  /* Keep consistent header behavior across language versions */
  header {
    transition: transform 0.3s ease;
  }

  header.hide {
    transform: translateY(-100%);
  }

  /* Keep burger button visible and consistent */
  .burger {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
  }

  /* Separate burger button from header */
  .burger {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: white;
    border-radius: 50%;
    width: 2.5rem !important;  /* Even slightly smaller */
    height: 2.5rem !important;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* Refined burger icon styling */
  .burger span {
    display: block;
    width: 16px !important;  /* Slightly thinner lines */
    height: 2px !important;
    background: var(--text) !important;  /* Back to original color for better contrast */
    margin: 2px 0 !important;  /* Tighter spacing */
    transition: 0.3s;
    border-radius: 1px;  /* Slightly rounded edges */
  }

  /* Improved burger animation */
  .burger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Adjust mobile menu positioning */
  .nav-links {
    top: 0;
    padding-top: calc(var(--header-height) + 2rem);
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    bottom: 0;
    width: 80%;
    flex-direction: column;
    background: var(--surface);
    padding: var(--spacing-lg);
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.nav-active {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    padding: var(--spacing-sm);
  }

  /* Keep burger visible even when header is hidden */
  header.hide .burger {
    position: fixed;
    transform: none;
  }
  
  /* Adjust burger appearance when menu is active */
  .burger.active span {
    margin: 0 !important;  /* Remove margins when transformed */
  }
}

/* Modern Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--gradient-primary);
  color: white;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.button:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
}

/* Modern Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
}

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

/* Modern Form Styling */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Modern Services Grid */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.services-list li {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
}

/* Modern FAQ Styling */
.faq-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  transition: all 0.3s ease;
}

.faq-question {
  font-weight: 500;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Modern Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  background: url('img/Hero-2.png') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.3)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--spacing-md);
  text-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.2),
    0 4px 20px rgba(0, 0, 0, 0.15),
    0 6px 30px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-size: var(--font-display);
  color: white;
  margin-bottom: var(--spacing-md);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: 
    0 2px 15px rgba(0, 0, 0, 0.3),
    0 4px 25px rgba(0, 0, 0, 0.2),
    0 6px 35px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  font-size: var(--font-large);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
  text-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.25),
    0 4px 22px rgba(0, 0, 0, 0.2),
    0 6px 32px rgba(0, 0, 0, 0.15);
}

.hero-description {
  font-size: var(--font-medium);
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
  opacity: 0.8;
  text-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.25),
    0 4px 22px rgba(0, 0, 0, 0.2),
    0 6px 32px rgba(0, 0, 0, 0.15);
}

.hero-cta {
  background: white;
  color: var(--primary);
  font-weight: 600;
  padding: 1rem 2rem;
  transform-origin: center;
}

.hero-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Modern Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeUp {
  animation: fadeUp 0.6s ease forwards;
}

/* Modern Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-padding: clamp(2rem, 6vw, 4rem);
  }
  
  .nav-links {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }
}

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

/* Base Styling */
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Enable smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Adjust based on header height */
}

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

/* Text alignment */
.text-left {
  text-align: left;
}

/* Navigation */
header {
  position: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  top: 0;
  left: 0;
}
#top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
#top-nav .logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}
.nav-links {
  list-style: none;
  display: flex;
}
.nav-links li {
  margin: 0 1rem;
}
.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 4px;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
/* Language switcher button style */
.lang-switch button {
  background: none;
  border: 1px solid #6C63FF;
  color: #6C63FF;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 600;
}

/* Hero Section */
/*#hero {
  height: 100vh;
  background: url('img/hamburg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}*/
#hero::before {
  /*content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(108,99,255,0.9), rgba(108,99,255,0.4));
  animation: gradientShift 8s ease-in-out infinite;*/
}
.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
}
.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  animation: fadeInDown 1s ease-out;
}
.hero-content .subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 400;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}
.hero-content .description {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.6s backwards;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-content .cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #fff;
  color: #6C63FF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.9s backwards;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.hero-content .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  background-color: #f8f8f8;
}

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

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

@keyframes gradientShift {
  0% {
    background: linear-gradient(135deg, rgba(108,99,255,0.9), rgba(108,99,255,0.4));
  }
  50% {
    background: linear-gradient(135deg, rgba(108,99,255,0.4), rgba(108,99,255,0.9));
  }
  100% {
    background: linear-gradient(135deg, rgba(108,99,255,0.9), rgba(108,99,255,0.4));
  }
}

/* Who am I Section */
#whoami {
  background-color: #f9f9f9;
  padding: 4rem 0;
}
.whoami-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.whoami-content img.headshot {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  margin-right: 2rem;
  object-fit: cover;
}
.whoami-content .text {
  flex: 1;
}
.whoami-content h2 {
  font-weight: 600;
  margin-bottom: 1rem;
}
.whoami-content .text p {
  text-align: left;
}

/* Services Section */
#services {
  padding: 6rem 0;
  background-color: #fff;
}
#services h2 {
  margin-bottom: 2rem;
  font-weight: 600;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}
.services-list li {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.services-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.services-list li img {
  width: 64px;
  height: 64px;
  margin-bottom: var(--spacing-md);
  transition: transform 0.3s ease;
}
.services-list li:hover img {
  transform: scale(1.1);
}
.services-list li span strong {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  display: block;
}

/* Base paragraph spacing */
p {
  margin-bottom: 1.25rem;
}
p:last-child {
  margin-bottom: 0;
}

/* Two Column Layout */
.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.two-column .column {
  flex: 1 1 45%;
  min-width: 250px;
}
.two-column.reverse {
  flex-direction: row-reverse;
}
.two-column ul {
  list-style-position: inside;
  padding-left: 1rem;
}

/* How I Work Section */
#how-i-work {
  padding: 4rem 0;
  background-color: #f9f9f9;
}
#how-i-work h2 {
  margin-bottom: 1rem;
  font-weight: 600;
}
.how-i-work-list {
  list-style: none;
  margin-top: 0;
}
.how-i-work-list li {
  position: relative;
  padding-left: 2rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
}
.how-i-work-list li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 1rem;
  transform: translateY(-50%);
  top: 50%;
}
.how-i-work-list li::after {
  content: '';
  position: absolute;
  left: 4px;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--primary);
  opacity: 0.3;
  top: 50%;
}
.how-i-work-list li:last-child::after {
  display: none;
}

/* Inspirational Divider Section */
.inspirational-section {
  height: 500px;
  background: url('img/albu.jpg') center/cover no-repeat;
  /*background: url('https://picsum.photos/seed/inspire/1600/300') center/cover no-repeat;*/
  position: relative;
}
.inspirational-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(108,99,255,0.3);
}

/* Training & Experience Section */
#training {
  padding: 4rem 0;
  background-color: #fff;
}
#training h2 {
  margin-bottom: 1rem;
  font-weight: 600;
}
.training-list {
  list-style: none;
  margin-top: 0;
}
.training-list li {
  position: relative;
  padding-left: 2rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
}
.training-list li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 1rem;
  transform: translateY(-50%);
  top: 50%;
}
.training-list li::after {
  content: '';
  position: absolute;
  left: 4px;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--primary);
  opacity: 0.3;
  top: 50%;
}
.training-list li:last-child::after {
  display: none;
}

/* Contact Section */
#contact {
  padding: 4rem 0;
  background-color: #f9f9f9;
  text-align: left;
}

#contact h2,
#contact p {
  text-align: left;
  max-width: 800px;
  margin-left: 0;
}

#contact form {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: var(--spacing-lg) auto; /* Changed to auto for horizontal centering */
}

.form-group {
  position: relative;
  margin-bottom: var(--spacing-md);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-sm);
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  background: transparent;
  transition: all 0.3s ease;
  font-family: inherit;
}
.form-group label {
  position: absolute;
  left: var(--spacing-sm);
  top: 50%;
  transform: translateY(-50%);
  background: var(--background);
  padding: 0 0.5rem;
  color: var(--text-light);
  transition: all 0.3s ease;
  pointer-events: none;
}
.form-group textarea ~ label {
  top: var(--spacing-sm);
  transform: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
}
.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.875rem;
  color: var(--primary);
}

/* FAQ Section */
#faq {
  padding: 4rem 0;
  background-color: #fff;
}
#faq h2 {
  text-align: left;
  margin-bottom: 2rem;
  font-weight: 600;
}
.faq-item {
  background: var(--background);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.1);
}
.faq-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  font-weight: 500;
  padding-right: 2rem;
  position: relative;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
  opacity: 0;
}
.faq-answer.open {
  opacity: 1;
  margin-top: 0.75rem;
}
.faq-question.open::after {
  transform: translateY(-50%) rotate(45deg);
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}
footer p {
  margin: 0;
}

/* Ensure sections have proper spacing from fixed header */
section {
  scroll-margin-top: 80px; /* Match scroll-padding-top */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* Burger menu becomes visible and nav links stack vertically */
  .burger {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    height: calc(100vh - var(--header-height));
    width: 80%;
    background: var(--background);
    flex-direction: column;
    padding: var(--spacing-lg);
    transition: right 0.3s ease;
    box-shadow: var(--shadow-md);
  }
  .nav-links.nav-active {
    right: 0;
  }
  .nav-links li {
    margin: 0.5rem 0;
    text-align: center;
  }
  .nav-links li.lang-switch {
    margin: 1rem 0;
  }
  .lang-switch a {
    font-size: 1rem;
  }
  /* Who am I: stack image and text vertically */
  .whoami-content {
    flex-direction: column;
    text-align: center;
  }
  .whoami-content img.headshot {
    margin: 0 auto 1rem auto;
  }
  /* Services: ensure each service item stacks its icon above its label */
  .services-list li {
    flex-direction: column;
    align-items: center;
  }
  /* Two column layout stacks vertically on mobile */
  .two-column, .two-column.reverse {
    flex-direction: column;
  }
  .two-column .column {
    width: 100%;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content .subtitle {
    font-size: 1.5rem;
  }
  .hero-content .description {
    font-size: 1.1rem;
  }
  .services-list {
    gap: 3rem;
  }
  .services-list li,
  .services-list li:nth-last-child(-n+2) {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .whoami-content h2 {
    text-align: left;
    margin-left: 0;
  }
  
  .whoami-content h2::after {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content .subtitle {
    font-size: 1.25rem;
  }
  .hero-content .description {
    font-size: 1rem;
  }
  .nav-links li a {
    font-size: 0.9rem;
  }
  .services-list li {
    flex: 1 1 120px;
  }
}

/* Language switcher styling */
.nav-links li.lang-switch {
  margin-left: 1.5rem; /* Extra space to separate it from other nav items */
}

.lang-switch a {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.7;
  padding: 0.25rem;
  transition: all 0.3s ease;
}

.lang-switch a:hover {
  opacity: 1;
  color: #6C63FF;
  border-bottom: none;
}

/* Remove the default nav link styling for language switcher */
.nav-links li.lang-switch a {
  border-bottom: none;
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children animations */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.reveal > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.reveal > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.reveal > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.reveal > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.reveal > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.reveal > *:nth-child(5) { transition-delay: 0.5s; }

/* Modern Mobile Menu */
@media (max-width: 768px) {
  .burger {
    display: block;
    cursor: pointer;
  }

  .burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text);
    margin: 5px;
    transition: all 0.3s ease;
  }

  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0,0,0,0.1);
  z-index: 1001;
}

.scroll-progress-bar {
  height: 100%;
  background: var(--gradient);
  width: 0;
  transition: width 0.1s ease;
}

/* Section Title Variations */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title.light {
  color: white;
}

.section-title.light::after {
  background: white;
}

.section-title.centered::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Add this animation for titles */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-title {
  animation: slideIn 0.8s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--header-height) + var(--spacing-lg));
  }
  
  .hero-content {
    padding: 0 var(--spacing-md);
  }
}

.services {
  padding: 4rem 2rem;
  background-color: #f8f9fa;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #333;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(76, 122, 242, 0.1);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 114, 92, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin: 0.5rem 0;
  color: #333;
  font-size: 1.5rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services {
    padding: 2rem 1rem;
  }
  
  .services h2 {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}

/* Email reveal button styling */
.reveal-email {
  display: inline-block;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  font-family: inherit;
  font-size: inherit;
  color: var(--primary) !important;
  text-decoration: underline;
  cursor: pointer;
  font-weight: inherit;
  margin: 0;
  transition: opacity 0.2s ease;
}

.reveal-email:hover {
  opacity: 0.8;
}
