/* Reset CSS */
/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body, html {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1; /* Permet au contenu principal de prendre toute la hauteur possible */
}

/* Header */
header {
    background-color: #005f99;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logoimg {
    max-width: 50px; /* largeur maximale du logo */
    height: auto; /* conserve le ratio de l'image */
    margin-right: 20px; /* espace entre le logo et le titre */
}

header h1 {
    font-size: 1.5em;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background-color: #004477;
    border-radius: 5px;
}

/* Banner */
.banner {
    background-image: url('assets/banner.jpg');
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.banner h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #ff7043;
    color: white;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.2em;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #e64a19;
}

/* Services */
.services {
    padding: 50px 20px;
    text-align: center;
}

.services h2 {
    font-size: 2.2em;
    color: #005f99;
    margin-bottom: 40px;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.service-item h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #333;
}

.service-item p {
    color: #666;
}

.service-item:hover {
    transform: translateY(-10px);
}

/* Why Us Section */
.why-us {
    padding: 50px 20px;
    background-color: #f7f7f7;
    text-align: center;
}

.why-us h2 {
    color: #005f99;
    margin-bottom: 20px;
}

.why-us p {
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}



/* Contact Section */
.contact {
    margin-top: 25px;
    margin-right: auto;
    margin-left: auto;
    padding: 50px 20px;
    background-color: #f0f4f8;
    text-align: center;
    max-width: 600px;
}

.contact-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.contact-info p {
    color: #555;
    font-size: 1.2em;
    margin: 10px 0;
}

.appointment-info {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.appointment-info h3 {
    color: #005f99;
    margin-bottom: 15px;
}

.appointment-info p, .appointment-info ul {
    color: #555;
    line-height: 1.6;
    font-size: 1.1em;
}

.appointment-info ul {
    list-style: disc;
    padding-left: 20px;
}



/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    width: 100%;
    /* Si vous avez besoin de styles spécifiques */
}

/* Pricing Section */
.pricing {
    padding: 60px 20px;
    background-color: #f0f4f8;
    text-align: center;
}

.pricing h2 {
    font-size: 2.5em;
    color: #005f99;
    margin-bottom: 20px;
}

.pricing-description {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; /* Augmenter l'espacement entre les cartes */
}

.pricing-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Ombre plus douce */
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; /* Pour les coins arrondis */
}

.pricing-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%; /* Rendre les icônes circulaires */
    background-color: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card .icon img {
    max-width: 50%;
    max-height: 50%;
}

.pricing-card h3 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 15px;
}

.pricing-card p {
    color: #555;
    font-size: 1em;
    margin-bottom: 20px;
    line-height: 1.5; /* Ajouter un espace entre les lignes */
}

.pricing-card .price {
    font-size: 2.2em;
    color: #ff7043;
    font-weight: bold;
    margin-bottom: 20px;
}

.pricing-card .info-button {
    background-color: #005f99;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 25px; /* Légèrement plus large */
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 10px;
    text-transform: uppercase;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Ombre plus marquée sur hover */
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .pricing-grid {
        gap: 20px; /* Réduire l'espacement sur les petits écrans */
    }
}


/* Modal (Pop-up) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #555;
    text-decoration: none;
    cursor: pointer;
}


