:root {
  --primary-bg: #F0F2F5;
  --primary-color: #007bff;
  --success-color: #28a745;
  --secondary-color: #6c757d;
  --white: #ffffff;
  --dark: #212529;
  --light-gray: #f8f9fa;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', 'Lato', sans-serif;
  background-color: var(--primary-bg);
  color: var(--dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Lora', serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-balance: true;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

header {
  position: sticky;
  top: 0;
  background-color: var(--white);
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.navbar-nav .nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

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

.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  border-bottom: 2px solid var(--primary-color);
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/mobility_hero.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-size: 4rem;
}

.hero h2 {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  font-size: 1.75rem;
}

section {
  padding: 80px 0;
}

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

section.primary-bg {
  background-color: var(--primary-color);
  color: var(--white);
}

section.primary-bg h2,
section.primary-bg h3 {
  color: var(--white);
}

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

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}

.card-custom {
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

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

.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.card-title {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.btn-custom {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-custom:hover {
  background-color: #0056b3;
  color: var(--white);
  text-decoration: none;
}

.btn-custom-secondary {
  background-color: var(--success-color);
}

.btn-custom-secondary:hover {
  background-color: #218838;
}

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

.btn-custom-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-column-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-column-img.img-left {
  grid-template-columns: 1fr 1fr;
}

.two-column-img.img-left img {
  order: -1;
}

.section-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.section-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.section-list li {
  padding: 12px 0 12px 40px;
  position: relative;
  line-height: 1.6;
  font-size: 1rem;
}

.section-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
  font-size: 1.3rem;
}

.accordion-custom {
  margin-top: 2rem;
}

.accordion-custom .card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: none;
}

.accordion-custom .card-header {
  background-color: var(--light-gray);
  border: none;
  padding: 0;
}

.accordion-custom .card-header button {
  width: 100%;
  text-align: left;
  padding: 1.25rem;
  background-color: transparent;
  border: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.accordion-custom .card-header button:hover {
  color: var(--primary-color);
}

.accordion-custom .card-header button.collapsed {
  color: var(--dark);
}

.accordion-custom .card-body {
  padding: 1.25rem;
  background-color: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background-color: var(--primary-color);
  color: var(--white);
}

th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  border: none;
}

td {
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
}

tbody tr:hover {
  background-color: var(--light-gray);
}

.icon-box {
  text-align: center;
  padding: 30px 20px;
}

.icon-box svg {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.icon-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.icon-box p {
  font-size: 0.95rem;
  color: var(--secondary-color);
}

footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
  margin-top: 80px;
}

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

footer p, footer a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #b0b0b0;
}

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

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

.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  color: #999;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 1px solid #e0e0e0;
  padding: 20px;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  display: none;
}

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

.cookie-banner-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark);
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.cookie-btn-accept:hover {
  background-color: #0056b3;
}

.cookie-btn-decline {
  background-color: var(--light-gray);
  color: var(--dark);
  border: 1px solid #d0d0d0;
}

.cookie-btn-decline:hover {
  background-color: #e0e0e0;
}

.cookie-btn-learn {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 8px 16px;
}

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

.disclaimer-box {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 20px;
  border-radius: 4px;
  margin: 2rem 0;
}

.disclaimer-box h3 {
  margin-top: 0;
  color: var(--dark);
}

.disclaimer-box p {
  margin-bottom: 0;
  color: var(--dark);
}

.thank-you-content {
  text-align: center;
  padding: 60px 20px;
}

.thank-you-content h1 {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 2rem;
}

.thank-you-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--light-gray);
  border-radius: 8px;
  margin: 2rem 0;
}

.cta-section h2 {
  margin-bottom: 2rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

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

.contact-info {
  margin: 2rem 0;
  padding: 2rem;
  background-color: var(--light-gray);
  border-radius: 8px;
}

.contact-info p {
  margin-bottom: 0.75rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

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

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 25px;
}

.blog-card-title {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--secondary-color);
  margin-bottom: 1.25rem;
}

.testimonial {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  margin: 2rem 0;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

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

.badge-custom {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 60px 0;
    min-height: 300px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.25rem;
  }
  
  .two-column,
  .two-column-img {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .two-column-img.img-left img {
    order: 0;
  }
  
  section {
    padding: 50px 0;
  }
  
  .grid-cards {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .cookie-banner-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
