/* ============================================
   CRYSTAL MIGRATION - CREATIVE ARTISTIC DESIGN
   Professional Real Estate Website Styles
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
.cookie-text p {
  color: white;
}
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  color: #2c3e50;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
  overflow-x: hidden;
}

/* TYPOGRAPHY - CREATIVE & ARTISTIC */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
  color: #1A4D7C;
  margin-bottom: 24px;
}

h1 {
  font-size: 48px;
  letter-spacing: -1px;
  text-shadow: 2px 2px 4px rgba(26, 77, 124, 0.1);
}

h2 {
  font-size: 36px;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 24px;
}

p {
  font-size: 16px;
  margin-bottom: 16px;
  color: #34495e;
}

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

a:hover {
  color: #8B4513;
  transform: translateY(-2px);
}

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

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* HEADER STYLES - ARTISTIC APPROACH */
header {
  background: linear-gradient(135deg, #1A4D7C 0%, #2563a8 100%);
  padding: 20px 0;
  box-shadow: 0 4px 20px rgba(26, 77, 124, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid #8B4513;
}

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

.logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

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

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

.main-nav a {
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 25px;
  position: relative;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: #8B4513;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #E8F4F8;
}

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

/* MOBILE MENU - HAMBURGER BUTTON */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background: linear-gradient(135deg, #1A4D7C, #2563a8);
  color: white;
  border: none;
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(26, 77, 124, 0.4);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1) rotate(90deg);
  background: linear-gradient(135deg, #2563a8, #1A4D7C);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #1A4D7C 0%, #2563a8 100%);
  z-index: 1999;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  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: white;
  border: none;
  font-size: 32px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* MOBILE NAVIGATION LINKS */
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 80px 30px 30px;
  gap: 8px;
}

.mobile-nav a {
  color: white;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid transparent;
}

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

/* HERO SECTION - CREATIVE & VIBRANT */
.hero {
  background: linear-gradient(135deg, rgba(26, 77, 124, 0.95) 0%, rgba(37, 99, 168, 0.9) 100%), url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="%23E8F4F8" fill-opacity=".1"/%3E%3C/svg%3E');
  padding: 100px 20px;
  margin-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 69, 19, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 244, 248, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(30px, -30px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  color: white;
  font-size: 56px;
  margin-bottom: 24px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease;
}

.hero-subheadline {
  color: #E8F4F8;
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.2s both;
}

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

/* BUTTONS - VIBRANT & ARTISTIC */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #8B4513 0%, #a0522d 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a0522d 0%, #8B4513 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #1A4D7C 0%, #2563a8 100%);
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #2563a8 0%, #1A4D7C 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(26, 77, 124, 0.4);
}

/* CTA BUTTONS CONTAINER */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-center {
  text-align: center;
  margin-top: 40px;
}

/* TRUST BADGES - CREATIVE STYLING */
.trust-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

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

/* SECTION STYLES */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}

.hero-internal {
  background: linear-gradient(135deg, #1A4D7C 0%, #2563a8 100%);
  color: white;
  padding: 80px 20px;
  margin-bottom: 60px;
  text-align: center;
  border-bottom: 5px solid #8B4513;
}

.hero-internal h1 {
  color: white;
  font-size: 48px;
}

.subheadline {
  font-size: 20px;
  color: #E8F4F8;
  margin-bottom: 20px;
}

/* BREADCRUMB - CREATIVE */
.breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.breadcrumb a:hover {
  color: white;
}

/* SERVICES GRID - FLEXBOX LAYOUT */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.service-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(26, 77, 124, 0.15);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #8B4513, #1A4D7C);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-12px) rotate(1deg);
  box-shadow: 0 15px 50px rgba(26, 77, 124, 0.25);
  border-color: #E8F4F8;
}

.service-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(2px 2px 4px rgba(26, 77, 124, 0.2));
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.1) rotate(-5deg);
}

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

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

.price {
  font-weight: 700;
  color: #8B4513;
  font-size: 18px;
  margin-top: 16px;
}

/* VALUE PROPOSITION SECTION */
.value-proposition {
  background: linear-gradient(135deg, rgba(232, 244, 248, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
  padding: 60px 20px;
  border-radius: 30px;
  margin-bottom: 60px;
}

.value-proposition h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: 40px;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 48px;
}

.benefit {
  flex: 1 1 calc(25% - 24px);
  min-width: 200px;
  text-align: center;
  padding: 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26, 77, 124, 0.1);
  transition: all 0.3s ease;
}

