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

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

body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #ffffff;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style-position: inside;
}

/* ===== PLAYFUL DYNAMIC DESIGN SYSTEM ===== */
:root {
  --primary-bright: #FF6B35;
  --secondary-bright: #FFD23F;
  --accent-playful: #06FFA5;
  --purple-pop: #9D4EDD;
  --blue-electric: #00B4D8;
  --pink-vibrant: #FF006E;
  --gradient-fun: linear-gradient(135deg, #FF6B35 0%, #FFD23F 50%, #06FFA5 100%);
  --gradient-purple: linear-gradient(135deg, #9D4EDD 0%, #00B4D8 100%);
  --text-dark: #2B2D42;
  --text-light: #8D99AE;
  --white: #FFFFFF;
  --shadow-playful: 0 8px 30px rgba(255, 107, 53, 0.2);
  --shadow-bounce: 0 12px 40px rgba(157, 78, 221, 0.3);
}

/* ===== TYPOGRAPHY - PLAYFUL FONTS ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Comic Sans MS', 'Trebuchet MS', cursive, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

h1 {
  font-size: 48px;
  background: var(--gradient-fun);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: bounce-in 0.8s ease-out;
}

h2 {
  font-size: 36px;
  color: var(--primary-bright);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-fun);
  border-radius: 2px;
  animation: wiggle 2s infinite;
}

h3 {
  font-size: 24px;
  color: var(--purple-pop);
}

p {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-dark);
  line-height: 1.8;
}

strong {
  font-weight: 700;
  color: var(--primary-bright);
}

/* ===== PLAYFUL ANIMATIONS ===== */
@keyframes bounce-in {
  0% {
    transform: scale(0.5) translateY(-50px);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) translateY(10px);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-color {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px) rotate(-5deg); }
  75% { transform: translateX(10px) rotate(5deg); }
}

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

/* ===== HEADER - PLAYFUL & ENERGETIC ===== */
header {
  background: var(--gradient-fun);
  padding: 16px 0;
  position: static;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-playful);
  animation: slide-down 0.5s ease-out;
}

@keyframes slide-down {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

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

.logo img:hover {
  transform: scale(1.1) rotate(5deg);
  animation: shake 0.5s ease;
}

.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.main-nav a {
  color: var(--white);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav a:hover {
  background: var(--white);
  color: var(--primary-bright);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===== MOBILE MENU - FUN & ANIMATED ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background: var(--gradient-purple);
  color: var(--white);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  box-shadow: var(--shadow-bounce);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.mobile-menu-toggle:hover {
  transform: scale(1.2) rotate(90deg);
  box-shadow: 0 12px 50px rgba(157, 78, 221, 0.5);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: var(--gradient-fun);
  z-index: 1999;
  padding: 80px 32px 32px;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--white);
  color: var(--primary-bright);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  box-shadow: var(--shadow-playful);
  transition: all 0.3s ease;
  font-weight: bold;
}

.mobile-menu-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--pink-vibrant);
  color: var(--white);
}

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

