/* Header Container as Flex */

header .header-container {
    display: flex;
    align-items: center;
    padding: 20px; /* adjust padding if needed */
    justify-content: center;
  }

  .header-content {
    text-align: center;
  }
  
  /* Logo Styling */
  
  .logo {
    margin-right: 20px; /* space between logo and text */
  }
  
  .logo img {
    height: 97.8px; /* adjust the logo size as needed */
    width: auto;  /* keeps image aspect ratio */
  }
  
  /* Header Text Styling (if needed, use your existing styles) */
  .header-content h1 {
    font-size: 3em;
    color: rgb(124, 188, 52);
    margin: 0; /* reset margin if required */
  }
  
  .header-content p {
    margin-top: 5px; /* adjust spacing under the header title */
  }

  /* General Styles */
body {
    margin: 0;
    font-family:"Roboto", sans-serif;
    color: #333;
    background-color: #f1f1f1;
  }
  
  /* Header */
  header {
    background: #f1f1f1;
    text-align: center;
    padding: 20px;
  }
  header h1 {
    font-size: 3em;
    color: rgb(124, 188, 52);
    margin-bottom: 10px;
  }
  
  /* Navigation */
  nav {
    background: rgb(124, 188, 52);
    text-align: center;
    color: #333;
  }
  nav ul {
    list-style: none;
    display: inline-flex;
    padding: 0;
  }
  nav li {
    margin: 0 15px;
  }
  nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }
  
  /* Hero Section */
  /* HERO: full background image with text overlay */
