:root {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --bs-backdrop-opacity: 0.8;
}
html {
  background-color: rgb(223, 223, 223);
}
body {
  margin: 0;
  background: rgb(223, 223, 223) !important;
  color: rgb(243, 242, 242);
  background-color: rgb(243, 242, 242);
}
article {
  background-color: rgb(223, 223, 223);
}
.card {
  max-width: 720px;
  margin: 40px auto;
  background-color: #ff0000;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
#employee,
#offers {
  margin: 15px;
}
#address,
#note {
  color: #000;
}
header {
  padding: 24px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff;
}
header h1 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
}
header p {
  margin: 0;
  opacity: 0.95;
}
.content {
  padding: 22px 24px 10px;
}
.row {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.row:last-child {
  border-bottom: 0;
}
.label {
  color: #666;
}
a {
  color: #2563eb;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.actions {
  padding: 20px 24px 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
button,
.ghost {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
}
button.primary {
  background: #111827;
  color: #fff;
}
button.primary:hover {
  filter: brightness(1.05);
}
a.ghost {
  background: #eef2ff;
  color: #0d00be;
  display: inline-block;
}
small.hint {
  display: block;
  color: #6b7280;
  margin-top: 8px;
}
.card-body {
  background-color: white;
}
.card-body .row {
  text-align: left;
}
.bg-img-top {
  background-color: white;
}
.card-img-top {
  max-height: 375px; /* Hauteur fixe */
  object-fit: cover; /* Pour recadrer l'image */
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  position: relative;
  z-index: 1;
}
.pro-img {
  display: block;
  margin: -100px auto 10px auto; /* centré et superposé, ajuste -80px selon le rendu mobile/desktop */
  border: 4px solid #017cba;
  border-radius: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  width: 150px;
  max-width: 50vw;
  height: auto;
  position: relative;
  z-index: 2; /* Ajouté pour passer au-dessus */
}
.agence-img {
  max-width: 100px;
  width: 20%;
  margin-bottom: 10px;
  position: absolute;
  margin: 10px;
  border-radius: 10%;
  z-index: 3;
}
.bgIcon {
  background-color: #017cba;
  padding: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;

  /* Forme de goutte simple et compatible */
  clip-path: ellipse(60% 50% at 50% 60%);
}

.icon-wrapper {
  width: 45px;
  height: 45px;
  background: #017cba;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  border-radius: 100% 50% 100% 100% / 100% 50% 100% 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Icône FontAwesome */
.icon-wrapper i {
  color: white;
}

.padding {
  background-color: rgb(223, 223, 223);
}
#name {
  font-size: 2.25em;
  font-weight: 700;
  font-family: "Yrsa", serif;
}
#title {
  font-size: 1.2em;
  color: #017cba;
}
body,
html,
article,
.card,
.card-body,
.row,
.label,
p,
a,
button,
input,
.content {
  font-family: "Alegreya Sans", sans-serif;
}
input,
.aInput {
  font-size: 25px !important;
  border: none !important;
}
.row.align-items-center {
  border-bottom: none !important;
  padding: 0;
  display: flex;
}
.bgCard-map {
  background-color: rgb(223, 223, 223) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-top: 0px;
}
.map-container {
  max-width: 720px;
  margin: 0 auto;
  background: rgb(223, 223, 223) !important;
  box-sizing: border-box;
  padding: 12px; /* Ajoute un espace intérieur sans changer la largeur de la card */
}
.map-img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.swiper {
  width: 100%;
  height: 100%;
  position: static !important;
  padding-left: -10px;
}

.swiper-pagination {
  position: absolute !important;
  bottom: -500px; /* descend hors du swiper */
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
}

.group-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.swiper-slide {
  height: 100% !important;
  display: flex;
  align-items: stretch;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cardSwiper,
.mySwiper {
  height: 600px; /* Ajuste selon le rendu souhaité */
  min-height: 250px;
}

.mySwiper {
  box-shadow: none !important;
  position: relative;
}

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

.cardSwiper {
  position: relative;
  background-color: rgb(223, 223, 223) !important;
  border: 0px !important;
  box-shadow: none !important;
}
.rowAvecBorder {
  border-bottom: 0 !important;
}

.textSpecialisation {
  font-size: 1.25rem !important;
}

.shipName {
  font-size: 1.25rem !important;
  font-weight: bold;
}

#map-multi {
  width: 100%;
  display: block;
  border-radius: 10px;
  height: 300px; /* ← Ajoute cette ligne */
  min-height: 200px; /* Optionnel, pour éviter qu'elle disparaisse sur mobile */
}

#map-agence {
  width: 100%;
  display: block;
  border-radius: 10px;
  height: 300px; /* ← Ajoute cette ligne */
  min-height: 200px; /* Optionnel, pour éviter qu'elle disparaisse sur mobile */
}

