* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.2); /* Fond très transparent */
    backdrop-filter: blur(10px); /* Effet de flou plus prononcé */
    -webkit-backdrop-filter: blur(10px); /* Pour Safari */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Bordure subtile */
}

/* Classe pour cacher la navbar lors du scroll vers le bas */
.navbar-hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: black;
}

.nav-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin: 0 48px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Adjust spacing for right items */
.nav-left {
    margin-right: 8rem;
}

.nav-right {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 400;
    transition: color 0.3s ease;

}

.nav-links a:hover {
    color: #9345FE;
}

.download-btn {
    background-color: #000;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #9345FE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 69, 254, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: black;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animation de la croix */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: white;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: white;
}

/* Hide social links by default */
.social-links {
    display: none;
}

.desktop-only {
    display: block;
}

.mobile-download-btn {
    display: none;
}

.contact-btn {
    background-color: black;
    color: white;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;

    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #9345FE;
    border-color: #9345FE;
}

.mobile-contact {
    display: none;
}

@media screen and (max-width: 768px) {
    .nav-container {
        margin: 0;
    }

    .nav-links {
        flex-direction: column;
    }

    /* Reset margins for mobile view */
    .nav-left, .nav-right {
        margin: 0;
    }

    .nav-container {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #9747FF;
        padding: 80px 32px;
        z-index: 100;
    }

    .nav-container.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        margin-right: 0;
    }

    .nav-links li {
        text-align: left;
        margin-bottom: 20px;
    }

    .nav-links a {
        color: white;
        font-size: 28px;
        font-weight: 700;
    }

    .nav-links a:hover {
        color: rgba(255, 255, 255, 0.8);
    }

    .menu-toggle {
        position: relative;
        z-index: 101;
        display: flex;
    }

    .menu-toggle.active span {
        background-color: white;
    }

    .download-btn {
        display: none;
    }

    /* Show social links only in mobile menu */
    .social-links {
        display: flex;
        position: fixed;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        gap: 24px;
    }

    .social-links a {
        width: 52px;
        height: 52px;
        border: 2px solid white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .social-links img {
        width: 28px;
        height: 28px;
        filter: brightness(0) invert(1);
    }

    .social-links a:hover {
        transform: scale(1.1);
        background-color: rgba(255, 255, 255, 0.1);
    }

    .desktop-only {
        display: none;
    }

    .mobile-download-btn {
        display: block;
        margin-top: 2rem;
    }

    .mobile-download-btn .download-btn {
        background-color: white;
        color: #9747FF;
        width: 100%;
        font-size: 20px;
        padding: 1rem;
    }

    .mobile-download-btn .download-btn:hover {
        background-color: rgba(255, 255, 255, 0.9);
        color: #9345FE;
    }

    .mobile-contact {
        display: block;
        margin-top: 1rem;
    }

    .mobile-contact .contact-btn {
        background-color: white;
        color: #9747FF;
        width: 100%;
        font-size: 18px;
        padding: 0.8rem;
    }

    .mobile-contact .contact-btn:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }

    .nav-links li {
        text-align: left;
        margin-bottom: 20px;
    }

    .nav-links li:last-child {
        margin-bottom: 0;
    }
}   /* Styles spécifiques à la page utilisateurs */
.hero {
    background-image: url('assets/1 home page 3.jpg');
    height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    z-index: 1;
    max-width: 800px;
    padding: 0 5%;
    color: white;
    bottom: 15%;
    left: 5%;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    max-width: 600px;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out 0.3s backwards;
}

.primary-btn {
    background-color: #9345FE;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #9345FE;
    box-shadow: 0 4px 15px rgba(147, 69, 254, 0.3);
    display: inline-block;
}

.primary-btn:hover {
    background-color: #7d2fe0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(147, 69, 254, 0.4);
}