.hero {
    position: relative;
    color: #333;
    padding-top: 20px;
    background-image: url('../images/De-ce-sunt-avantajoase-panourile-solare.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* dark overlay for readability */
    z-index: 1;
  }
  
  .hero .overlay {
    position: relative;
    z-index: 2;
  }
  
  .hero h2, .hero p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
  
  .hero a {
    display: inline-block;
    text-decoration: none;
    background: rgb(124, 188, 52);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1em;
    margin-top: 20px;
  }
  
  /* NAVIGATION BAR - center the links */
  .bara-navigatie {
    font-family: "Roboto", sans-serif;
    margin-bottom: 30px;
    font-size: 20px;
    background: rgb(124, 188, 52);
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
  }
  
  .bara-navigatie ul {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
    flex: 1;
    justify-content: center;
  }
  
  .bara-navigatie li {
    display: flex;
    align-items: center;
  }
  
  .bara-navigatie a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
  }
  
  .hero h2 {
    font-size: 2em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
  .hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
  .hero a {
    display: inline-block;
    text-decoration: none;
    background: rgb(124, 188, 52);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1em;
  }
  
  /* Sections */
  section {
    padding: 40px 20px;
    text-align: center;
    background-color: #f1f1f1;
  }
  
  /* Gallery Section */
  #galleria {
    background: #f1f1f1;
  }
  #galleria h2 {
    font-size: 2em;
    color: rgb(124, 188, 52);
    margin-bottom: 20px;
  }
  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .gallery img {
    max-width: 300px;
    margin: 10px;
    border-radius: 5px;
  }
  
  /* Contact Form */
  form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
  }
  input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
  }

  .bara-navigatie a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    position: relative;
  }
  
  .bara-navigatie a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease-in-out;
  }
  
  .bara-navigatie a:hover::after {
    width: 100%;
  }
  

  button {
    padding: 10px 20px;
    background: rgb(124, 188, 52);
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
  }
  
  /* Footer */
  footer {
    background: rgb(124, 188, 52);
    color: #fff;
    padding: 40px;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-left {
    flex: 1;
    min-width: 250px;
  }
  
  .footer-left img {
    width: 150px;
    margin-bottom: 20px;
  }
  
  .footer-right {
    flex: 3;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-section {
    min-width: 200px;
  }
  
  .footer-section h4 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #fff;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-section ul li {
    margin-bottom: 8px;
  }
  
  .footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-section ul li a:hover {
    color: #f1f1f1;
  }
  
  .footer-section p {
    color: #fff;
    line-height: 1.6;
    margin: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }


  .scroll-container {
    display: flex;                /* Arrange items in a row */
    overflow-x: auto;             /* Enable horizontal scrolling */
    scroll-behavior: smooth;      /* Smooth scrolling when triggered */
    cursor: grab;                 /* Indicate draggable functionality */
    padding: 10px;
    gap: 10px;                    /* Optional spacing between images */
    user-select: none;            /* Prevent text selection during drag */
  }
  
  .scroll-container.active {
    cursor: grabbing;             /* Change cursor when dragging */
  }
  
  .scroll-container img {
    flex-shrink: 0;               /* Prevent images from shrinking */
    width: 300px;                /* Set a fixed width or adjust as needed */
    border-radius: 5px;
  }

  

  .carousel {
    position: relative;
    max-width: 1600px;
    margin: 40px auto;
    overflow: hidden;
    padding: 20px 0;
  }
  
  .carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    touch-action: pan-y;
  }
  
  .carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 15px;
    padding: 0 40px;
    width: calc(100% - 80px);
    margin: 0 auto;
    cursor: grab;
    user-select: none;
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    overflow: visible;
  }

  .carousel-slides.grabbing {
    cursor: grabbing !important;
    transition: none;
  }
  
  .slide {
    flex: 0 0 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    pointer-events: auto; /* Allow pointer events on slides */
  }
  
  .slide::after {
    content: attr(data-label);
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    color: #666;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .slide:hover::after {
    opacity: 1;
  }
  
  .slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevent images from capturing pointer events */
  }
  
  .slide:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  
  .slide:hover img {
    transform: scale(1.05);
  }
  
  .carousel-nav {
  display: none; /* Hide all navigation buttons */
}
  
  .carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    position: relative;
  }
  
  .carousel-pause-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background-color: #f1f1f1;
    border-radius: 50%;
    transition: background-color 0.3s ease;
  }
  
  .carousel-pause-btn:hover {
    background-color: rgb(124, 188, 52);
  }
  
  .carousel-pause-btn:hover svg {
    stroke: white;
  }
  
  .carousel-pause-btn svg {
    stroke: #333;
    transition: stroke 0.3s ease;
  }
  
  .carousel-indicators {
    display: none;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .indicator:hover {
    background-color: #aaa;
  }
  
  .indicator.active {
    background-color: rgb(124, 188, 52);
    transform: scale(1.2);
  }
  
  .carousel-position {
    font-size: 16px;
    color: #666;
    min-width: 50px;
    text-align: center;
    margin-left: 15px;
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 15px;
  }
  
  .current-slide, .total-slides {
    font-weight: bold;
  }
  
  @media (max-width: 768px) {
    .carousel-slides {
      padding: 0 25px;
      width: calc(100% - 50px);
    }
    
    .slide {
      flex: 0 0 130px;
      height: 70px;
    }
    
    .carousel-nav {
      width: 36px;
      height: 36px;
    }
  }
  
  @media (max-width: 480px) {
    .carousel-slides {
      padding: 0 20px;
      width: calc(100% - 40px);
      gap: 10px;
    }
    
    .slide {
      flex: 0 0 110px;
      height: 60px;
    }
  }
  
  /* Remove old indicator styles */
  .carousel-caption {
    display: none;
  }

  #chi {
    padding-bottom: 10px;
  }

  #chi p {
    margin-top: 15px;
  }

  .Producatori {
    margin-top: 40px;
    margin-block-end: 0px;
  }

  .chi-siamo {
    margin-bottom: 30px;
  }

  .accordion-container {
    max-width: 700px;
    margin: 30px auto;
    padding: 10px;
  }
  
  .accordion-item {
    border-bottom: 2px solid #7CBC34;
  }
  
  .accordion-button {
    width: 100%;
    background-color: #f1f1f1;
    color: #333;
    padding: 15px;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .accordion-button:hover {
    background-color: #e2e2e2;
  }
  
  .accordion-content {
    max-height: 0;                    /* always start closed */
    overflow: hidden;                 
    transition: max-height 0.3s ease; /* fixed 0.3s duration */
  }
  
  
  .accordion-icon svg {
    width: 18px;
    height: 18px;
    fill: #333;
  }
  
  .chevron-up {
    display: none;
  }

  /* FAQ Section Improvements */
  .contatti-faq-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
    padding: 40px;
    background-color: #f1f1f1;
    border-radius: 8px;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .faq-section {
    flex: 1;
    min-width: 0;
    background: #f1f1f1;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    display: flex;
    flex-direction: column;
  }
  
  .faq-section h2 {
    color: #7CBC34;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
  }
  
  .faq-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #7CBC34;
  }
  
  .accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .accordion-button {
    width: 100%;
    padding: 20px;
    background: #f1f1f1;
    border: none;
    text-align: left;
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
  }
  
  .accordion-button:hover {
    background: #e2e2e2;
  }
  
  .accordion-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
  }
  
  .accordion-item.active .accordion-icon {
    transform: rotate(180deg);
  }
  
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f1f1f1;
  }
  
  .accordion-item.active .accordion-content {
    max-height: 500px;
  }
  
  .accordion-content p {
    padding: 20px;
    margin: 0;
    color: #666;
    line-height: 1.6;
    border-top: 1px solid #eee;
  }
  
  /* Contact Form Section */
  .contact-form-section {
    flex: 1;
    min-width: 0;
    background: #f1f1f1;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    display: flex;
    flex-direction: column;
  }
  
  .contact-form-section h2 {
    color: #7CBC34;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
  }
  
  .contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #7CBC34;
  }
  
  .contact-form-section form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
  }
  
  .contact-form-section label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
  }
  
  .contact-form-section input,
  .contact-form-section textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.1em;
    transition: all 0.3s ease;
  }
  
  .contact-form-section input:focus,
  .contact-form-section textarea:focus {
    outline: none;
    border-color: #7CBC34;
    box-shadow: 0 0 0 2px rgba(124, 188, 52, 0.1);
  }
  
  .contact-form-section textarea {
    min-height: 100px;
    resize: vertical;
  }
  
  .send-button {
    padding: 16px 32px;
    font-size: 1.2em;
    margin-top: 20px;
  }
  
  .privacy-note {
    margin-top: auto;
    padding-top: 20px;
  }
  
  .privacy-note a {
    color: #7CBC34;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .privacy-note a:hover {
    color: #6aa028;
    text-decoration: underline;
  }
  
  /* Responsive Design */
  @media (max-width: 1200px) {
    .contatti-faq-container {
      max-width: 100%;
      padding: 30px;
    }
    
    .faq-section,
    .contact-form-section {
      max-width: 100%;
    }
  }

  @media (max-width: 768px) {
    .contatti-faq-container {
      flex-direction: column;
      padding: 20px;
    }

    .faq-section,
    .contact-form-section {
      padding: 30px;
    }

    .contact-form-section input,
    .contact-form-section textarea {
      padding: 12px;
      font-size: 1em;
    }

    .send-button {
      padding: 14px 28px;
      font-size: 1.1em;
    }
  }

  #risparmio {
    padding: 40px 20px;
    background: #f5f5f5;
    text-align: center;
    margin: 20px auto;
    border-radius: 8px;
  }
  .risparmio-container h2 {
    color: rgb(124, 188, 52);
    margin-bottom: 10px;
  }
  .calculator {
    margin: 20px 0;
  }
  .calculator input[type="number"] {
    padding: 10px;
    width: 60%;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
  }
  .calculator button {
    padding: 10px 20px;
    background: rgb(124, 188, 52);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  #risultato-risparmio p {
    font-size: 1.1em;
    margin: 5px 0;
  }
  
  .calculator {
    display:flex;
  }

  #risparmio {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }

  #risultato-risparmio-pompa p {
    font-size: 1.1em;
    margin: 5px 0;
  }

  /* Force both buttons to wrap the text into two lines */
