/* ===================================
   RENTENKOMPASS - GRADIENT MODERN DESIGN
   Design Style: Modern with gradient elements
   =================================== */

/* CSS RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

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

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

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

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

h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

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

a {
  color: #5A8DB8;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #E8B44F;
}

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

li {
  margin-bottom: 12px;
  line-height: 1.6;
}

strong {
  font-weight: 600;
  color: #1E4D7B;
}

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

/* HEADER */
header {
  background: linear-gradient(135deg, #1E4D7B 0%, #2d5a8a 100%);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(30, 77, 123, 0.15);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

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

/* MAIN NAVIGATION */
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #E8B44F 0%, #f5c563 100%);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #E8B44F;
}

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

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: linear-gradient(135deg, #E8B44F 0%, #f5c563 100%);
  color: #1E4D7B;
  border: none;
  font-size: 28px;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 8px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  box-shadow: 0 4px 12px rgba(232, 180, 79, 0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(232, 180, 79, 0.4);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background: linear-gradient(180deg, #1E4D7B 0%, #2d5a8a 100%);
  z-index: 1000;
  padding: 80px 30px 30px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow-y: auto;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  font-size: 32px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

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

.mobile-nav a {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  padding: 16px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav a:hover {
  background: linear-gradient(90deg, #E8B44F 0%, #f5c563 100%);
  color: #1E4D7B;
  transform: translateX(8px);
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(135deg, #1E4D7B 0%, #5A8DB8 50%, #2d5a8a 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 180, 79, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(90, 141, 184, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 2;
}

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

.hero-subtitle {
  color: #f5f7fa;
  font-size: 20px;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.trust-badges span {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 50px;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-sub {
  background: linear-gradient(135deg, #5A8DB8 0%, #1E4D7B 100%);
  padding: 60px 20px;
  text-align: center;
}

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

.hero-sub p {
  color: #f5f7fa;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 16px;
}

.trust {
  color: #E8B44F;
  font-weight: 600;
  font-size: 16px;
}

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

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #E8B44F 0%, #f5c563 100%);
  color: #1E4D7B;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(232, 180, 79, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f5c563 0%, #E8B44F 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 180, 79, 0.4);
  color: #1E4D7B;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background: #ffffff;
  color: #1E4D7B;
  transform: translateY(-3px);
}

/* SECTION SPACING */
.section {
  margin-bottom: 60px;
  padding: 60px 20px;
}

section {
  padding: 60px 20px;
  margin-bottom: 40px;
}

/* PROBLEMS SECTION */
.problems {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 77, 123, 0.1);
}

.problems h2 {
  text-align: center;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #1E4D7B 0%, #5A8DB8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.problem-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 32px;
}

.problem-list li {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  padding: 20px 24px;
  margin-bottom: 16px;
  border-radius: 12px;
  border-left: 4px solid #E8B44F;
  transition: all 0.3s ease;
  font-size: 16px;
  color: #2c3e50;
}

.problem-list li:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(30, 77, 123, 0.1);
}

.reassurance {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #1E4D7B;
  margin-top: 32px;
}

/* SERVICES SECTION */
.services {
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.services h2 {
  text-align: center;
  margin-bottom: 16px;
}

.services > .container > p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
  color: #5A8DB8;
}

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

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(30, 77, 123, 0.1);
  transition: all 0.3s ease;
  flex: 1 1 calc(50% - 24px);
  min-width: 280px;
  max-width: 500px;
  margin-bottom: 20px;
  position: relative;
  border-top: 4px solid transparent;
  background-clip: padding-box;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1E4D7B 0%, #E8B44F 100%);
  border-radius: 16px 16px 0 0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(30, 77, 123, 0.15);
}

.service-card h3 {
  color: #1E4D7B;
  font-size: 20px;
  margin-bottom: 16px;
}

.service-card p {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.service-card .price {
  display: inline-block;
  background: linear-gradient(135deg, #E8B44F 0%, #f5c563 100%);
  color: #1E4D7B;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
}

/* SERVICE DETAIL SECTIONS */
.service-detail {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 77, 123, 0.1);
  margin-bottom: 32px;
}

.service-detail h2 {
  margin-bottom: 20px;
}

.service-detail ul {
  margin: 24px 0;
}

.service-detail ul li {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  border-left: 3px solid #5A8DB8;
}

.service-detail .warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
  border-left: 4px solid #E8B44F;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: 500;
}

/* HOW IT WORKS */
.how-it-works {
  background: #ffffff;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 48px;
}

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

.step {
  flex: 1 1 calc(25% - 32px);
  min-width: 220px;
  max-width: 280px;
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(30, 77, 123, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(30, 77, 123, 0.12);
}

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

.step h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #1E4D7B;
}

.step p {
  font-size: 14px;
  color: #2c3e50;
}

/* EXPERTISE SECTION */
.expertise {
  background: linear-gradient(135deg, #1E4D7B 0%, #2d5a8a 100%);
  color: #ffffff;
}

.expertise h2 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 16px;
}

.expertise > .container > p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
  color: #f5f7fa;
}

.country-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

/* METRICS SECTION */
.metrics {
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.metrics h2 {
  text-align: center;
  margin-bottom: 48px;
}

.metrics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.metric {
  flex: 1 1 calc(25% - 32px);
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 40px 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 77, 123, 0.1);
  transition: all 0.3s ease;
}

.metric:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(30, 77, 123, 0.15);
}

.metric .number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #1E4D7B 0%, #5A8DB8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.metric p {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 0;
}

/* TESTIMONIALS */
.testimonials {
  background: #ffffff;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 48px;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.testimonial-card {
  flex: 1 1 calc(50% - 32px);
  min-width: 280px;
  max-width: 550px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(30, 77, 123, 0.08);
  border-left: 4px solid #E8B44F;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(30, 77, 123, 0.12);
}

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

.testimonial-card .author {
  display: block;
  font-weight: 600;
  color: #1E4D7B;
  font-style: normal;
  font-size: 14px;
}

/* CTA SECTION */
.cta {
  background: linear-gradient(135deg, #1E4D7B 0%, #5A8DB8 100%);
  text-align: center;
  padding: 80px 20px;
}

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

.cta p {
  color: #f5f7fa;
  font-size: 18px;
  margin-bottom: 32px;
}

.cta .urgency {
  color: #E8B44F;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
}

/* COUNTRY SECTIONS */
.country-section {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 32px;
  box-shadow: 0 4px 12px rgba(30, 77, 123, 0.08);
  border-left: 4px solid #5A8DB8;
}

.country-section h3 {
  color: #1E4D7B;
  margin-bottom: 16px;
}

.country-section ul li {
  margin-bottom: 12px;
  padding-left: 8px;
}

/* IMPORTANCE, SOCIAL SECURITY, DOCUMENTS */
.importance,
.social-security,
.documents {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 77, 123, 0.1);
}

.importance h2,
.social-security h2,
.documents h2 {
  margin-bottom: 24px;
}

.example {
  background: linear-gradient(135deg, #e8f4f8 0%, #d1e7f0 100%);
  border-left: 4px solid #5A8DB8;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: 500;
  color: #1E4D7B;
}

.warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
  border-left: 4px solid #E8B44F;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: 500;
  color: #7a5a1f;
}

.help {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border-left: 4px solid #5A8DB8;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: 500;
  color: #155724;
}

.doc-category {
  margin-bottom: 32px;
}

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

/* SUCCESS STORIES */
.success-stories {
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.case-study {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(30, 77, 123, 0.08);
  border-left: 4px solid #E8B44F;
}

.case-study h3 {
  color: #1E4D7B;
  margin-bottom: 16px;
}

/* TIMELINE */
.timeline {
  background: #ffffff;
}

.timeline h2 {
  text-align: center;
  margin-bottom: 40px;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 32px;
}

.phase {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  padding: 20px 24px;
  border-radius: 12px;
  border-left: 4px solid #5A8DB8;
  font-weight: 500;
  transition: all 0.3s ease;
}

.phase:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(30, 77, 123, 0.1);
}

.urgency {
  text-align: center;
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
  border-left: 4px solid #E8B44F;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 24px auto 0;
  max-width: 600px;
  font-weight: 600;
  color: #7a5a1f;
}

/* MISSION, STORY, APPROACH */
.mission,
.story,
.approach,
.team,
.credentials,
.location {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 77, 123, 0.1);
}

/* PROCESS */
.process {
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.process h2 {
  text-align: center;
  margin-bottom: 40px;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.process-steps .step {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 200px;
}

.process-steps .step span {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: linear-gradient(135deg, #E8B44F 0%, #f5c563 100%);
  color: #1E4D7B;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* PRICING */
.pricing {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

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

.pricing ul {
  max-width: 700px;
  margin: 0 auto;
}

.pricing ul li {
  background: #ffffff;
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: 8px;
  border-left: 3px solid #5A8DB8;
  box-shadow: 0 2px 8px rgba(30, 77, 123, 0.06);
}

/* FAQ SECTION */
.faq-section {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 77, 123, 0.1);
}

.faq-section h2 {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f5f7fa;
}

.faq-item {
  margin-bottom: 32px;
  padding: 24px;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  border-radius: 12px;
  border-left: 4px solid #5A8DB8;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(30, 77, 123, 0.1);
  transform: translateX(4px);
}

.faq-item h3 {
  color: #1E4D7B;
  margin-bottom: 12px;
  font-size: 18px;
}

.faq-item p {
  color: #2c3e50;
  line-height: 1.7;
  margin-bottom: 0;
}

/* CONTACT SECTIONS */
.contact-info,
.contact-form-section,
.office-location,
.what-to-expect,
.languages {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 77, 123, 0.1);
}

.contact-details {
  max-width: 600px;
  margin: 0 auto;
}

.contact-details p {
  font-size: 16px;
  margin-bottom: 16px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  border-radius: 8px;
  border-left: 3px solid #5A8DB8;
}

.form-notice {
  background: linear-gradient(135deg, #e8f4f8 0%, #d1e7f0 100%);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #5A8DB8;
}

.form-notice p {
  font-size: 16px;
  margin-bottom: 12px;
}

.what-to-expect ol {
  max-width: 700px;
  margin: 0 auto;
  counter-reset: item;
  list-style-type: none;
  padding: 0;
}

.what-to-expect ol li {
  counter-increment: item;
  margin-bottom: 20px;
  padding-left: 60px;
  position: relative;
  line-height: 1.6;
}

.what-to-expect ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: linear-gradient(135deg, #1E4D7B 0%, #5A8DB8 100%);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
}

/* LEGAL PAGES */
.legal-hero {
  background: linear-gradient(135deg, #1E4D7B 0%, #2d5a8a 100%);
  padding: 60px 20px;
  text-align: center;
}

.legal-hero h1 {
  color: #ffffff;
  margin-bottom: 12px;
}

.legal-hero p {
  color: #f5f7fa;
  font-size: 16px;
}

.legal-content {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 77, 123, 0.1);
}

.legal-content h2 {
  color: #1E4D7B;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-top: 24px;
  border-top: 2px solid #f5f7fa;
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  color: #5A8DB8;
  margin-top: 24px;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 20px;
}

.legal-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* THANK YOU PAGE */
.thank-you-hero {
  background: linear-gradient(135deg, #1E4D7B 0%, #5A8DB8 100%);
  padding: 80px 20px;
  text-align: center;
}

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

.confirmation {
  color: #E8B44F;
  font-size: 20px;
  font-weight: 600;
}

.next-steps,
.immediate-actions,
.contact-reminder,
.social-proof,
.navigation-back,
.thank-you-content {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 77, 123, 0.1);
}

.next-steps h2,
.immediate-actions h2,
.contact-reminder h2,
.social-proof h2 {
  color: #1E4D7B;
  margin-bottom: 24px;
}

.next-steps ol {
  max-width: 700px;
  margin: 0 auto;
}

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

.stat {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 200px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  color: #1E4D7B;
  border-left: 4px solid #E8B44F;
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #1E4D7B 0%, #0f2d4a 100%);
  color: #ffffff;
  padding: 60px 20px 30px;
  margin-top: 60px;
}

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

.footer-section {
  flex: 1 1 250px;
}

.footer-section h4 {
  color: #E8B44F;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  color: #c3cfe2;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #c3cfe2;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #E8B44F;
  padding-left: 4px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #c3cfe2;
  font-size: 14px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1E4D7B 0%, #2d5a8a 100%);
  color: #ffffff;
  padding: 24px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 950;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-text {
  flex: 1 1 300px;
  font-size: 14px;
  line-height: 1.6;
}

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

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

.cookie-btn.accept {
  background: linear-gradient(135deg, #E8B44F 0%, #f5c563 100%);
  color: #1E4D7B;
}

.cookie-btn.accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 180, 79, 0.3);
}

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

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

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

.cookie-btn.settings:hover {
  background: rgba(232, 180, 79, 0.1);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1050;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.cookie-modal-content {
  background: #ffffff;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #2c3e50;
  cursor: pointer;
  padding: 0;
  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: #f5f7fa;
  transform: rotate(90deg);
}

.cookie-modal h2 {
  color: #1E4D7B;
  margin-bottom: 24px;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background: #f5f7fa;
  border-radius: 12px;
  border-left: 4px solid #5A8DB8;
}

.cookie-category h3 {
  color: #1E4D7B;
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

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

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

.toggle-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background: #5A8DB8;
}

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

.toggle-slider.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

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

.cookie-modal-buttons .cookie-btn {
  flex: 1;
  min-width: 140px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-sub h1 {
    font-size: 28px;
  }
  
  /* Navigation */
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu {
    display: block;
  }
  
  /* Sections */
  section {
    padding: 40px 20px;
  }
  
  .hero {
    padding: 60px 20px;
  }
  
  /* Grids */
  .service-grid,
  .metrics-grid,
  .testimonial-grid {
    gap: 20px;
  }
  
  .service-card,
  .metric,
  .testimonial-card {
    flex: 1 1 100%;
  }
  
  .steps {
    gap: 20px;
  }
  
  .step {
    flex: 1 1 100%;
  }
  
  /* Buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  
  /* Trust Badges */
  .trust-badges {
    flex-direction: column;
    align-items: stretch;
  }
  
  .trust-badges span {
    text-align: center;
  }
  
  /* Country Badges */
  .country-badges {
    flex-direction: column;
  }
  
  .badge {
    text-align: center;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-section {
    flex: 1 1 100%;
  }
  
  /* Cookie Banner */
  .cookie-banner .container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  /* Cookie Modal */
  .cookie-modal-content {
    padding: 32px 20px;
  }
  
  .cookie-modal-buttons {
    flex-direction: column;
  }
  
  .cookie-modal-buttons .cookie-btn {
    width: 100%;
  }
  
  /* Stats */
  .stats {
    flex-direction: column;
  }
  
  .stat {
    flex: 1 1 100%;
  }
  
  /* Process Steps */
  .process-steps {
    flex-direction: column;
  }
  
  .process-steps .step {
    flex: 1 1 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .service-card {
    flex: 1 1 calc(50% - 24px);
  }
  
  .metric {
    flex: 1 1 calc(50% - 32px);
  }
  
  .testimonial-card {
    flex: 1 1 calc(50% - 32px);
  }
  
  .step {
    flex: 1 1 calc(50% - 32px);
  }
}

/* SMOOTH ANIMATIONS */
.service-card,
.metric,
.testimonial-card,
.step,
.problem-list li,
.phase,
.faq-item,
.country-section,
.case-study {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

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

.service-card:nth-child(1),
.metric:nth-child(1),
.testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2),
.metric:nth-child(2),
.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3),
.metric:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card:nth-child(4),
.metric:nth-child(4) {
  animation-delay: 0.4s;
}

/* ACCESSIBILITY */
:focus {
  outline: 2px solid #E8B44F;
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 2px solid #E8B44F;
  outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
  header,
  footer,
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal,
  .cta-buttons,
  .btn-primary,
  .btn-secondary {
    display: none;
  }
  
  body {
    background: white;
  }
  
  section {
    page-break-inside: avoid;
  }
}