.benefit:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(26, 77, 124, 0.2);
}

.benefit h3 {
  color: #1A4D7C;
  font-size: 20px;
  margin-bottom: 12px;
}

.benefit p {
  font-size: 14px;
  color: #5a6c7d;
}

/* STATISTICS - ARTISTIC DISPLAY */
.statistics {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  min-width: 200px;
  background: linear-gradient(135deg, #1A4D7C 0%, #2563a8 100%);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(26, 77, 124, 0.3);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: scale(1.05) rotate(-2deg);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #8B4513;
  font-family: 'Playfair Display', serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 14px;
  color: white;
  text-align: center;
  font-weight: 600;
}

/* PROCESS STEPS - CREATIVE LAYOUT */
.process-steps {
  background: white;
  padding: 60px 20px;
  border-radius: 30px;
  margin-bottom: 60px;
}

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

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

.step {
  flex: 1 1 calc(25% - 32px);
  min-width: 200px;
  text-align: center;
  padding: 32px 20px;
  background: linear-gradient(135deg, rgba(232, 244, 248, 0.5) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(26, 77, 124, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.step:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 12px 40px rgba(26, 77, 124, 0.2);
  background: linear-gradient(135deg, rgba(232, 244, 248, 0.8) 0%, white 100%);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #8B4513 0%, #a0522d 100%);
  color: white;
  font-size: 32px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
  transition: all 0.3s ease;
}

.step:hover .step-number {
  transform: rotate(360deg) scale(1.1);
}

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

.step p {
  font-size: 14px;
  color: #5a6c7d;
}

/* TESTIMONIALS - HIGH CONTRAST */
.testimonials {
  background: linear-gradient(135deg, #1A4D7C 0%, #2563a8 100%);
  padding: 60px 20px;
  border-radius: 30px;
  margin-bottom: 60px;
}

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

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

.testimonial-card {
  flex: 1 1 calc(50% - 32px);
  min-width: 300px;
  max-width: 500px;
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border-left: 5px solid #8B4513;
}

.testimonial-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

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

.testimonial-author strong {
  color: #1A4D7C;
  font-size: 18px;
  font-weight: 700;
}

.testimonial-author span {
  color: #5a6c7d;
  font-size: 14px;
}

/* CTA BANNER - VIBRANT */
.cta-banner {
  background: linear-gradient(135deg, #8B4513 0%, #a0522d 100%);
  padding: 80px 20px;
  border-radius: 30px;
  text-align: center;
  margin-bottom: 60px;
  box-shadow: 0 10px 40px rgba(139, 69, 19, 0.3);
}

.cta-content h2 {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  margin-bottom: 32px;
}

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

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

/* DETAILED SERVICES */
.services-detailed {
  margin-bottom: 60px;
}

.service-block {
  background: white;
  padding: 48px;
  margin-bottom: 32px;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(26, 77, 124, 0.15);
  transition: all 0.3s ease;
  border-left: 6px solid #8B4513;
}

.service-block:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 40px rgba(26, 77, 124, 0.25);
}

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

.service-header img {
  width: 80px;
  height: 80px;
}

.service-header h2 {
  margin-bottom: 0;
  font-size: 32px;
}

.price-display {
  font-size: 28px;
  font-weight: 700;
  color: #8B4513;
  margin: 24px 0;
  font-family: 'Playfair Display', serif;
}

.included {
  background: rgba(232, 244, 248, 0.5);
  padding: 24px;
  border-radius: 16px;
  margin: 24px 0;
}

.included h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.included ul {
  list-style: none;
  padding-left: 0;
}

.included li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: #34495e;
}

.included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #8B4513;
  font-weight: 700;
  font-size: 18px;
}

.duration {
  font-style: italic;
  color: #5a6c7d;
  margin-top: 16px;
}

/* CATEGORIES & LOCATIONS */
.categories-grid,
.locations-grid,
.types-grid,
.regions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.category-card,
.location-card,
.type-card,
.region-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(26, 77, 124, 0.1);
  transition: all 0.4s ease;
  text-align: center;
  border-top: 4px solid #8B4513;
}

.category-card:hover,
.location-card:hover,
.type-card:hover,
.region-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 40px rgba(26, 77, 124, 0.2);
  border-top-color: #1A4D7C;
}

.category-card h3,
.location-card h3,
.type-card h3,
.region-card h3 {
  color: #1A4D7C;
  margin-bottom: 16px;
  font-size: 22px;
}

.returns {
  font-weight: 700;
  color: #8B4513;
  font-size: 16px;
  margin-top: 12px;
}

