/* =========================================================
   INTRO OVERRIDE (place at the VERY END of additional.css)
   ========================================================= */

.article-intro-wrap{
  display:flex;
  justify-content:center;
  padding: 30px 20px;
}

.article-intro-wrap .article-intro{
  width: 100%;
  max-width: 900px;
  position: relative;

  /* force l’apparence du bloc (souvent écrasée) */
  background: #f8fbfd !important;
  border-left: 5px solid #0077b6 !important;
  border-radius: 12px !important;
  padding: 44px 46px !important;
  box-shadow: 0 10px 30px rgba(0,119,182,.08) !important;

  /* typographie du bloc (sans toucher au site) */
  font-family: "Source Sans Pro", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  color: #2c3e50 !important;
  line-height: 1.85 !important;
}

.article-intro-wrap .article-intro .intro-text{
  margin: 0 !important;
  font-size: 1.15rem !important;
  color: #546e7a !important;
  text-align: justify;
  hyphens: auto;
}

/* lettrine */
.article-intro-wrap .article-intro .intro-text::first-letter{
  font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
  float: left;
  font-size: 4.6rem;
  line-height: .85;
  margin: 10px 16px 6px 0;
  color: #0077b6 !important;
  font-weight: 700;
}

/* emphase & nom */
.article-intro-wrap .article-intro .emphasis{
  font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
  font-style: italic !important;
  color: #2c3e50 !important;
}

.article-intro-wrap .article-intro .doctor-name{
  color: #0077b6 !important;
  font-weight: 700 !important;
  border-bottom: 1px solid rgba(0,119,182,.25) !important;
}

/* guillemet décoratif */
.article-intro-wrap .article-intro::after{
  content: "“";
  position: absolute;
  top: -26px;
  right: 26px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 8rem;
  color: #0077b6;
  opacity: .10;
  pointer-events: none;
}

/* mobile */
@media (max-width: 600px){
  .article-intro-wrap .article-intro{
    padding: 28px 26px !important;
  }
  .article-intro-wrap .article-intro .intro-text{
    font-size: 1.08rem !important;
  }
  .article-intro-wrap .article-intro .intro-text::first-letter{
    font-size: 3.6rem;
  }
}



/************************Home Paragraph Style ******************************** */
/***************************************************************************** */	    
		

.home-paragraph-style {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f1f9ff;
  padding: 60px 40px;
  border-radius: 20px;
  gap: 40px;
  flex-wrap: wrap;
  font-family: 'Segoe UI', sans-serif;
}

.home-paragraph-style .content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.home-paragraph-style h2 {
  color: #005f8a;
  font-size: 32px;
  margin-bottom: 20px;
}

.home-paragraph-style h3 {
  color: #04070a;
  font-size: 22px;
  margin-bottom: 20px;
  margin-top: 20px;

}

.home-paragraph-style .lead {
  font-size: 16px;
  font-weight: 600;
  color: #025373;
  margin-bottom: 15px;
}

.home-paragraph-style p {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.home-paragraph-style .read-more-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  background-color: #005f8a;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.home-paragraph-style .read-more-btn:hover {
  background-color: #025373;
}

.home-paragraph-style .image-credit {
  font-size: 13px;
  margin-top: 10px;
}

.home-paragraph-style .image-credit a {
  color: #005f8a;
  border-bottom: 1px solid #005f8a;
  text-decoration: none;
}

.home-paragraph-style .image-container {
  flex: 1;
  min-width: 300px;
  text-align: center;
  position: relative;
}

.home-paragraph-style .image-container img {
  max-width: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center, #f1f9ff 30%, #005f8a 100%);
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 95, 138, 0.2);
}


/******************************************************** */
/******************************************************** */
/***********************End Home Paragprah************************* */
/******************************************************** */