.mobile-nav a {
  color: var(--white);
  font-weight: 700;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  font-size: 18px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.mobile-nav a:hover {
  background: var(--white);
  color: var(--primary-bright);
  transform: translateX(-10px) scale(1.05);
  border-color: var(--primary-bright);
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== HERO SECTION - ENERGETIC & DYNAMIC ===== */
.hero {
  background: var(--gradient-fun);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: spin-slow 60s linear infinite;
}

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

.hero h1 {
  font-size: 56px;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  animation: bounce-in 0.8s ease-out;
  background: none;
  -webkit-text-fill-color: var(--white);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 32px;
  font-weight: 500;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

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

.trust-indicators span {
  color: var(--white);
  font-weight: 700;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-small {
  background: var(--gradient-purple);
  padding: 60px 20px 40px;
  text-align: center;
  color: var(--white);
}

.breadcrumb {
  font-size: 14px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.breadcrumb a {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumb a:hover {
  opacity: 0.8;
}

/* ===== BUTTONS - PLAYFUL & ENERGETIC ===== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.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 ease, height 0.6s ease;
}

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

.btn-primary {
  background: var(--gradient-purple);
  color: var(--white);
  box-shadow: var(--shadow-bounce);
  animation: float 3s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 50px rgba(157, 78, 221, 0.5);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-bright);
  border-color: var(--primary-bright);
  box-shadow: var(--shadow-playful);
}

.btn-secondary:hover {
  background: var(--primary-bright);
  color: var(--white);
  transform: translateY(-5px) scale(1.05);
  border-color: var(--primary-bright);
}

.btn-link {
  color: var(--primary-bright);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 107, 53, 0.1);
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-link:hover {
  background: var(--primary-bright);
  color: var(--white);
  transform: translateX(5px);
}

/* ===== SECTIONS - COLORFUL & DYNAMIC ===== */
.section {
  margin-bottom: 60px;
  padding: 60px 20px;
}

.value-proposition {
  background: linear-gradient(135deg, #FFD23F 0%, #06FFA5 100%);
  padding: 80px 20px;
}

.value-proposition h2 {
  text-align: center;
  color: var(--white);
  font-size: 42px;
  margin-bottom: 50px;
}

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

.feature-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 30px;
  flex: 1 1 calc(50% - 32px);
  min-width: 280px;
  max-width: 500px;
  box-shadow: var(--shadow-playful);
  transition: all 0.3s ease;
  border: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-fun);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
  border-color: var(--primary-bright);
}

.feature-card h3 {
  color: var(--purple-pop);
  margin-bottom: 16px;
  font-size: 24px;
}

.feature-card p {
  color: var(--text-dark);
  line-height: 1.8;
}

/* ===== PROCESS STEPS - FUN & ANIMATED ===== */
.process-overview {
  background: linear-gradient(135deg, #9D4EDD 0%, #00B4D8 100%);
  padding: 80px 20px;
}

.process-overview h2 {
  text-align: center;
  color: var(--white);
  font-size: 42px;
  margin-bottom: 50px;
}

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

.step {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 25px;
  flex: 1 1 calc(33.333% - 32px);
  min-width: 250px;
  max-width: 350px;
  box-shadow: var(--shadow-bounce);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.step:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 20px 60px rgba(157, 78, 221, 0.4);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-fun);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
}

.step h3 {
  color: var(--text-dark);
  font-size: 18px;
  line-height: 1.4;
}

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

/* ===== SERVICES - BRIGHT CARDS ===== */
.services-highlight {
  background: #FFFFFF;
  padding: 80px 20px;
}

.services-highlight h2 {
  text-align: center;
  color: var(--primary-bright);
  margin-bottom: 50px;
}

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

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 30px;
  flex: 1 1 calc(50% - 32px);
  min-width: 280px;
  max-width: 500px;
  box-shadow: var(--shadow-playful);
  border: 4px solid var(--secondary-bright);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient-fun);
  transition: height 0.3s ease;
  z-index: 0;
}

.service-card:hover::after {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--primary-bright);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.4);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .price {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.service-card h3 {
  color: var(--purple-pop);
  margin-bottom: 16px;
  font-size: 22px;
}

.service-card .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-bright);
  margin: 16px 0;
  font-family: 'Comic Sans MS', cursive;
}

/* ===== DISTRICTS - COLORFUL PREVIEW ===== */
.districts-preview {
  background: linear-gradient(135deg, #FF006E 0%, #FFD23F 100%);
  padding: 80px 20px;
}

.districts-preview h2 {
  text-align: center;
  color: var(--white);
  margin-bottom: 50px;
}

.districts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 50px;
  justify-content: center;
}

.district-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 30px;
  flex: 1 1 calc(50% - 32px);
  min-width: 250px;
  max-width: 400px;
  box-shadow: var(--shadow-playful);
  transition: all 0.3s ease;
  text-align: center;
  border: 4px solid transparent;
}

.district-card:hover {
  transform: translateY(-10px) rotate(-2deg);
  box-shadow: 0 20px 60px rgba(255, 0, 110, 0.4);
  border-color: var(--pink-vibrant);
}

.district-card h3 {
  color: var(--primary-bright);
  margin-bottom: 12px;
  font-size: 24px;
}

.district-card p {
  color: var(--text-light);
  font-size: 16px;
}

/* ===== TESTIMONIALS - READABLE & FUN ===== */
.testimonials {
  background: #F8F9FA;
  padding: 80px 20px;
}

.testimonials h2 {
  text-align: center;
  color: var(--primary-bright);
  margin-bottom: 50px;
}

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

.testimonial-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 30px;
  flex: 1 1 calc(50% - 32px);
  min-width: 300px;
  max-width: 550px;
  box-shadow: var(--shadow-playful);
  border-left: 6px solid var(--accent-playful);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  color: var(--secondary-bright);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 0.8;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(6, 255, 165, 0.3);
}

