/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
}

/* Boutons */
.btn-primary, .btn-secondary, .btn-resource, .btn-submit {
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary, .btn-submit {
    background-color: #4169e1;
    color: white;
    border: none;
}

.btn-primary:hover, .btn-submit:hover {
    background-color: #2a4cad;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #4169e1;
    border: 1px solid #4169e1;
}

.btn-secondary:hover {
    background-color: rgba(65, 105, 225, 0.1);
    transform: translateY(-2px);
}

.btn-resource {
    background-color: #2ecc71;
    color: white;
    border: none;
    font-size: 0.9em;
    padding: 8px 16px;
}

.btn-resource:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

.btn-resource.btn-blue {
    background-color: #4169e1;
}

.btn-resource.btn-blue:hover {
    background-color: #2a4cad;
}

.btn-resource.btn-yellow {
    background-color: #f1c40f;
}

.btn-resource.btn-yellow:hover {
    background-color: #dab10d;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 1.5em;
    font-weight: 700;
    color: #4169e1;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4169e1;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Section header style */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .icon {
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.section-header p {
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5%;
    background-color: #f0f4ff;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.8em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight-blue {
    color: #4169e1;
}

.highlight-green {
    color: #2ecc71;
}

.hero p {
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 550px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Why Invest Section */
.why-invest {
    padding: 80px 5%;
    background-color: white;
}

.benefits-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    flex: 1;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.benefit-card p {
    color: #7f8c8d;
}

/* Investment Types Section */
.investment-types {
    padding: 80px 5%;
    background-color: #f8f9fa;
}

.investment-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.investment-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.investment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.investment-icon {
    margin-bottom: 20px;
}

.investment-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.investment-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.more-info {
    color: #4169e1;
    font-weight: 500;
    transition: color 0.3s ease;
}

.more-info:hover {
    color: #2a4cad;
}

/* Beginner Tips Section */
.beginner-tips {
    padding: 80px 5%;
    background-color: white;
}

.tips-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
}

.tips-column {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tips-title {
    margin-bottom: 20px;
    font-size: 1.3em;
    padding-bottom: 10px;
    border-bottom: 2px solid;
}

.tips-title.positive {
    color: #2ecc71;
    border-color: #2ecc71;
}

.tips-title.negative {
    color: #e74c3c;
    border-color: #e74c3c;
}

.steps-list li, .errors-list li {
    margin-bottom: 15px;
    padding-left: 10px;
    position: relative;
}

.steps-list li::before {
    content: "✓";
    color: #2ecc71;
    margin-right: 10px;
    font-weight: bold;
}

.errors-list li::before {
    content: "✗";
    color: #e74c3c;
    margin-right: 10px;
    font-weight: bold;
}

/* Resources Section */
.resources {
    padding: 80px 5%;
    background-color: #f0f4ff;
}

.resources-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 80px;
}

.resource-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    flex: 1;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.resource-icon {
    margin-bottom: 20px;
}

.resource-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.resource-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    margin-top: 80px;
    margin-bottom: 80px;
}

.testimonials-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.testimonials-container::-webkit-scrollbar {
    height: 8px;
}

.testimonials-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.testimonials-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    min-width: 300px;
    flex: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.rating {
    color: #f1c40f;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #2c3e50;
}

.author-details {
    color: #7f8c8d;
    font-size: 0.9em;
}

/* FAQ */
.faq {
    margin-top: 80px;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
}

.faq-toggle {
    color: #4169e1;
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Contact Section */
.contact {
    padding: 80px 5%;
    background-color: #4169e1;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-content {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background-color: #2ecc71;
}

.btn-submit:hover {
    background-color: #27ae60;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #bdc3c7;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #4169e1;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 0.9em;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .benefits-container, .tips-container {
        flex-direction: column;
    }

    .resources-container {
        flex-direction: column;
        align-items: center;
    }

    .resource-card {
        max-width: 400px;
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-logo {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

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

    .hamburger {
        display: block;
    }

    .testimonials-container {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    .section-header h2 {
        font-size: 1.8em;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .investment-options {
        gap: 15px;
    }

    .investment-card {
        width: 100%;
    }

    .contact-form {
        padding: 20px;
    }
}