/****************** Blob Shape Animation ******************* */
/******************************************************** */
/******************************************************** */
/******************************************************** */
/******************************************************** */


        /* Main container */
        .home-container {
            position: relative;
            width: 500px;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            max-width: 90vw;
            max-height: 90vh;
        }

        /* Container layout */
        .home-container-layout {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* SVG Blob Background Shape */
        .home-blob-shape {
            position: absolute;
            width: 500px;
            height: 500px;
            opacity: 0.7;
            color: #005f8a;
            z-index: 1;
            animation: home-floatBlob 6s ease-in-out infinite;
        }

        .home-blob-shape svg {
            width: 100%;
            height: 100%;
            fill: currentColor;
        }

        /* Main Image */
        .home-main-image {
            position: relative;
            width: 500px;
            height: 350px;
            z-index: 3;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 95, 138, 0.2);
            animation: home-floatImage 8s ease-in-out infinite;
        }

        .home-main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
            position: relative;
            z-index: 0;
        }

        .home-main-image:hover img {
            transform: scale(1.05);
        }
        
        .home-main-image::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #005f8a;
        opacity: 0.3;
        z-index: 1;
        pointer-events: none;
        transition: opacity 0.3s ease;
}
        

        /* Circular Gradient Shape */
        .home-circle-gradient {
            position: absolute;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: linear-gradient(135deg, #025373, #0088cc);
            opacity: 0.6;
            z-index: 99;
            bottom: 10px;
            right: 300px;
            animation: home-pulseCircle 10s ease-in-out infinite;
        }

        /* Animations */
        @keyframes home-floatBlob {
            0%, 100% { 
                transform: translateY(0px) rotate(0deg) scale(1);
            }
            33% { 
                transform: translateY(-15px) rotate(2deg) scale(1.02);
            }
            66% { 
                transform: translateY(-8px) rotate(-1deg) scale(0.98);
            }
        }

        @keyframes home-floatImage {
            0%, 100% { 
                transform: translateY(0px);
            }
            50% { 
                transform: translateY(-10px);
            }
        }

        @keyframes home-pulseCircle {
            0%, 100% { 
                transform: scale(1);
                opacity: 0.6;
            }
            33% { 
                transform: scale(1.1);
                opacity: 0.4;
            }
            66% { 
                transform: scale(0.95);
                opacity: 0.7;
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .home-container {
                width: 400px;
                height: 400px;
            }
            
            .home-blob-shape {
                width: 320px;
                height: 320px;
            }
            
            .home-main-image {
                width: 220px;
                height: 280px;
            }
            
            .home-circle-gradient {
                width: 140px;
                height: 140px;
                bottom: 40px;
                right: 20px;
            }
        }

        @media (max-width: 480px) {
            .home-container {
                width: 320px;
                height: 320px;
            }
            
            .home-blob-shape {
                width: 260px;
                height: 260px;
            }
            
            .home-main-image {
                width: 180px;
                height: 220px;
            }
            
            .home-circle-gradient {
                width: 100px;
                height: 100px;
                bottom: 30px;
                right: 15px;
            }
        }

        /* Hover effects */
        .home-container:hover .home-blob-shape {
            transform: scale(1.05);
            opacity: 0.7;
        }

        .home-container:hover .home-circle-gradient {
            transform: scale(1.15);
        }

/******************************************************** */
/******************************************************** */
/*********************Blob Shape Animation************************* */
/******************************************************** */


/****************** start pathologies ******************* */
/******************************************************** */
/******************************************************** */
/******************************************************** */
/******************************************************** */

.container-patho {
      max-width: 900px;
      margin: 40px auto;
      padding: 0 20px;
      background-color: #fff;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      border-radius: 12px;
      padding: 40px;
    }
	
	.container-patho h2 {
    font-family: "PowerGrotesk";
    font-size: 65px;
    color: #025373;
    position: relative;
    margin-bottom: 25px;
}
	
	@media (max-width: 600px) {
      .container {
        padding: 20px;
      }
	    }
	    
/************************Home Services 4 columns ******************************** */
/******************************************************** */	    
		
		
.services-icons {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin: 60px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.service-block {
  flex: 1 1 250px;
  max-width: 100%;
  text-align: center;
  padding: 20px;
  background-color: #f1f9ff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.service-block:hover {
  transform: translateY(-5px);
}

.service-block img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.service-block h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #1e3d59;
}

.service-block h5 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #1e3d59;
  text-align: left;
}

.service-block p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  padding-top: 25px;
  padding-bottom: 25px;
}

