
@font-face {
    font-family: 'Lt Saeada';
    src: url('fonts/LTSaeada-Regular.otf') format('opentype');
    font-weight: 300; /* Thin weight */
}

@font-face {
    font-family: 'Lt Saeada';
    src: url('fonts/LTSaeada-SemiBold.otf') format('opentype');
    font-weight: 600; /* Semi-Bold weight */
}

/* Apply the fonts */
body {
    font-family: 'Lt Saeada', sans-serif;
    font-weight: 300;
}
.txt-justify p {
text-align: justify;
}

h1 {
    font-family: 'Lt Saeada', sans-serif;
    font-weight: 600;
}

html, body {
    height: 100%; /* Ensure full height */
    margin: 0;
    overflow-y: scroll; /* Enable vertical scrolling */
    scroll-behavior: smooth; /* Smooth scrolling between sections */
}

/* Hero Section Container with Transparent Overlay */
.hero-section {
    position: relative;
    width: 100%;
    height: 100svh; /* Full viewport height */
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Transparent black overlay */
    z-index: 1; /* Overlay above the video */
}
.coverimg {
    position: relative;
    transform: translateY(-10%);
    width: 100%;
    max-height: 50vh; /* Full viewport height */
    overflow: hidden;
    
}
.coverimg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 51, 103, 0.5); /* Transparent black overlay */
    z-index: 1; /* Overlay above the video */
}
.covering {
    position: relative;
    width: 100%;
    max-height: 50vh; /* Full viewport height */
    overflow: hidden;
    
}
.covering::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 51, 103, 0.5); /* Transparent black overlay */
    z-index: 1; /* Overlay above the video */
}

/* Navbar Styling */
.navbar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #97AFD7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Optional white bottom border */
    z-index: 2; /* Above the video */
}
.chart-light{
    background-color: #E9E4E1 !important; /* Ensure the text and logo are white */
}
.chart-blue{
    background-color: #97AFD7 !important; /* Ensure the text and logo are white */
}
.justify p {
    text-align: justify;
    text-justify: inter-word;
  }
/* Make the text and logo white */
.navbar-brand {
    color: white !important; /* Ensure the text and logo are white */
}

.navbar-brand img {
    filter: brightness(0) invert(1); /* Ensure the logo image becomes white */
}

/* White Text for Navbar Links */
.navbar-nav .nav-link,
.navbar-nav .dropdown-toggle {
    color: white !important; /* Ensure white text */
}

.navbar-nav .nav-link:hover,
.navbar-nav .dropdown-toggle:hover {
    color: #ddd !important; /* Optional lighter shade on hover */
}
.about-section {
    background-color: #f8f9fa; /* Light grey background */
    padding: 40px 20px;
}
.about-section h2 {
    color: #007BFF; /* Bootstrap primary color */
    font-weight: bold;
    margin-bottom: 20px;
}
.about-section h4 {
    color: #333;
    margin-top: 20px;
}
.about-section p {
    line-height: 1.8;
    color: #555;
}
.about-section ul {
    padding-left: 20px;
}
.about-section ul li {
    margin-bottom: 10px;
}
.stats-section {
    background-color: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
}
.stat-box {
    margin: 20px 0;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #b8a497;
}
.stat-label {
    font-size: 1.2rem;
    color: #555;
}

.stat-icon {
    font-size: 2.5rem;
    color: #b8a497;
    margin-bottom: 10px;
}
/* Dropdown menu styling */
.dropdown-menu {
    background-color: #97AFD7;
}

.dropdown-menu .dropdown-item {
    color: white !important;
}


/* Centering Navigation */
.navbar-nav {
    margin: 0 auto;
}


/* Background Video Styling */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire container */
    z-index: 0; /* Video layer is below the overlay */
}

/* Hero Content Styling (Only Image) */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the content */
    text-align: center;
    z-index: 2; /* Above the overlay */
}


/* Clinic Image Styling (70% of window width, max 500px) */
.clinic-image {
    width: 70vw; /* 70% of the viewport width */
    max-width: 500px; /* Max width of the image is 500px */
    margin-bottom: 20px;
}

