/* Reset and base styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: var(--background-gradient, linear-gradient(135deg, #f4f6f8 0%, #e8ecf1 100%));
  color: var(--gray-900, #333);
  min-height: 100vh;
  /* Ensure sticky positioning works */
  overflow-x: hidden;
}

/* Resume CTA Section */
.resume-cta {
  background: #f5faff;
  border-radius: 8px;
  margin: 2rem auto 1.5rem auto;
  max-width: 700px;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 90, 141, 0.06);
  text-align: center;
}

.resume-cta h2 {
  color: #1e3a8a;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.resume-cta p {
  font-size: 1.08em;
  color: #333;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.btn-resume-editor {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.btn-resume-editor:hover {
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
  color: #fff;
  text-decoration: none;
}

.btn-resume-editor:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

.btn-resume-editor:active {
  transform: translateY(0);
}

/* Back to Resources Button */
.back-to-resources {
  text-align: center;
  margin: 2rem 0;
}

.btn-back-resources {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.btn-back-resources:hover {
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
  color: #fff;
  text-decoration: none;
}

.btn-back-resources:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

.btn-back-resources:active {
  transform: translateY(0);
}

.btn-back-resources i {
  margin-right: 0.5rem;
}

/* Main content */
.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  /* Ensure sticky positioning works */
  position: relative;
  overflow: visible;
}

/* Ensure proper spacing with standard navigation */
body {
  padding-top: 0;
}

/* Adjust content margin when navigation is present */
.site-header ~ .resume-cta {
  margin-top: 1rem;
}

/* Header - Normal position (not sticky) with white background and blue border */
.resume-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #ffffff !important;
  border-radius: 12px;
  position: relative;
  margin-top: 1rem;
  /* Blue border outline */
  border: 2px solid #2563eb;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
  z-index: 1;
}

/* Ensure content is properly layered */
.resume-header > * {
  position: relative;
  z-index: 1;
  background: transparent;
}