.calculator button {
  white-space: normal;      /* allow line breaks at spaces */ 
  width: 10rem;             /* adjust this value until "Calcola Risparmio" breaks into two lines consistently */ 
  word-break: keep-all;     /* prevent breaking words in the middle */ 
}

/* Services cards layout */
.services-cards {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 1600px;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.services-cards::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Individual service card */
.service-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 0;
  flex: 0 0 350px;
  min-width: 350px;
  max-width: 350px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: left;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Make the cards slightly smaller on mobile */
@media (max-width: 768px) {
  .service-card {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
  }
}

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

/* Card image container */
.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

/* Card content */
.service-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Card headings */
.service-card h3 {
  font-size: 1.75em;
  color: rgb(124, 188, 52);
  margin: 0 0 15px 0;
  position: relative;
  padding-bottom: 10px;
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: rgb(124, 188, 52);
  transition: width 0.3s ease;
}

.service-card:hover h3::after {
  width: 100px;
}

/* Card paragraphs */
.service-card p {
  font-size: 1.05em;
  line-height: 1.6;
  color: #555;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Service button */
.btn-service {
  display: inline-block;
  background: rgb(124, 188, 52);
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid rgb(124, 188, 52);
  text-align: center;
  margin-top: auto;
  width: fit-content;
}

.btn-service:hover {
  background: transparent;
  color: rgb(124, 188, 52);
}

/* Section title */
#servizi h2 {
  font-size: 2.5em;
  color: rgb(124, 188, 52);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

#servizi h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: rgb(124, 188, 52);
}

/* Section description */
#servizi p {
  font-size: 1.2em;
  color: #666;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ——— STATISTICS SECTION ——— */
#statistics {
  padding: 40px 20px;
  text-align: center;
  background: #fff;
  overflow-x: auto;
}

.benefits-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  margin: 0 auto;
  max-width: 1200px;
  overflow-x: auto;
  white-space: nowrap;
  background: linear-gradient(to right, #1a1a1a, #2a2a2a);
}

