/*
Theme Name: Invest Expat Theme
Theme URI: https://www.invest-expat.com/
Author: Theme Developer
Author URI: http://example.com
Description: A modern, responsive WordPress theme for Invest Expat
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: invest-expat-theme
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.clear-both {
    clear: both;
}

/* Header */
header {
    position: relative;
    z-index: 90;
}

.headerBackground-container {
    width: 100%;
    height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-image: url('https://www.invest-expat.com/content/uploads/sites/34/2022/01/fd_invest-1.jpg');
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.logo {
    max-height: 120px;
    margin: 10px auto;
    padding: 10px;
    display: block;
    background-color: transparent;
}

/* Sticky Navigation */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#main-nav .nav-wrapper {
    background-color: rgb(221, 226, 230);
    padding: 10px 0;
}

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

#homeButton {
    display: block;
    height: 50px;
    width: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px;
    border: none;
    outline: none;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-list li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-list li a {
    text-decoration: none;
    color: #393837;
    font-weight: bold;
    padding: 0 10px;
    transition: color 0.3s ease;
    display: block;
    position: relative;
    z-index: 1;
    font-size: 0.8em;
    font-family: "Open Sans", sans-serif;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-list li a::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -24.5px;
    width: calc(100% + 46px);
    height: 100%;
    background: #2a648b;
    z-index: -1;
    transform: skew(-10deg, 0);
    opacity: 0;
    transition: all .35s ease;
    -webkit-backface-visibility: hidden;
}

.nav-list li a:hover::before,
.nav-list li a.active::before {
    opacity: 1;
}

.nav-list li a:hover,
.nav-list li a.active,
.nav-list li a.current-menu-item {
    color: white !important;
}

/* Mobile menu toggle */
#menuToggle {
    display: none;
    cursor: pointer;
}

#closeMenuToggle {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: rgb(221, 226, 230);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 60px;
        transition: 0.3s ease;
        z-index: 1000;
    }

    .nav-list.active {
        right: 0;
    }

    #menuToggle {
        display: block;
    }

    #closeMenuToggle {
        display: block;
    }
}

/* Main Content */
#main-wrapper {
    min-height: calc(100vh - 400px - 200px); /* Account for header and footer */
    margin-top: 60px; /* Account for fixed navigation */
}

/* Partners Carousel - Dual Row Horizontal Scrolling */
.partners-carousel-container {
    overflow: hidden;
    padding: 20px 0;
}

.partners-carousel-wrapper {
    display: block;
    min-width: 100%;
    margin-bottom: 15px; /* Space between rows */
}

.partners-carousel {
    display: flex;
    animation: scroll 30s linear infinite;
    min-width: 200%; /* Double the width to create continuous scrolling effect */
}

.partners-carousel-reverse {
    animation: scroll-reverse 35s linear infinite;
}

.partners-carousel:hover,
.partners-carousel-reverse:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.partners-carousel .partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex: 0 0 auto;
    margin-right: 40px; /* Space between logos */
}

.partners-carousel .partner-logo {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.partners-carousel .partner-logo:hover {
    opacity: 0.8;
}

.partner-logo-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100px;
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    color: #666;
    font-size: 14px;
    text-align: center;
    padding: 10px;
}

/* Responsive adjustments for partners carousel */
@media (max-width: 768px) {
    .partners-carousel {
        animation: scroll 60s linear infinite; /* Slower animation on mobile */
    }

    .partners-carousel-reverse {
        animation: scroll-reverse 65s linear infinite; /* Slower animation on mobile */
    }

    .partners-carousel .partner-item {
        margin-right: 30px;
    }

    .partners-carousel .partner-logo {
        max-height: 70px;
    }
}

.wrapper {
    padding: 60px 20px;
    position: relative;
}

/* Section Specific Styles */
#blog {
    background-color: #f9f9f9;
}

#blog h3,
#solutions h3,
#nos-services h3,
#qui-sommes-nous h3,
#partners h3,
#contact h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

