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

/* Variables */
:root {
    --primary-color: #FF5722;
    --secondary-color: #146A9A;
    --accent-color: #F18401;
    --ai-blue: #1A202C;
    --ai-green: #D55C1F;
    --background-light: #f4f4f4;
    --text-color: #5d5d5d;
    --transition-speed: 0.4s;
    --dark-color: #191A35;
    --white-color: #fff;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
    --medium-gray: #666;
}

.socialnetwork a{
    text-decoration: none;
    color: var(--secondary-color);
}

.socialnetwork a i{
    font-size: 20px;
    margin-left: 9px;
}

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--light-gray);
    background-image: url('/api/placeholder/1400/900');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

html {
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-weight: bold;
    text-align: center;
}

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

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white-color);
    color: var(--white-color);
}

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

/* ===== NAVIGATION ===== */
.menubar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.menubar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.hamburger:hover {
    color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://img.freepik.com/free-photo/3d-hand-with-safe-payment-confirmation-bill_107791-16702.jpg?ga=GA1.1.408864281.1744634769&semt=ais_hybrid&w=740') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white-color);
    margin-top: 76px;
    /* Hauteur du menubar */
    padding: 4rem 0;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    flex: 0 0 40%;
    position: relative;
    z-index: 10;
}

.hero-text {
    flex: 0 0 55%;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-text h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-text p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== FORM SECTION ===== */
.form-section {
    padding: 4rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    background-color: var(--white-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.form-container {
    flex: 1 1 60%;
    min-width: 300px;
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L0 2h12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-bottom: 0.7rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.required {
    color: #e53935;
}

.form-submit {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.8rem;
    width: 100%;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 74, 25, 0.3);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    flex: 1 1 30%;
    min-width: 280px;
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.portfolio h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.8rem;
}

.portfolio h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.portfolio-item {
    overflow: hidden;
    border-radius: 6px;
    height: 0;
    padding-top: 100%;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-title {
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.faq-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-question {
    padding: 1rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 0 1.5rem;
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    display: none;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3rem 0 1.5rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.footer-logo {
    flex: 1 1 200px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-top: 0.8rem;
    opacity: 0.9;
}

.footer-links {
    flex: 1 1 150px;
}

.footer-title {
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
    font-size: 1.1rem;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.4);
}

.footer-link {
    display: block;
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--white-color);
    transform: translateX(5px);
}

.footer-social {
    flex: 1 1 200px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-contact {
    flex: 1 1 250px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-detail i {
    margin-top: 4px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #e64a19;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-text {
        padding: 1.8rem;
    }

    .form-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 992px) {
    .menubar-content {
        padding: 1rem;
    }

    .hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 0;
        flex: auto;
        width: 100%;
    }

    .hero-text {
        flex: auto;
        width: 90%;
        margin: 0 auto;
    }

    .form-section {
        flex-direction: column;
        gap: 3rem;
    }

    .portfolio {
        width: 100%;
    }

    .portfolio-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .portfolio-showcase {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .menubar {
        padding: 0;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background-color: rgba(255, 255, 255, 0.97);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        z-index: 20;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links a {
        width: 100%;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a::after {
        display: none;
    }

    .hero {
        margin-top: 60px;
        padding: 3rem 0;
    }

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

    .hero-text {
        width: 95%;
    }

    .hero-text h2 {
        font-size: 1.3rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .portfolio-showcase {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links,
    .footer-social,
    .footer-contact {
        flex: auto;
        width: 100%;
    }

    .footer-bottom {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        width: 100%;
        padding: 1.5rem;
    }

    .hero-text h2 {
        font-size: 1.2rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .form-container,
    .portfolio {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .portfolio-grid {
        gap: 0.5rem;
    }

    .portfolio h3 {
        font-size: 1.3rem;
    }

    .faq-container {
        padding: 1.5rem;
    }

    .faq-title {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .social-icons {
        justify-content: center;
    }
}

.footer {
    background-color: #f0f0f0;
    padding: 40px 20px;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.footer-logo-highlight {
    color: #FF5722;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.contact-icon {
    color: #FF5722;
    margin-right: 10px;
    font-size: 16px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.footer-nav-title {
    color: #FF5722;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
}

.footer-menu-item {
    margin-bottom: 10px;
}

.footer-menu-link {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu-link:hover {
    color: #FF5722;
}

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

.newsletter-title {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    background-color: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.newsletter-button {
    background-color: #FF5722;
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter-button:hover {
    background-color: #E64A19;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-contact,
    .footer-nav,
    .footer-newsletter {
        width: 100%;
    }
}