@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

main {
    flex-grow: 1;
    padding: 20px;
}

.footer_parent {
    position: relative;
}

a {
    text-decoration: 0;
    font-size: 13px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #9efff5b7;
    border-radius: 30px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
    background-color: #9efff5b7;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    width: 180px;
    height: 70px;
}

.menu {
    display: flex;
}

.menu li {
    margin-left:50px;
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.menu li a {
    color: #999;
    transition: 0.5s;
}

.menu li a:hover {
    color: #11035f;
    font-size: 15px;
}

.menu li:hover::after {
    content: "";
    position: absolute;
    height: 30px;
    z-index: -1;
    width: 30px;
    background-color: #f2f2f2;
    border-radius: 50%;
}

.number {
    font-size: 14px;
    color: #0f0129;
    padding: 10px 25px;
    background: #9df7ee;
    border-radius: 60px;
    transition: all 0.6s ease;
}

.number:hover {
    font-size: 13px;
    color: #000;
    background: #13d4c1d2;
}
.number:hover a {
    color: #000;
}

.number a {
    text-decoration: none;
    color: #2b2a2c;
}

.footer-container a {
    text-decoration: none;
    color: #ffffff;
}

footer {
    background-color: #d1b290;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    padding: 10px;
    flex-shrink: 0;
    position: relative;
    flex-wrap: wrap;
}

.small_menu {
    display: none;
}

.main-content {
    max-width: 20000px;
    margin: 0 auto;
    padding: 20px;
}


.partners {
  padding: 20px;
}

.partners h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  text-align: left;
}

.logo-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-left: 10%;
}

.logo-column img {
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.logo-column img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

h1 {
    text-align: center;
    color: #333;
    font-size: 3rem;
}

h2 {
    text-align: center;
    color: #333;
    font-size: 35px;
}

.doc {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #555;
    border: 2px solid rgb(203, 242, 245);
    display: inline-block;
    padding: 8px;
    border-radius: 5px;
}

.rpps {
    font-size: 0.8rem;
}

.column p {
    margin-bottom: 10px;
    color: #555;
}

h1.prat_class {
    margin-bottom: 300px;
    font-size: 3rem;
}

.container2 {
    margin: auto;
    padding: 10px;
    width: 80%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin: 0 auto;
}

.column {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.column h2 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 5px;
}
p:last-child {
    margin-bottom: 0;
}

.content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 100px;
}

.text-section {
    flex: 1;
    margin-left: 20px auto;
    text-align: center;
}

