/*
Palette de couleurs :
- Fond principal : #f8f9fa (gris très clair)
- Fond secondaire (cartes, etc.) : #ffffff (blanc)
- Couleur primaire (titres, accents) : #2c3e50 (bleu ardoise)
- Couleur secondaire (détails, liens) : #c5a47e (doré)
- Texte principal : #343a40 (gris foncé)
- Texte secondaire/discret : #6c757d (gris moyen)
*/

:root {
    --primary: #2c3e50; 
    --secondary: #c5a47e;
    --dark: #343a40;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --font-family-sans-serif: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* =============================
   Responsive & Modern 2025 Enhancements
   ============================= */

/* Fluid typography scale */
:root {
    --fs-hero-heading: clamp(2rem, 3.2vw + 0.5rem, 4.2rem);
    --fs-hero-sub: clamp(1.05rem, 1.2vw + 0.6rem, 1.85rem);
    --fs-section-heading: clamp(1.9rem, 1.5vw + 1rem, 3.2rem);
    --fs-section-sub: clamp(1rem, 0.6vw + 0.75rem, 1.35rem);
    --layout-max: 1320px;
    --layout-readable: 780px;
}

/* Base refinements */
body { line-height: 1.55; -webkit-font-smoothing: antialiased; }
.content-wrapper, .main-content-wrapper { width: 100%; }

.hero-heading, .hero .hero-heading { font-size: var(--fs-hero-heading); }
.hero-subheading, .hero .hero-subheading { font-size: var(--fs-hero-sub); }
.section-heading { font-size: var(--fs-section-heading); }
.section-subtitle, .section-subheading { font-size: var(--fs-section-sub); }

.hero-box, .services-hero .hero-box, .about-hero .hero-box, .contact-hero .hero-box {
    max-width: var(--layout-max);
    margin-left: auto;
    margin-right: auto;
}

/* Constrain very wide paragraphs for readability */
.max-w-prose, .timeline-content p, .hero-subtitle, .cta-text { max-width: var(--layout-readable); }

/* Cards spacing adjustments */
.service-brief-card, .why-card, .highlight-card, .contact-card { will-change: transform; }

/* Improve focus states for accessibility */
:focus-visible { outline: 3px solid #dc3545; outline-offset: 3px; }

/* Navigation better tap targets on mobile */
@media (max-width: 575.98px) {
    #mainNav .navbar-nav .nav-link { padding: 0.85rem 0; font-size: 0.95rem; }
}

/* Hero vertical rhythm across breakpoints */
.hero, .services-hero, .contact-hero { padding-top: clamp(6rem, 12vh, 12rem); padding-bottom: clamp(5rem, 11vh, 11rem); }
.about-hero { padding-top: clamp(4rem, 10vh, 8rem); padding-bottom: clamp(3rem, 9vh, 6rem); }

/* Timeline: always keep vertical single column layout */

/* Ultra-wide screens: prevent overlong lines */
@media (min-width: 1600px) {
    body { font-size: 1.05rem; }
    .hero-box { padding: 5rem 6rem; }
}
@media (min-width: 1900px) {
    .hero-box { max-width: 1500px; }
    .hero, .services-hero, .contact-hero { padding-top: 18rem; padding-bottom: 16rem; }
}

/* Compact devices (<=400px) refinements */
@media (max-width: 400px) {
    .hero-box, .services-hero .hero-box, .contact-hero .hero-box { padding: 2.2rem 1.5rem; }
    .hero-heading { line-height: 1.25; }
    .contact-card { padding: 1.4rem 1.2rem; }
}

/* Tablet refinements */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-box { padding: 3rem 2.5rem; }
    .why-card, .service-brief-card { margin-bottom: 1.5rem; }
}

/* Medium screens adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-box { padding: 3.5rem 3rem; }
    .about-hero .hero-box { flex-direction: column; }
    .about-hero .me-text { margin-left: 0; margin-top: 1.5rem; }
}

/* About hero layout: stack on small */
.about-hero .hero-box { display: flex; flex-direction: row; align-items: center; gap: clamp(1.5rem, 3vw, 3.5rem); }
@media (max-width: 767.98px) {
    .about-hero .hero-box { flex-direction: column; text-align: center; }
    .about-hero .me-text { margin-left: 0 !important; }
}

/* Profile image responsiveness */
.me-img { max-width: clamp(160px, 28vw, 260px); height: auto; border-radius: 12px; }

/* Grid enhancements for service highlight cards on larger screens */
.services-highlight .row { row-gap: 2.2rem; }
@media (min-width: 1200px) {
    .services-highlight .row { row-gap: 2.8rem; }
}

/* Contact cards: equal height & wrap */
.contact-hero .row { align-items: stretch; }
.contact-card { display: flex; flex-direction: column; justify-content: center; }

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Smooth container max width control for readability on huge displays */
body > .content-wrapper, body > .main-content-wrapper, .main-content-wrapper > .container, .content-wrapper > .container { max-width: 100%; }
.container, .container-fluid { width: 100%; }
@media (min-width: 1500px) { .container { max-width: 1440px; } }
@media (min-width: 1800px) { .container { max-width: 1660px; } }

/* Refine animations (replace placeholder ellipses) */
@keyframes navDrop { 0% {opacity:0; transform: translateY(-30px);} 60% {opacity:1; transform: translateY(6px);} 80% {transform: translateY(-2px);} 100% {opacity:1; transform: translateY(0);} }
@keyframes contact-pulse { 0% {box-shadow:0 0 0 0 rgba(220,53,69,0.0);} 60% {box-shadow:0 0 0 18px rgba(220,53,69,0);} 100% {box-shadow:0 0 0 0 rgba(220,53,69,0);} }
@keyframes cardBounceIn { 0% {opacity:0; transform: translateY(40px) scale(.95);} 60% {opacity:1; transform: translateY(-8px) scale(1.02);} 100% {opacity:1; transform: translateY(0) scale(1);} }

/* Apply bounce to highlight cards on reveal */
.highlight-card.visible { animation: cardBounceIn .9s cubic-bezier(.22,1.12,.39,.98); }

/* Replace gradientBG placeholder */
@keyframes gradientBG { 0% {background-position:0% 50%;} 50% {background-position:100% 50%;} 100% {background-position:0% 50%;} }

/* Utility classes */
.mt-section { margin-top: clamp(3rem, 7vh, 6rem); }
.pb-section { padding-bottom: clamp(3rem, 7vh, 6rem); }
.center-inline { margin-left: auto; margin-right: auto; }
.max-readable { max-width: var(--layout-readable); }

/* Refined hover scaling to reduce layout shift */
.service-brief-card:hover, .why-card:hover, .highlight-card:hover, .contact-card:hover { will-change: transform; }

/* Prevent extreme horizontal stretch of hero text */
.hero-heading, .hero-subheading { max-width: 52ch; }

/* Better spacing between stacked sections on mobile */
@media (max-width: 575.98px) {
    .page-section { padding: 4rem 0; }
    .cta-contact { padding: 4.5rem 0; }
}

/* Footer spacing responsive */
@media (max-width: 575.98px) {
    .footer .row > div { margin-bottom: 1rem; }
}

/* Larger interactive targets on touch */
@media (hover: none) and (pointer: coarse) {
    .btn, .contact-card, .highlight-card { transition: none; }
    .contact-card:hover, .highlight-card:hover { transform: none; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
}

/* Ensure images scale gracefully */
img { max-width: 100%; height: auto; }

/* Strengthen contrast for secondary text on very small screens */
@media (max-width: 360px) { .text-muted { color: #555 !important; } }

/* End Responsive Enhancements */

main {
    flex: 1;
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Use min-height for better flexibility */
    font-family: var(--font-family-sans-serif);
    margin: 0;
    color: var(--dark);
    background-color: var(--light);
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.main-content-wrapper {
    flex-grow: 1;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-muted {
    color: var(--gray) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.page-section {
    padding: 6rem 0;
}

.section-heading {
    font-family: var(--font-family-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subheading {
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    font-family: var(--font-family-sans-serif);
}

/* Barre de navigation */
#mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    border-bottom: none;
}

#mainNav .navbar-brand {
    font-family: var(--font-family-heading);
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
}

.navbar-logo {
    height: 80px; /* Adjust as needed */
    width: auto;
    margin-right: 15px; /* Space between logo and nav items */
}

#mainNav .navbar-nav .nav-item .nav-link {
    font-family: var(--font-family-sans-serif);
    font-size: 0.95rem;
    color: var(--dark);
    letter-spacing: 0.0625em;
    transition: color 0.3s;
    font-weight: 600;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link.active {
    color: var(--secondary);
}

#mainNav.navbar-shrink {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: var(--white);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

/* Hero Section */
/* Correction du hero background */
.hero {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 12rem;
    color: #fff;
    background: url("assets/images/fond_index.png") center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-box {
    background: rgb(40 40 40 / 96%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 15px;
    padding: 4rem 5rem;   /* Gros padding pour respirer */
    width: 100%;          /* Prend toujours toute la largeur */
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    margin: 0 auto;       /* Centre le contenu si besoin */
}

.hero-heading {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-family: var(--font-family-heading);
    color: var(--white);
}

.hero-subheading {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: #f1f1f1;
}



/* On neutralise le fond de particles-js pour ne pas écraser l'image */
#particles-js {
    background: transparent !important;
    z-index: 1;
}


.page-header-custom {
    padding-top: 8rem;
    padding-bottom: 8rem;
    text-align: center;
    color: var(--dark);
    background-color: var(--white);
    border-bottom: 1px solid #e9ecef;
}

.page-header-custom .page-header-heading {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-family-heading);
    color: var(--primary);
}

.page-header-custom .page-header-subheading {
    font-size: 1.3rem;
    font-weight: 300;
}

.hero .hero-heading {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: var(--font-family-heading);
    color: var(--white);
}

.hero .hero-subheading {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 3rem;
    color: #ff0000;
    font-weight: 400;
    font-family: monospace;
}

.btn-primary {
    background-color: var(--light); /* Soft, near-white background */
    border-color: var(--light);
    color: var(--primary); /* Dark text for contrast */
    font-weight: 700;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Softer shadow */
}

.btn-primary:hover {
    background-color: #e0e0e0; /* Slightly darker light on hover */
    border-color: #e0e0e0;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15); /* Softer shadow on hover */
}

/* Section Services (Approche) */
#services {
    background-color: var(--white);
}

.fa-stack {
    margin-bottom: 1.5rem;
}

.fa-stack-2x {
    color: var(--primary); /* Couleur du cercle par défaut (bleu) */
    opacity: 0.1;
}

.fa-stack-1x {
    color: var(--white); /* Couleur de l'icône par défaut (blanc) */
}

#services h4 {
    font-family: var(--font-family-heading);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Section Avantages */
#avantages {
    background-color: var(--light);
}

.avantage-card {
    background-color: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.03);
}

.avantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.07);
    border-color: rgba(44, 62, 80, 0.2);
}

.avantage-icon {
    /* Cette règle est pour le conteneur, pas l'icône directement */
    /* La couleur de l'icône sera gérée par les règles fa-stack-1x et fa-stack-2x */
}

#avantages .fa-stack-2x {
    color: var(--secondary); /* Le cercle derrière l'icône (doré) */
    opacity: 0.1;
}



/* Call to action en bas de la section avantages */
.bg-dark.d-inline-block {
    background-color: var(--primary) !important;
}
.bg-dark.d-inline-block p, .bg-dark.d-inline-block strong {
    color: var(--white) !important;
}


/* Footer */
.footer {
    background-color: var(--white);
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
    border-top: 1px solid #e9ecef;
}

.footer .btn-social {
    background-color: var(--light);
    border: 1px solid #dee2e6;
    color: var(--dark);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer .btn-social:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.footer a.link-dark {
    color: var(--gray) !important;
    text-decoration: none;
}

.footer a.link-dark:hover {
    color: var(--primary) !important;
    text-decoration: underline;
}

/* Ajustements Bootstrap */
.navbar-toggler {
    border: none;
    font-size: 1.25rem;
    padding: 0.75rem 1rem;
    color: var(--dark);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* On s'assure que le contenu ne soit pas caché par la navbar fixe */
.content-wrapper {
    padding-top: 90px; /* Hauteur approximative de la nav après shrink */
}

#mainNav.navbar-shrink {
    /* Pas de changement de padding-top du body, on le gère déjà */
}

/* On retire le padding-top du body si la nav n'est pas fixe au début */
@media (min-width: 992px) {
    .content-wrapper {
        padding-top: 0;
    }
    #mainNav {
        padding-top: 1rem;
        padding-bottom: 1rem;
        background-color: var(--white);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    }
    #mainNav.navbar-shrink {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .hero {
        padding-top: 10rem; /* Ajustement pour la nav fixe */
        padding-bottom: 10rem;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    #mainNav {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        background-color: var(--white);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    }
    #mainNav.navbar-shrink {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .hero {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
  .hero {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-box { 
    padding: 2rem 2rem !important;
    margin-bottom: 1.5rem;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    max-width: 95vw;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .hero .hero-heading {
    font-size: 1.15rem;
    line-height: 1.35;
    word-break: break-word;
    text-align: left;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  .hero .hero-subheading {
    font-size: 1rem;
    line-height: 1.5;
    color: #ff0000;
    font-family: var(--font-family-sans-serif);
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-align: left;
  }
  .hero .btn {
    margin-top: 1.2rem;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
  }

  /* Ajout pour le header à propos mobile */
  .about-hero {
    padding-top: 6.5rem;
    padding-bottom: 2.5rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about-hero .hero-box {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 1.5rem;
    padding: 2rem 1.2rem !important;
    gap: 1.2rem;
  }
  .about-hero .me-photo {
    margin-bottom: 1rem;
  }
  .about-hero .me-text {
    margin-left: 0 !important;
  }
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero {
    position: relative; /* Ensure hero content is positioned relative to this */
    overflow: hidden; /* Hide particles outside hero bounds */
}


.service-brief-card {
    background-color: var(--light);
    border: 1px solid #e9ecef;
    border-radius: 15px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    cursor: pointer;
}

.service-brief-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(220, 53, 69, 0.6); /* rouge agréable */
    box-shadow: 0 12px 24px rgba(220, 53, 69, 0.25); /* glow rouge subtil */
    background-color: #fff;
}

.service-brief-icon .fa-3x {
    color: var(--primary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-brief-card:hover .service-brief-icon .fa-3x {
    color: #dc3545; /* rouge élégant */
    transform: scale(1.15);
}

/* Section Pourquoi MD Solutions TI ? */
#why-mdsolutions {
    background-color: var(--light); /* Consistent with other light sections */
}

#why-mdsolutions .card {
    /* Inherits most styles from Bootstrap cards */
}

#why-mdsolutions .card-body {
    /* Inherits most styles from Bootstrap card-body */
}

#why-mdsolutions .card-title {
    font-family: var(--font-family-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

#why-mdsolutions .card-text {
    font-size: 0.95rem;
}

#why-mdsolutions .fa-4x {
    color: var(--primary); /* Ensure icons are primary color */
}
/* Services Page Specific Styles */
.list-group-item {
    border-color: #e9ecef; /* Light border for list items */
    padding-left: 0;
}

.list-group-item strong {
    color: var(--primary); /* Make strong text primary color */
}

.section-heading .fas {
    margin-right: 0.5rem;
    color: var(--primary); /* Ensure icons in section headings are primary color */
}


.service-card {
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card .icon-box i {
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .icon-box i {
    color: #2c3e50; /* ton bleu foncé */
    transform: scale(1.2);
}

.service-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.service-card ul li i {
    margin-top: 3px; /* recentre verticalement si texte sur 2 lignes */
    flex-shrink: 0;
}

/** region briefcase cutom **/

/* Animation initiale (invisible + décalée) */
.service-brief-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-brief-card.visible {
    opacity: 1;
    transform: translateY(0);
}


.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.service-link:hover {
    color: inherit;
}


.why-card {
    background-color: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 15px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    opacity: 0;
    transform: translateY(40px);
}

.why-card.visible {
    opacity: 1;
    transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(220, 53, 69, 0.6);
    box-shadow: 0 12px 24px rgba(220, 53, 69, 0.25);
}

.why-icon .fa-3x {
    color: var(--primary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.why-card:hover .why-icon .fa-3x {
    color: #dc3545;
    transform: scale(1.15);
}


.section-subtitle {
    color: #6c757d;              /* muted grey */
    font-weight: 600;            /* texte plus gras */
    text-decoration: underline;
    text-decoration-thickness: 1px; /* ligne fine */
    text-underline-offset: 6px;
    text-decoration-color: red;  /* ligne subtile rouge */
    margin-bottom: 3rem;         /* espace sous le texte */
    font-size: 1.2rem;           /* taille cohérente */
    font-style: italic;          /* petit style élégant */
}

.hidden-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible-section {
    opacity: 1;
    transform: translateY(0);
}


@keyframes navDrop {
    0% {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }
    60% {
        opacity: 1;
        transform: translateY(5px) scale(1.05);
    }
    80% {
        transform: translateY(-2px) scale(0.98);
    }
    100% {
        opacity: 1; /* reste visible */
        transform: translateY(0) scale(1);
    }
}

.navbar-nav .nav-link {
    opacity: 0;
    transform: translateY(-30px);
}

.navbar-nav .nav-link.show {
    animation: navDrop 0.6s ease-out forwards; /* forwards = garde le dernier état */
}


/* HERO SERVICES */

.hero-box {
    background: rgb(40 40 40 / 96%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 15px;
    padding: 4rem 5rem;          /* espace interne */
    width: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);

    margin: 5rem 0;              /* espace haut/bas autour de la box */
}



.services-hero {
    position: relative;
    background: url("assets/images/back_noir_clean.png") center/cover no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.services-hero .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55); /* léger assombrissement */
    z-index: 1;
}

.services-hero .hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards;
}

.hero-title {
    font-family: var(--font-family-heading);
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    color: #f1f1f1;
}

/* Animation subtile */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}




/* Section Services Highlight */
.services-highlight {
    background-color: var(--light);
}

.highlight-card {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.highlight-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(220, 53, 69, 0.25); /* Glow rouge subtil */
    border-color: rgba(220, 53, 69, 0.5);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: background 0.3s ease, transform 0.3s ease;
}

.highlight-card:hover .icon-circle {
    background: rgba(220, 53, 69, 0.2);
    transform: scale(1.15);
}

.icon-circle i {
    color: #dc3545;
    transition: color 0.3s ease;
}

.highlight-card:hover .icon-circle i {
    color: var(--primary);
}

/* Animation à l’apparition */
.highlight-card {
    opacity: 0;
    transform: translateY(40px);
}
.highlight-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}



/* Section Call-to-Action */
.cta-contact {
    background: linear-gradient(135deg, #2c3e50, #000);
    color: #fff;
    padding: 6rem 0;
    border-top: 3px solid #dc3545;
    border-bottom: 3px solid #dc3545;
}

.cta-heading {
    font-family: var(--font-family-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #f8f9fa;
}

.cta-contact .btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cta-contact .btn-primary:hover {
    background-color: #b52a37;
    border-color: #b52a37;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}


/* Hero À propos */
.about-hero {
    position: relative;
    background: #f4f5f7; /* neutre élégant */
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.about-hero .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #2c3e50, #000);
    z-index: 1;
}
.about-hero .hero-content {
    position: relative;
    z-index: 2;
}
.about-hero .hero-box {
    /*background: rgba(40, 40, 40, 0.65);*/
    background: rgb(104 0 0);
    padding: 3rem 4rem;
    border-radius: 15px;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.about-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-family-heading);
}
.about-hero .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: #f1f1f1;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 3rem auto;
    padding-left: 30px;
    /*border-left: 3px solid var(--secondary);*/
    border-left: 3px solid #dc3545; /* rouge élégant */
}
.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}
.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.timeline-icon {
    position: absolute;
    left: -22px;
    top: 0;
    width: 40px;
    height: 40px;
    /*background: var(--secondary);*/
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.timeline-content {
    background: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    max-width: 600px;
}
.timeline-content h3 {
    font-family: var(--font-family-heading);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--primary);
}
.timeline-content p {
    font-size: 0.85rem;
    color: var(--dark);
    margin: 0;
    line-height: 1.5;
}

/* Call to action */
.cta-contact {
    background: linear-gradient(135deg, #2c3e50, #000);
    color: #fff;
    padding: 6rem 0;
    border-top: 3px solid #dc3545;
    border-bottom: 3px solid #dc3545;
}
.cta-heading {
    font-family: var(--font-family-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}
.cta-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #f8f9fa;
}
.cta-contact .btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.cta-contact .btn-primary:hover {
    background-color: #b52a37;
    border-color: #b52a37;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* HERO CONTACT */
.contact-hero {
    position: relative;
    background: url("assets/images/back_contact_5.png") center/cover no-repeat;
    min-height: 100vh; /* prend toute la hauteur */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.contact-hero .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 1;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero .hero-box {
    background: rgba(40, 40, 40, 0.65);
    padding: 4rem 3rem;
    border-radius: 15px;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.contact-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-family-heading);
}

.contact-hero .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: #f1f1f1;
    margin-bottom: 2.5rem;
}

/* Contact hero subtitle centered */
.contact-hero-subtitle { 
    font-size: clamp(1.05rem, 1.1vw + 0.7rem, 1.25rem); 
    color: rgba(255,255,255,0.92); 
    text-align: center; 
    max-width: 600px; 
    margin: 0 auto; 
    line-height: 1.5; 
    font-weight: 400; 
}
@media (max-width: 575.98px) { 
    .contact-hero-subtitle { font-size: 1.02rem; max-width: 90%; } 
}

/* CONTACT CARDS */
.contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
    cursor: pointer;
    border: 1.5px solid #e9ecef;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(220, 53, 69, 0.25), 0 0 0 0 rgba(220,53,69,0.15);
    border-color: #dc3545;
    animation: contact-pulse 0.7s;
}

@keyframes contact-pulse {
    0% {
        box-shadow: 0 12px 25px rgba(220, 53, 69, 0.25), 0 0 0 0 rgba(220,53,69,0.15);
    }
    60% {
        box-shadow: 0 16px 32px rgba(220, 53, 69, 0.35), 0 0 0 12px rgba(220,53,69,0.10);
    }
    100% {
        box-shadow: 0 12px 25px rgba(220, 53, 69, 0.25), 0 0 0 0 rgba(220,53,69,0.15);
    }
}

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

.contact-card:hover i {
    transform: scale(1.2);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-family: var(--font-family-heading);
}

.contact-text {
    font-size: 1.15rem;
    color: var(--dark);
    font-family: var(--font-family-sans-serif);
}

/* Couleurs brand */
.contact-card .fa-envelope { color: #2c3e50; }
.contact-card .fa-facebook-messenger { color: #0084FF; }
.contact-card .fa-linkedin { color: #0077B5; }



.me-photo {
    flex-shrink: 0;
}

.me-img {
    width: 140px;          /* ajuste la taille selon ce que tu veux */
    height: 140px;
    border-radius: 50%;    /* rond parfait */
    object-fit: cover;     /* garde le centrage */
    border: 4px solid #fff; /* petit cadre blanc élégant */
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.me-text {
    flex: 1;
}

@media (max-width: 767.98px) {
  .contact-hero {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .contact-hero .hero-box {
    padding: 2rem 1.2rem !important;
    margin-bottom: 1.5rem;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    max-width: 95vw;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .contact-hero .hero-title {
    font-size: 1.25rem;
    line-height: 1.35;
    word-break: break-word;
    text-align: left;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  .contact-hero .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    color: #f1f1f1;
    font-family: var(--font-family-sans-serif);
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  .contact-hero .btn {
    margin-top: 1.2rem;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
  }
}

/* Animation bounce pour les cartes services */
@keyframes cardBounceIn {
  0% { opacity: 0; transform: scale(0.8) translateY(60px);}
  60% { opacity: 1; transform: scale(1.05) translateY(-10px);}
  80% { transform: scale(0.98) translateY(2px);}
  100% { opacity: 1; transform: scale(1) translateY(0);}
}

.highlight-card.visible {
  animation: cardBounceIn 0.9s cubic-bezier(.23,1.04,.53,.97) forwards;
}

/* Halo lumineux sur les icônes */
.icon-circle {
  box-shadow: 0 0 0 0 rgba(220,53,69,0.15), 0 0 18px 4px rgba(220,53,69,0.12);
  transition: box-shadow 0.3s;
}
.highlight-card:hover .icon-circle {
  box-shadow: 0 0 0 12px rgba(220,53,69,0.10), 0 0 32px 8px rgba(220,53,69,0.18);
}

/* Badge Nouveau */
.badge.bg-danger {
  font-size: 1rem;
  padding: 0.5em 1em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(220,53,69,0.15);
  letter-spacing: 1px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  z-index: 2;
}

/* Bouton Découvrir sous chaque carte */
.btn-outline-danger {
  border: 2px solid #dc3545;
  color: #dc3545;
  background: transparent;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
}
.btn-outline-danger:hover {
  background: #dc3545;
  color: #fff;
}

/* Hero box center alignment for services */
.hero-box-center { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:1.4rem; padding:clamp(2.5rem,4vw,4rem) clamp(1.5rem,3vw,3.5rem); margin-inline:auto; }
.hero-box-center .hero-title { letter-spacing:1px; }
.hero-box-center .hero-subtitle span { line-height:1.35; }
@media (max-width:575.98px){ .hero-box-center { gap:1.1rem; } }
@media (min-width:1400px){ .hero-box-center { max-width:1100px; } }

/* Timeline balanced size for large screens */
@media (min-width: 1200px) {
    .timeline {
        max-width: 900px;
        margin: 3rem auto;
        padding-left: 30px;
    }
    
    .timeline-icon {
        left: -20px;
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        padding: 1.2rem 1.8rem;
        max-width: 900px;
    }
    
    .timeline-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .timeline-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .timeline-item {
        margin-bottom: 2.5rem;
    }
}

/* Service Features List Styling */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    line-height: 1.4;
}

.service-features li:last-child {
    margin-bottom: 0;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.feature-icon i {
    color: #dc3545;
    font-size: 12px;
}

.feature-text {
    flex: 1;
}

/* Service Card Structure */
.service-card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-body {
    background: rgba(248, 249, 250, 0.4);
}

.service-card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
}

/* Highlight Card Responsive Improvements */
.highlight-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(220, 53, 69, 0.25);
    border-color: rgba(220, 53, 69, 0.4);
}

/* Media Queries for Service Cards */
@media (max-width: 767.98px) {
    .service-features li {
        margin-bottom: 12px;
    }
    
    .service-card-header, 
    .service-card-body, 
    .service-card-footer {
        padding: 15px !important;
    }
    
    .highlight-card {
        margin-bottom: 15px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .service-features {
        font-size: 0.95rem;
    }
}

/* Improve the icons in service cards */
.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(220, 53, 69, 0.1);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.highlight-card:hover .icon-circle {
    background: rgba(220, 53, 69, 0.2);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

.icon-circle i {
    color: #dc3545;
    transition: all 0.3s ease;
}

.highlight-card:hover .icon-circle i {
    transform: scale(1.1);
}

/* Button styling improvement */
.service-card-footer .btn-outline-danger {
    padding: 8px 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.service-card-footer .btn-outline-danger:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Services section refined layout */
.services-highlight .row {
    justify-content: center;
    row-gap: 2rem;
}

@media (min-width: 992px) {
    .services-highlight .row {
        row-gap: 2.5rem;
    }
}

/* Add subtle hover animation to service features */
.service-features li {
    transition: transform 0.2s ease;
}

.highlight-card:hover .service-features li {
    transform: translateX(3px);
}

.highlight-card:hover .service-features li:nth-child(1) { transition-delay: 0.05s; }
.highlight-card:hover .service-features li:nth-child(2) { transition-delay: 0.1s; }
.highlight-card:hover .service-features li:nth-child(3) { transition-delay: 0.15s; }
.highlight-card:hover .service-features li:nth-child(4) { transition-delay: 0.2s; }

/* Refine service card contents */
.service-card-body {
    flex: 1; /* Make body take up available space */
}

.service-card-header {
    background: linear-gradient(to bottom, #fff, #fafafa);
}

.service-card-header p {
    margin-bottom: 0;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

/* Better mobile spacing */
@media (max-width: 575.98px) {
    .service-card-header {
        padding: 1.75rem 1.25rem !important;
    }
    
    .service-card-body {
        padding: 1.5rem 1.25rem !important;
    }
    
    .service-card-footer {
        padding: 1.25rem !important;
    }
}

/* Equal height enforcement */
.highlight-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}



.footer-pro {
    background: linear-gradient(135deg, #2c3e50, #000);
    color: #fff;
    font-size: 0.95rem;
}

.footer-pro .footer-logo {
    height: 50px;
}

.footer-pro .footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.footer-pro .footer-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    margin: 0 8px;
    transition: color 0.3s;
}
.footer-pro .footer-nav a:hover {
    color: #dc3545;
}

.footer-pro .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s;
}
.footer-pro .footer-social a:hover {
    background: #dc3545;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(220,53,69,0.3);
}

.footer-pro .footer-divider {
    border-color: rgba(255,255,255,0.15);
}
.footer-pro .text-muted a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.footer-pro .text-muted a:hover {
    color: #fff;
}



.cta-about-2 {
    background: #fff;
    text-align: center;
    padding: 4rem 2rem;
    border-top: 2px solid #dc3545;
    border-bottom: 1px solid #e9ecef;
}

.cta-about-2 h2 {
    font-family: var(--font-family-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}


.cta-about-2 p {
    font-size: 1.15rem;
    color: var(--dark);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-about-2 .btn-primary {
    color: white;
    background-color: #dc3545;
    border: none;
    padding: 1rem 2.8rem;  /* plus de souffle */
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;     /* texte plus lisible */
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-about-2 .btn-primary:hover {
    background-color: #b52a37;
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(220,53,69,0.3);
}

/* Make the character counter red, bold, and larger for visibility */
.message-counter-visible {
    color: #fff;
    font-weight: bold;
    font-size: 1.15rem;
    margin-top: 0.5rem;
    text-align: right;
    background: none;
    display: block;
}

/* Contact Form Styles */
.contact-form-wrapper {
    max-width: 430px;
    margin: 0 auto 2.5rem auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(44,62,80,0.13);
    padding: 2.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-form {
    width: 100%;
}
.contact-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
}
.contact-form .form-control {
    border-radius: 10px;
    border: 1.5px solid #e9ecef;
    font-size: 1.08rem;
    padding: 0.7rem 1rem;
    background: #f8f9fa;
    transition: border-color 0.2s;
}
.contact-form .form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220,53,69,0.08);
}
.contact-form .btn-primary {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0.9rem 0;
    border-radius: 10px;
    background: #dc3545;
    border: none;
    color: #fff;
    box-shadow: 0 4px 16px rgba(220,53,69,0.10);
    transition: background 0.2s, box-shadow 0.2s;
}
.contact-form .btn-primary:hover {
    background: #b52a37;
    box-shadow: 0 8px 24px rgba(220,53,69,0.18);
}
.message-counter-visible {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.08rem;
    margin-top: 0.3rem;
    text-align: right;
    background: none;
    display: block;
}

/* Promotion Facebook Button */
.btn-facebook-promo {
    background: #1877f2;
    color: #fff;
    font-weight: 700;
    font-size: 1.08rem;
    border-radius: 10px;
    padding: 0.85rem 2.2rem;
    box-shadow: 0 4px 16px rgba(24,119,242,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}
.btn-facebook-promo:hover {
    background: #145db2;
    color: #fff;
    box-shadow: 0 8px 24px rgba(24,119,242,0.18);
    text-decoration: none;
}
.facebook-promo-text {
    color: #1877f2;
    font-size: 1rem;
    font-weight: 500;
}
@media (max-width: 575.98px) {
    .btn-facebook-promo {
        font-size: 0.98rem;
        padding: 0.7rem 1.2rem;
    }
    .facebook-promo-text {
        font-size: 0.95rem;
    }
}
