/* Migrated verbatim from Elementor widget 874b73e. Do not reorder: load order is part of the cascade. */
/* ===============================
   Container
================================ */
.work-experience-container {
  margin-top: 0rem;
  width: 100%;
  padding: 2rem;
  text-align: center;
  color: #e5e7eb;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, rgba(32, 32, 35, 0.85), rgba(10, 25, 47, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

/* ===============================
   Title
================================ */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #44C4BC;
  margin-bottom: 3rem;
  border-bottom: 3px solid #44C4BC;
  display: inline-block;
  padding-bottom: 0.75rem;
}

/* ===============================
   Grid
================================ */
.experience-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.3rem;
}

/* ===============================
   Base Card
================================ */
.experience-card {
  position: relative;
  backdrop-filter: blur(14px);
  border-radius: 1.5rem;
  width: 22vw;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* Neutral base shadow */
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-8px) scale(1.02);
}

/* ===============================
   Posters
================================ */
.poster img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 100px;
}

/* ===============================
   Card Content
================================ */
.card-content {
  padding: 1.2rem;
  flex: 1;
  text-align: center;
}

.company-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.role-period {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* ROLE → main info */
.role {
  font-size: 0.9rem;
  font-weight: 500;
  color: #e5e7eb;
  text-align: center;
}

/* PERIOD → meta info */
.period {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  padding: 2px 8px;
  border-radius: 999px;
    /* White border */
  border: 1px solid rgba(255, 255, 255, 0.35);
  letter-spacing: 0.3px;
}


.description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d1d5db;
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

/* ===============================
   Location
================================ */
.location-country {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.85rem;
  color: #a1a1a1;
  margin-bottom: 0.6rem;
}

.location-icon {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(0.7);
}

/* ===============================
   Status Badge
================================ */
.status-badge {
  position: absolute;
  top: 8px;
  right: 20px;
  padding: 3px 10px;
  font-size: 0.5rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #00C853, #00E676);
  border-radius: 999px;

  border: 2px solid #ffffff;
  outline: 2px solid #00C853;
  outline-offset: -4px;

  box-shadow: 0 0 10px rgba(0, 200, 83, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;

  animation: pulse 1.7s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(0, 200, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}

/* ===============================
   Card Colors + SHADOWS
================================ */

/* Actemium – Blue */
.actemium-card {
  background: rgba(0, 86, 160, 0.05);
  border: 2px solid #0056A0;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(0, 86, 160, 0.35);
}
.actemium-card .company-name { color: #0056A0; }
.actemium-btn { background: #0056A0; }
.actemium-btn:hover { background: #004080; color: #000; }
.actemium-card:hover {
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(0, 86, 160, 0.6);
}

/* Orange */
.orange-card {
  background: rgba(255, 121, 0, 0.05);
  border: 2px solid #FF7900;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(255, 121, 0, 0.35);
}
.orange-card .company-name { color: #FF7900; }
.orange-btn { background: #FF7900; }
.orange-btn:hover { background: #e06e00; color: #000; }
.orange-card:hover {
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(255, 121, 0, 0.6);
}

/* Ligne de Chaine – Teal */
.blue-card {
  background: rgba(68, 196, 188, 0.05);
  border: 2px solid #44C4BC;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(68, 196, 188, 0.35);
}
.blue-card .company-name { color: #44C4BC; }
.blue-btn { background: #44C4BC; }
.blue-btn:hover { background: #2e8f8a; color: #000; }
.blue-card:hover {
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(68, 196, 188, 0.6);
}

/* Pharmacy – Green */
.green-card {
  background: rgba(76, 175, 80, 0.05);
  border: 2px solid #4CAF50;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(76, 175, 80, 0.35);
}
.green-card .company-name { color: #4CAF50; }
.green-btn { background: #4CAF50; }
.green-btn:hover { background: #3e9142; color: #000; }
.green-card:hover {
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(76, 175, 80, 0.6);
}

/* ===============================
   Buttons
================================ */
.card-button {
  margin: 0 1.2rem 1.2rem;
  padding: 0.6rem 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  display: inline-block;
  color: white;
  transition: all 0.3s ease;
}

/* ===============================
   Global Button
================================ */
.global-button {
  display: inline-block;
  margin-top: 50px;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(145deg, #44C4BC, #369B9A);
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(68, 196, 188, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.global-button:hover {
  background: linear-gradient(145deg, #369B9A, #2E7A78);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(68, 196, 188, 0.7);
}

/* ===============================
   Responsive
================================ */
@media (max-width: 1024px) {
  .experience-grid {
    flex-direction: column;
    align-items: center;
  }

  .experience-card {
    width: 90%;
    max-width: 500px;
  }

  .poster img {
    max-height: 180px;
  }
}
