@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    font-family: "Poppins", sans-serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 0.5rem;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #3851a2;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 81, 162, 0.8);
}

body {
    font-size: 1.6rem;
    box-sizing: border-box;
}

a,
a:hover {
    text-decoration: none;
}

p {
    margin-bottom: 0;
    font-weight: 400;
}
p a {
    color: #3851a2;
}
@media only screen and (max-width: 62em) {
    p {
        font-size: initial;
    }
}

ul {
    padding-left: 20px;
}
button {
    border: none;
    cursor: pointer;
    background-color: none;
}
button:focus {
    outline: none;
}

input:focus {
    outline: none;
}

section {
    padding: 5rem 0;
}
@media only screen and (max-width: 48em) {
    section h1 {
        font-size: 30px;
    }
}
@media only screen and (max-width: 48em) {
    section {
        margin-bottom: 0;
        padding: 4 0 4rem 0;
    }
}
section img {
    width: 100%;
}

.btn-custom {
    background: #3851a2;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid white;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: #fff;
    color: #3851a2;
    border: 1px solid #3851a2;
}

.btn-custom1 {
  background: #232427;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 42px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-custom1:hover {
  background: #fff;
  color: #232427;
  border: 1px solid #232427;
}

  .owl-header .item {
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 2rem;
      font-weight: bold;
    }

/* Personnalisation des flèches */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.owl-nav button {
    background: rgba(0,0,0,0.5) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    font-size: 2rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-nav button:hover {
    background: #3851A2 !important;
}

.owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}
/**********/

.hero-section {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* équivalent à "fill + object-cover" */
  z-index: 1;
}

/* Vidéo héro */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none; /* Empêche l'interaction avec la vidéo */
}

/* Overlay (calque coloré) */
.hero-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60%;
  height: 60%;
  background: #21CDC0;
  mix-blend-mode: multiply; /* effet de superposition */
  z-index: 2;
}
@media only screen and (max-width: 1024px) {
  .hero-overlay {
    width: 100%;
  }
}
@media only screen and (max-width: 36em) {
  .hero-overlay {
    height: 100vh;
  }
}

/* Texte */
.hero-content {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60%;
  padding: 50px 70px;
  color: #fff;
  z-index: 3;
}
@media only screen and (max-width: 1024px) {
  .hero-content {
    width: 100%;
    padding: 40px 70px;
  }
}
@media only screen and (max-width: 36em) {
  .hero-content {
    padding: 35px 35px;
  }
}

.hero-content h1 {
  font-weight: bold;
  font-size: 30px;
  margin-bottom: 20px;
}
/**********/

