* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    /*            max-width: 480px;*/
    margin: 0 auto;
    background-color: #f9f9f9;
}

.relative {
    position: relative;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 980px;
}

.top-bar {
    background: #D7262E;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 29px;
}

.top-bar .contact {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.header {
    padding: 15px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10);
    position: relative;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-button {
    font-size: 24px;
    position: absolute;
    left: 0px;
}

.logo {
    width: 217px;
}

.search-bar {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 10px 15px;
    background-color: #f1f1f1;
    border-radius: 25px;
    transition: all 250ms ease-out;
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 5px;
    outline: none;
    font-size: 16px;
}

.search-bar button {
    border: none;
    padding: 0;
    margin: 0;
}

.search-icon, .filter-icon {
    color: #777;
    margin: 0 5px;
    cursor: pointer;
}

form.search-bar.min {
    background:transparent;
    margin-left:auto
}

form.search-bar.min input,
form.search-bar.min button{
   width:0 ;
    opacity:0;
     overflow:hidden
}

.banner {
    position: relative;
    width: 100%;
    color: white;
}

.banner img {
    max-width: 100%;
    max-height: 530px;
    min-height: 250px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    /*            background: rgba(0, 0, 0, 0.3);*/
}

.banner-text h2 {
    color: #FFF;
    text-align: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
}

.section-title {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 12px 0;
}

.section-title span {
    color: #D91E18;
}

.vehicles-grid {
    display: flex;
    overflow-x: auto;
    padding: 0 15px;
    gap: 15px;
    scrollbar-width: none;
    margin-left: auto;
    margin-right: auto;
    max-width: 980px;
}

@media(min-width: 980px) {
    .vehicles-grid {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .banner-text h2 {
        font-size: 25px;
    }
}

.vehicles-grid::-webkit-scrollbar {
    display: none;
}

.vehicle-card {
    min-width: 140px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: white;
}

.vehicle-card img {
    max-width: 100%;
    width: 100%;
    height: 153px;
    object-fit: cover;
}

.vehicle-info {
    padding: 10px;
    padding-top: 0;
}

.vehicle-name {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.vehicle-price {
    font-size: 14px;
    color: #666;
}

.voir_vehicules {
    background-image: url(../../img/frame.jpg);
    height: 123px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose {
    padding: 20px 15px;
}

.why-choose h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.benefits-list li i {
    color: #D91E18;
    margin-right: 10px;
}

.cta-button {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    color: white;
    border: 1px solid white;
    text-align: center;
    text-decoration: none;
    /*            border-radius: 5px;*/
    /*            font-weight: bold;*/
}

.services {
    padding: 0 15px 20px;
    margin-top: 20px;
}

.services h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.services-list {
    list-style: none;
}

.services-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.services-list li i {
    width: 20px;
    margin-right: 10px;
    color: #333;
}

.map {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
}

.footer {
    background-color: #fff;
    padding: 20px 15px;
    text-align: center;
}

.footer-logo {
    width: 120px;
    margin-bottom: 15px;
}

.footer-address {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.footer-hours {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f1f1f1;
    color: #666;
    text-decoration: none;
}

.copyright {
    font-size: 12px;
    color: #888;
}

.red-text {
    color: #D91E18;
}

.advanced-filters-container {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    max-width: 980px;
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    background: #ffffff;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    position: relative;
    top: -30px;
    margin: 20px;
}

.filters.hidden {
    display: none;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filters label {
    font-weight: bold;
    margin-top: 5px;
    font-size: 14px;
}

.filters input, .filters select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
}

.btn-search {
    margin-top: 15px;
    padding: 12px;
    background-color: #c00;
    /* rouge My Cars */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-search:hover {
    background-color: #a00;
}







/* listing */

.form-filtres {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1 1 20%;
  min-width: 150px;
}

.form-group.small {
  flex: 1 1 10%;
}

.form-group.medium {
  flex: 1 1 15%;
}

.input-field,
.select-field {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.submit-button {
  padding: 0.5rem 1rem;
  background-color: #007bff;
  border: none;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.hidden {
  display: none;
}


.vehicles{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


.vehicle-card-list {
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 1%;
  display: flex;
  flex-direction: column;
  width: 31%;
  max-width: 300px;
}

.vehicle-info-list h3{
    font-weight: normal;
    font-size: 14px;
}
.vehicle-info-list p{
    font-size: 13px;
}

@media(max-width:680px){
.vehicle-card-list{
    width: 48%;
    padding: 0px;
}
}

@media(max-width:340px){
.vehicle-card-list{
    width: 98%;
    padding: 0px;
}
}



.vehicle-img-list img {
  width: 100%;
/*  border-radius: 6px;*/
}

.vehicle-info-list {
    padding: 10px;
    padding-top: 0;
    display: flex;
    flex-direction:column;
/*  margin-top: 0.5rem;*/
}

.vehicle-info-list-button {
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: none;
  color: #D7262E;
  cursor: pointer;
  margin-top: auto;
  border-radius: 4px;
  text-align: left;
}

/* Modal Styles */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px 0;
}

.custom-modal-content {
  background: white;
  padding: 1rem;
  max-width: 700px;
  width: 90%;
  position: relative;
  border-radius: 8px;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* Slider Styles */
.custom-slider {
  position: relative;
  overflow: hidden;
  max-height: 400px;
  margin-bottom: 1rem;
}

.custom-slider img {
  width: 100%;
  display: none;
}

.custom-slider img.active {
  display: block;
}

.prev-slide,
.next-slide {
  position: absolute;
  top: 50%;
  width: 35px;
  height: 35px;
  transform: translateY(-50%);
  background: #fff;
  color: #000;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 15px;
  border-radius: 50%;
}

.prev-slide { left: 5px; }
.next-slide { right: 5px; }








.range-field {
  width: 100%;
  appearance: none;
  height: 8px;
  background: #ddd;
  border-radius: 5px;
  outline: none;
  margin-top: 8px;
}

.range-field::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  background: #ff5555;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

.range-field::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #ff5555;
  border-radius: 50%;
  cursor: pointer;
}



/* Style pour le conteneur des vignettes */
.thumbnails-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 5px;
  overflow: auto;
}

/* Style pour chaque vignette */
.thumbnail {
  width: calc(100% / 4 - 4px);
  height: 55px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  overflow: hidden;
}

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

/* Style pour la vignette active */
.thumbnail.active {
  border-color: #e21937; /* Couleur rouge qui semble être votre couleur thématique */
  transform: scale(1.05);
}

/* Amélioration du style des flèches de navigation */
.custom-slider button.prev-slide,
.custom-slider button.next-slide {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Style pour les détails de voiture avec icônes */
.vehicle-details {
  margin-top: 20px;
  padding: 15px;
  background-color: #f8f8f8;
  border-radius: 5px;
}

.vehicle-price-highlight {
  font-size: 24px;
  font-weight: bold;
  color: #e21937;
  text-align: center;
  margin-bottom: 15px;
  padding: 8px;
  background-color: #f1f1f1;
  border-radius: 4px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-item i {
  font-size: 18px;
  color: #e21937;
  width: 20px;
  text-align: center;
}

/* Style pour le bouton d'intérêt */
.interest-button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background-color: #e21937;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s;
  margin-top: 15px;
}

.interest-button:hover {
  background-color: #c41730;
}

.interest-button i {
  margin-right: 8px;
}

/* Style pour le formulaire d'intérêt */
.interest-form-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.interest-form-content {
  position: relative;
  background-color: white;
  padding: 25px;
  border-radius: 5px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.close-interest-form {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}

.close-interest-form:hover {
  color: #333;
}

.vehicle-interest-form .form-group {
  margin-bottom: 15px;
}

.vehicle-interest-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.vehicle-interest-form input,
.vehicle-interest-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
}

.submit-interest {
  background-color: #e21937;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  margin-top: 10px;
}

.submit-interest:hover {
  background-color: #c41730;
}

.vehicle-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

/* Amélioration des vignettes */
.thumbnails-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px 0;
  gap: 8px;
}

.thumbnail {
  width: 70px;
  height: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  overflow: hidden;
}

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

.thumbnail.active {
  border-color: #e21937;
  transform: scale(1.05);
}



/* Ajustement de la modale pour permettre le défilement */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: flex-start; /* Changé de center à flex-start */
  z-index: 9999;
  overflow-y: auto; /* Ajout du défilement vertical */
  padding: 20px 0;
}

.custom-modal-content {
  background: white;
  padding: 1rem;
  max-width: 700px;
  width: 90%;
  position: relative;
  border-radius: 8px;
  margin: 30px auto; /* Ajout d'une marge pour éviter que le contenu ne touche le haut */
  max-height: none; /* Supprimer toute limite de hauteur */
}

.interest-form-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: flex-start; /* Changé de center à flex-start */
  overflow-y: auto; /* Ajout du défilement */
}

.interest-form-content {
  position: relative;
  background-color: white;
  padding: 25px;
  border-radius: 5px;
  width: 90%;
  max-width: 500px;
  margin: 30px auto; /* Marge en haut et en bas */
  overflow-y: visible; /* Permettre le débordement */
}

.close-modal, .close-interest-form {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  background: rgba(0,0,0,0.1);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 2;
}

.close-modal:hover, .close-interest-form:hover {
  background: rgba(0,0,0,0.2);
}


.thumbnails-container {
  display: flex;
  flex-wrap: nowrap; /* Empêcher le retour à la ligne */
  justify-content: flex-start;
  margin: 10px 0;
  gap: 5px;
  overflow-x: auto; /* Défilement horizontal */
  overflow-y: hidden; /* Pas de défilement vertical */
  -webkit-overflow-scrolling: touch; /* Pour une meilleure fluidité sur iOS */
  scrollbar-width: thin; /* Pour Firefox */
  max-height: 60px; /* Limiter à une seule ligne */
}

.thumbnail {
  width: 70px;
  min-width: 70px; /* Taille fixe */
  height: 50px;
  flex: 0 0 auto; /* Ne pas grandir ni rétrécir */
}










/* Menu Burger Stylisé */
.menu-button {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  z-index: 1000;
}

.menu-icon {
  position: relative;
  width: 25px;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
  top: -8px;
}

.menu-icon span:nth-child(2), .menu-icon span:nth-child(3) {
  top: 0px;
}

.menu-icon span:nth-child(4) {
  top: 8px;
}

.menu-active .menu-icon span:nth-child(1) {
  top: 0px;
  width: 0%;
  left: 50%;
}

.menu-active .menu-icon span:nth-child(2) {
  transform: rotate(45deg);
}

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

.menu-active .menu-icon span:nth-child(4) {
  top: 0px;
  width: 0%;
  left: 50%;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: #fff;
  z-index: 999;
  transition: 0.3s ease-in-out;
  padding-top: 70px;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

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

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  display: none;
  transition: 0.3s ease-in-out;
}

.overlay.active {
  display: block;
}

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

.mobile-menu-list li {
  border-bottom: 1px solid #eee;
}

.mobile-menu-list li a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  transition: 0.2s;
}

.mobile-menu-list li a:hover {
  background: #f9f9f9;
  color: #e21937;
}

.mobile-menu-info {
  padding: 20px;
/*  border-top: 1px solid #eee;*/
  margin-top: 20px;
}

.logo_m{
    max-width: 100%;
}

.mobile-menu-info p {
  margin: 10px 0;
  font-size: 14px;
  color: #666;
  display: flex;
}

.mobile-menu-info i {
  margin-right: 10px;
  color: #e21937;
  width: 20px;
  text-align: center;
}

/* Styles pour les pages À propos et Contact */
.about-section, .contact-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  padding: 10px;
  margin-bottom: 40px;
}

.about-image {
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.about-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-values {
  margin: 30px 0;
}

.value-item {
  display: flex;
  margin-bottom: 20px;
}

.value-item i {
  color: #e21937;
  font-size: 24px;
  margin-right: 15px;
  margin-top: 3px;
}

.value-item h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.value-item p {
  margin: 0;
  color: #666;
}

.team-section {
  margin-top: 40px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.team-member {
  flex: 1 1 200px;
  text-align: center;
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid #f1f1f1;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  margin-bottom: 5px;
  font-size: 16px;
}

.team-member p {
  color: #666;
  margin: 0;
  font-size: 14px;
}

/* Styles pour la page Contact */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.info-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: #ffe0e3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.info-icon i {
  color: #e21937;
  font-size: 24px;
}

.info-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.info-card p {
  color: #666;
  margin: 0;
}

@media(min-width: 780px){
    .info-card p br{
        display: none;
    }
}

.info-card a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.info-card a:hover {
  color: #e21937;
}

.contact-form-container {
  margin-top: 40px;
}

.contact-form-container h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
}

.form-group:nth-child(5) {
  grid-column: span 2;
}

.submit-button {
  background: #e21937;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
  width: 100%;
  grid-column: span 2;
}

.submit-button:hover {
  background: #c41730;
}

.success-message {
  text-align: center;
  padding: 30px;
}

.success-message i {
  font-size: 60px;
  color: #4CAF50;
  margin-bottom: 20px;
}

.success-message h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.success-message p {
  color: #666;
  margin-bottom: 25px;
}

.back-home {
  display: inline-block;
  background: #e21937;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.back-home:hover {
  background: #c41730;
}

.map-container {
  height: 450px;
  margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group:nth-child(5),
  .submit-button {
    grid-column: span 1;
  }
  
  .team-grid {
    justify-content: center;
  }
  
  .team-member {
    flex-basis: 160px;
  }
}





/* Testimonials Slider */
.testimonials-section {
  padding: 40px 0;
  background-color: #f9f9f9;
  margin-bottom: 40px;
}

.testimonials-slider {
  margin-top: 30px;
  padding: 0 20px;
}

.testimonial-item {
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  margin: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e21937;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.avatar-with-img {
  background-color: transparent;
  overflow: hidden;
}

.avatar-with-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author {
  flex: 1;
}

.testimonial-author h4 {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 600;
}

.testimonial-date {
  color: #777;
  font-size: 12px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.badge-new {
  background-color: #e21937;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  text-transform: uppercase;
}

.testimonial-stars {
  color: #ffb900;
  font-size: 14px;
}

.testimonial-content {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

.testimonial-source {
  display: flex;
  align-items: center;
  color: #777;
  font-size: 12px;
}

.testimonial-source i {
  color: #4285F4;
  margin-right: 5px;
  font-size: 14px;
}

/* Slick Slider Specific Styles */
.testimonials-slider .slick-prev,
.testimonials-slider .slick-next,
.testimonials-slider .slick-prev:hover,
.testimonials-slider .slick-next:hover
{
  width: 40px;
  height: 40px;
  background: rgba(226, 25, 55, 0.9);
  border-radius: 50%;
  z-index: 1;
}

.testimonials-slider .slick-prev {
  left: 0px;
}

.testimonials-slider .slick-next {
  right: 0px;
}

.testimonials-slider .slick-prev:before,
.testimonials-slider .slick-next:before {
  font-family: 'slick';
  font-size: 20px;
  opacity: 1;
}

.testimonials-slider .slick-dots {
  bottom: -30px;
}

.testimonials-slider .slick-dots li button:before {
  font-size: 10px;
  color: #e21937;
  opacity: 0.4;
}

.testimonials-slider .slick-dots li.slick-active button:before {
  color: #e21937;
  opacity: 1;
}

@media (max-width: 767px) {
  .testimonial-item {
    padding: 15px;
  }
  
  .testimonial-header {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-avatar {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .testimonials-slider .slick-prev,
  .testimonials-slider .slick-next {
    display: none !important;
  }
}