/* =================================================================
   RiQua Notarservice - Professional Corporate Design
   CSS Stylesheet - Professional Blue/Gray Corporate Aesthetic
   ================================================================= */

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #f8f9fa;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
  color: #174261;
  margin-bottom: 20px;
}

h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

h4 {
  font-size: 20px;
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
  line-height: 1.7;
}

a {
  color: #2C7BA0;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #174261;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

strong {
  font-weight: 600;
  color: #174261;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header Styles */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #174261;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 30px;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Main Navigation */
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  color: #2c3e50;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: #174261;
  color: #ffffff;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background-color: #174261;
  color: #ffffff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(23, 66, 97, 0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: #2C7BA0;
  transform: scale(1.05);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: #174261;
  z-index: 1000;
  padding: 80px 30px 30px;
  transition: right 0.4s ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background-color: #ffffff;
  color: #174261;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav a {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.mobile-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-left-color: #D4AF37;
  transform: translateX(8px);
}

/* Button Styles */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: #174261;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(23, 66, 97, 0.2);
}

.btn-primary:hover {
  background-color: #2C7BA0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(23, 66, 97, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #174261;
  border-color: #174261;
}

.btn-secondary:hover {
  background-color: #174261;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #174261 0%, #2C7BA0 100%);
  color: #ffffff;
  padding: 80px 20px;
  margin-bottom: 60px;
  text-align: center;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 48px;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subheadline {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin: 32px 0;
}

.trust-indicators span {
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #174261 0%, #2C7BA0 100%);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 60px;
}

.page-hero h1 {
  color: #ffffff;
  font-size: 42px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 24px;
  opacity: 0.95;
}

/* Section Styles */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.section-subheadline {
  font-size: 18px;
  color: #5a6c7d;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

section h2 {
  text-align: center;
  margin-bottom: 32px;
}

/* Services Grid */
.services-overview,
.services-detailed {
  background-color: #ffffff;
  padding: 60px 20px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
}

.service-card {
  background-color: #ffffff;
  border: 2px solid #e8ecef;
  border-radius: 12px;
  padding: 32px 24px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  max-width: 380px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 20px;
}

.service-card:hover {
  border-color: #174261;
  box-shadow: 0 8px 24px rgba(23, 66, 97, 0.15);
  transform: translateY(-4px);
}

.service-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.service-card h3 {
  color: #174261;
  margin-bottom: 12px;
  font-size: 22px;
}

.service-card p {
  color: #5a6c7d;
  margin-bottom: 16px;
}

.service-card .price {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #D4AF37;
  margin-top: 16px;
}

/* Service Detail */
.service-detail {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 32px;
  border: 2px solid #e8ecef;
  flex-wrap: wrap;
}

.service-detail img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.service-content {
  flex: 1;
  min-width: 280px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.service-features li {
  padding-left: 28px;
  position: relative;
  color: #5a6c7d;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2C7BA0;
  font-weight: 700;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 24px 0;
}

.service-meta .price {
  font-size: 24px;
  font-weight: 700;
  color: #D4AF37;
}

.service-meta .duration {
  color: #5a6c7d;
  font-size: 14px;
}

/* Benefits Section */
.benefits {
  background-color: #f8f9fa;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.benefit-card {
  background-color: #ffffff;
  padding: 32px 24px;
  border-radius: 12px;
  flex: 1 1 calc(50% - 24px);
  min-width: 280px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.benefit-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.benefit-card h3 {
  color: #174261;
  margin-bottom: 12px;
}

.benefit-card p {
  color: #5a6c7d;
}

/* Process Section */
.process {
  background-color: #ffffff;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.step {
  flex: 1 1 calc(33.333% - 32px);
  min-width: 260px;
  max-width: 360px;
  text-align: center;
  padding: 24px;
  margin-bottom: 20px;
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #174261 0%, #2C7BA0 100%);
  color: #ffffff;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  line-height: 60px;
  margin-bottom: 20px;
}

.step h3 {
  margin-bottom: 12px;
}

.step p {
  color: #5a6c7d;
}

/* Testimonials Section */
.testimonials {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 32px 28px;
  border-radius: 12px;
  flex: 1 1 calc(50% - 24px);
  min-width: 280px;
  max-width: 550px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #D4AF37;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 16px;
  font-style: italic;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author strong {
  color: #174261;
  font-size: 15px;
}

.testimonial-author span {
  color: #7a8c9e;
  font-size: 14px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #174261 0%, #2C7BA0 100%);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 60px 20px;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.cta-section .btn-primary {
  background-color: #D4AF37;
  color: #174261;
}

.cta-section .btn-primary:hover {
  background-color: #ffffff;
  color: #174261;
}

.contact-info {
  margin-top: 32px;
  font-size: 16px;
}

.contact-info p {
  margin-bottom: 8px;
}

/* Contact Info Section */
.contact-info {
  background-color: #ffffff;
  padding: 60px 20px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 calc(50% - 32px);
  min-width: 280px;
  max-width: 500px;
  margin-bottom: 20px;
}

.detail-item img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.detail-item p {
  margin-bottom: 4px;
}

/* Pricing Section */
.pricing-details,
.pricing-table {
  background-color: #ffffff;
  padding: 60px 20px;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.price-card {
  background-color: #ffffff;
  border: 2px solid #e8ecef;
  border-radius: 12px;
  padding: 40px 32px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  max-width: 360px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 20px;
}

.price-card.popular {
  border-color: #D4AF37;
  border-width: 3px;
  transform: scale(1.05);
}

.price-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #D4AF37;
  color: #174261;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.price-card:hover {
  border-color: #174261;
  box-shadow: 0 8px 24px rgba(23, 66, 97, 0.15);
}

.price-card h3 {
  margin-bottom: 16px;
}

.price-card .price {
  font-size: 42px;
  font-weight: 700;
  color: #174261;
  margin: 20px 0;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.price-card li {
  padding: 10px 0;
  border-bottom: 1px solid #e8ecef;
  color: #5a6c7d;
}

.price-card li:last-child {
  border-bottom: none;
}

/* Pricing Category */
.pricing-category {
  margin-bottom: 48px;
}

.pricing-category h3 {
  color: #174261;
  font-size: 26px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #D4AF37;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background-color: #f8f9fa;
  border-radius: 8px;
  gap: 16px;
}

.price-item .service-name {
  flex: 1;
  font-weight: 600;
  color: #2c3e50;
  min-width: 200px;
}

.price-item .price {
  font-size: 20px;
  font-weight: 700;
  color: #174261;
  min-width: 100px;
  text-align: right;
}

.price-item .details {
  width: 100%;
  font-size: 14px;
  color: #7a8c9e;
  margin-top: 4px;
}

/* Footer */
footer {
  background-color: #1a2332;
  color: #b0b8c1;
  padding: 60px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-info,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-info img {
  height: 45px;
  margin-bottom: 16px;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.6;
}

footer h4 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 16px;
  font-family: 'Open Sans', sans-serif;
}

.footer-links a,
.footer-contact a {
  display: block;
  color: #b0b8c1;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #2c3948;
}

.footer-bottom p {
  font-size: 14px;
  margin: 0;
}

/* Error Page Styles */
.error-hero {
  background: linear-gradient(135deg, #174261 0%, #2C7BA0 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 60px;
}

.error-content h1 {
  color: #ffffff;
  font-size: 42px;
  margin-bottom: 16px;
}

.error-code {
  font-size: 120px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  margin-bottom: 20px;
}

.error-subheadline {
  font-size: 20px;
  margin-bottom: 16px;
  opacity: 0.95;
}

.error-actions {
  background-color: #ffffff;
  padding: 60px 20px;
}

.action-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.action-card {
  background-color: #f8f9fa;
  padding: 32px 24px;
  border-radius: 12px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 260px;
  max-width: 360px;
  text-align: center;
  border: 2px solid #e8ecef;
  margin-bottom: 20px;
}

.action-card h3 {
  margin-bottom: 12px;
}

.action-card p {
  margin-bottom: 20px;
  color: #5a6c7d;
}

.popular-pages {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.links-grid a {
  background-color: #ffffff;
  padding: 16px 24px;
  border-radius: 6px;
  border: 2px solid #e8ecef;
  transition: all 0.3s ease;
  font-weight: 500;
}

.links-grid a:hover {
  border-color: #174261;
  background-color: #174261;
  color: #ffffff;
}

.contact-box {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.contact-box h2 {
  margin-bottom: 20px;
}

.contact-box p {
  margin-bottom: 12px;
}

/* Thank You Page */
.thank-you-hero,
.thank-you-page {
  background: linear-gradient(135deg, #174261 0%, #2C7BA0 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 60px;
}

.thank-you-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #D4AF37;
  color: #174261;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  margin: 0 auto 24px;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.thank-you-hero h1,
.thank-you-page h1 {
  color: #ffffff;
  margin-bottom: 20px;
}

.thank-you-hero .subheadline {
  font-size: 20px;
  margin-bottom: 16px;
}

.next-steps {
  background-color: #ffffff;
  padding: 60px 20px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 40px auto;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #D4AF37;
}

.step-item .step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #174261 0%, #2C7BA0 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 18px;
}

.urgent-note {
  text-align: center;
  color: #D4AF37;
  font-weight: 600;
  margin-top: 24px;
}

.useful-links {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.link-card {
  background-color: #ffffff;
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #e8ecef;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 260px;
  max-width: 360px;
  margin-bottom: 20px;
}

.link-card h3 {
  margin-bottom: 12px;
}

.link-card p {
  margin-bottom: 20px;
  color: #5a6c7d;
}

.social-proof {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin: 32px 0;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.badge strong {
  font-size: 32px;
  color: #174261;
}

.badge span {
  color: #7a8c9e;
  font-size: 14px;
}

.testimonial-short {
  max-width: 600px;
  margin: 40px auto 0;
  padding: 24px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #D4AF37;
}

.testimonial-short p {
  font-style: italic;
  color: #2c3e50;
}

/* Legal Pages */
.legal-page {
  background-color: #ffffff;
  padding: 60px 20px;
}

.legal-page h1 {
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 26px;
  margin-top: 32px;
  margin-bottom: 16px;
  text-align: left;
}

.legal-page h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 12px;
  text-align: left;
}

.legal-page p,
.legal-page ul,
.legal-page ol {
  margin-bottom: 16px;
}

/* Contact Page */
.contact-methods {
  background-color: #ffffff;
  padding: 60px 20px;
}

.methods-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.method-card {
  background-color: #f8f9fa;
  padding: 32px 24px;
  border-radius: 12px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 260px;
  max-width: 360px;
  text-align: center;
  border: 2px solid #e8ecef;
  margin-bottom: 20px;
}

.method-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.method-card h3 {
  margin-bottom: 16px;
}

.method-card .detail {
  font-size: 18px;
  font-weight: 700;
  color: #174261;
  margin-bottom: 8px;
}

.method-card .hours {
  color: #7a8c9e;
  font-size: 14px;
  margin-bottom: 16px;
}

.contact-form-section {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.form-wrapper {
  max-width: 700px;
  margin: 40px auto 0;
}

.form-note {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 12px;
  border-left: 4px solid #D4AF37;
}

.form-note p {
  margin-bottom: 16px;
}

.office-hours {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.hours-list {
  max-width: 500px;
  margin: 32px auto;
  text-align: left;
}

.hours-list p {
  padding: 12px 0;
  border-bottom: 1px solid #e8ecef;
}

.hours-list p:last-child {
  border-bottom: none;
}

.note {
  color: #7a8c9e;
  font-size: 14px;
  text-align: center;
  margin-top: 24px;
}

.location-map {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.location-info {
  max-width: 700px;
  margin: 32px auto;
}

.location-info h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

/* Specialization Section */
.specialization {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.specialization-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.spec-card {
  background-color: #ffffff;
  padding: 32px 24px;
  border-radius: 12px;
  flex: 1 1 calc(50% - 24px);
  min-width: 280px;
  max-width: 500px;
  border-left: 4px solid #D4AF37;
  margin-bottom: 20px;
}

.spec-card h3 {
  margin-bottom: 12px;
}

/* Document Types Section */
.document-types {
  background-color: #ffffff;
  padding: 60px 20px;
}

.doc-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.doc-category {
  background-color: #f8f9fa;
  padding: 32px 24px;
  border-radius: 12px;
  flex: 1 1 calc(50% - 24px);
  min-width: 260px;
  max-width: 500px;
  margin-bottom: 20px;
}

.doc-category h3 {
  margin-bottom: 16px;
  color: #174261;
}

.doc-category ul {
  list-style: none;
  padding: 0;
}

.doc-category li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: #5a6c7d;
}

.doc-category li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2C7BA0;
  font-weight: 700;
}

/* Explainer Section */
.explainer {
  background-color: #ffffff;
  padding: 60px 20px;
}

.checklist {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 24px auto;
}

.checklist li {
  padding: 12px 0 12px 32px;
  position: relative;
  border-bottom: 1px solid #e8ecef;
}

.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2C7BA0;
  font-weight: 700;
  font-size: 18px;
}

/* Service Process Section */
.service-process {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.service-process .process-steps .step {
  background-color: #ffffff;
  padding: 32px 24px;
  border-radius: 12px;
  border: 2px solid #e8ecef;
}

.service-process .step .duration {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 16px;
  background-color: #D4AF37;
  color: #174261;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* Additional Services */
.additional-services {
  margin-top: 40px;
  padding: 32px;
  background-color: #f8f9fa;
  border-radius: 12px;
}

.additional-services h3 {
  margin-bottom: 16px;
}

.additional-services ul {
  list-style: none;
  padding: 0;
}

.additional-services li {
  padding: 8px 0;
  color: #5a6c7d;
}

/* Country List Section */
.country-list {
  background-color: #ffffff;
  padding: 60px 20px;
}

.popular-countries {
  margin-top: 40px;
}

.popular-countries h3 {
  text-align: center;
  margin-bottom: 24px;
}

.country-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.country-tags span {
  padding: 10px 20px;
  background-color: #f8f9fa;
  border-radius: 20px;
  border: 2px solid #e8ecef;
  color: #2c3e50;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.country-tags span:hover {
  background-color: #174261;
  border-color: #174261;
  color: #ffffff;
}

/* Migration Services */
.introduction {
  background-color: #ffffff;
  padding: 60px 20px;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1 1 calc(25% - 24px);
  min-width: 150px;
  max-width: 250px;
  margin-bottom: 20px;
}

.stat strong {
  font-size: 42px;
  color: #174261;
  line-height: 1;
}

.stat span {
  color: #7a8c9e;
  font-size: 14px;
  text-align: center;
}

.services-migration {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.ukraine-support {
  background-color: #ffffff;
  padding: 60px 20px;
}

.support-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.support-card {
  background-color: #f8f9fa;
  padding: 32px 24px;
  border-radius: 12px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 260px;
  max-width: 380px;
  border-left: 4px solid #D4AF37;
  margin-bottom: 20px;
}

.support-card h3 {
  margin-bottom: 12px;
}

.info-box {
  margin-top: 32px;
  padding: 20px 24px;
  background-color: #fff9e6;
  border-left: 4px solid #D4AF37;
  border-radius: 8px;
}

.pricing-migration {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 40px auto;
}

.pricing-list .price-item {
  background-color: #ffffff;
  border: 2px solid #e8ecef;
  border-radius: 12px;
}

.pricing-list .price-item h3 {
  margin-bottom: 8px;
  text-align: left;
}

.pricing-list .price-item .price {
  font-size: 32px;
  font-weight: 700;
  color: #174261;
  margin: 12px 0;
}

.discount-note {
  text-align: center;
  color: #D4AF37;
  font-weight: 600;
  margin-top: 32px;
}

.testimonials-migration {
  background-color: #ffffff;
  padding: 60px 20px;
}

.language-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.language-badges span {
  padding: 8px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.languages,
.availability {
  text-align: center;
  margin-top: 16px;
  font-size: 16px;
}

/* Company Story Section */
.company-story {
  background-color: #ffffff;
  padding: 60px 20px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 800px;
  margin: 40px auto;
  position: relative;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #D4AF37;
}

.milestone {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}

.milestone .year {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #174261 0%, #2C7BA0 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  z-index: 1;
}

.milestone h3 {
  margin-bottom: 8px;
}

.milestone p {
  color: #5a6c7d;
}

/* Mission & Vision Section */
.mission-vision {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.mission {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.value-card {
  background-color: #ffffff;
  padding: 32px 24px;
  border-radius: 12px;
  flex: 1 1 calc(50% - 24px);
  min-width: 260px;
  max-width: 500px;
  text-align: center;
  border-top: 4px solid #D4AF37;
  margin-bottom: 20px;
}

.value-card h3 {
  margin-bottom: 12px;
}

/* Statistics Section */
.statistics {
  background-color: #ffffff;
  padding: 60px 20px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1 1 calc(25% - 24px);
  min-width: 150px;
  max-width: 250px;
  padding: 24px;
  background-color: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #174261;
  line-height: 1;
}

.stat-label {
  color: #7a8c9e;
  font-size: 14px;
  text-align: center;
}

/* Office Section */
.office {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.office-details {
  max-width: 700px;
  margin: 32px auto;
}

.office-details p {
  margin-bottom: 16px;
  padding-left: 24px;
  position: relative;
}

.office-details p:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2C7BA0;
  font-weight: 700;
}

/* Discounts Section */
.discounts {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.discount-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.discount-item {
  background-color: #ffffff;
  padding: 32px 24px;
  border-radius: 12px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 260px;
  max-width: 380px;
  border-left: 4px solid #D4AF37;
  margin-bottom: 20px;
}

.discount-item h3 {
  margin-bottom: 12px;
}

/* Payment Info Section */
.payment-info {
  background-color: #ffffff;
  padding: 60px 20px;
}

.payment-methods {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 32px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-methods li {
  padding: 12px 20px;
  background-color: #f8f9fa;
  border-radius: 6px;
  padding-left: 44px;
  position: relative;
}

.payment-methods li:before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: #2C7BA0;
  font-weight: 700;
}

.invoice-info {
  max-width: 700px;
  margin: 32px auto;
  padding: 20px 24px;
  background-color: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1a2332;
  color: #ffffff;
  padding: 20px;
  z-index: 999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.active {
  transform: translateY(0);
}

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

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text p {
  margin-bottom: 8px;
  font-size: 14px;
}

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

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

.cookie-btn-accept {
  background-color: #D4AF37;
  color: #174261;
}

.cookie-btn-accept:hover {
  background-color: #e5c047;
}

.cookie-btn-reject {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

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

.cookie-btn-settings {
  background-color: transparent;
  color: #D4AF37;
  border: 2px solid #D4AF37;
}

.cookie-btn-settings:hover {
  background-color: rgba(212, 175, 55, 0.1);
}

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

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background-color: #ffffff;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #7a8c9e;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  background-color: #f8f9fa;
  color: #174261;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

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

.cookie-category h3 {
  font-size: 18px;
  margin-bottom: 0;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
}

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

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 26px;
}

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

input:checked + .cookie-slider {
  background-color: #2C7BA0;
}

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

input:disabled + .cookie-slider {
  background-color: #7a8c9e;
  cursor: not-allowed;
}

.cookie-category p {
  font-size: 14px;
  color: #5a6c7d;
  margin-bottom: 0;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.cookie-modal-buttons .cookie-btn {
  flex: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
  
  .main-nav a {
    font-size: 14px;
    padding: 8px 12px;
  }
}

@media (max-width: 768px) {
  /* Hide desktop navigation */
  .main-nav {
    display: none;
  }
  
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: block;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-subheadline {
    font-size: 16px;
  }
  
  .page-hero h1 {
    font-size: 32px;
  }
  
  .page-hero p {
    font-size: 16px;
  }
  
  /* Grid adjustments */
  .services-grid,
  .benefits-grid,
  .methods-grid,
  .action-grid {
    flex-direction: column;
  }
  
  .service-card,
  .benefit-card,
  .method-card,
  .action-card,
  .price-card {
    max-width: 100%;
  }
  
  .service-detail {
    flex-direction: column;
    padding: 24px;
  }
  
  .process-steps {
    flex-direction: column;
  }
  
  .step {
    max-width: 100%;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
  }
  
  /* Footer adjustments */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-info,
  .footer-links,
  .footer-contact {
    min-width: 100%;
  }
  
  /* Timeline adjustments */
  .timeline:before {
    left: 30px;
  }
  
  .milestone .year {
    width: 60px;
    height: 60px;
    font-size: 16px;
  }
  
  /* Stats grid */
  .stats-grid,
  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .stat,
  .stat-box {
    max-width: 100%;
  }
  
  /* Contact details */
  .contact-details,
  .detail-item {
    flex-direction: column;
  }
  
  /* Cookie banner mobile */
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    width: 100%;
  }
  
  .cookie-btn {
    flex: 1;
  }
  
  /* Section padding */
  section {
    padding: 32px 16px;
  }
  
  .hero,
  .page-hero,
  .cta-section {
    padding: 48px 20px;
  }
}

@media (max-width: 480px) {
  /* Further mobile adjustments */
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .hero-content h1 {
    font-size: 28px;
  }
  
  .error-code {
    font-size: 80px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 15px;
  }
  
  .service-card,
  .benefit-card {
    padding: 24px 20px;
  }
  
  .price-card .price {
    font-size: 36px;
  }
  
  .stat strong,
  .stat-number {
    font-size: 36px;
  }
  
  .cookie-modal-content {
    padding: 24px;
  }
  
  .mobile-menu {
    width: 100%;
    right: -100%;
  }
  
  .mobile-menu.active {
    right: 0;
  }
}

/* Print Styles */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-consent,
  .cookie-modal {
    display: none;
  }
  
  header {
    position: relative;
  }
  
  .hero,
  .page-hero,
  .cta-section {
    background: #f8f9fa;
    color: #2c3e50;
  }
  
  .hero h1,
  .page-hero h1,
  .cta-section h2 {
    color: #174261;
  }
}