/* Services Section */
.services-section {
    background-color: #97AFD7;
    padding: 0; /* Remove default padding */
    height: 100svh; /* Full screen height */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Services Section Title */
.services-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1c1c1c;
}

/* Service Cards */
.service-card {
    border: none; /* Remove default border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
    margin-bottom: 30px; /* Add space between cards */
    display: flex;
    flex-direction: column; /* Stack card elements vertically */
    height: auto; /* Let card height adjust based on content */
}

/* Ensure all card images have same height and width */
.service-card img {
    width: 100%; /* Stretch image to the full width of the card */
    height: 200px; /* Fixed height for all images */
    object-fit: cover; /* Maintain aspect ratio, but crop if needed */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
}

/* Card content (text part) */
.service-card h3 {
    font-size: 1.5rem;
    margin-top: 15px;
    color: #1c1c1c;
}

.service-card p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 15px; /* Adjust bottom space */
}

.service-card:hover {
    transform: translateY(-10px);
}
.service-page{
    max-width: 1000px;
}
/* Flexbox for mobile - Image on the side of text */
@media (max-width: 768px) {
    .service-card {
        display: flex;
        flex-direction: row; /* Align image and text side by side */
        margin-bottom: 20px;
        height: auto; /* Adjust height for better fitting */
    }

    .service-card img {
        width: 150px; /* Adjust image width for mobile */
        height: 150px; /* Adjust height of the image to maintain aspect ratio */
        object-fit: cover; /* Ensure the image maintains its aspect ratio */
        border-radius: 8px;
    }

    .service-card .card-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin: 10px 0;
    }

    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
}

/* Basic setup to remove margin and padding */
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent body overflow scrollbar */
}

section {
    overflow-y: auto; /* Allow scrolling within the section */
}

/* Prevent the scrollbar from showing up on webkit browsers (Chrome, Safari) */
section::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
section {
    scrollbar-width: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Allow scrolling with mouse in the services section */
body {
    overflow-y: scroll; /* Allow scrolling with mouse */
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on touch devices */
}

/* Optional: Specific scroll settings for mobile */
@media (max-width: 768px) {
    body {
        overflow-y: auto; /* Allow scrolling on small screens */
    }
}



.footer {
    background-color: #636464;
    color: white;
    padding: 40px 0;
}
.footer2 {
    background-color: #636464;
    color: white;
    padding: 40px 0;
    height: auto; /* Make the footer fill the screen height */
}
.contactForm {
    background-color: #97AFD7;
    color: white;
    padding: 40px 0;
}
.footer a {
    color: #ddd;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.footer .social-icons i {
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Optional: Adjust the text and spacing for better appearance on mobile */
@media (max-width: 768px) {
    .footer .container {
        padding: 20px; /* Reduce padding for smaller screens */
    }
}
/* Avant et Après Section */
.avant-apres-section {
    background-color: #E8E3E0;
    display: flex;
}

.avant-apres-section .section-title {
    font-size: 2.5rem;
    color: #1c1c1c;
}

#avantApresCarousel {
    width: 100%;
    max-width: 800px; /* Limits width on large screens */
    height: 60vh; /* Set height for carousel */
    max-height: 500px; /* Maximum height */
}

#avantApresCarousel .carousel-inner {
    height: 100%; /* Ensures images fill the carousel height */
}

#avantApresCarousel img {
    object-fit: cover; /* Crop images while keeping aspect ratio */
    height: 100%; /* Full height for consistent sizing */
}
.formImg{
    display:block;
}

@media (max-width: 768px) {
    #avantApresCarousel {
        width: 100%;
        height: auto;
    }
    .formImg{
        display: none;
    }
}

    .whatsapp-btn {
        position: fixed;
        bottom: 20px; /* Distance from the bottom */
        left: 3%; /* Center horizontally */
        width: 60px;
        height: 60px;
        background-color: #25D366; /* WhatsApp green */
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
        animation: floating 4s infinite ease-in-out;
        transition: transform 0.3s;
    }
    
