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

:root {
  --primary-red: #d92e3f;
  --dark-gray: #2c2c2c;
  --light-gray: #f5f5f5;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --white: #ffffff;
  --border-color: #e0e0e0;
}

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

html,
body {
  width: 100%;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--dark-gray);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  min-width: 250px;
  padding: 0 15px;
}

.col-md-6 {
  flex: 0 0 50%;
}

.col-md-4 {
  flex: 0 0 33.333%;
}

.col-md-3 {
  flex: 0 0 25%;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary-red);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

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

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #b8232f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 46, 63, 0.3);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
  background-color: var(--light-gray);
}

.btn-outline {
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--text-dark);
  color: var(--white);
}

/* Sections */
section {
  padding: 4rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-red);
}

/* Service Cards */
.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-red);
  box-shadow: 0 8px 24px rgba(217, 46, 63, 0.15);
  transform: translateY(-4px);
}

.service-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}

/* How It Works */
.how-it-works {
  background-color: var(--light-gray);
}

.step {
  text-align: center;
}

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

/* Testimonials */
.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.testimonial-text {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-style: italic;
}

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

.stars {
  color: var(--primary-red);
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Experts Section */
.expert-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}

.expert-card:hover {
  border-color: var(--primary-red);
  box-shadow: 0 8px 24px rgba(217, 46, 63, 0.15);
}

.expert-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--light-gray) 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.expert-info {
  padding: 1.5rem;
}

.expert-info h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.expert-title {
  color: var(--primary-red);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.expert-bio {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* FAQ */
.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background-color: var(--light-gray);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #efefef;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary-red);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 1.5rem;
  color: var(--text-light);
  display: none;
  border-top: 1px solid var(--border-color);
}

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

.faq-toggle.active {
  transform: rotate(45deg);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(217, 46, 63, 0.1);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
  accent-color: var(--primary-red);
}

.checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
  cursor: pointer;
}

.checkbox-group a {
  color: var(--primary-red);
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: #cccccc;
  padding: 3rem 0 2rem;
  border-top: 3px solid var(--primary-red);
}

footer h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

footer p {
  color: #cccccc;
}

footer a {
  color: #cccccc;
}

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

.footer-section {
  margin-bottom: 2rem;
}

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

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

.contact-info {
  font-size: 0.95rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: #cccccc;
}

.footer-bottom {
  border-top: 1px solid #444444;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #999999;
}

.footer-bottom a {
  color: #cccccc;
}

/* Thank You Page */
.thank-you-container {
  text-align: center;
  padding: 4rem 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-box {
  background-color: var(--light-gray);
  padding: 3rem;
  border-radius: 8px;
  max-width: 500px;
}

.thank-you-box h1 {
  color: var(--primary-red);
  margin-bottom: 1rem;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: var(--white);
  padding: 2rem;
  text-align: center;
  z-index: 1000;
  display: none;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.cookie-banner.active {
  display: flex;
}

.cookie-banner p {
  color: var(--white);
  margin: 0;
}

.cookie-banner a {
  color: var(--primary-red);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-banner .btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.updated-date {
  color: #999999;
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .col-md-6 {
    flex: 0 0 100%;
  }

  .col-md-4 {
    flex: 0 0 100%;
  }

  .col-md-3 {
    flex: 0 0 100%;
  }

  nav {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0 0 0;
  }

  .hero {
    padding: 3rem 0;
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  section {
    padding: 3rem 0;
  }

  .row {
    margin: 0 -10px;
  }

  .col {
    padding: 0 10px;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .cookie-banner {
    flex-direction: column;
    padding: 1.5rem;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  section {
    padding: 2rem 0;
  }

  .container {
    padding: 0 10px;
  }
}
