*{
    box-sizing: border-box;
    font-family: sans-serif;
    text-decoration: none;
}
* a{
    text-decoration: none;
}
h1 {
    color: #FFC107;
    max-width: 10px;

}
body{
    overflow-x: hidden;
}
:root{
    --blue-green:#124660;
    --green-1:#1B69C7;
    --green-1-o:#1B69C7c4;
    --blue-2:#004b87;
    --green-3:#c7dbc2;
    --green-3-o: #c7dbc2c4;
    --cream: #ffffff;
    --yellow: #ffc400;
    --yellow-b: #f0bc00;
    --yellow-black: #a78303;
}

.ht-100{
    height: 100vh;
}
/* The backgrounds */
.bg-1{
    background: var(--blue-green);
}
.bg-2{
    background: var(--blue-2);
}
.bg-3{
    background: var(--green-2);
}
.bg-4{
    background: var(--green-3);
}
.bg-5{
    background: var(--cream);
}
.bg-6{
    background: #fff;
}
.bg-7{
    background: var(--yellow-black);
}

/* The font-color */
.color-1{
    color: var(--blue-green);
}
.color-2{
    color:  var(--blue-2)
}
.color-3{
    color: var(--blue-2);
}
.color-4{
    color: var(--green-3);
}

.color-5{
    color: var(--cream);
}

.color-6{
    color: #f4f6f9;
}

.color-7{
    color: var(--green-1);
}

.color-8{
    color: var(--yellow);
}
.square{
    height: 50px;
    width: 50px;
}

.font-normal{
    font-size: 15px;
}

.btn-1{
    background: var(--yellow);
}

.btn-1:hover{
    background:var(--yellow-b);
    opacity: 1;
}

.login-btn{
    background: var(--yellow);
    height: 100%;
    cursor: pointer;
}
.box-head{
    position: relative;
    width: 200px;
    height: 50px;
    margin: 0 40px;

}
.box-head .icon-box{
    position: absolute;
    left: 0;
    top: 0;
}

.box-head .info-box{
    position: absolute;
    left: 50px;
}

#cover{
    background: url('../asset/image/banner.jpg');
    background-size:cover;
    height: 70vh;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    z-index: -9;
}

.banner .cover{
    height: 100%;
    width: 100%;
    background: var(--green-1-o);
}

.banner .art{
    width: 80%;
    height: auto;
}
.btn{
    border-radius: 1px;
    padding: 7px 30px;
}
.btn-primary{
    border: var(--yellow);
    background: var(--yellow);
    color: var(--cream);
}

.btn-outline-primary, .btn-primary:hover{
    border: var(--yellow) solid 1px;
    background: unset;
    color:var(--yellow);
}

.btn-primary:hover,
.btn-outline-primary:hover,
.btn-primary:focus,
.btn-outline-primary:focus,
.btn-primary:active,
.btn-outline-primary:active{
    background: var(--yellow-b) !important;
    color: var(--cream) !important;
    border: var(--yellow) solid 1px !important;
}

p{
    text-align: justify;
}

/* main{
    width: 100%;
} */

input.form-control.search{
    border: .1em solid var(--green-3);
}

input.form-control.search:focus{
    box-shadow: none;
    background: #f0f0f0;
    padding: 4px 10px;
}

.btn-custom {
  background-color: #FFC107 !important;
  color: #0056b3 !important;
  border: 2px solid #FFC107 !important;
}


.btn-custom:hover {
  background-color: transparent !important;
  color: white !important;
  border: 2px solid #FFC107 !important;
}


.nav-link:focus,
.nav-link:hover,
.dropdown-item:focus,
.dropdown-item:hover {
    color: var(--green-1) !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--bs-navbar-active-color);
}

.down-button{
    transform: translateY(0) translateX(-50%);
    animation: rebondissement 2s infinite;
}
 .carousel-mask{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
} 

@keyframes rebondissement {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0)  translateX(-50%);
    }
    
    40% {
        transform: translateY(-10px)  translateX(-50%);
    }
    
    60% {
        transform: translateY(-5px)  translateX(-50%);
    }
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }


  
  .card:hover img {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.card img {
  transition: transform 0.3s ease;
}

/* le faculte du box */

.faculte-box {
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid transparent;
  }

  .faculte-box:hover {
    background-color: #fffbe6;
    transform: translateY(-5px);
    border-color: #ffc107;
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.3);
  }

  .faculte-box:hover h2 {
    color: #ffc107;
  }

  /* effet des faculte */
  

  .faculte-link {
    display: inline-block;
    font-weight: 500;
    color: #212529;
    position: relative;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.3s ease;
  }

  .faculte-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #ffc107;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .faculte-link:hover {
    color: #ffc107;
  }

  .faculte-link:hover::after {
    transform: scaleX(1);
  }