/* INVESTMENT SECTIONS */
.investment-benefits,
.investment-types {
  margin-bottom: 60px;
}

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

.benefit-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 250px;
  background: linear-gradient(135deg, rgba(232, 244, 248, 0.5) 0%, white 100%);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26, 77, 124, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(26, 77, 124, 0.2);
  border-color: #8B4513;
}

.benefit-card h3 {
  color: #1A4D7C;
  font-size: 20px;
  margin-bottom: 12px;
}

/* BLOG TOPICS */
.topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.topic-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  background: white;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(26, 77, 124, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border-left: 4px solid #8B4513;
}

.topic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(26, 77, 124, 0.2);
}

.topic-card h3 {
  color: #1A4D7C;
  font-size: 20px;
  margin-bottom: 12px;
}

.meta {
  font-size: 12px;
  color: #8B4513;
  font-weight: 600;
  margin-top: 12px;
  display: inline-block;
}

/* BLOG CATEGORIES */
.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.category-tag {
  padding: 10px 24px;
  background: linear-gradient(135deg, #E8F4F8 0%, white 100%);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  color: #1A4D7C;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.category-tag:hover {
  background: linear-gradient(135deg, #1A4D7C 0%, #2563a8 100%);
  color: white;
  transform: translateY(-4px);
  border-color: #8B4513;
}

/* RESOURCES */
.resources-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.resource-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(26, 77, 124, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(26, 77, 124, 0.2);
}

.resource-card h3 {
  color: #1A4D7C;
  margin-bottom: 16px;
}

/* CONTACT PAGE */
.contact-options {
  margin-bottom: 60px;
}

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

.option-card {
  flex: 1 1 calc(33.333% - 32px);
  min-width: 280px;
  max-width: 400px;
  background: white;
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(26, 77, 124, 0.15);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 5px solid #8B4513;
}

.option-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 50px rgba(26, 77, 124, 0.25);
}

.option-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.option-card h3 {
  color: #1A4D7C;
  margin-bottom: 16px;
}

.option-card strong {
  color: #1A4D7C;
}

/* FORM NOTE */
.form-note {
  background: rgba(232, 244, 248, 0.5);
  padding: 32px;
  border-radius: 16px;
  border-left: 5px solid #8B4513;
  margin-top: 32px;
}

.form-note strong {
  color: #1A4D7C;
}

.form-note ul {
  margin-top: 16px;
  padding-left: 24px;
}

.form-note li {
  margin-bottom: 8px;
  color: #34495e;
}

/* LEGAL CONTENT */
.legal-content {
  margin-bottom: 60px;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: #1A4D7C;
  font-size: 28px;
}

.legal-content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
  color: #2563a8;
  font-size: 20px;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 32px;
}

.legal-content li {
  margin-bottom: 8px;
  color: #34495e;
}

.last-updated,
.effective-date {
  font-style: italic;
  color: #5a6c7d;
  margin-top: 32px;
}

/* TIMELINE */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #1A4D7C, #8B4513);
}

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

.year {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8B4513, #a0522d);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
  position: relative;
  z-index: 1;
}

.milestone {
  flex: 1;
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26, 77, 124, 0.1);
  transition: all 0.3s ease;
}

.milestone:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(26, 77, 124, 0.2);
}

.milestone h3 {
  color: #1A4D7C;
  margin-bottom: 12px;
}

/* STATS GRID */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.stat-card {
  flex: 1 1 calc(25% - 24px);
  min-width: 200px;
  background: linear-gradient(135deg, rgba(232, 244, 248, 0.5) 0%, white 100%);
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(26, 77, 124, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 30px rgba(26, 77, 124, 0.2);
}

/* THANK YOU PAGE */
.thank-you-section {
  padding: 100px 20px;
  text-align: center;
}

.thank-you-content {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 60px 40px;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(26, 77, 124, 0.2);
}

.success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #8B4513, #a0522d);
  color: white;
  font-size: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 32px;
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.confirmation-note {
  font-style: italic;
  color: #5a6c7d;
  margin-top: 24px;
}

/* OFFICE LOCATION */
.office-location {
  margin-bottom: 60px;
}

.location-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.location-details {
  flex: 1 1 400px;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(26, 77, 124, 0.1);
}

.location-details h3 {
  color: #1A4D7C;
  margin-bottom: 20px;
}

/* VALUES GRID */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.value-card {
  flex: 1 1 calc(50% - 24px);
  min-width: 250px;
  background: linear-gradient(135deg, rgba(232, 244, 248, 0.5) 0%, white 100%);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26, 77, 124, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid #8B4513;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(26, 77, 124, 0.2);
}

.value-card h3 {
  color: #1A4D7C;
  margin-bottom: 12px;
}

/* FOOTER - CREATIVE STYLING */
footer {
  background: linear-gradient(135deg, #1A4D7C 0%, #0d2d4a 100%);
  color: white;
  padding: 60px 20px 20px;
  margin-top: 60px;
  border-top: 5px solid #8B4513;
}

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

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

.footer-section h3 {
  color: #E8F4F8;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: all 0.3s ease;
  padding-left: 0;
  position: relative;
}

.footer-nav a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: white;
  padding-left: 20px;
}

.footer-nav a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1A4D7C 0%, #2563a8 100%);
  padding: 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1998;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 4px solid #8B4513;
}

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

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

