/* Reset and Base Styles */
:root {
    --primary-color: #DE0030;
    --primary-light: #FF4D6D;
    --primary-dark: #B30026;
    --secondary-color: #2C5282;
    --accent-color: #48BB78;
    --text-color: #2D3748;
    --text-light: #4A5568;
    --light-gray: #F7FAFC;
    --white: #FFFFFF;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.text-center {
    text-align: center;
}

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

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: auto;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    position: relative;
    z-index: 1002;
}

.logo img {
    height: 80px;
    display: block;
}

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

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

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cta-buttons.mobile {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.cta-buttons.mobile .btn {
    width: 100%;
    text-align: center;
}

.cta-buttons.mobile .btn-primary {
    color: var(--white);
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    opacity: 0.9;
}

.btn-primary:hover {
    background: var(--primary-light);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    padding: 140px 20px 120px;
    text-align: center;
    border-bottom: 1px solid rgba(222, 0, 48, 0.1);
}

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

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Solutions Section */
.solutions {
    padding: 6rem 2rem;
    background: var(--light-gray);
}

.solutions h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.25rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.solution-header {
    text-align: center;
}

.solution-logo {
    height: 30px;
    margin-bottom: 1rem;
}

.solution-logo2 {
    height: 60px;
    margin-bottom: 1rem;
}

.solution-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.solution-card .subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.solution-features h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.solution-cta {
    margin-top: auto;
    text-align: center;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.features li::before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* Methodology Section */
.methodology {
    padding: 4rem 2rem;
}

.methodology h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.methodology-card {
    text-align: center;
    padding: 2rem;
}

.methodology-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: var(--light-gray);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.software-features .feature-card i {
    color: var(--primary-color);
}

.advisory-features .feature-card i {
    color: var(--secondary-color);
}

.feature-card h3 {
    color: var(--text-color);
    margin: 1rem 0;
    font-size: 1.25rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    text-align: center;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 800px;
}

.testimonial-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.testimonial-text {
    flex: 1;
}

.testimonial-text blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-text cite {
    font-weight: 600;
    color: #666;
    font-style: normal;
}

/* CTA Section */
.cta {
    padding: 4rem 2rem;
    background: var(--light-gray);
    color: var(--text-color);
    text-align: center;
    border-top: 1px solid rgba(222, 0, 48, 0.1);
    border-bottom: 1px solid rgba(222, 0, 48, 0.1);
}

.cta h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cta p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
}

.cta .btn {
    min-width: 200px;
}

.cta .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
}

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

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
    margin-right: 1rem;
    background: transparent;
    padding: 0;
    border: none;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 1rem;
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 0;
        transition: top 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        top: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--light-gray);
        text-align: center;
    }

    .cta-buttons.desktop {
        display: none;
    }
    
    .cta-buttons.mobile {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        gap: 0.5rem;
        margin: 1rem 0 2rem;
        border-top: 1px solid var(--light-gray);
    }

    .nav-links.active .cta-buttons.mobile {
        display: flex;
    }

    .cta-buttons.mobile .btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
        margin: 0;
    }

    .cta-buttons.mobile .btn:last-child {
        margin-bottom: 0;
    }

    /* Animation du menu hamburger */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Overlay pour le menu mobile */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

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

    /* Ajustement du hero pour le menu mobile */
    .hero {
        padding-top: 120px;
    }

    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-image {
        margin-bottom: 1rem;
    }
}

/* Programme Fibre Citoyenne Page Styles */
.programme-hero {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98)), url('../images/programme-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    padding: 180px 20px 120px;
    text-align: center;
    border-bottom: 1px solid rgba(222, 0, 48, 0.1);
}

.programme-hero .hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.programme-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

.programme-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.programme-overview {
    padding: 4rem 2rem;
    text-align: center;
}

.programme-overview .lead {
    font-size: 1.25rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.lead {
    font-size: 1.25rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.programme-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: fit-content;
    min-height: auto;
}

.programme-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.programme-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.programme-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.4;
}

.programme-card li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.programme-card li:last-child {
    margin-bottom: 0;
}

.programme-card .btn {
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    width: calc(100% - 4rem);
}

.benefits {
    padding: 4rem 2rem;
    background: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-card i {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.services {
    padding: 4rem 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
}

.service-card i {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 4rem;
    text-align: left;
}

.service-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.service-card .btn {
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    width: calc(100% - 4rem);
}

/* Responsive adjustments for Programme page */
@media (max-width: 768px) {
    .programme-overview,
    .benefits,
    .services {
        padding: 3rem 1rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .programme-grid,
    .benefits-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Bureau d'études Page Styles */
.bureau-hero {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98)), url('../images/bureau-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    padding: 8rem 2rem 4rem;
    text-align: center;
    border-bottom: 1px solid rgba(222, 0, 48, 0.1);
}

.bureau-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

.bureau-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-overview {
    padding: 4rem 2rem;
}

.services-overview .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.services-overview .service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 5rem;
    position: relative;
}

.services-overview .service-card ul {
    list-style: none;
    margin: 1rem 0;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.services-overview .service-card .btn {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    width: calc(100% - 4rem);
    text-align: center;
}

.expertise {
    padding: 4rem 2rem;
    background: var(--light-gray);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

.expertise-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive adjustments for Bureau d'études page */
@media (max-width: 768px) {
    .services-overview,
    .expertise {
        padding: 3rem 1rem;
    }

    .services-overview .services-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* Software Features Section */
.software-features {
    background: var(--light-gray);
}

.software-features h2 {
    color: var(--primary-color);
}

/* Advisory Features Section */
.advisory-features {
    background: var(--white);
}

.advisory-features h2 {
    color: var(--secondary-color);
}

/* Contact Page Styles */
.contact-section {
    padding: 180px 20px 120px;
    background-color: #f8f9fa;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2em;
    color: #666;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.info-card p {
    margin: 8px 0;
    color: #666;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container,
    .info-card {
        padding: 20px;
    }
} 