/* Custom styles inspired by Adecco.fr */
:root {
  /* Brand gradients */
  --brand-orange-start:#E48D1E;
  --brand-orange-end:#D17500;
  --brand-blue-start:#007ECF;
  --brand-blue-end:#005B9C;

  /* Greys */
  --brand-gray-dark:#666666;
  --brand-gray-light:#888888;

  /* Legacy fallbacks pointing to new palette */
  --primary: var(--brand-blue-start);
  --accent: var(--brand-orange-start);
  --bs-primary: var(--brand-blue-start);
}

/* general helpers */
.py-6{padding-top:4.5rem!important;padding-bottom:4.5rem!important}
.section-title{font-size:1.75rem;font-weight:600;text-align:center;color:var(--primary)}
.btn-accent{background:linear-gradient(135deg,var(--brand-orange-start) 0%,var(--brand-orange-end) 100%);color:#fff;border:none}
.btn-accent:hover{background:#005B9C;color:#fff}
/* Glassmorphisme navbar thin (Design A) */
.navbar-glass-thin{
  position: fixed; /* overlay hero */

  top:0;
  width:100%;
  z-index:1030;
  height:60px;
  background:linear-gradient(90deg,rgba(0,126,207,.15) 0%,rgba(0,91,156,.15) 100%);
  -webkit-backdrop-filter:blur(16px); /* Safari */
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.15);
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  padding:0 1rem;
}
.navbar-glass-thin .site-menu>li>a{
  color:rgba(255,255,255,.9);
  transition:color .2s;
}
.navbar-glass-thin .site-menu>li>a:hover,
.navbar-glass-thin .site-menu>li.active>a{
  color:#fff;
}
.navbar-glass-thin .site-menu-toggle{
  color:#fff;
}
.btn-connexion{
  background:linear-gradient(135deg,var(--brand-orange-start) 0%,var(--brand-orange-end) 100%);
  color:#fff!important;
  border:none;
  padding:0.4rem 1.25rem;
  border-radius:40px;
  font-size:0.85rem;
  display:inline-block;
}
.btn-connexion:hover{opacity:.9;}
.lang-flags .flag-icon{width:22px;height:auto;margin-left:6px;filter:drop-shadow(0 0 2px rgba(0,0,0,.2));}
/* Fin navbar glass thin */

/* Footer modern */
.footer-section{position:relative;background:linear-gradient(135deg,#3CC7FF 0%, #009CFF 35%, #0068C7 70%, #004A9C 100%);font-size:.9rem}
.footer-link{color:#fff;text-decoration:none;transition:opacity .2s}
.footer-link:hover{opacity:.8;color:#fff;text-decoration:none}
.social-link{color:#fff;transition:transform .2s}
.social-link:hover{transform:scale(1.1);color:var(--accent)}
.footer-lang{color:#fff;font-weight:600;opacity:.8;transition:opacity .2s}
.footer-lang:hover,.footer-lang.active{opacity:1;color:#fff}
/* Fin footer modern */

/* Login Page/* Auth Pages */
.auth-page {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

/* Auth Card */
.auth-card {
    display: flex;
    max-width: 1140px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    min-height: 0; /* Fix for Firefox */
    min-height: 0; /* Fix for Firefox */
}

/* Single column override */
.single-column {
    display: block;
    padding: 2rem 2.5rem;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
}

/* Stand-alone form container (register page) */
.standalone-form {
    display: block;
    padding: 2rem 2.5rem;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

/* Welcome Section */
.auth-welcome {
    flex: 1;
    background: linear-gradient(135deg, #3CC7FF 0%, #004A9C 100%);
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.welcome-content p {
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.feature i {
    margin-right: 0.75rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.welcome-footer {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.welcome-footer a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

/* Auth Form */
.auth-form-container {
    flex: 1;
    padding: 3rem;
    overflow-y: auto;
    max-height: 100vh;
}

.auth-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.auth-form h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.auth-form .text-muted {
    color: #718096 !important;
    margin-bottom: 1.5rem;
    display: block;
}

/* Form Elements */
.form-label {
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.25rem;
}

.input-group-text {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
    color: #64748b;
    padding: 0.625rem 1rem;
    border-radius: 6px 0 0 6px;
}

.form-control {
    height: auto;
    padding: 0.625rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 0 6px 6px 0;
    transition: all 0.2s ease;
    width: 100%;
    line-height: 1.5;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Select Styling */
select.form-control {
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    padding-right: 2.25rem;
}

/* File Input Styling */
.form-control[type="file"] {
    padding: 0.5rem;
    line-height: 1.5;
}

/* Checkbox Styling */
.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.2rem;
    margin-right: 0.5rem;
    border: 1px solid #cbd5e0;
    border-radius: 0.25rem;
}

.form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.form-check-label {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-check-label a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Button Styling */
.btn-primary {
    background: linear-gradient(135deg, #3CC7FF 0%, #004A9C 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 100%;
    cursor: pointer;
    margin-top: 0.5rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004A9C 0%, #3CC7FF 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Error Messages */
.text-danger {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.alert-danger ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.25rem;
}

.alert-danger li {
    margin-bottom: 0.25rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .auth-card {
        flex-direction: column;
        max-width: 600px;
        margin: 1rem auto;
    }

    .auth-welcome,
    .auth-form-container {
        padding: 2rem;
    }

    .welcome-content h2 {
        font-size: 1.5rem;
    }

    .auth-form h1 {
        font-size: 1.375rem;
    }
}

@media (max-width: 575.98px) {
    .auth-page {
        padding: 0;
    }

    .auth-card {
        border-radius: 0;
        min-height: 100vh;
        margin: 0;
    }

    .auth-welcome,
    .auth-form-container {
        padding: 1.5rem;
    }

    .welcome-content h2 {
        font-size: 1.375rem;
    }

    .auth-form h1 {
        font-size: 1.25rem;
    }

    .feature span {
        font-size: 0.85rem;
    }
}

.auth-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.auth-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Left Welcome Section */
.auth-welcome {
    flex: 1;
    padding: 3rem;
    background: linear-gradient(135deg, var(--brand-blue-start) 0%, var(--brand-blue-end) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.welcome-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.welcome-content p {
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.features {
    margin-top: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.feature i {
    font-size: 1.25rem;
    margin-right: 1rem;
    color: var(--brand-orange-start);
}

.welcome-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Right Form Section */
.auth-form-container {
    flex: 1;
    padding: 3rem;
    background: #fff;
}

.auth-form-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.auth-form h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.auth-form .text-muted {
    color: #6c757d;
    margin-bottom: 2rem;
    display: block;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.input-group {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--brand-blue-start);
    box-shadow: 0 0 0 0.2rem rgba(0, 126, 207, 0.15);
}

.input-group-text {
    background: #f8f9fa;
    border: none;
    color: #6c757d;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
}

.form-control {
    border: none !important;
    padding: 0.75rem 1rem;
    height: auto;
    background: #fff;
}

.form-control:focus {
    box-shadow: none;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue-start) 0%, var(--brand-blue-end) 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6c757d;
    margin: 2rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider:not(:empty)::before {
    margin-right: 1rem;
}

.divider:not(:empty)::after {
    margin-left: 1rem;
}

.social-login .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-login .btn i {
    font-size: 1.1rem;
}

.social-login .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .auth-card {
        flex-direction: column;
    }

    .auth-welcome {
        padding: 2rem;
        text-align: center;
    }

    .feature {
        justify-content: center;
    }

    .auth-form-container {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-welcome,
    .auth-form-container {
        padding: 1.5rem;
    }

    .welcome-content h2 {
        font-size: 1.75rem;
    }
}

/* Candidate banner minimal */
.candidate-banner{border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;}

.hero .container{padding-top:2.5rem;}
.pill-premium-segment input{flex:1;border:1px solid #ced4da;outline:none;box-shadow:none;background:transparent;min-width:0;padding:0.75rem 1.25rem 0.75rem 3rem;}
.pill-premium-segment select{flex:1;border:1px solid #ced4da;outline:none;box-shadow:none;background:transparent;min-width:0;padding:0.75rem 1.25rem;}
.search-card input::placeholder{color:#6c757d}

.premium-btn{background:var(--accent);color:#fff;border:none;width:56px;height:56px;border-radius:50%;box-shadow:0 4px 12px rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center;font-size:1.1rem;padding:0;}
.search-btn:hover{background:#2d6b55;color:#fff}
.search-box{background:#fff;border:1px solid #e1e1e1;border-radius:60px;padding:8px;box-shadow:0 10px 25px rgba(0,0,0,.05);transition:box-shadow .2s ease}
.search-box:focus-within{box-shadow:0 0 0 4px rgba(59,140,110,.25)}
.card-sector{background:#f8f9fa;transition:all .2s ease;border:1px solid #e9ecef}
.card-sector:hover{transform:translateY(-4px);background:rgba(59,140,110,.08)}
.card-offre{background:rgba(22,71,115,.05)}
.twin-card{background:rgba(22,71,115,.05)}
.twin-card:hover{transform:translateY(-3px);box-shadow:0 10px 20px rgba(0,0,0,.15)}
.hero{position:relative;overflow:hidden;min-height:95vh}
.hero::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,#3CC7FF 0%, #009CFF 35%, #0068C7 70%, #004A9C 100%);z-index:0;}
.hero-image{position:absolute;right:0;top:0;width:50%;height:100%;background:url('../templateV2/images/hero_1.jpg') center/cover no-repeat;clip-path:polygon(15% 0,100% 0,100% 100%,0 100%);z-index:1;}

/* Masquer l'image du hero sur mobile */
@media (max-width: 991.98px) {
  .hero-image {
    display: none;
  }
  .hero .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .hero {
    min-height: auto;
    padding: 4rem 0;
  }
  .hero .col-lg-6 {
    text-align: center;
  }
  .quick-links {
    justify-content: center;
  }
  .search-form {
    margin: 0 auto;
    max-width: 100%;
  }
}
.btn-primary{background:var(--primary);border-color:var(--primary)}
.btn-primary:hover{background:#103657;border-color:#103657}
.bg-accent{background:var(--accent)!important}
.text-accent{color:var(--accent)!important}
.grayscale{filter:grayscale(100%);opacity:.7;transition:.2s}
.grayscale:hover{filter:none;opacity:1}

/* Cartes d'offres modernes */
.offer-card-modern {
  transition: all 0.3s ease;
  overflow: visible; /* Permet au contenu de déborder si nécessaire */
  position: relative;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  word-wrap: break-word; /* Assure que les longs mots passent à la ligne */
}

.offer-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

/* Styles pour les badges Nouveau/Expiré */
.offer-card-modern .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  white-space: nowrap; /* Empêche le texte de passer à la ligne */
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-card-modern .badge.bg-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(22, 71, 115, 0.2);
}

.offer-card-modern .badge.bg-danger {
  background: linear-gradient(135deg, #dc3545 0%, #a71d2a 100%) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

/* Ajustements pour le contenu de la carte */
.offer-card-modern h6 {
  margin-top: 1.5rem; /* Espace supplémentaire pour le badge positionné en absolu */
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.4;
  min-height: 3em; /* Hauteur minimale pour les titres courts */
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limite à 2 lignes */
  line-clamp: 2; /* Version standard */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3.2em; /* Hauteur maximale pour 2 lignes */
}

/* Neutralisation fond blanc Bootstrap pour nos CTA */
.btn.cta-btn-primary,
.btn.cta-btn-secondary {
  background-color: transparent !important;
  border: none !important;
}

/* (anciennes règles CTA entièrement retirées) */
.cta-badge-new {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.3px;
  backdrop-filter: blur(6px);
}

.cta-badge-new i {
  margin-right: 0.4rem;
  font-size: 0.9rem;
  color: #00b4d8;
}

/* Section CTA Améliorée */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--brand-blue-start) 0%, var(--brand-blue-end) 100%);
  overflow: hidden;
  z-index: 1;
  padding: 5rem 0;
}

.cta-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 50%, rgba(22, 107, 136, 0.2) 0%, rgba(13, 45, 74, 0) 50%);
  z-index: 1;
}

.cta-shape-1,
.cta-shape-2 {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  z-index: 0;
}

.cta-shape-1 {
  width: 500px;
  height: 500px;
  top: -250px;
  right: -250px;
  animation: float 15s ease-in-out infinite;
}

.cta-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -150px;
  animation: float 20s ease-in-out infinite reverse;
}

.cta-card {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.15);
}

.cta-dots-1,
.cta-dots-2 {
  position: absolute;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  opacity: 0.5;
  z-index: 0;
}

.cta-dots-1 {
  top: -30px;
  right: -30px;
  transform: rotate(15deg);
}

.cta-dots-2 {
  bottom: -40px;
  left: -40px;
  transform: rotate(-10deg);
}

.cta-card h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-card .lead {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* Boutons CTA */
.cta-btn-primary,
.cta-btn-secondary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-btn-primary {
  background: linear-gradient(135deg, var(--brand-blue-start) 0%, var(--brand-blue-end) 100%);
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.4);
}

.cta-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-blue-start) 0%, var(--brand-blue-end) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 50px;
}

.cta-btn-primary:hover::before {
  opacity: 1;
}

.cta-btn-secondary {
  background: transparent;
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px);
}

/* Icônes de vérification */
.cta-check-icon {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.cta-check-icon i {
  color: white;
  font-size: 0.65rem;
}

/* Illustration */
.cta-illustration {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-illustration-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.15) 0%, rgba(2, 62, 138, 0.1) 100%);
  border-radius: 1rem;
  transform: rotate(5deg);
  animation: pulse 8s ease-in-out infinite;
}

.cta-illustration-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.cta-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  background: white;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.cta-badge-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.cta-badge-text {
  line-height: 1.3;
}

.cta-badge-text small {
  display: block;
  font-size: 0.7rem;
  color: #6c757d;
  margin-bottom: 0.1rem;
}

.cta-badge-text strong {
  display: block;
  font-size: 0.9rem;
  color: #212529;
  font-weight: 700;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: rotate(5deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotate(3deg) scale(0.98);
    opacity: 0.9;
  }
}

/* Responsive */
@media (max-width: 1199.98px) {
  .cta-card h2 {
    font-size: 2.2rem;
  }

  .cta-card .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 991.98px) {
  .cta-section {
    padding: 4rem 0;
  }

  .cta-card {
    text-align: center;
    padding: 2.5rem !important;
  }

  .cta-card h2 {
    font-size: 2rem;
  }

  .cta-card .lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .cta-features {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .cta-card {
    padding: 2rem 1.5rem !important;
  }

  .cta-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
  }

  .cta-card .lead {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }

  .cta-badge {
    padding: 0.5rem 0.75rem;
    bottom: 1rem;
    right: 0.5rem;
  }

  .cta-badge-icon {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
  }

  .cta-badge-text small {
    font-size: 0.65rem;
  }

  .cta-badge-text strong {
    font-size: 0.8rem;
  }
}


.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #1a4d8c 100%);
  overflow: hidden;
  z-index: 1;
}

.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29-22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM60 91c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: -1;
}

.cta-card {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
  transform: rotate(30deg);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.cta-card:hover::before {
  opacity: 1;
}

.cta-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.cta-card:hover .cta-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.2);
}

.cta-card h2 {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-card .btn {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cta-card .btn-light {
  background: white;
  color: var(--primary);
  border: 2px solid white;
}

.cta-card .btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-card .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

.cta-card .btn i {
  transition: transform 0.3s ease;
}

.cta-card .btn:hover i {
  transform: translateX(3px);
}

.shadow-sm-hover {
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.shadow-sm-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .cta-card {
    padding: 2rem 1.5rem !important;
  }

  .cta-card h2 {
    font-size: 1.8rem;
  }

  .cta-card .btn {
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .cta-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }
}

/* Ajustements pour la liste des détails */
.offer-card-modern .list-unstyled {
  margin-bottom: 1.5rem;
}

.offer-card-modern .list-unstyled li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
}

.offer-card-modern .list-unstyled i {
  margin-top: 0.2rem;
  min-width: 1.25rem;
  text-align: center;
}

/* Ajustement de la grille */
.row.g-4 {
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.row.g-4 > [class*='col-'] {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Ajustement pour mobile */
@media (max-width: 767.98px) {
  .offer-card-modern {
    padding: 1.25rem;
  }

  .row.g-4 > [class*='col-'] {
    margin-bottom: 1rem;
  }
}

/* En-tête de carte */
.offer-card-modern .badge {
  font-weight: 500;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  padding: 0.35rem 0.75rem;
}

/* Titre de l'offre */
.offer-card-modern h6 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--primary);
  transition: color 0.2s ease;
}

/* Liste des détails */
.offer-card-modern ul {
  margin-top: 0.5rem;
}

.offer-card-modern ul li {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: #495057;
  margin-bottom: 0.5rem;
}

.offer-card-modern ul li i {
  width: 20px;
  text-align: center;
  margin-right: 0.5rem;
  color: var(--accent);
}

/* Bouton favori */
.btn-favorite {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e9ecef;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  transition: all 0.2s ease;
}

.btn-favorite:hover {
  color: #dc3545;
  border-color: #f8d7da;
  background: #fff;
}

.btn-favorite .fas {
  color: #dc3545;
}

/* Bouton Voir l'offre */
.offer-card-modern .btn-outline-primary {
  border-width: 1.5px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.offer-card-modern .btn-outline-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(22, 71, 115, 0.15);
}

/* Badge Nouveau */
.badge.bg-accent {
  background: linear-gradient(135deg, var(--accent), #2d6b55) !important;
}

/* Badge Expiré */
.badge.bg-danger {
  background: linear-gradient(135deg, #dc3545, #a71d2a) !important;
}

@media (max-width: 767.98px) {
    .auth-welcome {
        display: none !important;
    }
}

/* Buttons override */
.btn-primary{background-color:var(--primary);border-color:var(--primary);}
.btn-outline-primary{color:var(--primary);border-color:var(--primary);}
.btn-outline-primary:hover{background-color:var(--primary);color:#fff;border-color:var(--primary);}

/* Hero section */
/* removed old hero-search gradient block */
/* twin card search styles */


.search-box .pill-premium-segment{display:flex;align-items:center;padding:0;border:none;background:#fff;border:1px solid #ced4da;border-radius:60px;overflow:hidden;}
.search-box .pill-premium-segment + .pill-premium-segment{margin-left:12px;}

/* premium overrides */
.pill-premium-segment input{padding:0.75rem 1.25rem 0.75rem 3rem;border:1px solid #ced4da;border-radius:60px 0 0 60px;}
.pill-premium-segment select{padding:0.75rem 1.25rem;border:1px solid #ced4da;border-left:none;border-radius:0;}
.premium-btn{width:56px!important;height:56px!important;font-size:1.1rem;}
/* Masonry Top secteurs */
.sector-masonry{column-count:1;column-gap:1rem;}
@media (min-width:576px){.sector-masonry{column-count:2;}}
@media (min-width:992px){.sector-masonry{column-count:3;}}
@media (min-width:1200px){.sector-masonry{column-count:4;}}
.masonry-item{display:inline-block;width:100%;margin:0 0 1rem;border-radius:1rem;overflow:hidden;position:relative;transition:transform .3s ease,box-shadow .3s ease;background:#f8f9fa;}
.masonry-item:hover{transform:translateY(-6px);box-shadow:0 8px 20px rgba(0,0,0,.1);}
.size-lg{height:300px;}
.size-md{height:220px;}
.size-sm{height:160px;}
.masonry-content{background:linear-gradient(to top,rgba(0,0,0,.6)0%,rgba(0,0,0,0)100%);color:#fff;position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;border-radius:inherit;}
.offre-pill{background:#0d6efd;color:#fff;font-size:.75rem;font-weight:600;padding:4px 10px;border-radius:50px;display:inline-block;align-self:flex-start;}

/* simple pastel palette per nth-child */
.sector-masonry .masonry-item:nth-child(6n+1){background:#e3f2fd;}
.sector-masonry .masonry-item:nth-child(6n+2){background:#e8f5e9;}
.sector-masonry .masonry-item:nth-child(6n+3){background:#fff3e0;}
.sector-masonry .masonry-item:nth-child(6n+4){background:#f3e5f5;}
.sector-masonry .masonry-item:nth-child(6n+5){background:#fbe9e7;}
.sector-masonry .masonry-item:nth-child(6n){background:#e0f7fa;}

/* Timeline Top secteurs */
.sector-timeline{position:relative;margin-left:1rem;}
.sector-timeline::before{content:"";position:absolute;left:14px;top:0;bottom:0;width:2px;background:#0d6efd;}
.sector-timeline-item{position:relative;padding-left:40px;margin-bottom:1.5rem;}
.timeline-icon{width:30px;height:30px;border-radius:50%;background:#0d6efd;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;}
.timeline-icon i{line-height:1;}

/* Sector cards (legacy) */
.sector-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
}

/* Offer cards white bordered */
.offer-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.offer-card .heart-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.2rem;
  color: #adb5bd;
  transition: color 0.2s ease;
  z-index: 1;
}

.offer-card .heart-icon:hover {
  color: #ff6b6b;
}

.offer-card h6 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.offer-card small {
  color: #6c757d;
  margin-bottom: 0.5rem;
  display: block;
}

.offer-card .category {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed #e9ecef;
  font-size: 0.85rem;
}

/* Testimonial Cards Grid */
.testimonial-card {
  background: white;
  border: 1px solid rgba(13, 110, 253, 0.1);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(13, 110, 253, 0.2);
}

.testimonial-card p {
  font-style: italic;
  color: #2d3748;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  flex-grow: 1;
}

.testimonial-icon {
  width: 42px;
  height: 42px;
  font-size: 1rem;
  background: var(--primary);
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-icon {
  transform: scale(1.1);
  background: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .testimonial-card {
    padding: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-card p {
    font-size: 0.95rem;
  }
}

/* Featured Offers Grid Layout */
.featured-offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

/* Ensure cards have equal height in the grid */
.featured-offers-grid .offer-card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-offers-grid .offer-card:hover {
  transform: translateY(-5px);
}

/* Testimonial Carousel */
.testimonial-swiper {
  padding: 1.5rem 0 3rem;
  overflow: hidden;
  margin: 0 -15px;
}

.testimonial-swiper .swiper-wrapper {
  align-items: stretch;
  padding: 1rem 15px;
}

.testimonial-swiper .swiper-slide {
  height: auto;
  padding: 1rem 0;
}

.testimonial-swiper .swiper-slide {
  height: auto;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.testimonial-card {
  position: relative;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid rgba(13, 110, 253, 0.15);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.testimonial-card::before {
  content: '\f10d';
  font-family: 'FontAwesome';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 5rem;
  opacity: 0.05;
  color: var(--primary);
  z-index: 0;
  line-height: 1;
}

.testimonial-card p {
  position: relative;
  font-style: italic;
  color: #2d3748;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  z-index: 1;
}

.testimonial-card h6 {
  position: relative;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
  z-index: 1;
}

.testimonial-card small {
  position: relative;
  color: #6b7280;
  font-size: 0.9rem;
  z-index: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 15px 30px rgba(13, 110, 253, 0.12);
  border-color: rgba(13, 110, 253, 0.3);
}

/* Job cards */
.job-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
    transform: translateY(-3px);
}

/* Smooth hover transitions */
.sector-card, .job-card {
    transition: all .3s ease;
}
.sector-tile {
    height: 170px;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    transition: transform .35s ease, box-shadow .35s ease;
  }

  .sector-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
  }

  .sector-tile:hover img {
    transform: scale(1.1);
  }

  .sector-overlay {
    pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 100%);
    transition: background .35s ease;
  }

  .sector-tile:hover .sector-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 30%, rgba(0,0,0,0) 100%);
  }

  .sector-content {
    z-index: 2;
    color: #fff;
  }

/* ----------------------------------------------------------
   Nouveau carrousel secteurs horizontaux
----------------------------------------------------------- */
.sector-scroll {
  scroll-behavior: smooth;
}
.sector-scroll::-webkit-scrollbar {display:none;}

.sector-card {
  width: 200px;
  height: 240px;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  transition: transform .3s ease, box-shadow .3s ease;
  margin-right: 1rem; /* fallback spacing for older Bootstrap (no gap support) */
 }
 .sector-scroll .sector-card:last-child {margin-right:0;}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.sector-card .sector-bg {
  position: absolute;
  top:0;left:0;width:100%;height:100%;
  background-size: cover;
  background-position: center;
  transition: transform .35s ease;
}
.sector-card:hover .sector-bg {transform: scale(1.1);}
.sector-card .sector-info {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  color:#fff;
}

/* grid version */
.sector-grid-card {width:100%; height:200px; border-radius:1rem; overflow:hidden; position:relative; transition:transform .3s ease, box-shadow .3s ease;}
.sector-grid-card:hover {transform:translateY(-4px); box-shadow:0 8px 20px rgba(0,0,0,0.15);}
.sector-grid-card .sector-bg {position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:center;transition:transform .35s ease;}
.sector-grid-card:hover .sector-bg{transform:scale(1.05);}

/* info overlay */
.sector-grid-card .sector-info {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  color:#fff;
}
.sector-color-card {background: linear-gradient(135deg,#0d6efd 0%, #0abde3 100%);}      /* bleu primaire */





.sector-color-card:hover {transform:translateY(-6px); box-shadow:0 8px 20px rgba(0,0,0,.15);}
.sector-color-card .icon {background:rgba(255,255,255,.15); width:60px; height:60px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:1rem;}
.sector-color-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0abde3 100%);
  }
/* Dans public/css/custom.css */
.sector-card-modern-wrapper {
    display: block;
    transition: transform 0.3s ease;
    height: 100%;
  }

  .sector-card-modern {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    text-align: center;
  }

  /* .sector-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  } */

  .sector-card-modern-wrapper:hover {
    transform: translateY(-8px);
    text-decoration: none;
  }

  .sector-card-modern-wrapper:hover .sector-card-modern {
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  /* .sector-card-modern-wrapper:hover .sector-card-modern::before {
    transform: scaleX(1);
    background: var(--accent);
  } */

  .sector-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(22, 71, 115, 0.1) 0%, rgba(59, 140, 110, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s ease;
  }

  .sector-card-modern-wrapper:hover .sector-card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
  }

  .sector-card-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: black;
    /* color: var(--primary); */
    margin-bottom: 1rem;
    transition: color 0.3s ease;
  }

  .sector-card-modern .badge {
    background: #E48D1E;
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
  }

  .sector-card-modern-wrapper:hover .badge {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .sector-card-modern-wrapper:hover .sector-card-title {
    color: var(--accent);
  }

  .sector-card-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f3f5;
  }

  .sector-card-footer .btn {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border-width: 1.5px;
  }

  .sector-card-modern-wrapper:hover .btn {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
  }

  /* Responsive */
  @media (max-width: 991.98px) {
    .sector-card-modern {
      padding: 1.5rem 1rem;
    }

    .sector-card-icon {
      width: 70px;
      height: 70px;
      font-size: 1.75rem;
    }
  }

  @media (max-width: 575.98px) {
    .sector-card-modern {
      padding: 1.5rem 1rem;
    }

    .sector-card-icon {
      width: 60px;
      height: 60px;
      font-size: 1.5rem;
    }

    .sector-card-title {
      font-size: 1.1rem;
    }
  }