.benefit-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  text-align: center;
  min-width: 220px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(124, 188, 52, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 188, 52, 0.4);
}

.benefit-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-number, .stat-range {
  font-size: 3em;
  font-weight: bold;
  color: #7cbc34;
  line-height: 1;
  text-shadow: 0 0 10px rgba(124, 188, 52, 0.3);
}

.percent {
  font-size: 1.6em;
  font-weight: bold;
  color: #7cbc34;
  margin-left: 2px;
  text-shadow: 0 0 10px rgba(124, 188, 52, 0.3);
}

.stat-unit {
  font-size: 1.3em;
  color: #7cbc34;
  margin-left: 4px;
  text-shadow: 0 0 10px rgba(124, 188, 52, 0.3);
}

.stat-text {
  font-size: 1.2em;
  color: white;
  margin-top: 10px;
  white-space: nowrap;
  font-weight: 500;
}

.stats-btn {
  display: inline-block;
  background: #7cbc34;
  color: #fff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  margin-top: 20px;
}

.stats-btn:hover {
  background: #6aa028;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .benefits-container {
    padding: 20px 10px;
    gap: 15px;
  }
  
  .benefit-item {
    min-width: 180px;
    padding: 20px;
  }
  
  .stat-number, .stat-range {
    font-size: 2.5em;
  }
  
  .stat-text {
    font-size: 1.1em;
  }
}

/* make the container spacing a bit wider */
.services-cards {
  gap: 40px;
  padding: 0 20px;
}