@media (max-width: 768px) {
.whatsapp-btn {
    
    bottom: 20px; /* Distance from the bottom */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Shift button back to true center */
    
}
.chat-popup{
    
    display: none;
    
}
}

/* Floating Animation */
@keyframes floating {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

/* Ringing Animation */

/* WhatsApp Icon Styling */
.whatsapp-btn i {
    color: white;
    transform: translateY(5%);
    font-size: 30px;
    /* Prevent icon from inheriting button animations */
    animation: none;
}
.container-sm {
    max-width: 700px;
}
@media (min-width: 992px) {.navlogo{
    position: absolute;
    margin-left: 10px;
}

}
.accordion-button:focus {
    box-shadow: none;
    outline: none;
    background-color: white; /* Ensure the background stays white */
}

.accordion-button {
    background-color: white; /* Ensure background is white initially */
    border: 1px solid #ddd;  /* Optional: to keep a subtle border */
}

.accordion-button:not(.collapsed) {
    background-color: white; /* Ensure background stays white when expanded */
}
.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:focus, 
.navbar-nav .nav-link:hover {
    color: inherit !important; /* Keep the original color */
    background-color: transparent !important; /* Remove background change */
}

/* Dropdown items styling */
.dropdown-menu .dropdown-item:focus, 
.dropdown-menu .dropdown-item:hover {
    color: inherit !important; /* Keep the text color unchanged */
    background-color: transparent !important; /* Remove background change */
}
/* Prevent color and background change for active dropdown items */
.dropdown-item.dropdown-toggle:focus, 
.dropdown-item.dropdown-toggle:hover, 
.dropdown-item.dropdown-toggle.active {
    color: inherit !important; /* Keep original color */
    background-color: transparent !important; /* No background change */
}

/* Ensure child dropdown menu visibility is maintained */
.dropdown-menu .dropdown-item.dropdown-toggle {
    white-space: nowrap; /* Prevent text wrapping */
}
.chat-popup {
    position: fixed;
    bottom: 100px;
    left: 20px;
    max-width: 320px;
    width: 100%;
    z-index: 99;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.5s ease-in-out;
    background-color: #25D366; /* WhatsApp green */
    
}

.card2 {
    border: none;
    background-color: whitesmoke;

}

.card-header {
    background-color: #075E54; /* WhatsApp dark green */
    color: white;
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    border-radius: 50%;
    background-color: white;
    padding: 2px;
}

.welcome-message {
    
    
    
    font-size: 14px;
    height: 200px;
    color: #333;
}



.btn-chat {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #25D366;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    
}

.btn-chat:hover {
    background-color: #1eb253;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.infographic {
    margin: 20px auto;
    max-width: 800px;
}
.timeline-step {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.step-circle {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #97AFD7;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}
.step-content {
    margin-left: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.step-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.step-text {
    font-size: 16px;
    color: #555;
}
.timeline-line {
    width: 4px;
    background-color: #007bff;
    margin: 0 auto;
    height: 100%;
    position: absolute;
    left: 30px;
    top: 0;
}
.timeline {
    position: relative;
    padding-left: 50px;
}
.step-header {
    background-color: #97AFD7;
    color: #fff;
    padding: 20px;
}
.step-header h1 {
    margin: 0;
}
.step-card {
    border: none;
    margin-bottom: 20px;
}
.step-card .card-body {
    border-left: 4px solid #97AFD7;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.step-number {
    color: #97AFD7;
    font-weight: bold;
}
.step-title {
    color: #343a40;
}
.etape-wrapper {
    padding: 60px 20px;
    color: #333;
}
.etape-header {
    background: linear-gradient(135deg, #2d4059, #1a1a2e);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.etape-step {
    margin-bottom: 30px;
}
.etape-card {
    border: none;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.etape-card h5 {
    background-color: #97AFD7;
    color: white;
    margin: 0;
    padding: 15px;
}
.etape-card .card-body {
    padding: 20px;
}
.faq-wrapper {
    padding: 50px 20px;
    background-color: #f8f9fa;
}

#fullScreenDiv {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 9999;
}

.icon-container {
    text-align: center;
    margin-top: 20px;
}

.icon-container .bi-exclamation-circle {
    font-size: 5rem;
    color: red;
}

.contentx {
    text-align: center;
    margin-top: 50vh;
    transform: translateY(-50%);
}
.faq-header {
    text-align: center;
    margin-bottom: 40px;
}
.faq-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #343a40;
}
.faq-header p {
    font-size: 1.2rem;
    color: #6c757d;
}
.faq-item .accordion-button {
    background-color: #343a40;
    color: #fff;
    border: none;
}
.faq-item .accordion-button:not(.collapsed) {
    background-color:   #97AFD7;
}
.faq-item .accordion-body {
    background-color: #fff;
    border: 1px solid #dee2e6;
}
.unusual-card {
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.unusual-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.unusual-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 10px;
}

.unusual-cards-container {
    margin-top: 20px;
}
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1050;
    font-family: Arial, sans-serif;
}

/* Fade out animation */
.fade-out {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.spinner-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Spinner around the logo */
.spinner-border {
    position: absolute;
    width: 6rem;
    height: 6rem;
    border-width: 0.5rem;
    animation: spin 2s linear infinite;
    color: #6c757d;
}

/* Logo inside the spinner */
.logo {
    width: 60px;
    height: auto;
    z-index: 2; /* Ensure logo stays on top of the spinner */
}

/* Spin animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Fade out animation */
.fade-out {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.spinner-7 {
    width: 50px;
    aspect-ratio: 1;
    --_c: radial-gradient(farthest-side,#97AFD7 92%,#0000);
    background: 
      var(--_c) top,
      var(--_c) left,
      var(--_c) right,
      var(--_c) bottom;
    background-size: 12px 12px;
    background-repeat: no-repeat;
    animation: s7 1s infinite;
  }
  @keyframes s7 {to{transform: rotate(.5turn)}}

  .clickable-card {
    display: block;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Hover effect on text */
.clickable-card h2 {
    transition: color 0.3s ease;
}

.clickable-card:hover h2 {
    color: #007bff;
}

.clickable-card p {
    color: #555;
}
.social-icons2 {
    position: absolute; /* Makes the icons position absolute */
    right: 5rem; /* Aligns icons to the right */
    top: 50%; /* Vertically centers the icons relative to the navbar */
    transform: translateY(-50%); /* Adjusts for perfect vertical centering */
    display: none; /* Hidden by default */
    gap: 1rem; /* Space between icons */
  }
  #backgroundContainer2{
    display: none   ; /* Show icons on large screens */
    
  }
  @media (min-width: 800px) {
    .social-icons2 {
      display: flex   ; /* Show icons on large screens */
      
    }
   
  }
  @media (max-width: 768px) {
  #backgroundContainer{
    display: none   ; /* Show icons on large screens */
    
  }
  #backgroundContainer2{
    display: flex   ; /* Show icons on large screens */
    
  }
}

  .social-icons2 a {
    color: #fff; /* White icons for contrast */
    font-size: 1.5rem; /* Icon size */
    transition: color 0.3s ease;
  }

  .social-icons2 a:hover {
    color: #f0a500; /* Hover color */
  }
  .custom-card-section {
    padding: 50px 0;
  }

  /* Custom card container */
  .random-card {
    position: relative;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
  }

  /* Card image */
  .random-card img {
    width: 102%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
  }
.random-card-body{
   background-color: white;
   position: absolute;
   bottom: -20px;
   left: 50%;
   transform: translateX(-50%);
   border-radius: 10px;
   padding-left: 20px;
   padding-right: 20px;
   width: 80%;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

  }

  /* Card hover effect */
  .random-card:hover img {
    transform: scale(1.1); /* Zoom in effect */
  }

  /* Card title */
  .random-card .random-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 15px;
  }

  /* Lire plus link */
  .random-card .random-card-link {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
  }

  /* Hover effect for link */
  .random-card .random-card-link:hover {
    color: #0056b3;
  }
  .snap-section2  {
   max-width: 800px;
   text-align: justify;
  }