/** Page Bouse Etude **/

/* Scholarships Static */

.scholarships-section .section-title {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.scholarship-card {
  border: 1px solid #eef2f6;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.scholarship-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(11, 23, 37, 0.06);
}

/* image */
.scholarship-img {
  height: 160px;
  object-fit: cover;
  display: block;
}

/* country flag badge */
.country-flag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 23, 37, 0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight:700;
  font-size: 0.9rem;
}
.country-flag .flag-emoji { font-size:1.1rem; }

/* body */
.card-body h5 { color: #0b233c; }
.scholarship-desc { min-height: 56px; }

/* deadline & buttons */
.deadline { color: #2b3b4a; font-weight:700; }
.btn-outline-safari {
  border: 1px solid #F4B41A;
  color: #F4B41A;
  background: transparent;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight:700;
}
.btn-outline-safari:hover {
  background: #F4B41A; color: #0b233c; text-decoration:none;
}


/* Responsive tweaks */
@media (max-width: 767.98px) {
  .scholarship-img { height: 140px; }
  .country-flag { top: 10px; left: 8px; padding: 5px 8px; font-size: 0.85rem; }
}
/* Scholarships Static End */

/* Section Nos Programmes de Bourses  */
.bourses-section {
  background: #f8f9fa;
  color: #333;
}

.section-subtitle {
  color: #d4a017;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.section-title {
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 10px;
}

.bourse-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.bourse-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.bourse-icon {
  background: linear-gradient(135deg, #0a3d62, #d4a017);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bourse-icon i {
  color: white;
  font-size: 30px;
}

.bourse-card h4 {
  color: #0a3d62;
  font-weight: 600;
  margin-bottom: 15px;
}

.bourse-card p {
  font-size: 15px;
  color: #555;
  min-height: 90px;
}

.btn-bourse {
  display: inline-block;
  margin-top: 10px;
  background: #d4a017;
  color: white;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-bourse:hover {
  background: #0a3d62;
  color: white;
}
/* Section Nos Programmes de Bourses End */
/* Services d’Accompagnement Étudiant */
.service-card-student {
  cursor: pointer;
  height: 260px;
  border-radius: 10px;
}

.service-card-student img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: transform 0.5s ease;
}

.service-card-student:hover img {
  transform: scale(1.1);
}

.service-student-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 10px;
}

.service-card-student:hover .service-student-overlay {
  opacity: 1;
}

.service-student-overlay h5 {
  font-weight: 600;
}

.service-student-overlay p {
  font-size: 14px;
}
/* Services d’Accompagnement Étudiant End */
/** Page Bourse Etude End **/