.service-block ul {
  margin-bottom: 25px;
}

.service-block ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  text-align: left;
}

.service-block ul li::before {
  content: '➜';
  position: absolute;
  left: 0;
  color: #0077b6;
  font-weight: bold;
  text-align: left;
}

@media (max-width: 768px) {
  .services-icons {
    flex-direction: column;
    align-items: center;
  }
}


/******************************************************** */
/******************************************************** */
/***********************End Home Services************************* */
/******************************************************** */


	    
/************************Home Services 4 columns ***************** */
/******************************************************** */	    
		
.home-services-icons {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Makes all items the same height */
  flex-wrap: wrap;
  gap: 30px;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.home-service-block {
  flex: 0 0 calc(25% - 30px); /* Fixed 4 columns */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center; /* Centers everything horizontally */
  padding: 30px 20px;
  background-color: #f1f9ff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease;
  min-height: 360px; /* You can adjust based on content */
}

.home-service-block:hover {
  transform: translateY(-5px);
}

.home-service-block img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.home-service-block h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #1e3d59;
}

.home-service-block h5 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #1e3d59;
  text-align: left;
}

.home-service-block p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  padding: 10px 0;
  flex-grow: 1;
}

.home-service-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #0077b6;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.home-service-button:hover {
  background-color: #ffff;
}

/* Hide button visually but keep space */
.home-service-button.invisible {
  visibility: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
  .home-service-block {
    flex: 0 0 calc(50% - 30px);
  }
}

@media (max-width: 600px) {
  .home-service-block {
    flex: 0 0 100%;
  }

  .home-services-icons {
    justify-content: center;
  }
}


/******************************************************** */
/******************************************************** */
/***********************End Home Services************************* */
/******************************************************** */


/************************Home Contact Info Mini ***************** */
/******************************************************** */

.home-contact-info {
    background: rgba(241, 249, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 95, 138, 0.1);
    border: 1px solid rgba(0, 95, 138, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.home-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 95, 138, 0.1);
    transition: all 0.3s ease;
}

.home-contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.home-contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    color: #005f8a;
    flex-shrink: 0;
    font-size: 18px;
}

.home-contact-link {
    color: #025373;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.home-contact-link:hover {
    color: #005f8a;
}

.home-contact-text {
    color: #025373;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.home-contact-bold {
    font-weight: 600;
}

.home-contact-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin: 0 -10px 20px -10px;
    padding: 15px 20px;
}

.home-contact-item:hover:last-child {
    margin-bottom: -10px;
}

/* Responsive */
@media (max-width: 480px) {
    .home-contact-info {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .home-contact-link,
    .home-contact-text {
        font-size: 15px;
    }
    
    .home-contact-icon {
        width: 18px;
        height: 18px;
        margin-right: 12px;
        font-size: 16px;
    }
}

/******************************************************** */
/******************************************************** */
/***********************End Home Services************************* */
/******************************************************** */


.double-column-patho {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 60px auto;
  max-width: 1100px;
  padding: 0 20px;
}

.column-patho {
  flex: 1 1 450px;
  background-color: #f7fbff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  margin: 0px 0px 50px;
}

.column-patho:hover {
  transform: translateY(-5px);
}

.styled-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.styled-img-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
}

.column-patho h2 {
  color: #1e3d59;
  font-weight:700;
  margin: 20px 20px 20px;
}

.column-patho h3 {
  font-size: 1.4rem;
  color: #1e3d59;
  margin: 50px 20px 20px;
}

.column-patho p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 15px;
}

.column-patho ul {
  list-style: none;
  padding-left: 0;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 20px;
}

.column-patho ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 20px;
}

.column-patho ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #0077b6;
  font-weight: bold;
}

