:root {
  --primary-color: #5b21b6;
  --primary-dark: #4c1d95;
  --primary-light: #7c3aed;
  --accent-color: #10b981;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 70px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 33, 182, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.hero-section {
  position: relative;
  margin-top: -70px;
  padding-top: 70px;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.85), rgba(124, 58, 237, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero {
  padding: 6rem 0 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  margin-bottom: 0;
}

.page-hero-small {
  padding: 4rem 0 2rem;
  background-color: var(--bg-light);
  margin-bottom: 0;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img-top {
  height: 220px;
  object-fit: cover;
}

.topic-box {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.topic-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.topic-box h5 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.consultation-process {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

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

.benefit-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
}

.benefit-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.2rem;
}

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

.coverage-item {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.coverage-item h6 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.disclaimer-box {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 2rem;
  border-radius: 8px;
}

.disclaimer-box h4 {
  color: #92400e;
}

.format-info {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.format-detail {
  padding: 1rem;
}

.format-detail h5 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-item h5 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--text-dark);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
}

.approach-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
}

.approach-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.approach-card h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.role-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.role-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.2rem;
}

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

.provide-item {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.provide-item h6 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.not-provide-box {
  background: #fee2e2;
  border-left: 4px solid #dc2626;
  padding: 2rem;
  border-radius: 8px;
}

.not-provide-list {
  list-style: none;
  padding-left: 0;
}

.not-provide-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.not-provide-list li:before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}

.value-card {
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
}

.value-card h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item h6 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-item p {
  margin-bottom: 0;
}

.contact-item a {
  color: var(--text-dark);
}

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

.contact-form-container {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 4px;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(91, 33, 182, 0.25);
}

.thank-you-content {
  padding: 3rem 0;
}

.thank-you-icon {
  display: flex;
  justify-content: center;
}

.next-steps-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.next-steps-card h5 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.legal-content {
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.legal-content h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.legal-content h3 {
  color: var(--primary-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-content ul {
  margin-bottom: 1.5rem;
}

.legal-content .contact-box {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  margin-top: 1.5rem;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: white;
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-consent p {
  margin-bottom: 0;
}

.cookie-consent a {
  color: white;
  text-decoration: underline;
}

footer {
  margin-top: 4rem;
}

footer h5,
footer h6 {
  color: white;
  font-weight: 700;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: white !important;
}

@media (max-width: 768px) {
  .hero-image-container {
    height: 500px;
  }

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

  .consultation-process {
    gap: 1.5rem;
  }

  .process-step {
    flex-direction: column;
  }

  .legal-content {
    padding: 1.5rem;
  }

  .cookie-consent .col-md-4 {
    text-align: left !important;
  }
}
