* {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: "Comfortaa", sans-serif;
}

.site-header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 70px;
}

.navbar {
    padding: 1rem;
    height: 100%;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #006D77;
}

.logo .t2{
    font-weight: lighter !important;
    font-size: 0.9rem;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #006D77;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    /* background: #d31515; */

    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    /* background: #2df800; */
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
    text-align: center;
    font-weight:lighter;
}

.btn-login, .btn-dashboard {
    display: inline-block;
    padding: 0.7rem 0.7rem !important;
    width: 300px;
    background-color: #006D77;
    color: white !important;
    border-radius: 8px;
    text-decoration: none;
}

.btn-login:hover, .btn-dashboard:hover {
    background-color: #003f45;
    /* background-color: #0056b3; */
}


@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        width: auto;
        position: relative;
        flex-direction: row;
        padding: 0;
        gap: 2rem;
        box-shadow: none;
        top: 0;
        align-items: center;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        padding: 0.5rem;
        position: relative;
        transition: color 0.3s ease;
    }

    .nav-links a:not(.btn-login):not(.btn-dashboard)::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: #006D77;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-links a:not(.btn-login):not(.btn-dashboard):hover::after {
        width: 100%;
    }

    .btn-login, .btn-dashboard {
        width: auto;
        padding: 0.8rem 1.5rem !important;
    }

    .container {
        /* max-width: 1200px; */
        margin: 0 auto;
        padding: 0 2rem;
    }
}

/* Animation pour le menu mobile */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
}

/* CTA Section Styles */
.cta-section {
    background-color: #E8F3F4;
    padding: 4rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

.cta-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
}

.cta-section h2 {
    color: #006D77;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.3;
}

.cta-section p {
    color: #4A4A4A;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background-color: #006D77;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #006D77;
}

.cta-button:hover {
    background-color: transparent;
    color: #006D77;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 109, 119, 0.15);
}

@media (min-width: 1024px) {
    .cta-section {
        padding: 6rem 2rem;
    }

    .cta-section h2 {
        font-size: 2.5rem;
    }

    .cta-section p {
        font-size: 1.25rem;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #006D77;
    color: white;
    /* margin-top: 3rem; */
}

.footer-content {
    padding: 3rem 0;
}

.footer-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-info li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-info a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Footer Desktop Styles */
@media (min-width: 1024px) {
    .footer-sections {
        grid-template-columns: repeat(4, 1fr);
        text-align: left;
        gap: 3rem;
    }

    .contact-info li {
        justify-content: flex-start;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-bottom .container {
        display: flex;
        justify-content: center;
        text-align: center;
    }
}
