:root {
  --primary-color: #7c3aed;
  --primary-dark: #6d28d9;
  --secondary-color: #1f2937;
  --text-primary: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: #ffffff;
}

html,
body {
  height: 100%;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.logo-x {
  color: var(--primary-color);
  font-weight: 900;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.hero-section {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  padding: 120px 0;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero-section .lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #e5e7eb;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 12px 32px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(124, 58, 237, 0.3);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.benefits-section {
  background-color: var(--bg-light);
}

.benefit-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}

.benefit-card h4 {
  color: var(--text-primary);
  font-weight: 600;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.intro-section {
  background-color: #ffffff;
}

.intro-section img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-section h2 {
  margin-top: 0;
}

.intro-section p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}

.page-header {
  background: linear-gradient(135deg, #4b5563 0%, #2d3748 100%);
  padding: 80px 0;
}

.page-header h1 {
  font-weight: 700;
  letter-spacing: -1px;
}

.page-header .lead {
  color: #d1d5db;
}

.about-section {
  background-color: #ffffff;
}

.about-section h2 {
  margin-top: 0;
}

.about-section p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

.services-section {
  background-color: #ffffff;
}

.services-section h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.services-section p {
  color: var(--text-light);
  line-height: 1.8;
}

.services-section img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-section {
  background-color: #ffffff;
}

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

.contact-section h5 {
  color: var(--text-primary);
  font-weight: 600;
}

.contact-section p {
  color: var(--text-light);
}

.contact-section a {
  color: var(--primary-color);
  font-weight: 500;
}

.contact-section a:hover {
  color: var(--primary-dark);
}

.contact-section img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.contact-form label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-form .form-check-label {
  color: var(--text-light);
  font-size: 0.95rem;
}

.border-left {
  border-left: 4px solid !important;
  padding-left: 1.5rem;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

.bg-dark {
  background-color: var(--secondary-color) !important;
}

footer {
  margin-top: auto;
}

footer h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
}

footer p {
  color: #d1d5db;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: #4b5563 !important;
}

.text-muted {
  color: #9ca3af !important;
}

hr.bg-secondary {
  background-color: #4b5563 !important;
  height: 1px;
}

.min-vh-100 {
  min-height: 100vh;
}

.alert-warning {
  background-color: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }

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

  .hero-section .lead {
    font-size: 1.1rem;
  }

  .page-header {
    padding: 60px 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn-lg {
    padding: 10px 24px;
    font-size: 1rem;
  }

  .row > div {
    margin-bottom: 2rem;
  }

  .about-section .order-md-2 {
    order: 2 !important;
  }

  .about-section .order-md-1 {
    order: 1 !important;
  }

  .services-section .order-md-2 {
    order: 2 !important;
  }

  .services-section .order-md-1 {
    order: 1 !important;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 60px 0;
  }

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

  .page-header h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .benefit-card p {
    font-size: 0.9rem;
  }
}
