#homeBox h1 {
  font-size: 40px;
  color: rgb(30, 30, 30);
  font-weight: 700;
}
#homeBox h2 {
  font-size: 22px;
  color: rgb(30, 30, 30);
  font-weight: 500;
}
#homeBox h3 {
  font-size: 14px;
  color: rgb(30, 30, 30);
  font-weight: 300;
}
#homeBox #txtIntro {
  text-align: center;
  padding-bottom: 10px;
  font-weight: 300;
  padding-bottom: 50px;
  padding-top: 80px;
}
#homeBox .boxService {
  padding: 20px;
  background-color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  cursor: pointer;
  min-height: 200px;
}
#homeBox .boxService:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
.boxServiceDetail {
  padding: 30px;
}

#homeBox i {
  font-size: 28px;
  padding-bottom: 10px;
  opacity: 0.6;
  color: #0ac6eb;
}
#homeBox i:hover {
  font-size: 28px;
  color: #0ac6eb;
}
.imgboxService {
  padding: 0px;
  width: 100%;
  background-color: #fff;
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  cursor: pointer;
}
.imgNumerique {
  width: 70%;
}
.boxBar {
  padding-left: 40%;
  padding-right: 40%;
}
#header {
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  padding: 30px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1));
  color: white;
  height: 140px;
}
#header a {
  color: white;
}
#header.header-transparent {
  background: rgba(0, 0, 0, 0.6);
  height: 60px;
  padding: 30px;
  border-bottom: solid #13a6c2 2px;
}

#header.header-scrolled {
  background: rgba(255, 255, 255, 1);
  height: 60px;
  padding: 30px;
}
#header.header-scrolled a {
  color: black;
}

#header .logo img {
  padding: 10px;
  margin: 0px;
  height: 90px;
  content: url("../../../img/logo/logo_rectangle.png");
}
#header.header-scrolled .logo img {
  padding: 10px;
  margin: 0px;
  height: 70px;
  content: url("../../../img/logo/logo_rectangle_uni.png");
}
p {
  font-size: 14px;
  line-height: 17px;
}
.btnEdit {
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 200;
}

.formPage .boxBlocContenu {
  background-color: white;
  padding: 30px;
  color: black;
  padding-top: 15px;
  text-align: center;
  min-height: 180px;
  margin-bottom: 30px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-right: #efefef 1px solid;
  border-left: #efefef 1px solid;
  border-bottom: #efefef 1px solid;
  box-shadow: 0 5px 26px 0 rgba(68, 88, 144, 0.14);
}
.formPage h1 {
  font-size: 23px;
}
.formPage h2 {
  font-size: 21px;
}
.formPage h3 {
  font-size: 18px;
  font-weight: 300;
}
.formPage h4 {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
}
.formPage h5 {
  font-size: 14px;
  font-weight: 300;
}
.formPage .boxBloc {
  padding: 10px;
}
.formPage .boxBlocBtn {
  padding: 5px;
  border: 1px white solid;
  position: absolute;
  bottom: 50px;
  left: 30%;
  right: 30%;
}
.formPage .boxBlocImg {
  position: relative;
  height: 250px;
  width: 100%;
}
.formPage .boxBlocImg img {
  display: initial;
  margin: auto;
  object-fit: cover;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  object-position: center center;
  height: 100%;
  width: 100%;
}
.li-footer {
  font-size: 14px;
}
.boxAnnonceHome {
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  color: white;
}
.boxAnnonceHome:hover {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: white;
}
.formPage .boxAnnonceHome h3 {
  font-size: 18px;
}
.formPage .boxContact {
  background-color: white;
  text-align: center;
  margin-bottom: 30px;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 5px 26px 0 rgba(68, 88, 144, 0.14);
  min-height: 120px;
}
.linkMenu {
  color: black;
  line-height: 30px;
}
.invalid-feedback {
  font-size: 12px;
}
.btnShare {
  text-align: left;
}
.bandeauContenu h1 {
  font-size: 32px;
  font-weight: 800;
}
.bandeauContenu h2 {
  font-size: 20px;
  font-weight: 400;
}
.iconMenu {
  font-size: 30px;
  padding-left: 0px;
  padding-right: 0px;
  padding: 0px;
  margin: 0px;
  margin-top: -5px;
}
.iconEffect {
  padding-left: 5px !important;
  padding-right: 5px !important;
  transition: transform 0.1s;
  cursor: pointer;
  padding: 0px;
  margin: 0px;
}
.iconEffect:hover {
  transition: transform 0.1;
  -ms-transform: scale(1.2) translate(0px);
  -webkit-transform: scale(1.2) translate(0px);
  transform: scale(1.2) translate(0px);
  cursor: pointer;
  z-index: 1000;
}
.logoFooter {
  width: 50%;
  padding: auto;
}

