/* General settings */
body {
    font-family: 'Open Sans', 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Navbar */
.header {
    background-color: #ffffff;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 100px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007BFF;
}

.btn-nav {
    padding: 8px 15px;
    background-color: #007BFF;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
}

.btn-nav:hover {
    background-color: #0056b3;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to right, #6dd5ed, #2193b0);
    color: white;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    margin: 10px;
}

.btn-primary {
    background-color: #007BFF;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background-color: #1e7e34;
}

/* Sections */
.about, .features, .why, .access {
    padding: 60px 20px;
    background-color: #fff;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.05);
}

.about-text, .feature-item, .why-item {
    margin-top: 20px;
    font-size: 1rem;
}

/* Formulaire */
.form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

button[type="submit"] {
    background-color: #007BFF;
    border: none;
    padding: 12px 20px;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Footer */
.footer {
    background-color: #007BFF;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Fade-in animation */
body {
    opacity: 0;
    transition: opacity 1.5s ease-in;
}

body.loaded {
    opacity: 1;
}

/* =============================== */
/* Responsive adjustments for mobile */
/* =============================== */

@media (max-width: 992px) {
    /* Navbar */
    .nav-container {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
        padding: 0;
    }

    .nav-links a, .btn-nav {
        width: 100%;
        text-align: center;
        padding: 12px;
        box-sizing: border-box;
    }

    .btn-nav {
        margin-top: 5px;
    }

    /* Hero Section */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }

    .hero-buttons .btn {
        width: 80%;
        max-width: 300px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .logo-img {
        height: 80px;
    }

    .container {
        width: 95%;
        padding: 10px;
    }
}