.vision-card {
    background: #fff;
    padding: 20px;
    border-radius: 13px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.vision-card img {
    height: 40px;
    width: 40px;
    margin-bottom: 15px;
}

.vision-card p {
    color: #0e204d;
    font-size: 15px;
}

.news-card {
    background: #f5f7fa;
    border-radius: 20px;
    border: 1px solid white;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    height: 450px;
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 768px) {
  .news-card {
        
    height: initial;
    }
}

.news-card img {
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-card__descrip {
    padding: 25px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card__descrip h3 {
    margin-bottom: 15px;
}
.news-card__descrip p {
    font-size: 14px;
    margin-bottom: 15px;
    flex: 1;
}

.news-card__descrip .btn-custom {
    margin-top: auto;
}

.article-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title-link:hover {
    color: #3851a2;
    text-decoration: none;
}

/*****************************/

figure.snip1157 {
  position: relative;
  overflow: hidden;
  margin: 10px;
  width: 100%;
  color: #333;
  text-align: left;
  box-shadow: none !important;
}

figure.snip1157 * {
  transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

figure.snip1157 img {
  max-width: 100%;
  vertical-align: middle;
  height: 60px !important;
  width: 60px !important;
  border-radius: 50%;
  margin: 10px 0 0 10px;
  border: 2px solid #21CDC0;
}

figure.snip1157 blockquote {
  display: block;
  border-radius: 8px;
  position: relative;
  background-color: rgba(178, 193, 230, 0.4431372549);
  padding: 25px 30px 30px 30px;
  font-size: 0.8em;
  font-weight: 500;
  margin: 0;
  line-height: 1.6em;
}

figure.snip1157 blockquote:before,
figure.snip1157 blockquote:after {
  font-family: "FontAwesome";
  content: "“";
  position: absolute;
  font-size: 50px;
  opacity: 0.3;
  font-style: normal;
}

figure.snip1157 blockquote:before {
  top: 10px;
  left: 20px;
}

figure.snip1157 blockquote:after {
  content: "”";
  right: 15px;
  bottom: 0;
}

figure.snip1157 .author {
  position: absolute;
  bottom: 30px;
  padding: 0 10px 0 80px;
  margin: 0;
  text-transform: uppercase;
  color: #ffffff; 
  transform: translateY(50%);
}

figure.snip1157 .author h5 {
  opacity: 0.8;
  margin: 0;
  font-weight: 800;
  display: flex;
  color: black;
}

figure.snip1157 .author h5 span {
  font-weight: 400;
  text-transform: none;
  padding-left: 5px;
}

figure.snip1157 .author small {
  opacity: 0.6;
  font-style: italic;
  margin: 0;
  font-weight: 400;
  text-transform: none;
}

.comments-snip .owl-carousel .owl-nav.disabled {
  display: flex !important;
}
/**********************/

.news-card a {
    display: block;
}

.news-card img {
    transition: transform 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card:hover {
    border-color: #3851a2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.badge-custom {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #21cdc0;
    color: #fff;
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 6px;
}

.date-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.aspect-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #fff;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 10px;
    margin-bottom: 15px;

}
.aspect-card h3 {
    color: #1e1e1e;
}
.aspect-card p {
    color: #3851a2;
    font-size: 14px;
}

.aspect-card:hover {
    border-color: #3851a2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.aspect-card .card-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 70px;
    font-weight: bold;
    color: #eaedf5;
    line-height: 1;
    z-index: 0;
}

.aspect-card .card-body {
    position: relative;
    z-index: 1;
}
.aspect-card .card-body img {
    width: 50px;
    height: 50px;
    margin-bottom: 40px;
}

.team-card {
    background: #f5f7fa;
    border: 1px solid #fff;
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.team-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #3851a2;
}

.team-card img {
    -o-object-fit: cover;
    object-fit: cover;
    height: 220px;
}

.team-card .role {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #3851a2;
}
/*.contact-section {
    padding: 50px 0;
}*/

.contact-section .SectionTitle {
    margin-bottom: 15px;
}
.contact-section .section-desc {
    font-size: 14px;
}
.contact-section form label {
    font-size: 12px;
    margin-bottom: 5px;
}
.contact-section form input {
    padding: 12px;
    border: 1px solid #d4d7e3;
    border-radius: 12px;
    background-color: #f7fbff;
    font-size: 14px;
    outline: none;
    margin-bottom: 12px;
}
.contact-section form textarea {
    padding: 13px;
    border: 1px solid #d4d7e3;
    border-radius: 12px;
    background-color: #f7fbff;
    font-size: 14px;
    outline: none;
    margin-bottom: 12px;
}
.contact-section .btn-custom {
    width: -moz-fit-content;
    width: fit-content;
    padding: 10px 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    background: #fff;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}

.gallery-text {
    padding: 10px;
}

.gallery-text h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 5px 0;
}

.gallery-text p {
    font-size: 12px;
    margin: 0;
    color: #555;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 10px;
    max-width: 90%;
    max-height: 80vh;
    overflow: hidden;
}

.modal-content img {
    width: 100%;
    max-height: 80vh;
    -o-object-fit: contain;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.close-btn:hover {
    background: darkred;
}

.footer {
    background: #1e1e1e;
    color: white;
    padding: 70px 20px;
    font-size: 15px;

}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-col {
    margin-bottom: 20px;
}

.footer-logo {
    width: 70px;
    margin-bottom: 15px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
      font-size: 15px;
}

.footer-menu a:hover {
    color: #21cdc0; /* Accent */
}

.footer-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.footer .bold {
    font-weight: 600;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-socials .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    color: #3851a2;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footer-socials .social-link:hover {
    background-color: #21cdc0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(33, 205, 192, 0.3);
}

.footer-socials .social-link i {
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 14px;
    gap: 10px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
/* --- TOPBAR --- */
.topbar {
    background: #3851a2;
}

.topbar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
}

.topbar-item p {
    font-size: 12px;
    font-weight: 400;
    color: white;
    margin: 0;
}

.icon {
    width: 16px;
    height: 16px;
    fill: #21cdc0;
}

/* --- NAVBAR --- */
.navbar {
    background: #f6f6f6;
    padding: 10px 0;
}

.navbar i {
  color: #3851A2;
  font-size: 25px;
  display: none;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo img {
    display: block;
}

/* Navigation */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-item {
    font-size: 14px;
    font-weight: 400;
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    transition: all 0.3s;
}

.nav-item.active {
    font-weight: 600;
    color: #3851a2;
    border-bottom: 2px solid #3851a2;
}

.nav-item:hover {
    color: #3851a2;
}


/* --- Menu Burger --- */
/* --- Responsive --- */
@media (max-width: 992px) {
  /* cacher le menu par défaut */
  .nav-links {
    position: fixed;
    top: 0px;
    right: -100%;
    background: #F6F6F6;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 10px;
    width: 200px;
    transition: all 0.3s ease-in-out;
    height: 100vh;
    z-index: 11111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .nav-item {
    padding: 10px;
  }
  .navbar i {
    display: block;
  }
  .topbar {
    display: none;
  }
}

.presentation-section {
    background: url("../img/bg.png") left no-repeat;
    background-size: 600px;
}

.SectionTitle {
    margin-bottom: 28px;
}

.SectionTitle h2 {
    font-size: 30px;
    font-weight: bold;
    position: relative;
}

.SectionTitle .small-text {
    font-size: 12px;
    margin-bottom: 5px;
    color: #333;
}

.SectionTitle .title-underline {
    display: block;
    width: 80px;
    height: 4px;
    border-radius: 5px;
    background: #e63946;
    margin-top: 8px;
}

.section-desc {
    font-size: 16px;
    color: #1e1e1e;
    line-height: 1.6;
}

.InfoBox {
  display: flex;
  margin-top: 30px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
@media only screen and (max-width: 36em) {
  .InfoBox {
    display: block;
  }
}

.info-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 10px;
  padding: 12px 15px;
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid #3851A2;
}
.info-box img {
  height: 24px;
  width: 24px;
}
@media only screen and (max-width: 36em) {
  .info-box {
    margin-bottom: 10px;
    width: 100%;
    justify-content: center;
  }
}

.info-box p {
  font-size: 14px;
}

.info-box2 p {
  color: #21CDC0;
}

.info-box3 p {
  color: #3851A2;
}

/*****/
.vision-section {
    background: url("../illustrations/Img-Doctors.png") top/cover no-repeat;
}

.vision-section .section-desc {
    max-width: 500px;
    font-size: 16px;
    color: #111;
}

/********/
.actu-section .title-underline {
    background: #3851a2;
}

/****/
.aspects-section {
    background: linear-gradient(
            to top,
            rgba(33, 205, 192, 0.9),
            rgba(33, 205, 192, 0.9)
        ),
        url("../img/CameraMed.png");
    background-size: cover;
    background-position: center;
}
.aspects-section h2 {
    width: 500px;
}
@media only screen and (max-width: 48em) {
    .aspects-section h2 {
        width: 100%;
    }
}

/********************************************/
.partners-carousel img {
    height: 150px;
    width: 150px;
    -o-object-fit: contain;
    object-fit: contain;
}

.header-about {
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
            to top,
            rgba(56, 81, 162, 0.6),
            rgba(56, 81, 162, 0.6)
        ),
        url("../img/CameraMed.png");
    background-size: cover;
    background-position: center;
    min-height: 230px;
}
.header-about h1 {
    font-weight: bold;
}

.pageSectionAbout img{
    height: 400px;
    object-fit: cover;
}


.pageSectionAbout {
    border-bottom: 1px solid #d9d9d9;
}
.pageSectionAbout p {
    font-size: 14px;
}
.pageSectionAbout .imgAbs {
    position: absolute;
    top: 40px;
    right: 42%;
    z-index: 10;
    mix-blend-mode: multiply;
    width: 400px;
    height: 400px;
}
.pageSectionAbout .imgAbs1 {
    position: absolute;
    top: -25%;
    left: 42%;
    z-index: 10;
    mix-blend-mode: multiply;
    width: 400px;
    height: 400px;
}
.pageSectionAbout .imgAbs2 {
    position: absolute;
    top: 40px;
    right: 42%;
    z-index: 10;
    mix-blend-mode: multiply;
    width: 400px;
    height: 400px;
}

@media only screen and (max-width: 1024px) {

   

  .pageSectionAbout .imgAbs {
    width: 350px;
    height: 230px;
  }
  .pageSectionAbout .imgAbs1 {
    width: 258px;
    height: 258px;
    left: -7%;
    top: -48%;
  }
  .pageSectionAbout .imgAbs2 {
    width: 350px;
    height: 350px;
  }
}

@media only screen and (max-width:768px) {
    .pageSectionAboutMil .row{
        flex-direction: column-reverse;
    }

    .pageSectionAbout img{
        height: 200px;
    }
}

.header-blog {
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
            to top,
            rgba(33, 205, 192, 0.6),
            rgba(33, 205, 192, 0.6)
        ),
        url("../img/CameraMed.png");
    background-size: cover;
    background-position: center;
    min-height: 230px;
}
.header-blog h1 {
    font-weight: bold;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: 3fr 1fr;
    }
}
/* Article principal */
.blog-main {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.blog-main img {
    width: 100%;
    height: 250px;
    -o-object-fit: cover;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.badge {
    display: inline-block;
    background: #10b981;
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.blog-content h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1f2937;
}

.blog-content h2,
.blog-content h3 {
    font-weight: 600;
    color: #374151;
    margin: 1rem 0 0.5rem;
}

.blog-content p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.date {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Sidebar */
aside h2 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
}

.recent-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-article {
    display: flex;
    gap: 0.75rem;
    background: rgba(33, 205, 192, 0.2);
    padding: 0.5rem;
    border-radius: 8px;
    align-items: center;
}

.recent-article img {
    width: 80px;
    height: 60px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 6px;
}

.recent-article p {
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 4px;
}

.recent-article h3 {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    line-height: 1.3;
}

/* Pagination personnalisée */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 20px 0;
    list-style: none;
    flex-wrap: wrap;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 8px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    color: #3851a2;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination .page-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.pagination .page-link:hover::before {
    left: 100%;
}

.pagination .page-link:hover {
    background: #3851a2;
    color: #fff;
    border-color: #3851a2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 81, 162, 0.3);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #3851a2, #2940815);
    color: #fff;
    border-color: #3851a2;
    box-shadow: 0 4px 15px rgba(56, 81, 162, 0.4);
    transform: scale(1.05);
}

.pagination .page-item.active .page-link:hover {
    transform: scale(1.05) translateY(-1px);
}

.pagination .page-item.disabled .page-link {
    background: #f9fafb;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-item.disabled .page-link:hover {
    background: #f9fafb;
    color: #9ca3af;
    border-color: #e5e7eb;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Styles spéciaux pour les boutons Précédent/Suivant */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    background: #f5f7fa;
    border-color: #21cdc0;
    color: #21cdc0;
    font-weight: 500;
    padding: 0 12px;
}

.pagination .page-item:first-child .page-link:hover,
.pagination .page-item:last-child .page-link:hover {
    background: #21cdc0;
    color: #fff;
    border-color: #21cdc0;
    box-shadow: 0 6px 20px rgba(33, 205, 192, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .pagination {
        gap: 4px;
        padding: 15px 0;
    }

    .pagination .page-link {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
        border-radius: 10px;
    }

    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link {
        padding: 0 8px;
    }
}

/* Pagination personnalisée attractive */
.custom-pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border: 1px solid #e3e6ea;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); */
}

.custom-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    color: #3851a2;
    text-decoration: none;
    border: 2px solid #3851a2;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 120px;
    justify-content: center;
}

.pagination-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(56, 81, 162, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.pagination-btn:hover::before {
    left: 100%;
}

.pagination-btn:hover {
    background: #3851a2;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 81, 162, 0.3);
}

.pagination-btn.disabled {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-btn.disabled:hover {
    background: #f8f9fa;
    color: #6c757d;
    transform: none;
    box-shadow: none;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(56, 81, 162, 0.2);
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #3851a2;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.pagination-number::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(56, 81, 162, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.pagination-number:hover::before {
    width: 100%;
    height: 100%;
}

.pagination-number:hover {
    background: #3851a2;
    color: #fff;
    border-color: #3851a2;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(56, 81, 162, 0.4);
}

.pagination-number.active {
    background: linear-gradient(135deg, #3851a2, #2940815);
    border-color: #3851a2;
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(56, 81, 162, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1.15);
    }
    50% {
        transform: scale(1.2);
    }
}

.pagination-info {
    text-align: center;
    padding: 15px 25px;
    background: rgba(33, 205, 192, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(33, 205, 192, 0.3);
}

.pagination-info p {
    color: #21cdc0;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

/* Responsive pour la pagination personnalisée */
@media (max-width: 768px) {
    .custom-pagination-wrapper {
        padding: 25px 15px;
        gap: 15px;
    }

    .custom-pagination {
        gap: 8px;
    }

    .pagination-btn {
        padding: 10px 15px;
        min-width: 100px;
        font-size: 13px;
    }

    .pagination-btn span {
        display: none;
    }

    .pagination-numbers {
        padding: 6px 10px;
    }

    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }

    .pagination-info {
        padding: 12px 20px;
    }

    .pagination-info p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .custom-pagination {
        flex-direction: column;
        gap: 15px;
    }

    .pagination-btn {
        min-width: 80px;
    }
}

/* Section de recherche pour les articles de blog */
.search-section {
    background: transparent;
    border-radius: 0;
    padding: 30px 0;
    border: none;
    box-shadow: none;
}

.search-form {
    margin-bottom: 0;
}

.search-container {
    display: flex;
    gap: 15px;
    align-items: stretch;
    max-width: 800px;
    margin: 0 auto;
}

.search-input-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 18px;
    color: #3851a2;
    font-size: 16px;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 15px;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    outline: none;
}

.search-input:focus {
    border-color: #3851a2;
    box-shadow: 0 0 0 3px rgba(56, 81, 162, 0.1), 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.search-input::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.clear-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 14px;
    background: #f3f4f6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 2;
}

.clear-search:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.search-btn {
    padding: 16px 25px;
    background: linear-gradient(135deg, #21cdc0, #1bb3a8);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(33, 205, 192, 0.3);
    position: relative;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover {
    background: linear-gradient(135deg, #1bb3a8, #159892);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 205, 192, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

.search-results-info {
    margin-top: 20px;
    text-align: center;
    padding: 15px 20px;
    background: rgba(33, 205, 192, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(33, 205, 192, 0.3);
}

.search-results-info p {
    color: #21cdc0;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.search-results-info i {
    margin-right: 8px;
}

.search-results-info strong {
    color: #3851a2;
    background: rgba(56, 81, 162, 0.1);
    padding: 2px 8px;
    border-radius: 5px;
}

/* Responsive pour la recherche */
@media (max-width: 768px) {
    .search-section {
        padding: 20px;
        border-radius: 15px;
    }
    
    .search-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-input {
        padding: 14px 18px 14px 45px;
        font-size: 14px;
    }
    
    .search-icon {
        left: 15px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 14px 20px;
        font-size: 14px;
        min-width: auto;
    }
    
    .search-btn span {
        display: none;
    }
    
    .search-results-info {
        margin-top: 15px;
        padding: 12px 15px;
    }
    
    .search-results-info p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .search-section {
        padding: 15px;
    }
    
    .search-input {
        padding: 12px 15px 12px 40px;
        font-size: 13px;
    }
    
    .search-btn {
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* Animation pour l'apparition des résultats */
.search-results-info {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* État vide des résultats */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin: 20px 0;
}

.no-results i {
    font-size: 48px;
    color: #ef4444;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #ef4444;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.no-results p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* Styles pour la page de détail d'article */
.article-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    margin-bottom: 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #3851a2;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.badge-article {
    display: inline-block;
    background: #21cdc0;
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.article-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #6b7280;
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: #21cdc0;
}

.article-image-container {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-main-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.article-subtitle {
    background: rgba(33, 205, 192, 0.1);
    border-left: 4px solid #21cdc0;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 10px 10px 0;
}

.article-subtitle p {
    margin: 0;
    font-size: 1.1rem;
    color: #374151;
    font-style: italic;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-sharing {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.article-sharing h4 {
    color: #1f2937;
    margin-bottom: 20px;
    font-size: 18px;
}

.sharing-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn.facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
}

.share-btn.twitter {
    background: #1da1f2;
    color: #fff;
}

.share-btn.twitter:hover {
    background: #1991db;
    transform: translateY(-2px);
}

.share-btn.linkedin {
    background: #0077b5;
    color: #fff;
}

.share-btn.linkedin:hover {
    background: #006ba1;
    transform: translateY(-2px);
}

.share-btn.email {
    background: #6b7280;
    color: #fff;
}

.share-btn.email:hover {
    background: #5b6470;
    transform: translateY(-2px);
}

/* Articles similaires */
.similar-articles-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 0;
}

.similar-article-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.similar-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.similar-article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.similar-article-card:hover img {
    transform: scale(1.05);
}

.similar-card-content {
    padding: 20px;
}

.similar-card-category {
    display: inline-block;
    background: #21cdc0;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.similar-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.similar-card-content h3 a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.similar-card-content h3 a:hover {
    color: #3851a2;
}

.similar-card-content p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.similar-card-meta {
    color: #9ca3af;
    font-size: 12px;
}

/* Responsive pour la page de détail */
@media (max-width: 768px) {
    .article-header {
        padding: 30px 0;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .sharing-buttons {
        gap: 8px;
    }
    
    .share-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .similar-articles-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .sharing-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
} /*# sourceMappingURL=main.css.map */
