/**
 * Company Modern Sections CSS
 * Styles modernes réutilisables pour les pages company (partnership, about, career, etc.)
 * BarkaChange - 2024
 */

/* ========================================
   TYPOGRAPHY - Responsive Font Sizes
   ======================================== */

/* Grands écrans */
.banner__content .title, h1.title {
    font-size: 2.5rem;
}
h2, .h2 {
    font-size: 2rem;
}
h3, .h3 {
    font-size: 1.75rem;
}
h5, .h5 {
    font-size: 1.25rem;
}
h6, .h6 {
    font-size: 1.1rem;
}

/* Tablettes */
@media (max-width: 991.98px) {
    .banner__content .title, h1.title {
        font-size: 2.2rem;
    }
    h2, .h2 {
        font-size: 1.8rem;
    }
    h3, .h3 {
        font-size: 1.5rem;
    }
    h5, .h5 {
        font-size: 1.15rem;
    }
    h6, .h6 {
        font-size: 1rem;
    }
}

/* Petites tablettes */
@media (max-width: 767.98px) {
    .banner__content .title, h1.title {
        font-size: 1.8rem;
    }
    h2, .h2 {
        font-size: 1.5rem;
    }
    h3, .h3 {
        font-size: 1.3rem;
    }
    h5, .h5 {
        font-size: 1.1rem;
    }
    h6, .h6 {
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .banner__content .title, h1.title {
        font-size: 1.6rem;
    }
    h2, .h2 {
        font-size: 1.4rem;
    }
    h3, .h3 {
        font-size: 1.2rem;
    }
    h5, .h5 {
        font-size: 1rem;
    }
    h6, .h6 {
        font-size: 0.9rem;
    }
}

/* ========================================
   BANNER SECTION - Hero Section
   ======================================== */

.banner {
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(1, 44, 168, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-banner 8s ease-in-out infinite;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-banner 6s ease-in-out infinite reverse;
}

@keyframes pulse-banner {
    0%, 100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2) translate(20px, -20px);
        opacity: 1;
    }
}

.banner .container {
    position: relative;
    z-index: 2;
}

.banner__content .title {
    font-weight: 800;
    background: linear-gradient(135deg, #1f2937 0%, #012CA8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.banner__content .desc {
    color: #4b5563;
    line-height: 1.7;
    max-width: 600px;
}

.banner .btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #012CA8 0%, #00B7FF 100%);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(1, 44, 168, 0.3);
    position: relative;
    overflow: hidden;
}

.banner .btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.banner .btn-action:hover {
    background: linear-gradient(135deg, #012CA8 0%, #012CA8 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(1, 44, 168, 0.4);
}

.banner .btn-action:hover::before {
    left: 100%;
}

.banner img {
    animation: float-banner 6s ease-in-out infinite;
}

@keyframes float-banner {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 767.98px) {
    .banner .btn-action {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* ========================================
   BENEFITS/ADVANTAGES SECTION
   ======================================== */

.benefits {
    position: relative;
}

.benefits .card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefits .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #012CA8 0%, #00B7FF 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.benefits .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px -12px rgba(1, 44, 168, 0.25);
    border-color: #012CA8;
}

.benefits .card:hover::before {
    transform: scaleX(1);
}

.benefits .card img {
    width: 64px;
    height: 64px;
    padding: 12px;
    background: linear-gradient(135deg, #E8F4FF 0%, #D6ECFF 100%);
    border-radius: 16px;
    transition: all 0.4s ease;
    object-fit: contain;
}

.benefits .card:hover img {
    background: linear-gradient(135deg, #012CA8 0%, #00B7FF 100%);
    transform: rotate(-5deg) scale(1.1);
}

.benefits .card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.benefits .card:hover h3 {
    color: #012CA8;
}

.benefits .card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

.benefits h2 {
    font-weight: 800;
    color: #111827;
    position: relative;
    display: inline-block;
}

.benefits h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #012CA8 0%, #00B7FF 100%);
    border-radius: 2px;
}

@media (max-width: 991.98px) {
    .benefits .card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .benefits .card img {
        width: 56px;
        height: 56px;
    }

    .benefits .card h3 {
        font-size: 1.2rem;
    }
}

/* ========================================
   PROCESS STEPS SECTION
   ======================================== */

.process-steps .title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    margin-bottom: 5px;
}

.process-steps .text {
    font-size: 1rem;
    color: #666;
}

.process-step-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #012CA8 0%, #00B7FF 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.process-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(1, 44, 168, 0.2);
    border-color: #012CA8;
}

.process-step-card:hover::before {
    transform: scaleX(1);
}

.process-step-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #E8F4FF 0%, #D6ECFF 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.process-step-card:hover .process-step-icon-wrapper {
    background: linear-gradient(135deg, #012CA8 0%, #00B7FF 100%);
    transform: rotate(5deg) scale(1.05);
}

.process-step-icon-wrapper img {
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(31%) sepia(71%) saturate(2860%) hue-rotate(232deg) brightness(94%) contrast(93%);
}

.process-step-card:hover .process-step-icon-wrapper img {
    filter: brightness(0) invert(1);
}

.process-step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #012CA8 0%, #00B7FF 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(1, 44, 168, 0.4);
}

