:root {
  --bg-page: #F8FAFC;
  --bg-hero-start: #F0FDFA;
  --bg-hero-end: #F1F5F9;
  --bg-card: #FFFFFF;
  --primary-accent: #0D9488;
  --primary-accent-light: #CCFBF1;
  --text-dark: #1E293B;
  --text-medium: #475569;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --error-bg: #FEF2F2;
  --error-text: #DC2626;
  --warning-bg: #FFFBEB;
  --warning-text: #B45309;
  --success-bg: #ECFDF5;
  --success-text: #065F46;
  --info-bg: #EFF6FF;
  --info-text: #1E40AF;
  --modern-accent: #3B82F6;
  --executive-accent: #1E293B;
  --creative-accent: #7C3AED;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-medium);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 {
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

h2.section-title {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  margin-bottom: 1.25rem;
}

h3.subsection-title {
  font-size: clamp(1rem, 3vw, 1.1rem);
  margin-bottom: 0.75rem;
}

/* Navigation */
.navbar {
  background-color: var(--bg-card);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem clamp(0.75rem, 3vw, 1rem);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo {
  height: 32px;
  width: auto;
}

.brand-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
}

/* Navigation Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.25rem;
  z-index: 1002;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Navigation Slider */
.nav-slider {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-card);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  z-index: 1001;
  overflow-y: auto;
}

.nav-slider.active {
  right: 0;
}

.slider-content {
  padding: 1.5rem;
  height: 100%;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.slider-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}

.slider-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slider-link {
  display: block;
  padding: 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.slider-link:hover, .slider-link.active {
  background-color: var(--primary-accent-light);
  color: var(--primary-accent);
}

/* Overlay when slider is open */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero-section {
  padding: clamp(1.5rem, 5vw, 2.5rem) clamp(0.75rem, 3vw, 1rem) clamp(2rem, 5vw, 3.5rem);
  background-image: linear-gradient(120deg, var(--bg-hero-start), var(--bg-hero-end));
  text-align: center;
  width: 100%;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(0.75rem, 3vw, 1rem);
}

.hero-text p {
  font-size: clamp(0.875rem, 3vw, 1.1rem);
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Quick Stats */
.quick-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-medium);
  font-weight: 500;
}

/* Tool Links */
.tool-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tool-link {
  background-color: white;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid var(--border-color);
}

.tool-link:hover {
  background-color: var(--primary-accent-light);
  border-color: var(--primary-accent);
}

.tool-link.active {
  background-color: var(--primary-accent);
  color: white;
  border-color: var(--primary-accent);
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-accent);
  color: white;
  padding: clamp(0.625rem, 2.5vw, 0.75rem) clamp(1.25rem, 4vw, 1.75rem);
  border-radius: 0.5rem;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  margin-top: 0.5rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(13, 148, 136, 0.1);
}

/* Layout */
main {
  padding: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.card {
  background-color: var(--bg-card);
  border-radius: 0.75rem;
  padding: clamp(0.75rem, 3vw, 1.25rem);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  width: 100%;
}

.main-card {
  border-top: 4px solid var(--primary-accent);
}

.calculator-container {
  margin-top: 2rem;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  main {
    padding: 1rem;
  }
  .main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Form Styles */
.form-section {
  width: 100%;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.form-section label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.8rem, 2.5vw, 0.875rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-section input, .form-section select, .form-section textarea {
  width: 100%;
  padding: clamp(0.5rem, 2vw, 0.75rem);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  background-color: var(--bg-page);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
}

.form-section input:focus, .form-section select:focus, .form-section textarea:focus {
  outline: none;
  background-color: white;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px var(--primary-accent-light);
}

.form-section textarea {
  min-height: 100px;
  resize: vertical;
}

.input-help {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.form-button {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-button.primary {
  background-color: var(--primary-accent);
  color: white;
}

.form-button.primary:hover {
  background-color: #0b8378;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.form-button.secondary {
  background-color: transparent;
  color: var(--primary-accent);
  border: 2px solid var(--primary-accent);
}

.form-button.secondary:hover {
  background-color: var(--primary-accent-light);
}

/* Resume Preview */
.results-section {
  width: 100%;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.template-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.template-option {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.template-option.active {
  background: var(--primary-accent);
  color: white;
  border-color: var(--primary-accent);
}

.template-option:hover:not(.active) {
  background: var(--primary-accent-light);
}

.export-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.export-option {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.export-option:hover {
  background: var(--primary-accent-light);
  border-color: var(--primary-accent);
}

/* Resume Template Styles */
.resume-template {
  font-family: 'Inter', sans-serif;
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-height: 800px;
  overflow-y: auto;
}

/* Classic Template (Default) */
.template-classic .resume-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-accent);
}

.template-classic .resume-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.template-classic .resume-title {
  font-size: 1.25rem;
  color: var(--primary-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.template-classic .resume-contact {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-medium);
}

.template-classic .section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border-color);
}

/* Modern Template */
.template-modern {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.template-modern .resume-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--modern-accent);
}

.template-modern .resume-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--modern-accent);
  margin-bottom: 0.25rem;
}

.template-modern .resume-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.template-modern .resume-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-medium);
  text-align: right;
}

