body {
  background: #f4f9fd;
  font-family: Montserrat,"Segoe UI", sans-serif;
}

/* Container */
.card-container {
  max-width: 420px;
  margin: 30px auto;
  background: linear-gradient(to bottom, #ffffff, #eaf4fb);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  overflow: hidden;
}

/* ===== BANNER ===== */
.banner {
  background: #ffffff;
  position: relative;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 10px;
}

/* Left */
.banner-left {
  display: flex;
  flex-direction: column;
}

.banner-left .name {
  font-size: 24px;
  font-weight: 700;
  color: #1a237e;
  margin: 0;
  white-space: nowrap;      /* une seule ligne */
  overflow: hidden;         /* cache le débordement */
  text-overflow: ellipsis;  /* ... si écran trop petit */
  text-overflow: ellipsis;  /* ... si écran trop petit */
}

.banner-left .role {
  font-size: 16px;
  color: #2196f3;
  margin: 6px 0 40px;
}

.banner-logo {
  width: 140px;
}

/* Right */
.banner-right {
  display: flex;
  align-items: center;
  margin-left: -50px;
}

.profile-img {
    width: 217px;
    height: 200px;
    margin-right: -55px;
    margin-top: 0px;
    border-radius: 92%;
    padding: 0px;
    object-fit: cover;
    /* border: 4px solid #e3f2fd; */
}

/* Wave */
.wave {
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
}

.wave svg {
  width: 100%;
  height: 100%;
}

/* ===== INFOS ===== */
.info-section {
  margin-top: -10px;
}

.info-box {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,.08);
  margin-bottom: 15px;
}

.info-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #2196f3;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* ===== ACTIONS ===== */
.actions {
  padding: 20px;
  display: flex;
  justify-content: space-around;
}

.action-btn {
  width: 65px;
  height: 65px;
  border-radius: 15px;
  background: linear-gradient(135deg, #2196f3, #1e88e5);
  color: white;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(33,150,243,.4);
  text-decoration: none;
}

/* ===== ANIMATIONS ===== */
@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.float {
  animation: floatY 4s ease-in-out infinite;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.enter {
  opacity: 0;
  animation: fadeSlideUp 1s ease forwards;
}

.delay-1 { animation-delay: .2s; }
.delay-2 { animation-delay: .4s; }
.delay-3 { animation-delay: .6s; }

/* ===== BACKGROUND IMAGE SECTION ===== */
.content-bg {
  background-image: url("http://localhost/vcard_innovtech/img/bg-wave.png");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  padding-top: 40px;   /* espace après la wave intégrée */
  padding-bottom: 30px;
}

/* On enlève le fond du container pour laisser voir l'image */
.card-container {
  background: transparent;
}

/* Pour garder les info-box lisibles */
.info-box {
  background: rgba(255, 255, 255, 0.85);
}

/* Mobile fine-tuning */
@media (max-width: 420px) {
  .content-bg {
    background-size: contain;
  }
}
