/* index.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem;
}

.card {
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

header h1 {
    font-family: 'Pacifico', cursive;
    font-size: 2.8rem;
    color: #0077b6;
    margin-bottom: 0.3rem;
}

.subtitle {
    font-weight: 600;
    color: #023e8a;
    margin-bottom: 0.5rem;
}

.notice {
    color: #d62828;
    font-weight: bold;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    text-align: left;
    color: #023e8a;
}

.contact-form input,
.contact-form textarea {
    padding: 0.65rem 1rem;
    margin-top: 0.25rem;
    border: 2px solid #0077b6;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #d62828;
    box-shadow: 0 0 12px rgba(214, 40, 40, 0.3);
}

.contact-form button {
    padding: 0.8rem;
    background-color: #0077b6;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form button:hover {
    background-color: #023e8a;
}

footer {
    margin-top: 2rem;
    font-weight: 600;
    color: #0077b6;
}

.info-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    background-color: #0077b6;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: background 0.3s ease;
    z-index: 10;
}

.info-icon:hover {
    background-color: #023e8a;
}

/* Tooltip styling */
.tooltip {
    position: absolute;
    top: 40px;
    right: 0;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    color: #023e8a;
    display: none;
    /* hidden by default */
    text-align: left;
    z-index: 20;
}

.info-icon:hover .tooltip {
    display: block;
    /* show tooltip on hover */
}

.tooltip h3 {
    margin-bottom: 0.5rem;
    color: #0077b6;
}

.forfaits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.forfait strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #d62828;
}

.forfait ul {
    margin-left: 1rem;
    list-style-type: disc;
}

/* Optional: subtle floating bubbles animation for background */
body::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: floatBubbles 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes floatBubbles {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}