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

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background-color: #ffffff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #3182ce;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #2c5282;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: #4a5568;
}

.lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: #2d3748;
  margin-bottom: 2rem;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

.bg-light {
  background-color: #f7fafc;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: #3182ce;
  color: white;
}

.btn-primary:hover {
  background-color: #2c5282;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.4);
}

.btn-secondary {
  background-color: #718096;
  color: white;
}

.btn-secondary:hover {
  background-color: #4a5568;
}

.btn-outline {
  background-color: transparent;
  color: #3182ce;
  border: 2px solid #3182ce;
}

.btn-outline:hover {
  background-color: #3182ce;
  color: white;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav {
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c5282;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-menu a {
  font-weight: 500;
  color: #4a5568;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #3182ce;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #3182ce;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: #2c5282;
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 80px;
  background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%) !important;
  width: 100%;
}



.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #2c5282;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-list {
  list-style: none;
  margin-top: 1.5rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #4a5568;
}

.about-visual {
  display: flex;
  justify-content: center;
}

/* ===== STATS SECTION ===== */
.stats {
  background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-icon {
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1.5rem;
}

.testimonial-avatar {
  flex-shrink: 0;
}

.testimonial-content {
  flex: 1;
}

.stars {
  margin-bottom: 1rem;
}

.testimonial-author {
  margin-top: 1rem;
  color: #2c5282;
  font-weight: 500;
}

.testimonial-author span {
  display: block;
  color: #718096;
  font-weight: 400;
  font-size: 0.875rem;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
  background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
  color: white;
  text-align: center;
}

.newsletter-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form .form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: 2px solid #63b3ed;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(21, 59, 211, 0.9);
  font-size: 0.875rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #073dee);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked {
  background-color: white;
  border-color: rgb(255, 255, 255);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 2px;
  color: #2c5282;
  font-size: 14px;
  font-weight: bold;
}

.checkbox-label a {
  color: #90cdf4;
}

.checkbox-label a:hover {
  color: white;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #2d3748;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #a0aec0;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #a0aec0;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a.active {
  color: white;
}

.contact-info {
  space-y: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #a0aec0;
}

.contact-item svg {
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: #a0aec0;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #4a5568;
  text-align: center;
  color: #a0aec0;
}

/* ===== BLOG STYLES ===== */
.page-header {
  background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
  color: white;
  padding: 6rem 0 4rem;
  text-align: center;
  margin-top: 80px;
}

.page-header-content h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-header-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.page-header-icon {
  margin-bottom: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-card-icon {
  margin-bottom: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-date,
.blog-category {
  font-size: 0.875rem;
  color: #718096;
}

.blog-category {
  background-color: #edf2f7;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  color: #2c5282;
}

.blog-card h2 {
  margin-bottom: 1rem;
}

.blog-card h2 a {
  color: #2c5282;
  transition: color 0.3s ease;
}

.blog-card h2 a:hover {
  color: #3182ce;
}

.read-more {
  color: #3182ce;
  font-weight: 500;
  margin-top: 1rem;
  display: inline-block;
}

.read-more:hover {
  color: #2c5282;
}

/* ===== ARTICLE STYLES ===== */
.article-page {
  margin-top: 80px;
  padding: 4rem 0;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3182ce;
  margin-bottom: 2rem;
  font-weight: 500;
}

.back-link:hover {
  color: #2c5282;
}

.article-details {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: #718096;
}

.article-icon {
  margin: 2rem auto;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.intro-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: #f7fafc;
  border-radius: 1rem;
  border-left: 4px solid #3182ce;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: #2c5282;
}

.section-icon {
  flex-shrink: 0;
}

.content-section h3 {
  margin: 2rem 0 1rem;
  color: #2c5282;
}

.content-section ul,
.content-section ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  color: #4a5568;
}

.highlight-box {
  background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
  border-left: 4px solid #3182ce;
}

.highlight-box h4 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.info-box {
  background-color: #f0fff4;
  border: 1px solid #9ae6b4;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.warning-box {
  background-color: #fffbeb;
  border: 1px solid #f6ad55;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.warning-box h4 {
  color: #dd6b20;
  margin-bottom: 1rem;
}

.article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.author-section {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background-color: #f7fafc;
  border-radius: 1rem;
}

.author-avatar {
  flex-shrink: 0;
}

.author-info h4 {
  margin-bottom: 0.5rem;
  color: #2c5282;
}

.author-info p {
  color: #718096;
}

.article-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ===== TIPS GRID (FOR WOHNUNGSKAUF ARTICLE) ===== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.tip-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tip-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #3182ce, #2c5282);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.tip-content h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #2c5282;
}

.tip-icon {
  flex-shrink: 0;
}

.checklist {
  margin: 2rem 0;
}

.checklist h4 {
  color: #2c5282;
  margin: 1.5rem 0 1rem;
}