.table-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.text-section p {
    font-size: 20px;
    line-height: 1.6;
    color: #555;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

table, th, td {
    border: 1px solid #ddd;
}

td {
    padding: 10px;
    text-align: center;
}

td:first-child {
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.image-section {
    flex: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    max-width: 100%;
}

.image-section img {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hide-rdv {
    display: flex;
}

.center-container {
    margin: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.down-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn {
    display: inline-block;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: #00f7ff2a;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-tel {
    margin: 20px auto;
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    padding: 10px 20px;
    background-color: #00f7ff2a;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}

.btn:hover, .btn-tel:hover {
    background-color: #009eb3;
    color: white;
}
.online-appointments, .secretariat-appointments {
    flex: 1;
    max-width: 80%;
}

.doctors-online {
    padding: 100px;
    display: flex;
    justify-content: center;
    gap: 100px;
}

.doctors-online div {
    text-align: center;
}

.practitioners-grid {
    padding: 100px;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.practitioner {
    text-align: center;
    max-width: 200px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    display: block;
    padding: 10px;
    background-color: #f4f4f4;
    color: #333;
    border: 1px solid #ccc;
    text-align: center;
}

.sidebar ul li a:hover {
    background-color: #ddd;
    color: #000;
}

.sidebar ul li a.actives {
    background-color: #52e6d970;
    color: #000;
    border-color: #26bdb070;
}

.submenu {
    display: none;
    padding-left: 20px;
}

.active + .submenu {
    display: block;
}

.names {
    font-size: 20px;
    color: #111111;
}

.services {
    font-size: large;
    text-align: center;
}

.partenaires{
    width: 400px;
    height: 150px;
    padding: 20px;
    align-items: left;
}

footer .logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
}

footer .logos img {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.logos img, .logos a {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .logos img:hover {
    transform: scale(1.1);
}

.social-media {
    text-align: center;
    margin-top: 75px;
}

.social-media p {
    font-size: 20px;
    line-height: 1.6;
    color: #555;
}

.social-icon {
    width: 50px;
    height: 50px;
    margin: 0 10px;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}

.content {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.section {
    margin-bottom: 20px;
}

.section h3 {
    font-size: 1.5rem;
    color: #023b36b7;
    margin-bottom: 10px;
}

.section p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.section ul {
    padding-left: 20px;
    margin-bottom: 10px;
    list-style-type: none;
    font-size: 1rem;
}

.section ul li {
    margin-bottom: 5px;
    font-size: 1rem;
}

@media (max-width: 1850px) {

    footer .logos img {
        max-width: 100px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        margin: 0 10px;
        transition: transform 0.3s;
    }

    .logo-column img {
        max-width: 200px;
        height: auto;
        align-items: center;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .logo-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        margin: 0 auto;
        padding-left: 0%;
    }
}

@media (max-width: 900px) {
    footer .logos img {
        max-width: 100px;
    }
}

@media (max-width: 600px) {
    footer .logos img {
        max-width: 20px;
    }
}

@media (max-width:920px) {
    header .logo h1 {
        font-size: 15px;
    }
    header .logo img {
        width: 30px;
        height: 30px;
    }
    header .menu {
        display: none;
    }

    .number {
        display: none;
    }
    .home {
        flex-direction: column-reverse;
        height: fit-content;
    }
    .home .left , .home .right {
        width: 100%;
    }
    .home .right {
        height: 350px;
    }
    .home .left {
        margin: 20px 0;
    }

    .home .left h1 {
        font-size: 60px;
    }
    .home .left h4 {
        font-size: 18px;
    }
    .home .left p {
        font-size: 11px;
    }
    .title {
        font-size: 19px;
    }
    .list_service .serv {
        width: 100%;
        margin-bottom: 50px;
    }
    .list_about h1 {
        font-size: 50px;
    }
    .list_about .description h3 {
        font-size: 12px;
    }
    .list_about .description p {
        font-size: 10px;
    }
    .form-image .image {
        display: none;
    }
    .form-image form {
        width: 100%;
    }
    footer {
        background-color: #d1b290;
        padding: 20px;
        color: white;
        text-align: center;
        font-size: 14px;
        flex-shrink: 0;
    }

    .small_menu{
        display: flex;
        width: 25px;
        height: 25px;
        align-items: center;
        justify-content: space-between;
        overflow: hidden;
        border-radius: 50%;
        transition: 0.5s;
       
    }
    .small_menu span {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: 0.5s;
    }
    .small_menu span div {
        height: 11px;
        width: 11px;
        background-color: #01b3a1;
        border-radius: 6px;
    }
    .small_menu.active {
        justify-content: center;
        align-items: unset;
    }
    .small_menu.active span:nth-child(1){
        display: none;
    }
    .small_menu.active span {
        display: flex;
        flex-direction: unset;
        height: 100%;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
    }
    .small_menu.active span div {
        height: 100%;
        width: 3px;
        border-radius: 6px;
        transition: 0.5s;
    }
    .small_menu.active span div:nth-child(1){
        transform: rotate(45deg);
    }
    .small_menu.active span div:nth-child(2){
        transform: rotate(-45deg);
    }
    header .menu.small{
        display: flex;
        position: absolute;
        top: 50px;
        left: 0;
        background-color: rgba(255 255 255 /0.9);
        flex-direction: column;
        width: 100%;

    }
    header .menu.small li {
        margin: 15px 0;
    }
    .content-container {
        flex-direction: column;
    }

    .text-section, .image-section {
        padding: 10px;
        align-items: center;
        width: 100%;
    }
    .container2 {
        padding: 10px;
    }
}

@media (max-width:1850px) {
    .grid {
        grid-template-columns: 1fr;
    }
    h1.prat_class {
        margin-bottom: 20px;
        font-size: 2rem;
    }
}

@media (min-width: 900px) {
    ul.menu li.hide-rdv {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .sidebar {
        width: 300px;
        margin: 0 auto;
    }

    .sidebar ul li {
        margin-bottom: 10px;
        
    }

    .sidebar ul li a {
        font-size: 16px;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f7f9fc;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-top: 40px;
    font-size: 3em;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2 {
    color: #34495e;
    margin-bottom: 20px;
    font-size: 2em;
    text-transform: capitalize;
    text-align: center;
    border-bottom: 2px solid #2980b9;
    padding-bottom: 10px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.recherche-section {
    margin-bottom: 40px;
    text-align: center;
}

.roles {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.role {
    background-color: #2980b9;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

label {
    font-weight: bold;
    font-size: 1.1em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea {
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="file"]:focus {
    border-color: #2980b9;
    outline: none;
    box-shadow: 0 0 8px rgba(41, 128, 185, 0.2);
}

button {
    padding: 14px 20px;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #1f618d;
    transform: translateY(-2px);
}

#form-error {
    color: red;
    font-size: 1em;
    text-align: center;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.5em;
    }

    .roles {
        flex-direction: column;
        gap: 10px;
    }

    button {
        font-size: 1em;
    }
}