.menuMobile {
  font-size: 14px !important;
}
.footerContact {
  text-align: left;
}
.footer_ul_amrc {
  font-size: 12px;
}
.titre2 {
  font-weight: 300;
}
.imgContenuBloc {
  height: 350px;
  border-radius: 20px;
  width: 100%;
  background-size: cover;
  background-position: center center;
}
.bandeauActu {
  height: 200px;
}
.formPage .bandeauActu h1 {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 300;
  padding-bottom: 0px;
}
.formPage .bandeauActu h2 {
  font-weight: 600;
  font-size: 38px;
}
.bandeauAnnonce {
  height: 400px;
}
.formPage .bandeauAnnonce h1 {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 300;
  padding-bottom: 0px;
}
.formPage .bandeauAnnonce h2 {
  font-weight: 600;
  font-size: 38px;
}
.iconEquip {
  font-size: 10px;
  text-align: center;
  width: 80px;
  height: 70px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
}
.iconEquip i {
  text-align: center;
  font-size: 25px;
  padding: 0px;
}
.bandeauService {
  height: 180px;
}
.blocAvis {
  color: black;
  text-align: center;
  height: 350px;
  text-align: center;
  background-image: url("../../../img/page/bulle_message.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 100%;
}
.blog-detail-content {
  position: relative;
  z-index: 2;
  max-width: 80%;
  padding: 0 20px;
  margin: 0 auto; /* Cette ligne centre le contenu */
}

.blog-detail-text h2 {
  font-size: 22px !important;
}
.blog-detail-text h3 {
  font-size: 18px !important;
}

/* ================================
   NOUVEAU BLOC SERVICES MODERNE
   ================================ */

.service-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.service-card-modern {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.service-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.service-card-modern:hover::before {
  opacity: 0.1;
}

.service-card-modern:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.service-card-image-modern {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.service-card-image-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.9);
}

.service-card-modern:hover .service-card-image-modern img {
  transform: scale(1.1);
  filter: brightness(1);
}

.service-card-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  z-index: 1;
}

.service-card-icon-modern {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card-modern:hover .service-card-icon-modern {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.25);
}

.service-card-content-modern {
  padding: 30px;
  position: relative;
  z-index: 1;
}

.service-card-title-modern {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-card-modern:hover .service-card-title-modern {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card-description-modern {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.service-card-link-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0ac6eb;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap 0.3s ease;
}

.service-card-modern:hover .service-card-link-modern {
  gap: 12px;
}

.section-header-modern {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-label-modern {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(10, 198, 235, 0.1);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: #0ac6eb;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.section-title-modern {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: white;
}

.section-description-modern {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.text-gradient-modern {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 992px) {
  .li-footer {
    font-size: 16px;
  }
  .logoFooter {
    width: 40%;
  }
  .formPage .boxAnnonceHome h3 {
    font-size: 12px;
  }
  .bandeauAnnonce {
    height: 200px;
  }
  .formPage .bandeauAnnonce h1 {
    font-size: 14px !important;
    text-transform: uppercase;
    font-weight: 300;
    padding-bottom: 0px;
  }
  .formPage .bandeauAnnonce h2 {
    font-weight: 600;
    font-size: 30px !important;
  }
  .bandeauActu {
    height: 180px;
  }
  .bandeauService {
    height: 250px;
  }
  .formPage .bandeauActu h1 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 300;
    padding-bottom: 0px;
  }
  .formPage .bandeauActu h2 {
    font-weight: 600;
    font-size: 30px;
  }
  .bandeauContenu h1 {
    font-size: 28px !important;
    font-weight: 800;
  }
  .bandeauContenu h2 {
    font-size: 16px !important;
    font-weight: 400;
  }
  .imgContenuBloc {
    height: 200px;
    border-radius: 20px;
    width: 100%;
    background-size: cover;
    object-position: center center;
  }
  .footerContact {
    text-align: center;
  }
  #header {
    height: 80px;
  }
  #header .logo img {
    padding: 10px;
    margin: 0;
    padding-top: 0px;
    height: 60px;
    content: url("../../../img/logo/logo_rectangle.png");
  }
  #header.header-scrolled .logo img {
    padding: 10px;
    margin: 0;
    height: 60px;
    padding-top: 5px;
    content: url("../../../img/logo/logo_rectangle_uni.png");
  }
  .iconMenu {
    font-size: 50px;
    color: white !important;
  }
  .iconEffect {
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    transition: transform 0.1s;
    cursor: pointer;
  }
  .iconEffect:hover {
    transition: transform 0.1;
    -ms-transform: scale(1.2) translate(0px);
    -webkit-transform: scale(1.2) translate(0px);
    transform: scale(1.2) translate(0px);
    cursor: pointer;
    z-index: 1000;
  }
  .btnShare {
    text-align: right;
  }
  .menuMobile {
    font-size: 20px !important;
  }
  .linkMenu {
    color: white;
  }
  .formPage .boxBloc {
    padding: 4px;
  }
  .formPage .boxBlocBtn {
    left: 10%;
    right: 10%;
  }
  .formPage .boxBlocImg {
    height: 180px;
    width: 100%;
  }
  .formPage h1 {
    font-size: 18px;
  }
  .formPage h2 {
    font-size: 16px;
  }
  .formPage h3 {
    font-size: 14px;
  }

  .service-grid-modern {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card-image-modern {
    height: 220px;
  }
}