.checklist-items {
  list-style: none;
  margin-left: 0;
}

.checklist-items li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.checklist-items li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* ===== FINANCING STYLES ===== */
.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.rate-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #f7fafc;
  border-radius: 0.5rem;
}

.rate-item span {
  color: #2c5282;
  font-weight: 600;
}

.financing-types {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.financing-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
}

.financing-card h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #2c5282;
}

.cost-breakdown {
  margin: 1.5rem 0;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.cost-item:last-child {
  border-bottom: none;
  font-weight: 600;
  background-color: #f7fafc;
}

.cost-item span {
  color: #2c5282;
  font-weight: 500;
}

.tips-list {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.tip-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
}

.tip-item h4 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.recommendation-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
}

.recommendation-card h4 {
  color: #2c5282;
  margin-bottom: 1rem;
}

/* ===== DISTRICT GUIDE STYLES ===== */
.district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.district-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.district-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.district-card.premium {
  border-color: #ffd700;
  background: linear-gradient(145deg, #fffaf0 0%, #fff5cc 100%);
}

.district-card.popular {
  border-color: #10b981;
  background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
}

.district-card h4 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.district-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c5282;
  margin-bottom: 1rem;
}

.district-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feature {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.feature.luxury {
  background-color: #fed7d7;
  color: #c53030;
}
.feature.culture {
  background-color: #e9d8fd;
  color: #6b46c1;
}
.feature.central {
  background-color: #bee3f8;
  color: #2b6cb0;
}
.feature.trendy {
  background-color: #c6f6d5;
  color: #276749;
}
.feature.shopping {
  background-color: #feebc8;
  color: #c05621;
}
.feature.nightlife {
  background-color: #fbb6ce;
  color: #b83280;
}
.feature.quiet {
  background-color: #d1fae5;
  color: #047857;
}
.feature.prestigious {
  background-color: #fef3c7;
  color: #92400e;
}
.feature.university {
  background-color: #dbeafe;
  color: #1e40af;
}
.feature.medical {
  background-color: #fde68a;
  color: #78350f;
}
.feature.green {
  background-color: #d1fae5;
  color: #047857;
}
.feature.family {
  background-color: #fce7f3;
  color: #be185d;
}
.feature.affordable {
  background-color: #dbeafe;
  color: #1e40af;
}
.feature.developing {
  background-color: #fef3c7;
  color: #92400e;
}
.feature.modern {
  background-color: #e0e7ff;
  color: #3730a3;
}
.feature.suburban {
  background-color: #f3e8ff;
  color: #6b21a8;
}
.feature.wine {
  background-color: #fecaca;
  color: #991b1b;
}

.price-trends {
  margin: 2rem 0;
}

.trend-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.trend-item:last-child {
  border-bottom: none;
}

.trend-up {
  color: #10b981;
  font-weight: 600;
}

.trend-moderate {
  color: #f59e0b;
  font-weight: 600;
}

.trend-item p {
  font-size: 0.875rem;
  color: #718096;
  margin: 0;
}

.personality-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.persona-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
}

.persona-card h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #2c5282;
}

.future-projects {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.project-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
}

.project-item h4 {
  color: #2c5282;
  margin-bottom: 0.5rem;
}

.cta-box {
  background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-box h4 {
  color: white;
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== THANK YOU PAGE ===== */
.thank-you-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  margin-top: 80px;
  padding: 4rem 0;
}

.thank-you-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.thank-you-icon {
  margin-bottom: 2rem;
}

.thank-you-message h1 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.thank-you-details {
  margin: 2rem 0;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #f7fafc;
  border-radius: 0.5rem;
}

.detail-item svg {
  flex-shrink: 0;
}

.thank-you-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.additional-info {
  margin-top: 3rem;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.next-steps {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #3182ce, #2c5282);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  color: #2c5282;
  margin-bottom: 0.5rem;
}

.contact-reminder {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background-color: #f7fafc;
  border-radius: 1rem;
}

.contact-reminder h3 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.contact-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  color: #3182ce;
  transition: all 0.3s ease;
}

.contact-option:hover {
  background-color: #3182ce;
  color: white;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  margin-top: 80px;
  padding: 4rem 0;
}

.legal-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.legal-icon {
  margin-bottom: 2rem;
}

.legal-intro {
  font-size: 1.125rem;
  color: #4a5568;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.last-updated {
  color: #718096;
  font-size: 0.875rem;
  font-style: italic;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #2c5282;
  margin-bottom: 1.5rem;
}

.legal-section h3 {
  color: #2c5282;
  margin: 2rem 0 1rem;
}

.legal-section ul,
.legal-section ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
  color: #4a5568;
}

.contact-box {
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-family: monospace;
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.right-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
}

.right-item h4 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.signature-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #2c5282;
  text-align: right;
}

/* ===== COOKIE POLICY SPECIFIC ===== */
.cookie-manager-section {
  background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
  text-align: center;
  border: 1px solid #3182ce;
}