.process-step-card .title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.process-step-card .text {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991.98px) {
    .process-step-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .process-step-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .process-step-icon-wrapper img {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   STATISTICS SECTION
   ======================================== */

.stat-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px -5px rgba(1, 44, 168, 0.15);
    border-color: #012CA8;
}

.stat-item h2 {
    background: linear-gradient(135deg, #012CA8 0%, #00B7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.stat-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

@media (max-width: 991.98px) {
    .stat-item h2 {
        font-size: 3rem;
    }
}

@media (max-width: 767.98px) {
    .stat-item h2 {
        font-size: 2.5rem;
    }

    .stat-item p {
        font-size: 0.95rem;
    }
}

/* ========================================
   MODERN FORM STYLES
   ======================================== */

.partnership-request-form,
.modern-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.partnership-request-form .form-group label,
.modern-form .form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.partnership-request-form .form-control,
.modern-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #1f2937;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    outline: none;
}

.partnership-request-form .form-control:focus,
.modern-form .form-control:focus {
    background-color: #ffffff;
    border-color: #012CA8;
    box-shadow: 0 0 0 3px rgba(1, 44, 168, 0.1);
}

.partnership-request-form .form-control::placeholder,
.modern-form .form-control::placeholder {
    color: #9ca3af;
}

.partnership-request-form select.form-control,
.modern-form select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 16px;
    padding-right: 2.5rem;
}

.partnership-request-form textarea.form-control,
.modern-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.partnership-request-form .btn-action,
.modern-form .btn-action {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #012CA8 0%, #00B7FF 100%);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(1, 44, 168, 0.3);
}

.partnership-request-form .btn-action:hover,
.modern-form .btn-action:hover {
    background: linear-gradient(135deg, #012CA8 0%, #012CA8 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(1, 44, 168, 0.4);
}

.partnership-request-form .btn-action:active,
.modern-form .btn-action:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(1, 44, 168, 0.3);
}

.partnership-request-form .btn-action:disabled,
.modern-form .btn-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.partnership-request-form .spinner-border,
.modern-form .spinner-border {
    width: 1.25rem;
    height: 1.25rem;
    border-width: 2px;
}

/* Form validation states */
.partnership-request-form .form-control.is-invalid,
.modern-form .form-control.is-invalid {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.partnership-request-form .form-control.is-valid,
.modern-form .form-control.is-valid {
    border-color: #10b981;
    background-color: #f0fdf4;
}

@media (max-width: 767.98px) {
    .partnership-request-form,
    .modern-form {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .partnership-request-form .btn-action,
    .modern-form .btn-action {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   VALUES / FEATURES CARDS
   ======================================== */

.values-card,
.feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.values-card::before,
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #012CA8 0%, #00B7FF 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.values-card:hover,
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(1, 44, 168, 0.2);
    border-color: #012CA8;
}

.values-card:hover::before,
.feature-card:hover::before {
    transform: scaleX(1);
}

.values-card .icon,
.feature-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #E8F4FF 0%, #D6ECFF 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.values-card:hover .icon,
.feature-card:hover .icon {
    background: linear-gradient(135deg, #012CA8 0%, #00B7FF 100%);
    transform: scale(1.1);
}

.values-card .icon img,
.feature-card .icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.values-card h3,
.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.values-card:hover h3,
.feature-card:hover h3 {
    color: #012CA8;
}

.values-card p,
.feature-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 991.98px) {
    .values-card,
    .feature-card {
        margin-bottom: 1.5rem;
    }
}