#blog h3:after,
#solutions h3:after,
#services h3:after,
#nos-services h3:after,
#qui-sommes-nous h3:after,
#partners h3:after,
#contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #69a7c1;
}

/* Blog Section Styles */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.blog-filter-btn {
    padding: 8px 16px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    background-color: #69a7c1;
    color: white;
    border-color: #69a7c1;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-post-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: #e9f0f5;
    color: #69a7c1;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    align-self: flex-start;
}

.blog-post-title {
    margin: 0 0 15px;
    font-size: 1.4em;
    line-height: 1.4;
}

.blog-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: #69a7c1;
}

.blog-post-excerpt {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
    color: #888;
    font-size: 0.9em;
}

.read-more {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
    color: #69a7c1;
    border: 1px solid #69a7c1;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: #69a7c1;
    color: white;
}

/* Two Column Layout */
.one_half {
    width: calc(48% - 15px);
    float: left;
    margin-right: 4%;
    margin-bottom: 30px;
}

.one_half:nth-child(2n) {
    margin-right: 0;
}

.one_half.last {
    margin-right: 0;
}

/* Solutions Section - Modern Design 2025 */
#solutions {
    background-color: white;
    color: #363636;
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

#solutions::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #f8f9fa 0%, white 40%);
    z-index: 0;
}

#solutions .container {
    position: relative;
    z-index: 1;
}

#solutions h3,
#solutions h4 {
    color: #363636;
}

#solutions h4.big {
    font-size: 2.5em;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

#solutions p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.solutions-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.solutions-text {
    flex: 1;
    min-width: 300px;
}

.solutions-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solutions-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.solutions-nav {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.solutions-nav h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.4em;
    color: #363636;
}

.solutions-nav ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.solutions-nav li {
    margin-bottom: 10px;
}

.solutions-nav a {
    display: block;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #363636;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.solutions-nav a:hover {
    background: #69a7c1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(105, 167, 193, 0.2);
}

.featured-solution {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
    border-left: 4px solid #69a7c1;
}

.featured-solution h4 {
    color: #363636;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.featured-solution ul {
    padding-left: 20px;
}

.featured-solution li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.featured-solution li::before {
    content: "•";
    color: #69a7c1;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* New Solutions Featured Style */
.solutions-grid {
    margin: 30px 0;
    width: 100%;
    clear: both;
}

.solution-item {
    width: 100%;
    display: block;
    margin-bottom: 16px;
    box-sizing: border-box;
    overflow: hidden; /* Clear floats */
}

.solution-content {
    width: 50%;
    float: left;
    display: block;
    margin-right: 0px;
    margin-left: 0px;
    margin: 0px;
    padding: 23.9531px;
    box-sizing: border-box;
}

.solution-title {
    background: #994444 none repeat scroll 0% 0% / auto padding-box border-box;
    border: 1px solid #994444;
    color: #fff;
    text-align: center;
    margin-bottom: 16px;
    padding: 8px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 19.2px;
    font-weight: 700;
    text-transform: uppercase;
}

.solution-title a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    line-height: 20.8px;
    transition: color 0.35s ease-in;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0);
}

.solution-excerpt {
    text-align: justify;
    font-size: 16px;
    line-height: 20.8px;
    color: #333333;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.solution-read-more {
    margin-top: 16px;
    text-align: right;
    font-size: 16px;
    line-height: 20.8px;
    color: #333333;
    margin-bottom: 16px;
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    line-height: 20.8px;
    transition: color 0.35s ease-in;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0);
}