.testimonial-card p {
  color: #2B2D42;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  color: var(--primary-bright);
  font-weight: 700;
  font-style: italic;
  margin-top: 16px;
  font-size: 14px;
}

.rating {
  text-align: center;
  font-size: 18px;
  color: var(--primary-bright);
  font-weight: 700;
  margin-top: 30px;
}

/* ===== CTA SECTIONS - ENERGETIC ===== */
.cta-section {
  background: var(--gradient-fun);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
  background-size: 40px 40px;
  animation: spin-slow 50s linear infinite reverse;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.contact-info {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 60px 20px;
  background: #FFFFFF;
}

.content-section h2 {
  color: var(--primary-bright);
  margin-bottom: 24px;
}

.steps-detailed {
  padding: 60px 20px;
  background: #F8F9FA;
}

.step-detail {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-playful);
  border-left: 6px solid var(--accent-playful);
  transition: all 0.3s ease;
}

.step-detail:hover {
  transform: translateX(10px);
  box-shadow: 0 12px 40px rgba(6, 255, 165, 0.3);
}

.step-detail h3 {
  color: var(--purple-pop);
  margin-bottom: 16px;
}

.step-detail a {
  color: var(--primary-bright);
  text-decoration: underline;
  font-weight: 700;
}

.step-detail a:hover {
  color: var(--purple-pop);
}

/* ===== DISTRICTS & SERVICES DETAIL ===== */
.districts-section,
.services-section {
  padding: 60px 20px;
}

.district-profile,
.service-detail-card {
  background: var(--white);
  padding: 40px;
  border-radius: 25px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-playful);
  border-top: 6px solid var(--primary-bright);
  transition: all 0.3s ease;
}

.district-profile:hover,
.service-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.district-profile h3,
.service-detail-card h3 {
  color: var(--purple-pop);
  margin-bottom: 16px;
  font-size: 28px;
}

.price-range {
  background: var(--gradient-fun);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 18px;
}

/* ===== COSTS & REQUIREMENTS ===== */
.costs-section,
.requirements-section,
.equity-section,
.loan-types-section,
.foreigners-section {
  padding: 60px 20px;
  background: var(--white);
  margin-bottom: 40px;
}

.costs-section h2,
.requirements-section h2 {
  color: var(--primary-bright);
  margin-bottom: 24px;
}

.costs-section ul,
.requirements-section ul {
  background: #F8F9FA;
  padding: 32px 40px;
  border-radius: 20px;
  border-left: 6px solid var(--secondary-bright);
}

.costs-section li,
.requirements-section li {
  margin-bottom: 16px;
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.8;
}

.loan-type {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-playful);
  border-left: 6px solid var(--purple-pop);
  transition: all 0.3s ease;
}

.loan-type:hover {
  transform: translateX(10px);
  box-shadow: 0 12px 40px rgba(157, 78, 221, 0.3);
}

/* ===== ACHIEVEMENTS & STATS ===== */
.achievements-section,
.expertise-section,
.approach-section,
.office-section,
.why-us-section {
  padding: 60px 20px;
}

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

.stat {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 25px;
  flex: 1 1 calc(33.333% - 32px);
  min-width: 200px;
  max-width: 300px;
  text-align: center;
  box-shadow: var(--shadow-playful);
  border-top: 6px solid var(--accent-playful);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 60px rgba(6, 255, 165, 0.3);
}

