/* solutions.css - Styles standards pour les pages solutions */

/* Hero Split Styles */
.hero-split {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f5 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.category-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(128, 49, 1, 0.1);
    color: #803101;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    color: #222;
    margin-bottom: 25px;
}

.hero-leads p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hero-actions {
    margin-top: 35px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    text-align: center;
    /* Center image on mobile if stacked */
}

/* Ensure images are responsive and styled */
.hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* 3D effect only on large screens if desired, keeping it simple for stability */
    transition: transform 0.5s ease;
}

/* Floating Badge */
.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #0056b3;
}

/* Responsive adjustments for Hero */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image img {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .floating-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }
}

/* Audience Section - Grid of Cards */
.target-audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.audience-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: #333;
    font-weight: 600;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(128, 49, 1, 0.1);
    border-color: rgba(128, 49, 1, 0.2);
}

.audience-card i {
    font-size: 2.5rem;
    color: #803101;
    background: rgba(128, 49, 1, 0.05);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 5px;
}

/* Features List with Images */
.features-list-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    padding: 20px 0;
}

.features-list-image.reverse {
    direction: rtl;
}

.features-list-image.reverse>* {
    direction: ltr;
}

.feature-text h3 {
    color: #222;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.feature-text ul {
    list-style: none;
    padding: 0;
}

.feature-text ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
    color: #555;
}

.feature-text ul li::before {
    content: '\f00c';
    /* FontAwesome Check */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #803101;
    position: absolute;
    left: 0;
    top: 4px;
}

.feature-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.feature-img img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .features-list-image {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-list-image.reverse {
        direction: ltr;
    }

    .feature-text ul li {
        text-align: left;
        /* Keep lists readable */
        display: inline-block;
        /* Or block, depending on preference */
    }
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    align-items: start;
    gap: 15px;
}

.benefit-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.benefit-card i {
    font-size: 2rem;
    color: #28a745;
    flex-shrink: 0;
}

.benefit-card span {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.4;
}

/* Why SEPRO Grid */
.why-sepro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.why-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-bottom: 4px solid transparent;
}

.why-card:hover {
    transform: translateY(-5px);
    border-bottom-color: #803101;
}

.why-card i {
    font-size: 2.5rem;
    color: #803101;
    margin-bottom: 20px;
    display: block;
}

.why-card p {
    font-weight: 700;
    color: #222;
    margin: 0;
    font-size: 1.1rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #803101 0%, #b34700 100%);
    padding: 60px;
    border-radius: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 20px 50px rgba(128, 49, 1, 0.2);
    margin: 0 auto;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

/* Decorative circle in CTA */
.cta-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-box h3 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-box .site-btn {
    background: white;
    color: #803101;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-1{
    background: #ff8a00 !important;
    border-radius: 10px !important;
}
.btn-2{
    background: #803101 !important;
    border-radius: 10px !important;
}

.cta-box .site-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Specific Need Section */
.specific-need-section {
    background: #1a1a1a;
    color: white;
    padding: 80px 0;
    position: relative;
    margin-top: 0;
    /* Align perfectly with footer if needed */
}

.specific-need-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.specific-need-section p {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
/* Fullscreen Split Layout */
.solutions-fullscreen-wrapper {
    display: flex;
    min-height: calc(100vh - 80px); /* Subtract approximate header height */
    width: 100%;
    overflow: hidden; /* Prevent scroll on desktop if content fits */
    position: relative;
    background: #f8f9fa;
}

.solution-split-item {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-right: 1px solid rgba(0,0,0,0.05);
    transition: background 0.3s ease;
    text-align: center;
}

.solution-split-item:last-child {
    border-right: none;
}

.solution-split-item:hover {
    background: white;
}

.solution-split-content {
    max-width: 500px;
    z-index: 2;
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
}

.solution-split-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1; /* Subtle background image */
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease;
}

.solution-split-item:hover .solution-split-bg {
    opacity: 0.2;
}

.split-icon {
    font-size: 3rem;
    color: green;
    margin-bottom: 20px;
    background: white;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.split-title {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 700;
}

.split-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.split-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Minimal Footer for Fullscreen Page */
.solutions-minimal-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.9);
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
    z-index: 10;
}

.solutions-minimal-footer a {
    color: #666;
    margin-left: 15px;
    text-decoration: none;
}

/* Responsive Stack */
@media (max-width: 992px) {
    .solutions-fullscreen-wrapper {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
    
    .solution-split-item {
        padding: 60px 20px;
        border-right: none;
        border-bottom: 1px solid #eee;
        min-height: 50vh;
    }

    .solutions-minimal-footer {
        position: relative; /* Normal flow on mobile */
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