.solution-image-container {
    width: 50%;
    float: left;
    display: block;
    margin-right: 0px;
    margin-left: 0px;
    position: relative;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

.solution-image {
    width: 100%;
    display: block;
    height: auto;
    transform: matrix(1, 0, 0, 1, 0, 0);
    max-width: 100%;
    transform-style: preserve-3d;
    vertical-align: middle;
    box-sizing: border-box;
    border-style: none;
    object-fit: cover;
}

.solution-image-placeholder {
    width: 100%;
    display: block;
    height: auto;
    transform: matrix(1, 0, 0, 1, 0, 0);
    max-width: 100%;
    transform-style: preserve-3d;
    vertical-align: middle;
    box-sizing: border-box;
    border-style: none;
}

.solutions-category {
    margin: 40px 0;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.solutions-category:last-child {
    border-bottom: none;
}

.solutions-category-title {
    font-size: 1.8em;
    color: #2a648b;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.solutions-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #69a7c1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .solutions-intro {
        flex-direction: column;
    }

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

    .solutions-nav ul {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Services Carousel Section */
#nos-services {
    background-color: #fff;
    padding: 60px 20px;
}

.services-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    height: 450px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    backdrop-filter: blur(10px);
}

.services-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.services-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    pointer-events: none;
}

.service-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.service-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 2;
}

