/* Base Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa;
    --text-color: #343a40;
    --light-text: #f8f9fa;
    --card-bg: #ffffff;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--primary-color); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    text-decoration: underline;
}

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

ul {
    list-style: none;
}

section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Header & Navigation */
header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color); /* Example background */
    color: var(--light-text);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--card-bg);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 2rem;
}

.cta-button:hover {
    background-color: #e2e6ea;
    color: #0056b3;
}

.platform-links a,
.platform-links-contact a {
    color: var(--light-text); /* Adjust for hero */
    margin: 0 0.8rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}
.platform-links-contact a {
     color: var(--primary-color); /* Adjust for contact */
     background-color: #e9ecef;
}


.platform-links a:hover,
.platform-links-contact a:hover {
    color: #f0f0f0; /* Lighter for hero hover */
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.3);
}
.platform-links-contact a:hover {
     color: var(--light-text); /* Adjust for contact */
     background-color: var(--primary-color);
}


/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.service-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.service-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden; /* Ensures image corners are rounded */
    text-align: left;
}

.portfolio-item img {
    width: 100%;
    height: 200px; /* Adjust as needed */
    object-fit: cover;
}

.portfolio-item h3,
.portfolio-item p {
    padding: 0 1.5rem;
}
.portfolio-item h3 {
     margin-top: 1rem;
}

.portfolio-item p {
    padding-bottom: 1.5rem;
    color: var(--secondary-color);
}

/* Testimonials Section */
#temoignages {
    background-color: #e9ecef; /* Light gray background */
}

.testimonial-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 1.5rem auto;
    max-width: 700px;
    text-align: center;
    position: relative;
}

.testimonial-item blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    quotes: "“" "”";
}

.testimonial-item blockquote::before {
    content: open-quote;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    left: 1rem;
    top: 0.5rem;
}


.testimonial-item cite {
    font-weight: bold;
    color: var(--secondary-color);
}

/* Promo Video Section */
#promo-video {
    background-color: #e9ecef; /* Optional: different background */
}

.video-container {
    max-width: 800px; /* Adjust as needed */
    margin: 1rem auto 2rem auto; /* Center the container */
    background-color: var(--card-bg); /* Background for the video area */
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

#promo-video video {
    display: block; /* Remove extra space below video */
    width: 100%; /* Make video responsive */
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 4px; /* Slightly round corners */
}

/* Contact Section */
#contact-form {
    max-width: 600px;
    margin: 2rem auto;
    text-align: left;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

#contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

#contact-form textarea {
    resize: vertical;
}

#contact-form button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-form button:hover {
    background-color: #0056b3;
}

.platform-links-contact {
    margin-top: 2rem;
}
.platform-links-contact p {
    margin-bottom: 1rem;
    font-weight: bold;
}


/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--light-text);
    text-align: center;
    padding: 1.5rem 20px;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }

    .menu-toggle {
        display: block; /* Show hamburger menu */
    }

    .nav-links {
        display: none; /* Hide nav links by default */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex; /* Show links when active */
    }

    .nav-links li {
        margin-bottom: 1rem;
    }

    .service-grid,
    .portfolio-grid {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
    }

    section {
        padding: 40px 15px;
    }

    .hero {
        min-height: 50vh;
    }

    .platform-links a,
    .platform-links-contact a {
        margin: 0.5rem;
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}