/* effet pour les cartes des facultes */
  
  @keyframes bounceUp {
    0% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-15px);
    }
    60% {
      transform: translateY(5px);
    }
    80% {
      transform: translateY(-8px);
    }
    100% {
      transform: translateY(0);
    }
  }

  .card-hover-bounce {
    transition: box-shadow 0.3s ease;
  }

  .card-hover-bounce:hover {
    animation: bounceUp 0.6s ease;
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.4); /* bleu foncé */
  }

  /* premiere partie index */
 .title-link {
  color: #0d6efd; /* bleu Bootstrap */
  text-decoration: none;
  transition: color 0.3s ease;
}

.title-link i {
  transition: transform 0.3s ease;
}

/* Survol : couleur jaune + rebond de la flèche */
.title-link:hover {
  color: #ffc107 !important;
}

.title-link:hover i {
  animation: bounce-right 0.5s;
  transform: translateX(4px);
}

/* Animation rebond */
@keyframes bounce-right {
  0%   { transform: translateX(0); }
  40%  { transform: translateX(6px); }
  60%  { transform: translateX(2px); }
  80%  { transform: translateX(5px); }
  100% { transform: translateX(4px); }
}
 /* la carte avec le logo */
 .dancing-card {
  background-color: #ffffff;
  transition: background-color 0.4s ease, transform 0.4s ease;
  will-change: transform;
}

.dancing-card:hover {
  background-color: #e0f0ff; /* Bleu pâle */
  animation: bounce-grow 0.8s ease forwards;
}

/* Animation rebond + zoom */
@keyframes bounce-grow {
  0%   { transform: scale(1) translateY(0); }
  25%  { transform: scale(1.03) translateY(-10px) rotate(-1deg); }
  50%  { transform: scale(1.05) translateY(5px) rotate(1deg); }
  75%  { transform: scale(1.03) translateY(-5px) rotate(-0.5deg); }
  100% { transform: scale(1.05) translateY(0) rotate(0); }
}

/* la partie index avec pourcentage */
/* Bloc statistique : effet fond + transition */
.stat-block {
  background-color: #004b87;
  transition: background-color 0.3s ease;
}

.stat-block:hover {
  background-color: #005fa3; /* Bleu un peu plus clair */
}

/* Chiffre principal : effet zoom au hover */
.stat-block:hover .stat-number {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Lien : couleur + effet glissant sur flèche */
.stat-link {
  transition: color 0.3s ease;
}

.stat-link i {
  transition: transform 0.3s ease;
}

.stat-link:hover {
  color: #ffffff !important;
}

.stat-link:hover i {
  transform: translateX(5px);
}
/* la carte avec la photo */
.blue-link {
  color: #0d6efd;
  transition: color 0.3s ease;
}

.blue-link i {
  transition: transform 0.3s ease;
}

.blue-link:hover {
  color: #ffc107 !important;
}

.blue-link:hover i {
  transform: translateX(6px);
}


/* ZOOM AU SURVOL POUR LES DEUX CARTES */
.zoom-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.zoom-card:hover {
  transform: scale(1.05);
}


/* FORME CARRÉE */
.square-card {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
}


/* OMBRE BLEUE SPÉCIALE POUR LA CARTE AVEC IMAGE */
.blue-shadow {
  box-shadow: 0 8px 16px rgba(0, 75, 135, 0.5);
}

.blue-shadow:hover {
  box-shadow: 0 12px 24px rgba(0, 75, 135, 0.7);
}


/* ADAPTATION DE L’IMAGE DANS LA CARTE */
.card-img-top {
  object-fit: cover;
  height: 50%;
  width: 100%;
}
/* le tableau dans la page futur etudiant */

.bg-fss { background-color: #baf0c1 !important; }
.bg-fase { background-color: #f9dfd1 !important; }
.bg-fshs { background-color: #d8e9f6 !important; }
.bg-fsg { background-color: #ffe082 !important; }
.bg-fsteat { background-color: #d3d3d3 !important; }
.bg-fsahal { background-color: #a1e2a3 !important; }
.bg-total { background-color: #f0f0f0 !important; font-weight: bold; }
.text-small { font-size: 0.85rem; }

/*CAROUSSEL DE LA PAGE D'ACUEIL AVANT LE PIED DE PAGE*/
#imageStripCarousel{
    height: 25vh;

}