body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f8f9fa;
  color: #343a40;
  line-height: 1.8;
  overflow-x: hidden;
}

header {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/assets/images/eigenaren.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 700;
}

header p {
  font-size: 1.4rem;
  font-weight: 300;
  opacity: 0.9;
}

section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: auto;
}

@media (min-width: 768px) {
  section {
    padding: 4rem 2rem;
  }
}

section h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #bb100f;
  margin-bottom: 3.5rem;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 2;
  text-align: left;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.highlight-section {
  background: #f0ebe5;
}

.services-grid, .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.feature {
  background: white;
  padding: 2.5rem;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card {
  text-align: center;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.feature i {
  font-size: 3.5rem;
  color: #bb100f;
  margin-bottom: 1.5rem;
}

.service-card i {
  font-size: 3rem;
  color: #bb100f;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #343a40;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #343a40;
}

.service-card p {
  color: #6c757d;
  line-height: 1.6;
}

/* New Services Section Styles */
.services-section-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.services-text-content .subtitle {
  color: #bb100f;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.services-text-content .title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #343a40;
  text-align: left;
}

.services-text-content .description {
  color: #6c757d;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.services-button {
  display: inline-block;
  background-color: #bb100f;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.services-button:hover {
  background-color: #a00d0c;
}

.services-carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.services-carousel {
  display: flex;
  width: max-content;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll-services 30s linear infinite;
}

.carousel-content {
  display: flex;
  gap: 1rem;
  padding-right: 1rem; /* Add padding to create space between sets */
}

@keyframes scroll-services {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-item {
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.carousel-item i {
  font-size: 2.5rem;
  color: #bb100f;
  margin-bottom: 1rem;
}

.carousel-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #343a40;
  margin: 0;
}

/* Desktop Layout */
@media (min-width: 992px) {
  .services-section-container {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .services-text-content {
    flex: 1;
    text-align: left;
  }

  .services-carousel-wrapper {
    flex: 1;
  }

  .carousel-content {
    gap: 1.5rem;
  }

  .carousel-item {
    flex: 0 0 160px;
  }
}

footer {
  background: #343a40;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

footer h2 {
    color: white;
}

footer a {
  color: #c3bab0;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.contact-info {
  margin: 2rem 0;
}

.contact-info p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.extra-info {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #495057;
  border-radius: 8px;
  display: inline-block;
}

.footer-note {
  margin-top: 3rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.logo {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  z-index: 10;
}

.logo img {
  height: 60px;
}

.visie-btn {
  background-color: #bb100f;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  margin: 0 auto;
  width: auto;
  text-align: center;
  font-weight: 600;
  border-radius: 0.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: background-color 0.2s, color 0.2s;
  display: block;
}
.visie-btn:hover, .visie-btn:active {
  background-color: #c3bab0;
  color: #fff;
}
@media (max-width: 640px) {
  .about-image img {
    width: 100%;
    max-width: 100%;
  }
  .visie-btn {
    width: 100%;
    display: block;
  }
}
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
  }
} 

.hero-header {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-header-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-header-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-header-sub {
  font-size: 1.5rem;
  font-weight: 300;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
} 

/* Services List Page Styles */
.services-list-section {
  background: #f8f9fa;
  padding: 4rem 2rem;
}

.services-list-section .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-list-section .service-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-list-section .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.services-list-section .service-icon {
  width: 80px;
  height: 80px;
  background: #bb100f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2rem;
}

.services-list-section .service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 1rem;
}

.services-list-section .service-card p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Accordion Styles */
.services-accordion {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #e5e7eb;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  background: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: left;
}

.accordion-header:hover {
  background-color: #f9fafb;
}

.accordion-header .service-icon {
  width: 60px;
  height: 60px;
  background: #bb100f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.accordion-header .service-title {
  flex-grow: 1;
}

.accordion-header .service-title h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.accordion-header .service-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

.accordion-arrow {
  color: #bb100f;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: #f8fafc;
}

.accordion-item.active .accordion-content {
  max-height: 1500px; /* Increased to ensure all content is visible */
}

.content-wrapper {
  padding: 2rem;
}

.content-wrapper h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 1rem 0;
}

.content-wrapper h4:not(:first-child) {
  margin-top: 1.5rem;
}

.content-wrapper p {
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.content-wrapper ul {
  list-style-type: disc;
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}

.content-wrapper li {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.service-button {
  display: inline-block;
  background-color: #bb100f;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.service-button:hover {
  background-color: #a00d0c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(187, 16, 15, 0.2);
}

/* Mobile menu button custom styles */
.mobile-menu-button {
  background: #bb100f !important;
  border: none !important;
  color: #fff !important;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-button:hover, .mobile-menu-button:focus {
  background: #c3bab0 !important;
  color: #bb100f !important;
  border: none !important;
} 
@media (max-width: 767px) {
  .mobile-menu-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 50;
  }
} 

/* How We Work Section */
.how-we-work-section {
  background-color: #f9fafb;
  padding: 4rem 0;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #bb100f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.step-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.step-card p {
  color: #4b5563;
  line-height: 1.6;
}

/* Contact Form */
.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

/* FormSubmit styled inputs */
.form-control {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #bb100f;
}

/* Column layout for form rows */
.col {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0; /* Prevents flex items from overflowing */
  width: 100%;
}

/* Button styles */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-dark {
  background-color: #bb100f;
  color: white;
}

.btn-dark:hover {
  background-color: #a00d0c;
}

.btn-block {
  width: 100%;
}

/* Legacy form styles for backward compatibility */
.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #bb100f;
}

.submit-btn {
  background-color: #bb100f;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #a00d0c;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .steps-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-form-container {
    margin: 0 1rem;
    padding: 1.5rem;
    max-width: none;
    width: calc(100% - 2rem);
    box-sizing: border-box;
  }
  
  .contact-form {
    gap: 1rem;
    width: 100%;
    overflow: hidden;
  }
  
  .form-group input,
  .form-group textarea,
  .form-control {
    padding: 0.875rem;
    font-size: 16px; /* Prevents zoom on iOS */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
} 

@media (max-width: 640px) {
  .hero-header {
    background-position: 75% 50%;
  }
  .hero-header-text h1 {
    font-size: 2.5rem;
  }

  .hero-header-sub {
    font-size: 1.2rem;
  }
} 