.secondary-btn {
    background-color: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
    display: inline-block;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 768px) {
    .hero-content {
        bottom: 10%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .primary-btn, .secondary-btn {
        text-align: center;
        padding: 12px 24px;
    }
}

/* Style pour alterner l'ordre des sections */
.second-section:nth-of-type(odd) .second-container {
    flex-direction: row-reverse;
}

/* Ajustement pour mobile */
@media screen and (max-width: 768px) {
    .second-section:nth-of-type(odd) .second-container {
        flex-direction: column;
    }
}

/* Style pour la troisième section */
.white-section {
    padding: 80px 5%;
    background-color: #f9f9ff;
    position: relative;
    overflow: hidden;
}

.white-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 90% 20%, rgba(147, 69, 254, 0.05) 0%, transparent 60%);
    z-index: 0;
}

.white-section .second-container {
    position: relative;
    z-index: 1;
}

.white-section .text-container h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.white-section .text-container p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
    font-weight: 400;
}

.white-section .image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.white-section .image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.white-section .image-container img:hover {
    transform: scale(1.02);
}

@media screen and (max-width: 768px) {
    .white-section {
        padding: 40px 0;
    }

    .white-section .second-container {
        flex-direction: column;
        gap: 32px;
        padding: 0 5%; /* Même padding que la section 2 */
    }

    .white-section .image-container {
        order: -1;
        max-width: 100%;
    }

    .white-section .image-container img {
        width: 100%;
        height: auto;
        border-radius: 8px; /* Même border-radius que la section 2 */
    }

    .white-section .text-container {
        max-width: 100%;
    }

    .white-section .text-container h2 {
        font-size: 32px;
    }

    .white-section .text-container p {
        font-size: 16px;
    }
}

.steps-section {
    padding: 100px 5%;
    background-color: #f9f9ff;
    position: relative;
    overflow: hidden;
}

.steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(147, 69, 254, 0.08) 0%, transparent 70%),
                radial-gradient(circle at 90% 80%, rgba(147, 69, 254, 0.05) 0%, transparent 60%);
    z-index: 0;
}

.steps-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.steps-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #9345FE, #b47fff);
    margin: 20px auto 0;
    border-radius: 2px;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.step-card {
    background-color: white;
    border-radius: 20px;
    padding: 40px 30px;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.step-card:nth-child(1) {
    animation-delay: 0.2s;
}

.step-card:nth-child(2) {
    animation-delay: 0.4s;
}

.step-card:nth-child(3) {
    animation-delay: 0.6s;
}

.step-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(147, 69, 254, 0.15);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 0;
    background: linear-gradient(to bottom, #9345FE, #b47fff);
    transition: height 0.4s ease;
}

.step-card:hover::before {
    height: 100%;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9345FE, #b47fff);
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(147, 69, 254, 0.25);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(147, 69, 254, 0.35);
}

.step-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.step-card:hover h3 {
    color: #9345FE;
    transform: translateX(10px);
}

.step-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.step-card:hover p {
    transform: translateX(10px);
}

@media screen and (min-width: 769px) {
    .steps-title {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 768px) {
    .steps-section {
        padding: 70px 5%;
    }
    
    .steps-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .step-card {
        width: 100%;
        max-width: 350px;
        margin-bottom: 20px;
        padding: 30px 25px;
    }
    
    .step-card h3 {
        font-size: 20px;
    }
    
    .step-card p {
        font-size: 15px;
    }
}

/* Amélioration des titres et paragraphes */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

p {
    font-family: 'Poppins', sans-serif;
}

/* Styles pour le modal de notification */
.notification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.modal-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #555;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #9345FE;
}

.submit-btn {
    background-color: #9345FE;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #7d2fe0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(147, 69, 254, 0.3);
}

.privacy-note {
    font-size: 14px;
    color: #999;
    margin-top: 20px;
    text-align: center;
}

.success-message {
    color: #28a745;
    font-weight: 600;
    text-align: center;
    font-size: 18px;
    padding: 20px 0;
}

@media screen and (max-width: 768px) {
    .modal-content {
        padding: 30px;
    }
    
    .modal-content h3 {
        font-size: 22px;
    }
}