/* css section 1  */
.carousel-container {
  margin-top: 7%;
}


@media (max-width: 991px) {
  .carousel-container {
    margin-top: 32%;
  }
}
.carousel-inner {
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: none;
}

.carousel-caption {
  bottom: 60px;
}

.carousel-caption .btn {
  font-weight: bold;
  padding: 10px 20px;
  font-family: 'Rubik', sans-serif;

}



  #amgalitaCarousel .carousel-control-prev,
  #amgalitaCarousel .carousel-control-next,
  #productCarousel .carousel-control-prev,
  #productCarousel .carousel-control-next{
    width: auto;
    padding: .25rem;
  }

  #amgalitaCarousel .carousel-control-prev-icon,
  #amgalitaCarousel .carousel-control-next-icon,
  #productCarousel .carousel-control-prev-icon,
  #productCarousel .carousel-control-next-icon{
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    background-color: #014a98;            /* bleu clair de l’aperçu */
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
  }

  #amgalitaCarousel .carousel-control-prev-icon:hover,
  #amgalitaCarousel .carousel-control-next-icon:hover,
  #productCarousel .carousel-control-prev-icon:hover,
  #productCarousel .carousel-control-next-icon:hover{
    background-color: #0074ef;
  }



/*.carousel-control-prev-icon,*/
/*.carousel-control-next-icon {*/
/*    background-color: #003d73;*/
/*    border-radius: 50%;*/
/*    padding: 15px;*/
/*}*/

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: white;
  opacity: 1;
  margin: 0 4px;
  transition: background-color 0.3s ease;
}

.carousel-indicators .active {
  background-color: #007bff;
}

.carousel-indicators [data-bs-target]:hover {
  background-color: #007bff;
  transform: scale(1.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-indicators {
  bottom: 40px;
}

/* fin css section 1 */

/* css section 2 */
.damane-section {
  background-color: #fff;
  padding: 20px 0;
}

.damane-row {
  display: flex;
  align-items: stretch;
}

.text-column,
.image-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-content {
  padding: 30px;
}

.text-content h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}

.text-content p {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.text-content .btn {
  background-color: #014a98;
  border-color: #014a98;
  color: #fff;
  padding: 10px 30px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-family: 'Rubik', sans-serif;
}

.crown-icon img.icon-img {
  width: 150px;
  height: auto;
  display: inline-block;
}

.image-column {
  position: relative;
  overflow: hidden;
}

.full-image {
  width: 100%;
  height: 80%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}

/* fin css section 2 */

/* css section 3 */
.mb-3.mb-md-0 {
  font-size: 1rem;
}

.btn-single-line {
  white-space: nowrap;
  font-size: clamp(12px, 3vw, 16px);
  padding: 12px 32px;
  color: white;
  font-weight: 500;
  background-color: #014a98;
  border-color: #014a98;
  border-radius: 6px;
}

.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.card img {
  max-height: 40%;
  object-fit: contain;
  margin-bottom: 15px;
}

.card-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.card .btn {
  display: inline-block;
  width: auto;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
}

.brand-card-sultan {
  background-image: linear-gradient(#efe4e5, #f8d9dc);
}

.brand-card-amgalita {
  background-image: linear-gradient(#dbdeeb, #bdc6ea);
}

.brand-card-mido {
  background-image: linear-gradient(#dee8c1, #c1ce99);
}

.brand-card-alarche {
  background-image: linear-gradient(#d1e5ef, #a4cbde);
}

.brand-card-boston {
  background-image: linear-gradient(#efeba4, #e3de89);
}

.btn-warning {
  background-color: #d4a017;
  border-color: #d4a017;
  color: white;
}

.btn-success {
  background-color: #218838;
  border-color: #218838;
}

.btn-danger {
  background-color: #c82333;
  border-color: #c82333;
}

/* fin css section 3 */

/* css section 4 */
.partner-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(12, 30, 60, 0.08);
}

/* fin css section 4 */

/* css section 5 */
.btn-primary {
  background-color: #004d9c;
  border-color: #004d9c;
  font-family: 'Rubik', sans-serif;
}

.btn-outline-primary {
  color: #004d9c;
  border-color: #004d9c;
}

.btn-outline-primary:hover {
  background-color: #004d9c;
  color: #fff;
}

.product-card {
  border: 1px solid #dee2e6;
  margin-bottom: 1rem; /* respire mieux sur mobile */
}

.card-img-top {
  max-height: 180px; /* évite que l’image déborde */
  object-fit: contain; /* garde les proportions */
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border: none;
  margin-right: 5px;
  margin-left: 5px;
}

.carousel-indicators .active {
  background-color: #004d9c;
}
@media (max-width: 575.98px) {
  #productCarousel .carousel-indicators {
    margin-bottom: -2rem;
  }
}
/* fin css section 5 */
.btn{
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
}

.propos-btn:hover{
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

@media (min-width: 576px) and (max-width: 1024px){
    .carousel-container {
    margin-top: 14%;
    }
    .carousel-indicators [data-bs-target]{
      background-color: #ced4da;
    }
    .carousel-indicators .active {
        background-color: #004d9c;
    }
}
/* iPad / tablettes */
@media (min-width: 768px) and (max-width: 1024px) {
  .damane-row { flex-direction: row !important; }   /* stop le column sur tablette */
  .text-column  { order: 1 !important; }            /* gauche */
  .image-column { order: 2 !important; }            /* droite */
  .full-image   { height: 100%; object-fit: initial; }
}

/* Mobile uniquement : empilement */
@media (max-width: 767.98px) {
  .damane-row { flex-direction: column !important; }
  
  
  
  .card .btn {
        padding: 10px 10px !important;
        width: 100% !important;
    }
    
   

}

 @media (max-width: 575.98px) {
    .carousel-indicators [data-bs-target]{
      background-color: #ced4da;
    }
    .carousel-indicators .active {
        background-color: #004d9c;
    }
 }
 
 
 
 
 @media (min-width: 768px) and (max-width: 991.98px) {
  .partners-section .row.g-4 > .col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* (optionnel) un peu de confort visuel sur iPad */
  .partners-section .card { min-height: 260px; }
}