@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap');
html{
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #FFF5d9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background-color: transparent;
    padding: 10px;
    position: sticky;
    width: 100%;
    z-index: 100;
}
nav .onglets a {
    color: #655a3f;
    text-decoration: none;
    margin-right: 60px;
    font-size: 16px;
}
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
}
nav img {
    width: 110px;
    height: auto;
    margin: 0 auto;
    display: block;
    overflow: hidden;
}
@media (max-width: 768px) {
    nav {
        grid-template-columns: 1fr;
        align-items: center;
    }

    nav a {
        margin: 10px 0;
    }
}

.faq-container {
    margin: auto;
    width: 90%;
    max-width: 600px;
    background: transparent;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

h1 {
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
}

.faq-item {
    border-bottom: 1px solid #eeeeee;
    padding: 10px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: #333333;
}

.faq-answer {
    margin-top: 10px;
    display: none;
    color: #666666;
    font-size: 0.9em;
    line-height: 1.5;
}

.toggle-icon {
    font-weight: bold;
    color: #007BFF;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
    color: #FF5733;
}

.faq-form {
    margin-top: 20px;
    background: #f1f1f1;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-form h2 {
    margin: 0 0 10px;
    color: #333333;
}

.faq-form input,
.faq-form button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
}

.faq-form button {
    background: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}

.faq-form button:hover {
    background: #0056b3;
}

.btn-pdf {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073e6;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-pdf:hover {
    background-color: #005bb5;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-pdf:active {
    background-color: #00408a;
    transform: translateY(0);
}

#resources {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 10px;
}

#resources h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

#resources p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

footer{
    margin-top: auto;
    /* border-top: 5px solid #6f6f6f; */
    background-color: #ffe498;
    color: #655a3f;
    padding: 30px 100px;;
}
footer h1{
    font-family: 'Playfair Display', serif;
    border-bottom: 1px solid #655a3f;
    width: 20%;
    padding-bottom: 5px;
}
footer .services{
    margin-top: -10px;
    display:flex;
    flex-wrap:wrap;
}
footer .services .service{
    margin-right: 30px;
}
footer .services .service p{
    max-width: 300px;
}
.hidden-link {
    color: inherit;
    text-decoration: none;
}
footer #contact{
    color: #655a3f;
}

@media screen and (max-width:680px){
    nav .onglets {
        margin-left: 0px;
        margin-bottom: 20px;
    }
    .main {
        margin: 10px;
    }
    .main img{
        height:200px;
        width: 100%;
        margin-top: -0px;
    }
    .main {
        display: block;
    }
    footer{
        padding: 30px;
    }
}