/* increase card max‑width so they're more prominent */
.service-card {
  max-width: 380px;    /* was 320px */
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

/* taller image */
.service-card img {
  width: 100%;
  height: 240px;       /* was 200px */
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* larger headings & copy */
.service-card h3 {
  font-size: 1.75em;   /* was 1.5em */
  margin: 20px 0 10px;
}
.service-card p {
  font-size: 1.05em;   /* was .95em */
  margin: 0 20px 20px;
  line-height: 1.5;
}

/* beefier button */
.btn-service {
  display: inline-block;
  margin-bottom: 24px;
  padding: 12px 28px;  /* was 10px 24px */
  font-size: 1em;
  border-radius: 4px;
}

/* ——— Base button reset ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.5em;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 0.375em;
  cursor: pointer;
  transition: background-color 0.3s ease,
              box-shadow        0.3s ease,
              transform         0.2s ease;
  background-color: #7cbc34;
  color: #fff;
}

/* Hover, active & focus states */
.btn:hover {
  background-color: #6aa028;
  box-shadow: 0 6px 10px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.btn:active {
  background-color: #5a8a24;
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}
.btn:focus {
  outline: 2px solid #aedc7a;
  outline-offset: 2px;
}

/* ——— Service‑card variant ——— */
.btn-service {
  /* you can override or add a subtle gradient if you like */
  background: linear-gradient(135deg, #7cbc34 0%, #aedc7a 100%);
}

/* Loading Animation */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #7cbc34;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #7cbc34;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #6aa028;
  transform: translateY(-3px);
}

/* Calculator Loading Animation */
.calculator-loading {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
  margin: 10px auto;
}

.calculator-loading div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 32px;
  height: 32px;
  margin: 4px;
  border: 4px solid #7cbc34;
  border-radius: 50%;
  animation: calculator-loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #7cbc34 transparent transparent transparent;
}

.calculator-loading div:nth-child(1) {
  animation-delay: -0.45s;
}

.calculator-loading div:nth-child(2) {
  animation-delay: -0.3s;
}

.calculator-loading div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes calculator-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-container {
  display: none;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.loading-text {
  color: #7cbc34;
  font-weight: bold;
  margin-left: 10px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Benefits Section */
.benefits-section {
  background-color: white;
  padding: 40px 20px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item {
  flex: 1;
  min-width: 250px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7cbc34;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-stats {
  display: flex;
  flex-direction: column;
}

.stat-number, .stat-range {
  font-size: 2.5em;
  font-weight: bold;
  color: #7cbc34;
  line-height: 1;
}

.stat-text {
  display: flex;
  flex-direction: column;
  font-size: 1.1em;
  color: #333;
  margin-top: 5px;
}

.stat-unit {
  font-size: 1.2em;
  color: #666;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .benefits-container {
    flex-direction: column;
    align-items: center;
  }
  
  .benefit-item {
    width: 100%;
    justify-content: center;
  }
}

/* Remove old vertical-stats styles */
.vertical-stats {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: rgba(0, 0, 0, 0.85);
  padding: 25px;
  border-radius: 15px;
  z-index: 3;
  min-width: 280px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(124, 188, 52, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vertical-stats .benefit-item {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(124, 188, 52, 0.2);
}

.vertical-stats .benefit-item:hover {
  transform: translateX(-5px);
  border-color: rgba(124, 188, 52, 0.4);
  background: rgba(0, 0, 0, 0.6);
}

.vertical-stats .stat-number,
.vertical-stats .stat-range {
  font-size: 2.8em;
  font-weight: bold;
  color: #7cbc34;
  line-height: 1;
  text-shadow: 0 0 10px rgba(124, 188, 52, 0.3);
}

.vertical-stats .percent,
.vertical-stats .stat-unit {
  font-size: 1.4em;
  color: #7cbc34;
  margin-left: 2px;
  text-shadow: 0 0 10px rgba(124, 188, 52, 0.3);
}

.vertical-stats .stat-text {
  color: white;
  font-size: 1.1em;
  margin-top: 8px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.vertical-stats .benefit-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vertical-stats .stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

@media (max-width: 768px) {
  .vertical-stats {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 20px auto;
    width: 90%;
    max-width: 400px;
  }
}

/* Service Detail Page Enhancements */
.service-detail {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.service-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.service-header h1 {
  color: #7CBC34;
  font-size: 3em;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.service-header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #7CBC34;
}

.service-header p {
  font-size: 1.4em;
  color: #666;
  max-width: 800px;
  margin: 0 auto 40px;
}

.header-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  font-size: 2.5em;
  font-weight: bold;
  color: #7CBC34;
  margin-bottom: 10px;
}

.stat-label {
  color: #666;
  font-size: 1.1em;
}

.service-image {
    position: relative;
    width: 100%;
    max-width: 768px;
    height: 576px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background-color: #f5f5f5;
}

.service-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform, opacity;
}

/* Slide animations */
.slide-out-left {
    animation: slideOutLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-out-right {
    animation: slideOutRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in-right {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in-left {
    animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-30%);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(30%);
        opacity: 0;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(30%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-30%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    opacity: 0;
    will-change: transform, opacity;
}

.service-image:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.image-stats {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.image-stats .stat-item {
  text-align: center;
  padding: 15px;
  background: rgba(124, 188, 52, 0.2);
  border-radius: 10px;
  border: 1px solid rgba(124, 188, 52, 0.3);
  transition: transform 0.3s ease;
}

.image-stats .stat-item:hover {
  transform: translateY(-5px);
  background: rgba(124, 188, 52, 0.3);
}

.image-stats .stat-number {
  display: block;
  font-size: 2.5em;
  font-weight: bold;
  color: #7CBC34;
  margin-bottom: 5px;
}

.image-stats .stat-label {
  color: white;
  font-size: 1.1em;
}

.benefits-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.benefit-row {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.benefit-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  max-width: 500px;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5em;
  min-width: 60px;
  text-align: center;
}

.benefit-text {
  flex: 1;
}

.benefit-text h3 {
  color: #7CBC34;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.benefit-text p {
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .service-image {
    height: 400px;
  }
  
  .image-stats {
    padding: 20px;
  }
  
  .benefit-row {
    flex-direction: column;
  }
  
  .benefit-item {
    max-width: 100%;
  }
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #7CBC34;
  transform: translateY(-50%);
}

.process-step {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  margin: 0 15px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: #7CBC34;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-weight: bold;
}

.process-step h3 {
  color: #7CBC34;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.process-step p {
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process-timeline {
    flex-direction: column;
    gap: 20px;
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .process-step {
    margin: 0;
  }
}

.service-cta {
  background: linear-gradient(135deg, #7CBC34 0%, #aedc7a 100%);
  padding: 60px;
  border-radius: 15px;
  text-align: center;
  margin-top: 60px;
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.cta-button {
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background: white;
  color: #7CBC34;
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .service-cta {
    padding: 40px 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-button {
    width: 100%;
    text-align: center;
  }
}

/* Service Detail Benefits Section */
.service-detail .benefits-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.service-detail .benefit-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.service-detail .benefit-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: #f9f9f9;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail .benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-detail .benefit-icon {
  font-size: 2.5em;
  min-width: 60px;
  text-align: center;
  padding-top: 5px;
}

.service-detail .benefit-text {
  flex: 1;
  text-align: left;
}

.service-detail .benefit-text h3 {
  margin: 0 0 10px 0;
  color: rgb(124, 188, 52);
  font-size: 1.3em;
}

.service-detail .benefit-text p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .service-detail .benefit-row {
    flex-direction: column;
  }
  
  .service-detail .benefit-item {
    padding: 20px;
  }
  
  .service-detail .benefit-icon {
    font-size: 2em;
    min-width: 50px;
  }
}

/* Enhanced Footer Service Links */
.footer-section {
  margin-top: 0;
  padding-top: 0;
}

.footer-section ul {
  margin-top: 0;
  padding-top: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  position: relative;
  padding: 5px 0;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-section ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.footer-section ul li a:hover {
  transform: translateX(5px);
  color: #fff;
}

.footer-section ul li a:hover::after {
  width: 100%;
}

.footer-section h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 0;
  margin-top: 0;
}

/* Chi Siamo Page Styles */
.chi-siamo-content {
  background: #f1f1f1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.chi-siamo-container {
  max-width: 1200px;
  margin: 0 auto;
}

.chi-siamo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.chi-siamo-text {
  padding: 20px;
}

.chi-siamo-text h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 28px;
}

.chi-siamo-text p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.chi-siamo-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 20px auto;
  max-width: 1000px;
}

.feature-item {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item h3 {
  color: #7cbc34;
  margin-bottom: 10px;
  font-size: 20px;
}

.feature-item p {
  color: #666;
  line-height: 1.4;
}

.mission-vision {
  padding: 60px 20px;
  background-color: #fff;
}

.mission-vision-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mission, .vision {
  padding: 30px;
  background: #f9f9f9;
  border-radius: 8px;
}

.mission h2, .vision h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 24px;
}

.mission p, .vision p {
  color: #666;
  line-height: 1.6;
}

.valori {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.valori h2 {
  text-align: center;
  color: #333;
  margin-bottom: 40px;
  font-size: 32px;
}

.valori-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.valore-item {
  text-align: center;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.valore-item h3 {
  color: #7cbc34;
  margin-bottom: 15px;
  font-size: 20px;
}

.valore-item p {
  color: #666;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .chi-siamo-grid,
  .mission-vision-container,
  .valori-container {
    grid-template-columns: 1fr;
  }
  
  .chi-siamo-features {
    grid-template-columns: 1fr;
  }
}

/* Project Page Styles */
.project-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.project-header {
  text-align: center;
  margin-bottom: 60px;
}

.project-header h1 {
  font-size: 2.5em;
  color: rgb(124, 188, 52);
  margin-bottom: 15px;
  position: relative;
}

.project-header h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: rgb(124, 188, 52);
  margin: 15px auto;
}

.project-header p {
  font-size: 1.2em;
  color: #666;
}

.project-vision {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 60px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-vision h2 {
  color: rgb(124, 188, 52);
  margin-bottom: 20px;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.goal-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.goal-item:hover {
  transform: translateY(-5px);
}

.goal-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.goal-item h3 {
  color: rgb(124, 188, 52);
  margin-bottom: 10px;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background: rgb(124, 188, 52);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 50px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 70px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 70px;
}

.timeline-date {
  position: absolute;
  width: 100px;
  height: 35px;
  background: rgb(124, 188, 52);
  color: white;
  text-align: center;
  line-height: 35px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 16px;
  top: 20px;
}

.timeline-item:nth-child(odd) .timeline-date {
  right: -50px;
}

.timeline-item:nth-child(even) .timeline-date {
  left: -50px;
}

.timeline-content {
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.timeline-content h3 {
  color: rgb(124, 188, 52);
  margin: 0 0 10px 0;
  font-size: 1.3em;
}

.timeline-content p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    left: 0;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(odd) .timeline-date,
  .timeline-item:nth-child(even) .timeline-date {
    left: 0;
    right: auto;
    width: auto;
    padding: 0 15px;
  }
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.stat-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.stat-number {
  font-size: 2.5em;
  color: rgb(124, 188, 52);
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  color: #666;
  font-size: 1.1em;
}

.project-cta {
  background: rgb(124, 188, 52);
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
}

.project-cta h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.cta-button {
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background: white;
  color: rgb(124, 188, 52);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .goals-grid {
    grid-template-columns: 1fr;
  }
  
  .impact-stats {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Partner Page Styles */
.partners-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.partners-header {
  text-align: center;
  margin-bottom: 60px;
}

.partners-header h1 {
  font-size: 2.5em;
  color: rgb(124, 188, 52);
  margin-bottom: 15px;
  position: relative;
}

.partners-header h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: rgb(124, 188, 52);
  margin: 15px auto;
}

.partners-header p {
  font-size: 1.2em;
  color: #666;
}

.partners-intro {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 60px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.partners-intro h2 {
  color: rgb(124, 188, 52);
  margin-bottom: 20px;
}

.partners-intro p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #666;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.benefit-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.benefit-item h3 {
  color: rgb(124, 188, 52);
  margin-bottom: 10px;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.partnership-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.partnership-item:hover {
  transform: translateY(-5px);
}

.partnership-item h3 {
  color: rgb(124, 188, 52);
  margin-bottom: 15px;
  font-size: 1.4em;
}

.partnership-item p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.partnership-item ul {
  list-style: none;
  padding: 0;
}

.partnership-item ul li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 25px;
}

.partnership-item ul li::before {
  content: '✓';
  color: rgb(124, 188, 52);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
  align-items: center;
}

.partner-logo {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
}

.partner-logo:hover {
  transform: translateY(-5px);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.partner-cta {
  background: rgb(124, 188, 52);
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
}

.partner-cta h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.partner-cta p {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.cta-button {
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background: white;
  color: rgb(124, 188, 52);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .benefits-grid,
  .partnership-grid,
  .partners-logos {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .partner-logo {
    min-height: 120px;
  }
}

/* Contact Page Styles */
.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h1 {
  font-size: 2.5em;
  color: rgb(124, 188, 52);
  margin-bottom: 15px;
  position: relative;
}

.contact-header h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: rgb(124, 188, 52);
  margin: 15px auto;
}

.contact-header p {
  font-size: 1.2em;
  color: #666;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.info-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.info-icon {
  font-size: 2.5em;
  color: rgb(124, 188, 52);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.info-item:hover .info-icon {
  transform: scale(1.1);
}

.info-item h3 {
  color: rgb(124, 188, 52);
  margin-bottom: 10px;
  font-size: 1.3em;
}

.info-item p {
  color: #666;
  line-height: 1.6;
}

/* Enhanced phone number styles */
.info-item p a {
  color: #333;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(124, 188, 52, 0.1);
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-item p a:hover {
  background: rgb(124, 188, 52);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(124, 188, 52, 0.2);
}

.info-item p a:active {
  transform: translateY(0);
}

.info-item p a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.info-item p a:hover::before {
  width: 300px;
  height: 300px;
}

/* Add a subtle pulse animation for the phone icon */
.info-item .fa-phone-alt {
  animation: pulse 2s infinite;
}

/* Email specific styles */
.info-item p a[href^="mailto:"] {
  font-size: 0.95em;
  padding: 4px 10px;
  background: rgba(124, 188, 52, 0.08);
}

.info-item p a[href^="mailto:"]:hover {
  background: rgb(124, 188, 52);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  color: rgb(124, 188, 52);
  margin-bottom: 30px;
  font-size: 1.8em;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgb(124, 188, 52);
  box-shadow: 0 0 0 2px rgba(124, 188, 52, 0.1);
}

.submit-button {
  background: rgb(124, 188, 52);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background: #6aa028;
  transform: translateY(-2px);
}

.contact-map {
  grid-column: 1 / -1;
  margin-top: 40px;
}

.contact-map h2 {
  color: rgb(124, 188, 52);
  margin-bottom: 20px;
  font-size: 1.8em;
  text-align: center;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-faq {
  grid-column: 1 / -1;
  margin-top: 60px;
}

.contact-faq h2 {
  color: rgb(124, 188, 52);
  margin-bottom: 30px;
  font-size: 1.8em;
  text-align: center;
}

.faq-container {
  display: grid;
  gap: 20px;
}

.faq-item {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  color: rgb(124, 188, 52);
  margin-bottom: 10px;
  font-size: 1.2em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-item h3:hover {
  color: #6aa028;
}

.faq-item h3::after {
  content: '+';
  font-size: 1.5em;
  color: rgb(124, 188, 52);
  transition: transform 0.3s ease;
}

.faq-item.active h3::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-item p {
  color: #666;
  line-height: 1.6;
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: translateY(-10px);
}

.faq-item.active p {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 15px;
}

/* Add animation for FAQ items when they appear */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

.social-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-links a {
  color: #fff;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #7cbc34;
}

.bara-navigatie li {
  display: flex;
  align-items: center;
}

.bara-navigatie li:last-child {
  margin-left: 15px;
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 30px;
  }
  
  .submit-button {
    padding: 12px 24px;
  }
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ff4444;
}

.error-message {
  color: #ff4444;
  font-size: 0.9em;
  margin-top: 5px;
}

/* Success Message Styles */
.success-message {
  background: #4CAF50;
  color: white;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
  display: none;
}

.success-message.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Loading State Styles */
.submit-button.loading {
  position: relative;
  color: transparent;
}

.submit-button.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  animation: button-loading-spinner 1s linear infinite;
}

@keyframes button-loading-spinner {
  from { transform: rotate(0turn); }
  to { transform: rotate(1turn); }
}

/* Hamburger Menu Styles */
.hamburger-menu {
  position: relative;
  cursor: pointer;
  padding: 10px;
  margin-right: 20px;
  display: flex;
  align-items: center;
}

.hamburger-icon {
  width: 30px;
  height: 24px;
  position: relative;
}

.hamburger-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-icon span:nth-child(3) { bottom: 0; }

/* Sliding Menu Styles */
.sliding-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: rgb(124, 188, 52);
  z-index: 999;
  transition: left 0.3s ease;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.sliding-menu.active {
  left: 0;
}

.menu-content {
  padding: 80px 20px 20px;
  height: 100%;
  overflow-y: auto;
}

.menu-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-content li {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-content li:last-child {
  border-bottom: none;
}

.menu-content a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 15px 20px;
  transition: all 0.3s ease;
  font-weight: 500;
  border-radius: 8px;
  margin: 5px 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-content a:hover {
  color: rgb(124, 188, 52);
  background: white;
  transform: translateX(10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.menu-content .contact-info {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.menu-content .contact-info a {
  font-size: 16px;
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-content .contact-info a:hover {
  background: white;
  color: rgb(124, 188, 52);
  transform: translateX(10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.menu-content .social-links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.menu-content .social-links a {
  font-size: 24px;
  padding: 12px;
  padding: 10px;
  color: white;
  transition: all 0.3s ease;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-content .social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Hamburger Animation */
.hamburger-menu.active .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 50%;
}

/* Chi Siamo Section Styles */
.chi-siamo-section {
  padding: 60px 20px;
  background: #f1f1f1;
  position: relative;
  overflow: hidden;
}

.chi-siamo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #7cbc34, #aedc7a);
}

.chi-siamo-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.chi-siamo-section h2 {
  font-size: 2.8em;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
}

.chi-siamo-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #7cbc34;
}

.chi-siamo-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.chi-siamo-intro p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #444;
  font-weight: 300;
}

.chi-siamo-mission {
  background: #7cbc34;
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 40px;
  color: white;
  text-align: center;
  box-shadow: 0 10px 30px rgba(124, 188, 52, 0.2);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.chi-siamo-mission:hover {
  transform: translateY(-5px);
}

.mission-content h3 {
  font-size: 2em;
  margin-bottom: 20px;
}

.mission-content p {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.chi-siamo-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 20px auto;
  max-width: 1000px;
}

.feature {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #7cbc34;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.feature:hover::before {
  transform: scaleX(1);
}

.feature i {
  font-size: 3rem;
  color: #7cbc34;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.feature:hover i {
  transform: scale(1.1);
}

.feature h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
}

.chi-siamo-values {
  text-align: center;
  margin: 20px auto;
  max-width: 1000px;
}

.chi-siamo-values h3 {
  font-size: 2em;
  color: #333;
  margin-bottom: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.value-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.value-item i {
  font-size: 2.5rem;
  color: #7cbc34;
  margin-bottom: 20px;
}

.value-item h4 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.value-item p {
  color: #666;
  line-height: 1.6;
}

.chi-siamo-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 40px auto;
  max-width: 1000px;
}

.highlight {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.highlight-number {
  display: block;
  font-size: 3rem;
  font-weight: bold;
  color: #7cbc34;
  margin-bottom: 15px;
  line-height: 1;
}

.highlight-text {
  color: #666;
  font-size: 1.2rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .chi-siamo-section {
    padding: 40px 20px;
  }
  
  .chi-siamo-section h2 {
    font-size: 2.2em;
  }
  
  .chi-siamo-intro p {
    font-size: 1.2rem;
  }
  
  .chi-siamo-mission {
    padding: 30px 20px;
  }
  
  .mission-content h3 {
    font-size: 1.8em;
  }
  
  .chi-siamo-features,
  .values-grid,
  .chi-siamo-highlights {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.footer-section p a {
  position: relative;
  padding: 5px 0;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-section p a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.footer-section p a:hover {
  transform: translateX(5px);
  color: #fff;
}

.footer-section p a:hover::after {
  width: 100%;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.footer-link:hover {
  transform: translateX(5px);
  color: #fff;
}

.footer-link:hover::after {
  width: 100%;
}

/* Page Hero Styling */
.page-hero {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
}

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

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 20px;
}

.page-hero-image .overlay h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero-image .overlay p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .page-hero-image {
    height: 350px;
  }
  
  .page-hero-image .overlay h1 {
    font-size: 2.5rem;
  }
  
  .page-hero-image .overlay p {
    font-size: 1.2rem;
  }
}

/* Enhanced Gallery Styling */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Project Timeline Styling */
.project-timeline {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-timeline h2 {
  text-align: center;
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.project-timeline .section-intro {
  text-align: center;
  color: #666;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 50px;
}


.fab.fa-viber {
  color: #665CAC; /* Viber Purple */
}

.fab.fa-telegram {
  color: #0088cc; /* Telegram Blue */
}