.cookie-text {
  flex: 1 1 400px;
  color: white;
  font-size: 14px;
}

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

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

.cookie-btn-accept {
  background: linear-gradient(135deg, #8B4513, #a0522d);
  color: white;
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
}

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

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

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

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

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal-content {
  background: white;
  padding: 40px;
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.cookie-modal.active .cookie-modal-content {
  transform: scale(1);
}

.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #5a6c7d;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  color: #1A4D7C;
  transform: rotate(90deg);
}

.cookie-category {
  padding: 20px;
  background: rgba(232, 244, 248, 0.5);
  border-radius: 12px;
  margin-bottom: 16px;
}

.cookie-category h3 {
  color: #1A4D7C;
  margin-bottom: 12px;
  font-size: 18px;
}

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

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

.toggle-switch {
  width: 50px;
  height: 26px;
  background: #ccc;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: #8B4513;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: left 0.3s ease;
}

.toggle-switch.active::after {
  left: 27px;
}

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

/* RESPONSIVE DESIGN - MOBILE FIRST */
@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Hide desktop navigation */
  .main-nav {
    display: none;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-subheadline {
    font-size: 16px;
  }
  
  /* Section padding */
  section {
    padding: 32px 16px;
  }
  
  .hero {
    padding: 60px 16px;
  }
  
  .hero-internal {
    padding: 60px 16px;
  }
  
  /* Grid adjustments - all use flexbox */
  .services-grid,
  .benefits-grid,
  .steps-grid,
  .testimonials-grid,
  .categories-grid,
  .locations-grid,
  .types-grid,
  .regions-grid,
  .topics-grid,
  .resources-grid,
  .options-grid {
    flex-direction: column;
  }
  
  .service-card,
  .benefit,
  .step,
  .testimonial-card,
  .category-card,
  .location-card,
  .type-card,
  .region-card,
  .topic-card,
  .resource-card,
  .option-card,
  .benefit-card,
  .value-card,
  .stat-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  /* Statistics */
  .statistics {
    flex-direction: column;
  }
  
  .stat {
    width: 100%;
  }
  
  /* Service blocks */
  .service-block {
    padding: 24px;
  }
  
  .service-header {
    flex-direction: column;
    text-align: center;
  }
  
  /* Buttons */
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-section {
    flex: 1 1 100%;
  }
  
  /* Cookie banner */
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  /* Timeline */
  .timeline {
    padding-left: 20px;
  }
  
  .timeline-item {
    flex-direction: column;
  }
  
  .year {
    width: 60px;
    height: 60px;
    font-size: 16px;
  }
  
  /* Text-image sections */
  .text-image-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  /* Thank you page */
  .thank-you-content {
    padding: 40px 24px;
  }
  
  /* Location info */
  .location-info {
    flex-direction: column;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet adjustments */
  .service-card,
  .benefit,
  .category-card,
  .location-card,
  .type-card,
  .region-card,
  .topic-card,
  .benefit-card {
    flex: 1 1 calc(50% - 24px);
  }
  
  .step,
  .stat-card {
    flex: 1 1 calc(50% - 32px);
  }
}

/* ACCESSIBILITY & FOCUS STATES */
a:focus,
button:focus,
.btn:focus {
  outline: 3px solid #8B4513;
  outline-offset: 2px;
}

/* SMOOTH SCROLLING */
html {
  scroll-behavior: smooth;
}

/* PRINT STYLES */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal {
    display: none;
  }
  
  body {
    background: white;
  }
  
  a {
    text-decoration: underline;
  }
}

/* LOADING ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: fadeIn 0.5s ease;
}

/* END OF STYLES */