.template-modern .section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--modern-accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--modern-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Executive Template */
.template-executive {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.template-executive .resume-header {
  text-align: left;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--executive-accent);
}

.template-executive .resume-name {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--executive-accent);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.template-executive .resume-title {
  font-size: 1.3rem;
  color: var(--primary-accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.template-executive .resume-contact {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-medium);
}

.template-executive .section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--executive-accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--executive-accent);
}

/* Creative Template */
.template-creative {
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 50%, #f0fdfa 100%);
}

.template-creative .resume-header {
  background: linear-gradient(135deg, var(--creative-accent), #8b5cf6);
  color: white;
  padding: 2rem;
  margin: -2rem -2rem 2rem -2rem;
  border-radius: 0.5rem 0.5rem 0 0;
  text-align: center;
}

.template-creative .resume-name {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.template-creative .resume-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.9;
  color: white;
}

.template-creative .resume-contact {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.9;
  color: white;
}

.template-creative .section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--creative-accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--creative-accent);
  position: relative;
}

.template-creative .section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--creative-accent);
}

/* Common Resume Elements */
.resume-section {
  margin-bottom: 1.5rem;
}

.experience-item,
.education-item {
  margin-bottom: 1rem;
}

.item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.item-title {
  font-weight: 600;
  color: var(--text-dark);
}

.item-date {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.item-subtitle {
  font-style: italic;
  color: var(--primary-accent);
  margin-bottom: 0.25rem;
}

.template-modern .item-subtitle {
  color: var(--modern-accent);
}

.template-executive .item-subtitle {
  color: var(--executive-accent);
}

.template-creative .item-subtitle {
  color: var(--creative-accent);
}

.item-description {
  color: var(--text-medium);
  font-size: 0.95rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: var(--primary-accent-light);
  color: var(--primary-accent);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.template-modern .skill-tag {
  background: #dbeafe;
  color: var(--modern-accent);
}

.template-executive .skill-tag {
  background: #f1f5f9;
  color: var(--executive-accent);
}

.template-creative .skill-tag {
  background: #f3e8ff;
  color: var(--creative-accent);
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background-color: var(--bg-page);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--primary-accent);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background-color: var(--bg-page);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.faq-item p {
  color: var(--text-medium);
  line-height: 1.6;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem clamp(0.75rem, 3vw, 1rem);
  margin-top: 2rem;
  background-color: var(--bg-hero-end);
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--primary-accent);
  text-decoration: none;
  font-weight: 500;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Animations */
.animate-on-load {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ATS Score */
.ats-score {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--info-bg);
  border-radius: 0.5rem;
  border: 1px solid var(--info-text);
}

.ats-score-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--info-text);
}

.ats-score-label {
  color: var(--info-text);
  font-weight: 500;
}

/* Progress Tracker */
.progress-tracker {
  margin-top: 1.5rem;
}

.progress-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.progress-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.progress-checkbox.checked {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: white;
}

.progress-text {
  flex: 1;
}

/* Custom Notification System */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.notification {
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease-out forwards;
  max-width: 100%;
}

.notification.success {
  background-color: var(--success-bg);
  color: var(--success-text);
  border-left: 4px solid var(--success-text);
}

.notification.error {
  background-color: var(--error-bg);
  color: var(--error-text);
  border-left: 4px solid var(--error-text);
}

.notification.warning {
  background-color: var(--warning-bg);
  color: var(--warning-text);
  border-left: 4px solid var(--warning-text);
}

.notification.info {
  background-color: var(--info-bg);
  color: var(--info-text);
  border-left: 4px solid var(--info-text);
}

.notification-icon {
  font-size: 1.2rem;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.notification-message {
  font-size: 0.9rem;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.notification-close:hover {
  opacity: 1;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.notification.hiding {
  animation: slideOut 0.3s ease-in forwards;
}

/* Form Validation Styles */
.input-error {
  border-color: var(--error-text) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.error-message {
  color: var(--error-text);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--primary-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
  .navbar,
  .nav-slider,
  .nav-overlay,
  .hero-section,
  .features-section,
  .footer,
  .form-section,
  .template-selector,
  .export-options,
  .notification-container {
    display: none !important;
  }
  
  .calculator-container {
    display: block;
    padding: 0;
    margin: 0;
  }
  
  .results-section {
    position: static;
    max-height: none;
    box-shadow: none;
    border: none;
    padding: 0;
  }
  
  .resume-template {
    box-shadow: none;
    min-height: auto;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-slider {
    width: 100%;
  }
  
  .tool-links {
    flex-direction: column;
    align-items: center;
  }
  
  .input-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-button {
    width: 100%;
    justify-content: center;
  }
  
  .preview-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .export-options {
    width: 100%;
    justify-content: center;
  }
  
  .template-modern .resume-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .template-modern .resume-contact {
    text-align: left;
  }
}