.cookie-manager-box h3 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.cookie-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.cookie-type-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.cookie-type-item h4 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.cookie-categories {
  margin: 2rem 0;
}

.cookie-category {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.cookie-category.essential {
  border-color: #10b981;
  background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
}

.cookie-category.functional {
  border-color: #3182ce;
  background: linear-gradient(145deg, #ebf8ff 0%, #dbeafe 100%);
}

.cookie-category.analytics {
  border-color: #f59e0b;
  background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 100%);
}

.cookie-category.marketing {
  border-color: #ef4444;
  background: linear-gradient(145deg, #fef2f2 0%, #fecaca 100%);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.category-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
}

.category-status {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.category-status.essential {
  background-color: #10b981;
  color: white;
}

.category-status.active {
  background-color: #10b981;
  color: white;
}

.category-status.inactive {
  background-color: #ef4444;
  color: white;
}

.cookie-details {
  margin-top: 1.5rem;
}

.cookie-details h4 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.cookie-item {
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.cookie-item strong {
  color: #2c5282;
  display: block;
  margin-bottom: 0.5rem;
}

.cookie-item ul {
  margin: 0.5rem 0 0 1rem;
}

.cookie-item li {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.browser-instructions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.browser-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
}

.browser-item h4 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.opt-out-section {
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.opt-out-section h4 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.retention-table {
  margin: 1.5rem 0;
}

.retention-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f7fafc;
}

.retention-item:first-child {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.retention-item:last-child {
  border-bottom: none;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.retention-item span {
  color: #2c5282;
  font-weight: 600;
}

/* ===== CONTACT PAGE ===== */
.contact-content {
  margin-top: -2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-section h2 {
  margin-bottom: 2rem;
}

.contact-info-cards {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
  flex-shrink: 0;
}

.contact-info-content h3 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.contact-info-content p {
  margin-bottom: 0.5rem;
}

.map-link {
  color: #3182ce;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: inline-block;
}

.map-link:hover {
  color: #2c5282;
}

.phone-note,
.email-note {
  font-size: 0.875rem;
  color: #10b981;
  margin-top: 0.5rem;
}

.team-section {
  margin-top: 3rem;
}

.team-section h3 {
  color: #2c5282;
  margin-bottom: 2rem;
}

.team-members {
  display: grid;
  gap: 2rem;
}

.team-member {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
}

.team-avatar {
  flex-shrink: 0;
}

.team-info h4 {
  color: #2c5282;
  margin-bottom: 0.5rem;
}

.team-info p {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.contact-form-section {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  height: fit-content;
}

.contact-form-section h2 {
  margin-bottom: 1rem;
}

.contact-form-section > p {
  margin-bottom: 2rem;
  color: #718096;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: #2c5282;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  margin-top: 1rem;
}

.checkbox-group .checkbox-label {
  color: #4a5568;
  font-size: 0.875rem;
  line-height: 1.5;
}

.submit-btn {
  margin-top: 1rem;
  justify-self: start;
}

.faq-section {
  margin-top: 4rem;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
}

.faq-item h3 {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: #2c5282;
  margin-bottom: 1rem;
}

.faq-item svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.cta-section {
  background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-icon {
  margin-bottom: 2rem;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
  color: white;
  padding: 1.5rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cookie-content h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.cookie-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.cookie-modal-content {
  background: white;
  border-radius: 1rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.cookie-modal-header h3 {
  color: #2c5282;
  margin-bottom: 0;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #718096;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: #2c5282;
}

.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f7fafc;
  border-radius: 0.5rem;
}

.cookie-toggle h4 {
  margin: 0;
  color: #2c5282;
}

.toggle-switch {
  position: relative;
  width: 60px;
  height: 30px;
  background-color: #cbd5e0;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle-switch.active {
  background-color: #3182ce;
}

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

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle-switch.active .toggle-slider {
  transform: translateX(30px);
}

.cookie-modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-visual {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .testimonials-grid,
  .blog-grid,
  .tips-grid,
  .district-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-details {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tip-card {
    flex-direction: column;
    text-align: center;
  }

  .step {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .trend-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .contact-options {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-member {
    flex-direction: column;
    text-align: center;
  }

  .contact-info-card {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-card {
    flex-direction: column;
    text-align: center;
  }

  .author-section {
    flex-direction: column;
    text-align: center;
  }

  .article-actions {
    flex-direction: column;
  }

  .thank-you-actions {
    flex-direction: column;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-in {
  animation: slideIn 0.6s ease-out;
}

/* ===== PRINT STYLES ===== */
@media print {
  .header,
  .cookie-banner,
  .cookie-modal,
  .nav-toggle,
  .btn,
  .social-links {
    display: none !important;
  }

  .hero {
    margin-top: 0;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
  }

  .section {
    page-break-inside: avoid;
  }
}