.cardCruiseline {
  margin-bottom: 5rem !important;
}

.map-popup {
  padding: 10px;
  text-align: center;
}

div.gm-style-iw,
div.gm-style-iw-d {
  padding: 10px;
  min-height: unset !important;
  height: auto !important;
  max-height: unset !important;
  overflow: visible !important;
}
div.gm-style-iw {
  padding: 0 !important;
}

/* .map-popup img {
  max-width: 180px;
  max-height: 120px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto 8px;
} */

.gm-style .gm-style-iw {
  max-width: 400px !important;
}

.navire-img-container {
  width: auto;
  height: 80px;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navire-img-container img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 5px;
}

.navire-icon {
  font-size: 48px; /* Ajuste si besoin */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cardNavire {
  background: #ffffff;
  border-radius: 10px;
  font-weight: bold;
}

.cardBodyNavire {
  background-color: rgb(223, 223, 223) !important;
  border: 0px !important;
  box-shadow: none !important;
}

.iconNavire {
  color: #017cba;
}

span {
  color: #017cba;
}

.rowCroisiere,
.rowNavire {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem; /* ou la valeur que tu veux */
}

.rowCroisiere > .col-12,
.rowNavire > .col-12 {
  flex: 0 0 calc(33.333% - 2rem);
  max-width: calc(33.333% - 2rem);
  box-sizing: border-box;
}

/* ...existing code... */

.cardSpecialisation {
  background: #fff;
  border-radius: 16px;

  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  margin-bottom: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.listSpecialisation {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: flex-start;
}

.specialisation-item {
  display: flex;
  align-items: center;
  background: #eef6fb;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 2px 8px rgba(1, 124, 186, 0.08);
  font-weight: 600;
  color: #017cba;
  font-size: 1.05rem;
  min-width: 180px;
  max-width: 320px;
  margin-bottom: 0;
  word-break: break-word;
  flex: 1 1 220px;
}

.specialisation-item i {
  color: #fbbf24;
  margin-right: 0.7rem;
  font-size: 1.2em;
  flex-shrink: 0;
}

.specialisation-item span {
  flex: 1 1 0;
  color: #017cba;
  font-size: 1.05rem;
  line-height: 1.4;
  word-break: break-word;
  white-space: normal;
}

.my-modal .modal-backdrop {
  --bs-backdrop-opacity: 0.8;
}

.modal-backdrop {
  background-color: #000 !important;
  opacity: 0.7 !important; /* 0.7 = 70% d’opacité, ajuste ici */
}

.form-control:disabled,
.form-control[readonly] {
  background-color: rgba(255, 0, 0, 0) !important;
}

.cardCarbon {
  border-radius: 10px !important;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.15);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.15);
  }
  70% {
    transform: scale(1);
  }
}

#add-contact {
  background-color: #017cba;
  animation: heartbeat 2s infinite;
}

@media (max-width: 730px) {
  .map-container {
    padding: 30px !important;
    padding-top: 0px !important;
    padding-bottom: 10px !important;
  }
  .map-img {
    border-radius: 10px !important;
    padding: 0 !important;
  }
  .bg-champs {
    padding-left: 15px;
  }
  #map-multi {
    height: 220px;
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    box-sizing: border-box;
  }
  .rowCroisiere > .col-12,
  .rowNavire > .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .listSpecialisation {
    flex-direction: column;
  }
  .specialisation-item {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    flex: 1 1 100%;
  }
  .navire-img-container {
    height: 60px;
  }
  .cardCarbon {
    margin-left: 17px;
    margin-right: 17px;
    border-radius: 10px !important;
  }
  .cardSwiper {
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 12px !important;
  }
  .cardSwiper,
  .mySwiper {
    height: 460px; /* ou la hauteur souhaitée */
    min-height: 250px;
  }
  .swiper-slide {
    height: 100% !important;
    display: flex;
    align-items: stretch;
  }
  .group-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
  }
}
