/* Base Styles */
:root {
    --primary-color: #4a6de5;
    --primary-dark: #3a56b4;
    --primary-light: #eef1ff;
    --secondary-color: #f0a830;
    --secondary-dark: #e09820;
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #1c2331;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --green-light: #40c98b;
    --radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 60px 0;
}

/* Buttons */
.btn-primary, 
.btn-secondary, 
.btn-resource {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    color: white;
}

.btn-secondary {
    background-color: #f1f1f1;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

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

.btn-resource {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    font-size: 14px;
}

.btn-resource:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-contact {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius);
}

.btn-contact:hover {
    background-color: var(--secondary-dark);
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-menu .menu li a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-menu .menu li a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu li a {
    display: block;
    padding: 8px 0;
    color: var(--text-color);
    font-weight: 500;
}

.mobile-menu li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

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

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
}

/* Section Styles */
.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--light-text);
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
}

/* Articles Section */
.articles {
    background-color: var(--bg-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.article-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.read-more:hover {
    color: var(--primary-dark);
}

.view-more {
    text-align: center;
    margin-top: 20px;
}

/* Conseils Section */
.conseils {
    background-color: var(--light-bg);
}

.conseils-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.conseil-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.conseil-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.conseil-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.testimonial-card:hover {
    background-color: white;
    box-shadow: var(--box-shadow);
}

.testimonial-profile {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-info p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
}

/* Learning Center Section */
.learning-center {
    background-color: #4caf50;  /* Green background */
    color: white;
}

.learning-center h2,
.learning-center .section-description {
    color: white;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.resource-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.resource-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.resource-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.resource-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.resource-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Strategies Section */
.strategies {
    background-color: var(--bg-color);
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.strategy-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.strategy-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.strategy-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.strategy-points {
    margin: 20px 0;
    list-style-type: disc;
    padding-left: 20px;
}

.strategy-points li {
    margin-bottom: 8px;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--dark-bg);
    color: white;
    text-align: center;
}

.newsletter-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.newsletter h2 {
    color: white;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 15px;
    border-radius: var(--radius);
    border: none;
    font-size: 16px;
}

.newsletter-disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 15px;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.footer-logo p {
    opacity: 0.8;
    margin-top: 15px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.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);
}

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

/* Privacy Policy & Terms of Use Pages */
.privacy-policy,
.terms-of-use {
    padding: 80px 0;
}

.policy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.policy-content h2,
.terms-content h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-top: 40px;
}

.policy-content ul,
.terms-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-content ul li,
.terms-content ul li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .strategies-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .articles-grid,
    .conseils-grid,
    .testimonials-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .btn-primary {
        width: 100%;
    }
}