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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  color: white;
  padding: 80px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  color: #bfdbfe;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero .subtitle {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 400;
  color: #bfdbfe;
  margin-top: 8px;
}

.hero .description {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  color: #bfdbfe;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .sub-description {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #cbd5e1;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background: white;
  color: #1e40af;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.btn:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.btn svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.section-header p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.service-card .subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.service-card p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Why Choose Us */
.why-choose {
  padding: 80px 0;
  background: #f9fafb;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.feature.animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.3s ease;
}

.feature:hover .feature-icon {
  transform: scale(1.1);
}

.feature h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.feature p {
  color: #6b7280;
  margin-bottom: 0;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #2563eb;
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #2563eb;
}

.faq-question:focus {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}

.faq-answer {
  padding: 0 24px 24px;
  color: #4b5563;
  line-height: 1.7;
  display: none;
  animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-question::after {
  content: "▼";
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  color: white;
  text-align: center;
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 24px;
}

.contact .description {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  color: #bfdbfe;
  margin-bottom: 32px;
}

.contact .sub-description {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #cbd5e1;
  margin-bottom: 40px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.contact-method {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-method svg {
  width: 32px;
  height: 32px;
  color: #bfdbfe;
  margin-right: 12px;
}

.contact-method span {
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-info {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-note {
  color: #bfdbfe;
}

/* Footer */
.footer {
  background: #111827;
  color: white;
  padding: 48px 0;
  text-align: center;
}

.footer h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer .description {
  color: #9ca3af;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: #9ca3af;
}

.footer-divider {
  height: 1px;
  background: #374151;
  margin: 24px 0;
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.9rem;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 60px 0 80px;
    min-height: 80vh;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-keywords {
    flex-direction: column;
    gap: 8px;
  }

  .service-card,
  .feature {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .services,
  .why-choose,
  .faq,
  .contact {
    padding: 60px 0;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .service-card,
  .faq-item {
    border-width: 2px;
  }

  .btn:focus {
    outline-width: 3px;
  }
}

/* Print styles */
@media print {
  .hero,
  .contact {
    background: white !important;
    color: black !important;
  }

  .btn {
    border: 2px solid black;
  }
}