.logo-container {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jobcast-logo {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.jobcast-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.resume-header h1 {
  color: #1e3a8a;
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
  font-weight: 700;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 1.1rem;
  color: #666;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Sections */
.section {
  margin-bottom: 1.5rem;
}

.section h2 {
  color: #1e3a8a;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e6ed;
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #1e3a8a;
}

.section h3 {
  color: #333;
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
}

/* Lists */
.skills-list,
.achievements-list,
.certifications-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-list li,
.achievements-list li,
.certifications-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 1.5rem;
}

.skills-list li::before,
.achievements-list li::before,
.certifications-list li::before {
  content: '▸';
  color: #1e3a8a;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.skills-list li:last-child,
.achievements-list li:last-child,
.certifications-list li:last-child {
  border-bottom: none;
}

/* Experience and Education */
.experience-item,
.education-item {
  margin-bottom: 1.5rem;
}

.job-title,
.degree {
  color: #1e3a8a;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.company-info,
.school-info {
  color: #666;
  font-style: italic;
  margin: 0 0 0.5rem 0;
}

.gpa {
  color: #28a745;
  font-weight: 600;
  margin: 0;
}

/* Cover Letter */
.cover-letter {
  background: #f8f9fa;
  border: 2px solid #e0e6ed;
  border-radius: 10px;
  padding: 2rem;
  margin-top: 3rem;
}

.cover-letter h2 {
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 1.5rem;
}

.letter-content p {
  margin-bottom: 1rem;
  text-align: justify;
  line-height: 1.8;
}

.signature {
  margin-top: 2rem !important;
  font-weight: 600;
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Social Sharing Section */
.social-sharing {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e0e6ed;
  text-align: center;
}

.sharing-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.sharing-label {
  font-weight: 600;
  color: #475569;
  margin-right: 0.5rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  background: #f8fafc;
  color: #475569;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.share-btn:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

.share-facebook {
  color: #1877f2;
  border-color: #1877f2;
}

.share-facebook:hover {
  background: #1877f2;
  color: white;
}

.share-twitter {
  color: #1da1f2;
  border-color: #1da1f2;
}

.share-twitter:hover {
  background: #1da1f2;
  color: white;
}

.share-linkedin {
  color: #0077b5;
  border-color: #0077b5;
}

.share-linkedin:hover {
  background: #0077b5;
  color: white;
}

.share-whatsapp {
  color: #25d366;
  border-color: #25d366;
}

.share-whatsapp:hover {
  background: #25d366;
  color: white;
}

.share-copy {
  color: #1e3a8a;
  border-color: #1e3a8a;
  background: white;
}

.share-copy:hover {
  background: #1e3a8a;
  color: white;
}

.share-btn i {
  font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e0e6ed;
}

.faq-section h2 {
  color: #1e3a8a;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e3a8a;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f1f5f9;
}

.faq-question:focus {
  outline: 2px solid #fbbf24;
  outline-offset: -2px;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: #1e3a8a;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-answer.active {
  max-height: 500px;
  padding: 1.25rem 1.5rem;
}

.faq-answer p {
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

/* Related Resources Section */
.related-resources {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e0e6ed;
}

.related-resources h2 {
  color: #1e3a8a;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.related-resources-intro {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.05em;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.resource-card {
  background: #ffffff;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
  border-color: #1e3a8a;
}

.resource-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.resource-card h3 {
  color: #1e3a8a;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.resource-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.btn-resource {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.2);
}

.btn-resource:hover {
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
  color: #fff;
  text-decoration: none;
}

.btn-resource:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #1e3a8a;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 4px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 6px;
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Download buttons - Static position above footer */
.download-buttons-static {
  background: #f8fafc;
  padding: 2rem;
  margin: 2rem 0 0 0;
  border-top: 2px solid #e0e6ed;
}

.download-buttons-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  align-items: start;
  gap: 2rem;
}

@media (min-width: 769px) {
  .download-buttons-container {
    grid-template-columns: auto auto;
    justify-content: center;
  }
}

/* Legacy floating buttons - hidden */
.download-buttons {
  display: none;
}

.download-btn-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 250px;
  position: relative;
  padding: 0;
  margin: 0;
}

.download-btn-wrapper .download-btn {
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 15px 25px !important;
  order: 1;
  align-self: center;
  position: relative;
  top: 0;
  width: 100%;
}

.download-btn-wrapper:first-child .download-btn,
.download-btn-wrapper:last-child .download-btn,
.download-btn-wrapper .download-btn.cover-letter {
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

.download-btn-wrapper .file-info {
  order: 2;
  margin-top: 8px;
}

.file-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: #666;
  min-width: 200px;
  text-align: center;
  min-height: 50px;
  justify-content: flex-start;
}

.file-size {
  font-weight: 500;
  color: #475569;
}

.preview-link {
  color: #1e3a8a;
  text-decoration: none;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.preview-link:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.preview-link i {
  font-size: 0.75rem;
}

.download-btn {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  border: none;
  padding: 15px 25px !important;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  width: 100%;
  max-width: 250px;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 51px;
  flex-shrink: 0;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.download-btn.cover-letter {
  margin: 0 !important;
  margin-top: 0 !important;
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.download-btn:hover::before {
  left: 100%;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
}

.download-btn:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

.download-btn:active {
  transform: translateY(-1px);
}

.btn-icon {
  font-size: 18px;
}

.btn-text {
  font-size: 13px;
}

/* Loading and success states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading .btn-text::after {
  content: " ⏳";
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.success {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.success .btn-text::after {
  content: " ✓";
  animation: checkmark 0.5s ease-in-out;
}

@keyframes checkmark {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Message container */
.message-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.message-container.show {
  opacity: 1;
}

.message-container.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message-container.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Print styles */
@media print {
  .skip-link,
  .download-buttons,
  .download-buttons-static,
  .site-header,
  .message-container,
  .resume-cta,
  .back-to-resources,
  .related-resources,
  .social-sharing,
  .faq-section {
    display: none !important;
  }
  
  .resume-header {
    position: static !important;
  }
  
  .content {
    box-shadow: none;
    margin: 0;
    padding: 1rem;
  }
  
  body {
    background: white;
  }
  
  .cover-letter {
    background: white;
    border: 1px solid #ccc;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .resume-header {
    top: 70px;
    padding: 1.5rem 1rem;
    margin-top: 0.5rem;
  }
  
  .download-buttons-static {
    padding: 1.5rem 1rem;
  }
  
  .download-buttons-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .download-btn-wrapper {
    align-items: center;
    min-width: 100%;
    max-width: 300px;
  }
  
  .file-info {
    align-items: center;
    min-width: auto;
    width: 100%;
  }
  
  .download-btn {
    min-width: 160px;
    font-size: 12px;
    padding: 12px 20px;
  }
  
  .content {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .jobcast-logo {
    max-width: 150px;
  }
  
  .resume-header h1 {
    font-size: 2rem;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .section h2 {
    font-size: 1.5rem;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .related-resources h2 {
    font-size: 1.5rem;
  }
  
  .sharing-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .share-btn {
    width: 100%;
    justify-content: center;
  }
  
  .sharing-label {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
  
  .faq-section h2 {
    font-size: 1.5rem;
  }
  
  .faq-question {
    font-size: 0.95rem;
    padding: 1rem;
  }
  
  /* Footer mobile adjustments - matching home page */
  .site-footer {
    padding: 2rem 0 0 0 !important;
    margin-top: 2rem !important;
  }
  
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0 1.5rem !important;
  }
  
  .footer-column.footer-brand {
    grid-column: 1 !important;
    text-align: center !important;
    align-items: center !important;
  }
  
  .footer-logo {
    justify-content: center !important;
  }
  
  .footer-description {
    text-align: center !important;
    max-width: 100% !important;
  }
  
  .footer-social {
    justify-content: center !important;
  }
  
  .footer-column h3 {
    text-align: center !important;
  }
  
  .footer-column h3::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  
  .footer-nav {
    align-items: center !important;
  }
  
  .footer-nav li {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
  }
  
  .footer-nav a {
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }
  
  .footer-nav a span {
    text-align: center !important;
  }
  
  .footer-contact {
    align-items: center !important;
  }
  
  .footer-contact li {
    text-align: left !important;
    max-width: 280px !important;
  }
  
  .footer-bottom-content {
    flex-direction: column !important;
    text-align: center !important;
    padding: 0 1.5rem !important;
    align-items: center !important;
  }
  
  .footer-legal {
    justify-content: center !important;
    gap: 1.5rem !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  .footer-legal a {
    text-align: center !important;
  }
  
  .footer-contact-content {
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: center !important;
    padding: 0 1.5rem !important;
    text-align: center !important;
    justify-content: center !important;
  }
  
  .contact-item {
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .contact-item span,
  .contact-item a {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .resume-header {
    top: 60px;
    padding: 1rem;
  }
  
  .resume-header h1 {
    font-size: 1.75rem;
  }
  
  .contact-info {
    font-size: 0.9rem;
    gap: 0.75rem;
  }
  
  .download-buttons-static {
    padding: 1rem;
  }
  
  .download-btn {
    min-width: 200px;
    width: 100%;
    max-width: 280px;
  }
  
  .content {
    margin: 0.5rem;
    padding: 1rem;
  }
  
  .jobcast-logo {
    max-width: 120px;
  }
  
  /* Footer mobile adjustments for small screens - matching home page */
  .site-footer {
    padding: 2rem 0 0 0 !important;
    margin-top: 2rem !important;
  }
  
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0 1rem !important;
  }
  
  .footer-column.footer-brand {
    grid-column: 1 !important;
    text-align: center !important;
    align-items: center !important;
  }
  
  .footer-logo {
    justify-content: center !important;
  }
  
  .footer-logo-text {
    font-size: 1.75rem !important;
  }
  
  .footer-description {
    text-align: center !important;
    max-width: 100% !important;
    font-size: 0.9rem !important;
  }
  
  .footer-social {
    justify-content: center !important;
    gap: 0.5rem !important;
  }
  
  .footer-social-link {
    width: 40px !important;
    height: 40px !important;
  }
  
  .footer-column h3 {
    text-align: center !important;
    font-size: 1.1rem !important;
  }
  
  .footer-column h3::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  
  .footer-nav {
    align-items: center !important;
  }
  
  .footer-nav li {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
  }
  
  .footer-nav a {
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }
  
  .footer-nav a span {
    text-align: center !important;
  }
  
  .footer-contact {
    align-items: center !important;
  }
  
  .footer-contact li {
    text-align: left !important;
    max-width: 280px !important;
    font-size: 0.85rem !important;
  }
  
  .footer-bottom-content {
    flex-direction: column !important;
    text-align: center !important;
    padding: 0 1rem !important;
    gap: 1rem !important;
  }
  
  .footer-copyright {
    font-size: 0.85rem !important;
  }
  
  .footer-legal {
    justify-content: center !important;
    gap: 1rem !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  .footer-legal a {
    font-size: 0.85rem !important;
    text-align: center !important;
  }
  
  .footer-contact-content {
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: center !important;
    padding: 0 1rem !important;
    text-align: center !important;
    justify-content: center !important;
  }
  
  .contact-item {
    justify-content: center !important;
    font-size: 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .contact-item span,
  .contact-item a {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }
  
  .scroll-to-top {
    width: 40px !important;
    height: 40px !important;
    bottom: 1rem !important;
    right: 1rem !important;
  }
} 