.column-patho .read-more-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  background-color: #005f8a;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.column-patho .read-more-btn:hover {
  background-color: #025373;
}

.contact-info {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
}
.contact-info p {
    margin: 10px 0;
}

.contact-info a {
    color: #fff;
  background: #4684c;
  font-family: "PowerGrotesk";
  font-size: 18;
  padding-right: 10px;
  padding-left: 10px;
  display: inline-block;
}

@media (max-width: 480px) {
  .column-patho h2 {
    margin: 0px 0px 40px;
    font-size: 40px;
  }

  .column-patho h3 {
    margin: 50px 0px 20px;
    font-size: 25px;
  }
}
    

/******************************************************** */
/******************************************************** */
/******************************************************** */
/******************************************************** */
/****************** end pathologies ******************* */



/* =========================================================
   BLOG ARTICLE IMAGES (NEW)
   Keep styled-img / styled-img-2 unchanged (legacy)
   ========================================================= */

/* Base image style */
.blog-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;              /* léger, pas cercle */
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

/* Centered image (block) */
.blog-img-center {
  display: block;
  max-width: 60%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  margin: 30px auto !important;   /* espace haut/bas */
  padding: 30px;               
}

/* Floating images (text wrap) */
.blog-img-left,
.blog-img-right {
  display: block;
  max-width: 30%;                  /* taille par défaut */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  margin: 6px 18px 12px 0;         /* left default */
}

/* Left float */
.blog-img-left {
  float: left;
  margin: 10px 25px 20px 0;
}

/* Right float */
.blog-img-right {
  float: right;
  margin: 6px 0 12px 18px;
}

/* Optional: smaller floated images */
.blog-img-sm {
  max-width: 34%;
}

/* Clear floats after sections/containers */
.double-column-section::after,
.column-patho::after {
  content: "";
  display: block;
  clear: both;
}

/* Mobile: avoid float wrap issues */
@media (max-width: 768px) {
  .blog-img-left,
  .blog-img-right,
  .blog-img-center,
  .blog-img-sm {
    float: none;
    max-width: 100%;
    margin: 16px auto;
  }
}




/****************** start contact info box ******************* */
/******************************************************** */
/******************************************************** */
/******************************************************** */
/******************************************************** */


.contact-info-box {
  background-color: #f4faff;
  border-radius: 16px;
  padding: 30px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 4px 20px rgba(0, 119, 204, 0.05);
  font-family: 'Segoe UI', sans-serif;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 15px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item .icon {
  min-width: 24px;
  margin-top: 2px;
}

.contact-text {
  color: #1e3d59;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-text a {
    font-size: 18px;
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.2s ease;
}

.contact-text a::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: #0077cc;
  transition: width 0.3s ease;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.contact-text a:hover {
  color: #005fa3;
}

.contact-text a:hover::after {
  width: 100%;
}

@media (max-width: 480px) {
  .contact-info-box {
    padding: 20px;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }
}



/******************************************************** */
/******************************************************** */
/******************************************************** */
/******************************************************** */
/****************** contact info box ******************* */



/* === OVERRIDE BLOG IMAGES (place at the VERY END of main.css) === */
.column-patho img.blog-img-left { float: left !important; }
.column-patho img.blog-img-right { float: right !important; }
.column-patho img.blog-img-center { float: none !important; display: block !important; margin: 18px auto !important; }

.column-patho img.blog-img-left,
.column-patho img.blog-img-right,
.column-patho img.blog-img-center {
  border-radius: 10px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.10) !important;
  height: auto !important;
}

/* Optional sizing */
.column-patho img.blog-img-left,
.column-patho img.blog-img-right { max-width: 30% !important; }

.column-patho img.blog-img-sm { max-width: 34% !important; }

/* Mobile: keep your intended behavior */
@media (max-width: 768px) {
  .column-patho img.blog-img-left,
  .column-patho img.blog-img-right,
  .column-patho img.blog-img-sm {
    float: none !important;
    max-width: 100% !important;
    margin: 16px auto !important;
  }
}