.team1 {
  font-family: "Montserrat", sans-serif;
	color: #8d97ad;
  font-weight: 300;
}

.team1 h1, .team1 h2, .team1 h3, .team1 h4, .team1 h5, .team1 h6 {
  color: #3e4555;
}

.team1 .font-weight-medium {
	font-weight: 500;
}

.team1 .bg-light {
    background-color: #f4f8fa !important;
}

.team1 .subtitle {
    color: #8d97ad;
    line-height: 24px;
}

.team1 .pro-pic {
  min-height: 200px;
}

.team1 .pro-pic .card-img-overlay {
  background: rgba(26, 139, 243, 0.87);
  display: none;
}

.team1 .pro-pic .card-img-overlay ul {
  top: 50%;
}

.team1 .pro-pic .card-img-overlay ul li a {
  -webkit-transition: 0.1s ease-in;
  -o-transition: 0.1s ease-in;
  transition: 0.1s ease-in;
}

.team1 .pro-pic .card-img-overlay ul li a:hover {
  -webkit-transform: translate3d(0px, -5px, 0px);
  transform: translate3d(0px, -5px, 0px);
}

.team1 .pro-pic:hover .card-img-overlay {
  display: block;
}


.mod-menu__sub {
  position:absolute;
  top:100%;
  left:0;
  z-index:1000;
  display:none;
  float:left;
  width: auto;
  min-width:220px;
  max-width: 320px;
  padding:5px 0;
  margin:0;
  /*font-size:14px;*/
  list-style:none;
  background-clip:padding-box;
  list-style: none;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  background: #fff; 
  box-shadow: none !important;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top:none;
  
}

.mod-menu li:hover > ul.mod-menu__sub{
  display: block;
}

.mod-menu__sub > li > a{
  display: block;
  text-transform: uppercase;
  font-size: 13px !important;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  text-align: left !important;
  font-weight: normal !important;
  padding: 15px 10px  !important;;
  color: #000 !important;
  border-bottom:  1px solid rgba(0, 0, 0, 0.1);
}

.mod-menu__sub > li:last-child > a{
  border-bottom: none !important;
}

.nmod-menu__sub> ul > li.active > a{
  color: #009fe3  !important;
}

.mod-menu__sub > li>a:hover, 
.mod-menu__sub > li>a:focus{
  color: #009fe3  !important;
}

.mod-menu__sub > li:last-child > a{
  border-bottom: 0;
}

.mod-menu__sub > li>a:hover, 
.mod-menu__sub > li>a:focus{
  background: none;
}


.mod-languages__list li.lang-active{
    border-radius: 20px;
}

.mod-languages__list li.lang-active {
  background-color: red !important;
}

      .team-card {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            cursor: pointer;
        }

        .team-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        /* Zoom effect */
        .team-card:hover img {
            transform: scale(1.1);
        }

        /* Overlay */
        .team-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 20px;
            color: #fff;
            background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1));
        }

        .team-name {
            font-weight: 700;
            font-size: 1.1rem;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .team-role {
            font-size: 0.9rem;
            line-height: 1.4;
            opacity: 0.9;
        }

        /* Responsive height */
        .team-card {
            height: 350px;
        }

        @media (max-width: 768px) {
            .team-card {
                height: 300px;
            }
        }


.stam-badge {
    display: inline-block;
    background: red;
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 20px;
    margin-bottom: 20px;

    /* responsive magique */
    font-size: clamp(16px, 4vw, 32px);
    line-height: 1.2;
    max-width: 90%;
    text-align: center;
}

/* BACKDROP */
.modal-backdrop.show {
    opacity: 0.75;
}

/* MODAL */
#stamModal .modal-dialog {
    max-width: 650px;
}

/* IMAGE */
#stamModal img {
    display: block;
    width: 100%;
    height: auto;
}

/* CONTENT */
#stamModal h2 {
    font-size: 38px;
}

#stamModal p {
    font-size: 18px;
    line-height: 1.6;
}

/* BUTTON */
#stamModal .btn {
    font-size: 16px;
    letter-spacing: 1px;
}

/* MOBILE */
@media (max-width: 768px) {

    #stamModal .modal-dialog {
        margin: 15px;
    }

    #stamModal h2 {
        font-size: 24px;
    }

    #stamModal p {
        font-size: 15px;
    }

    #stamModal .btn {
        font-size: 14px;
        padding: 14px;
    }

}