.stat h3 {
  font-size: 48px;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.stat p {
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 600;
}

/* ===== CONTACT & FORMS ===== */
.contact-options-section,
.contact-form-section {
  padding: 60px 20px;
}

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

.contact-option {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 25px;
  flex: 1 1 calc(33.333% - 32px);
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  box-shadow: var(--shadow-playful);
  border-top: 6px solid var(--primary-bright);
  transition: all 0.3s ease;
}

.contact-option:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.contact-option h3 {
  color: var(--purple-pop);
  margin-bottom: 16px;
}

.form-wrapper {
  background: var(--white);
  padding: 48px;
  border-radius: 25px;
  box-shadow: var(--shadow-bounce);
  max-width: 700px;
  margin: 0 auto;
  border: 4px solid var(--secondary-bright);
}

.form-note {
  background: #FFF3CD;
  padding: 16px;
  border-radius: 12px;
  border-left: 4px solid var(--secondary-bright);
  margin: 24px 0;
  font-size: 14px;
  color: var(--text-dark);
}

.office-details {
  background: var(--white);
  padding: 40px;
  border-radius: 25px;
  box-shadow: var(--shadow-playful);
  border-left: 6px solid var(--accent-playful);
  max-width: 600px;
  margin: 40px auto;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-hero {
  background: var(--gradient-fun);
  padding: 80px 20px;
  text-align: center;
  color: var(--white);
}

.success-icon {
  width: 100px;
  height: 100px;
  background: var(--white);
  color: var(--accent-playful);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-bounce);
  font-weight: 800;
  animation: bounce-in 0.8s ease-out;
}

.next-steps-section,
.while-waiting-section,
.urgent-section,
.confirmation-section {
  padding: 60px 20px;
}

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

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

.resource-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 25px;
  flex: 1 1 calc(50% - 32px);
  min-width: 250px;
  max-width: 400px;
  box-shadow: var(--shadow-playful);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 6px solid var(--purple-pop);
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(157, 78, 221, 0.3);
}

.resource-card h3 {
  color: var(--primary-bright);
  margin-bottom: 12px;
}

.timeline-note {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  margin-top: 24px;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  padding: 60px 20px;
  background: #FFFFFF;
}

.legal-content h2 {
  color: var(--primary-bright);
  margin-top: 40px;
  margin-bottom: 20px;
}

.legal-content h3 {
  color: var(--purple-pop);
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 20px 0;
  padding-left: 24px;
}

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

.legal-content a {
  color: var(--primary-bright);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--purple-pop);
}

/* ===== FOOTER - COLORFUL & FUN ===== */
footer {
  background: var(--gradient-purple);
  color: var(--white);
  padding: 60px 20px 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-col {
  flex: 1 1 calc(25% - 40px);
  min-width: 200px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  color: var(--secondary-bright);
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-col p {
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 12px;
  opacity: 0.9;
}

.footer-col a {
  color: var(--white);
  display: block;
  padding: 8px 0;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.footer-col a:hover {
  color: var(--secondary-bright);
  transform: translateX(5px);
  opacity: 1;
}

.footer-bottom {
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  color: var(--white);
  opacity: 0.9;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient-fun);
  color: var(--white);
  padding: 24px 20px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
  z-index: 3000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.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 300px;
  font-size: 14px;
  line-height: 1.6;
}

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

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

.cookie-btn-accept {
  background: var(--white);
  color: var(--primary-bright);
}

.cookie-btn-accept:hover {
  background: var(--accent-playful);
  color: var(--white);
  transform: scale(1.05);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cookie-btn-reject:hover {
  background: var(--white);
  color: var(--primary-bright);
}

.cookie-btn-settings {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid transparent;
}

.cookie-btn-settings:hover {
  background: var(--purple-pop);
  border-color: var(--white);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: 30px;
  padding: 48px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

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

.cookie-modal h2 {
  color: var(--primary-bright);
  margin-bottom: 24px;
}

.cookie-category {
  background: #F8F9FA;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent-playful);
}

.cookie-category h3 {
  color: var(--purple-pop);
  margin-bottom: 12px;
  font-size: 18px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  
  .hero {
    min-height: 500px;
    padding: 60px 20px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 16px;
  }
  
  .features-grid,
  .services-grid,
  .districts-grid,
  .steps,
  .testimonials-grid,
  .stats-grid,
  .contact-grid,
  .resources-grid {
    flex-direction: column;
  }
  
  .feature-card,
  .service-card,
  .district-card,
  .step,
  .testimonial-card,
  .stat,
  .contact-option,
  .resource-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-col {
    flex: 1 1 100%;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-modal-content {
    padding: 32px 24px;
  }
  
  .form-wrapper {
    padding: 32px 24px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .feature-card,
  .service-card,
  .district-card {
    flex: 1 1 calc(50% - 32px);
  }
  
  .step {
    flex: 1 1 calc(50% - 32px);
  }
  
  .stat {
    flex: 1 1 calc(50% - 32px);
  }
}

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 3px solid var(--accent-playful);
  outline-offset: 3px;
}

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

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

/* ===== SMOOTH SCROLLING & PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid var(--secondary-bright);
  border-top-color: var(--primary-bright);
  border-radius: 50%;
  animation: spin-slow 1s linear infinite;
}