.service-image-container {
    width: 45%;
    height: 100%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-text {
    width: 55%;
    padding: 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed from center to start to allow natural content flow */
    height: 100%;
    overflow: hidden;
}

.service-title {
    display: inline-block;
    background: linear-gradient(135deg, #2a648b 0%, #69a7c1 100%);
    margin-bottom: 20px;
    padding: 12px 25px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(42, 100, 139, 0.3);
    align-self: flex-start;
}

.service-description {
    flex: 1;
    line-height: 1.7;
    color: #333;
    font-size: 16px;
    overflow-y: auto; /* Allow scrolling for long descriptions */
    padding-right: 10px;
    min-height: 0;
    white-space: normal; /* Ensure text wraps properly */
}

.service-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.3;
}

.carousel-controls {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.carousel-controls button {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.9);
    color: #2a648b;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin: 0 30px;
}

.carousel-controls button:hover {
    background: white;
    color: #1a4a6b;
    transform: scale(1.1);
}

.carousel-prev {
    margin-left: 30px;
}

.carousel-next {
    margin-right: 30px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-carousel-container {
        height: auto;
        min-height: 500px;
        border-radius: 15px;
    }

    .service-content {
        flex-direction: column;
    }

    .service-image-container {
        width: 100%;
        height: 40%;
    }

    .service-text {
        width: 100%;
        height: 60%;
        padding: 25px;
    }

    .carousel-controls {
        flex-direction: column;
        justify-content: center;
        height: auto;
        top: auto;
        bottom: 80px;
    }

    .carousel-controls button {
        margin: 10px;
        width: 50px;
        height: 50px;
    }

    .carousel-prev {
        order: 2;
        margin-left: 0;
    }

    .carousel-next {
        order: 1;
        margin-right: 0;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .service-title {
        align-self: center;
        font-size: 16px;
        padding: 10px 20px;
    }
}

/* Qui sommes-nous section */
#qui-sommes-nous {
    background-color: #fff;
}

.who-we-are-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.who-we-are-left {
    flex: 1;
    min-width: 300px;
}

.logo-text-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.invest-expat-logo {
    max-width: 120px;
    max-height: 90px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-text-content {
    flex: 1;
}

.logo-text-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.groupe-altea {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.groupe-altea a {
    color: #69a7c1;
    text-decoration: none;
    font-weight: bold;
}

.groupe-altea a:hover {
    text-decoration: underline;
}

.engagements-title {
    font-size: 1.5em;
    color: #2a648b;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.engagements-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #69a7c1;
}

.who-we-are-right {
    flex: 1;
    min-width: 300px;
}

.engagement {
    margin-bottom: 25px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.engagement:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.engagement:last-child {
    margin-bottom: 0;
}

.engagement h4 {
    color: #363636;
    margin-bottom: 12px;
    font-size: 1.3em;
    text-transform: uppercase;
    color: #2a648b;
    position: relative;
    padding-bottom: 10px;
}

.engagement h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #69a7c1;
}

.engagement p {
    color: #555;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .who-we-are-content {
        flex-direction: column;
    }

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

    .invest-expat-logo {
        align-self: center;
    }

    .logo-text-content {
        width: 100%;
        text-align: center;
    }

    .groupe-altea {
        margin-top: 15px;
    }

    .engagement {
        margin-bottom: 20px;
    }

    .engagements-title {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 40px 0;
}

.mainColor_BG {
    background-color: #69a7c1;
    color: white;
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.menu-footer {
    display: flex !important;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.menu-footer a:hover {
    color: #69a7c1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .headerBackground-container {
        height: 300px;
    }
    
    .logo {
        max-height: 60px;
        margin: 10px;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .one_half {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .wrapper {
        padding: 40px 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .menu-footer {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .headerBackground-container {
        height: 250px;
    }
    
    #blog h3,
    #solutions h3,
    #services h3,
    #qui-sommes-nous h3,
    #contact h3 {
        font-size: 24px;
    }
    
    #solutions h4.big {
        font-size: 1.8em;
    }
}

/* Contact Section - Modern Design 2025 */
#contact {
    background: #f8f9fa;
    color: #363636;
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

#contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, #e9f0f5 0%, #f8f9fa 70%);
    z-index: 0;
}

#contact .container {
    position: relative;
    z-index: 1;
}

.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    margin-top: 30px;
}

.contact-form-section {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-item-section {
    margin-top: 20px;
}

.contact-form-wrapper {
    margin-top: 20px;
}

.contact-form-wrapper form {
    padding: 0;
}

.contact-form-wrapper .wpcf7-form-control {
    width: 100%;
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
}

.contact-form-wrapper textarea.wpcf7-form-control {
    height: 120px;
    resize: vertical;
}

.contact-form-wrapper input[type="submit"],
.contact-form-wrapper .wpcf7-form-control.btn {
    background: #69a7c1;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
    width: auto;
}

.contact-form-wrapper input[type="submit"]:hover,
.contact-form-wrapper .wpcf7-form-control.btn:hover {
    background: #2a648b;
}

.contact-form-wrapper .wpcf7-form-control.input-field,
.contact-form-wrapper .wpcf7-form-control input,
.contact-form-wrapper .wpcf7-form-control textarea,
.contact-form-wrapper .wpcf7-form-control select {
    width: 100%;
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form-wrapper .wpcf7-form-control textarea {
    height: 120px;
    resize: vertical;
}

/* Style spécifique pour les options vides dans les selects */
.contact-form-wrapper .wpcf7-form-control select option[value=""] {
    display: none;
}

.contact-form-wrapper .wpcf7-form-control select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 35px;
    cursor: pointer;
}

.contact-form-wrapper .wpcf7-form-control .contact-form-row {
    display: flex;
    gap: 15px;
}

.contact-form-wrapper .wpcf7-form-control .contact-form-row > * {
    flex: 1;
}

/* Specific styles for callback form */
.callback-form-wrapper,
.contact-form-wrapper {
    padding: 0;
}

.callback-form-wrapper input[type="submit"],
.callback-form-wrapper .wpcf7-form-control.btn {
    background: #69a7c1;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
    width: auto;
}

.callback-form-wrapper input[type="submit"]:hover,
.callback-form-wrapper .wpcf7-form-control.btn:hover {
    background: #2a648b;
}

.callback-form-wrapper .wpcf7-form-control.input-field,
.callback-form-wrapper .wpcf7-form-control input,
.callback-form-wrapper .wpcf7-form-control textarea,
.callback-form-wrapper .wpcf7-form-control select {
    width: 100%;
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.callback-form-wrapper .wpcf7-form-control textarea {
    height: 120px;
    resize: vertical;
}

/* Style spécifique pour les options vides dans les selects */
.callback-form-wrapper .wpcf7-form-control select option[value=""] {
    display: none;
}

.callback-form-wrapper .wpcf7-form-control select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 35px;
    cursor: pointer;
}

.contact-info-section {
    flex: 1;
    min-width: 300px;
}

.contact-info-box {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    margin-right: 20px;
    color: #69a7c1;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-details strong {
    color: #2a648b;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.contact-details p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

.callback-section {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.callback-form-wrapper {
    margin-top: 20px;
}

.install-notice {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #69a7c1;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
    }

    .contact-form-section,
    .contact-info-section {
        width: 100%;
    }

    .contact-item {
        flex-direction: column;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}