/* ============================================================
   SOC & Cyber-résilience Page - Styles
   Aligned with BITS France brand identity
   ============================================================ */

/* ─── Variables ─── */
:root {
    --soc-red: #c41e3a;
    --soc-red-light: #fff0f2;
    --soc-navy: #0a192f;
    --soc-navy-light: #eef2f7;
    --soc-blue: #1e3a8a;
    --soc-blue-light: #eff6ff;
    --soc-dark: #1a1a2e;
    --soc-text: #4a5568;
    --soc-border: #e2e8f0;
    --soc-white: #ffffff;
    --soc-bg-light: #f8fafc;
}

/* ─── HERO SECTION ─── */
.soc-hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    font-family: 'Barlow', sans-serif;
    background-color: #f0f4f8;
}

.soc-hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('../assets/images/BITS_illustration_SOC_cyber_resilience_HD.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: right center;
}

.soc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(98deg, rgba(240, 244, 248, 1) 0%, rgba(240, 244, 248, 0.95) 1%, rgba(240, 244, 248, 0.6) 40%, rgba(240, 244, 248, 0) 70%);
}

.soc-breadcrumb {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 24px auto 0;
    padding: 0 40px;
    font-size: 0.88rem;
    color: #718096;
    width: 100%;
}

.soc-breadcrumb a {
    color: var(--soc-red);
    text-decoration: none;
}

.soc-breadcrumb a:hover {
    text-decoration: underline;
}

.soc-hero-container {
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 80px;
    width: 100%;
}

.soc-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.soc-hero-text {
    max-width: 620px;
}

.soc-hero-title {
    text-align: left !important;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--soc-dark);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.soc-hero-title .text-accent {
    color: var(--soc-red);
}

.soc-hero-desc {
    text-align: left !important;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--soc-dark);
    margin-bottom: 36px;
}

.soc-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.soc-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.soc-hero-image img {
    width: 100%;
    max-width: 620px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ─── BUILD • RUN • SCALE ─── */
.lifecycle-section {
    background-color: var(--soc-white);
    padding: 0;
    border-bottom: 1px solid var(--soc-border);
}

.lifecycle-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 40px;
}

.lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--soc-border);
    border-radius: 10px;
    overflow: hidden;
}

.lifecycle-card {
    padding: 36px 32px;
    background: var(--soc-white);
    border-right: 1px solid var(--soc-border);
    transition: background 0.3s ease;
}

.lifecycle-card:last-child {
    border-right: none;
}

.lifecycle-card:hover {
    background: var(--soc-bg-light);
}

.lc-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.lc-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.lc-icon-red {
    background: var(--soc-red-light);
    color: var(--soc-red);
}

.lc-icon-navy {
    background: var(--soc-navy-light);
    color: var(--soc-navy);
}

.lc-icon-blue {
    background: var(--soc-blue-light);
    color: var(--soc-blue);
}

.lc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--soc-dark);
    margin: 0 0 2px 0;
}

.lc-subtitle {
    font-size: 0.88rem;
    color: var(--soc-text);
    margin: 0;
}

.lc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lc-list li {
    font-size: 0.9rem;
    color: #555;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.lc-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--soc-red);
    font-weight: 700;
}

/* ─── NOS SERVICES ─── */
.soc-services-section {
    background-color: var(--soc-bg-light);
    padding: 72px 0;
}

.soc-services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.soc-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.soc-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--soc-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.soc-section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--soc-red);
    border-radius: 99px;
}

.soc-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.soc-service-card {
    background: var(--soc-white);
    border-radius: 10px;
    padding: 30px 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top: 4px solid transparent;
}

.soc-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.soc-card-red {
    border-top-color: var(--soc-red);
}

.soc-card-navy {
    border-top-color: var(--soc-navy);
}

.soc-card-blue {
    border-top-color: var(--soc-blue);
}

.soc-svc-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.soc-card-red .soc-svc-icon {
    background: var(--soc-red-light);
    color: var(--soc-red);
}

.soc-card-navy .soc-svc-icon {
    background: var(--soc-navy-light);
    color: var(--soc-navy);
}

.soc-card-blue .soc-svc-icon {
    background: var(--soc-blue-light);
    color: var(--soc-blue);
}

.soc-service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--soc-dark);
    margin: 0 0 10px 0;
}

.soc-service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--soc-text);
    flex-grow: 1;
    margin: 0 0 20px 0;
}

.soc-read-more {
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
    margin-top: auto;
}

.soc-read-more i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.soc-read-more:hover i {
    transform: translateX(4px);
}

.soc-card-red .soc-read-more {
    color: var(--soc-red);
}

.soc-card-navy .soc-read-more {
    color: var(--soc-navy);
}

.soc-card-blue .soc-read-more {
    color: var(--soc-blue);
}

/* ─── PEOPLE • PROCESS • TECHNOLOGY ─── */
.ppt-section {
    background: var(--soc-white);
    padding: 72px 0;
    border-top: 1px solid var(--soc-border);
    border-bottom: 1px solid var(--soc-border);
}

.ppt-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.ppt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ppt-column {
    text-align: center;
    padding: 36px 28px;
    border-radius: 10px;
    background: var(--soc-bg-light);
    transition: box-shadow 0.3s ease;
}

.ppt-column:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.ppt-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.ppt-icon-red {
    background: var(--soc-red-light);
    color: var(--soc-red);
}

.ppt-icon-navy {
    background: var(--soc-navy-light);
    color: var(--soc-navy);
}

.ppt-icon-blue {
    background: var(--soc-blue-light);
    color: var(--soc-blue);
}

.ppt-column h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--soc-dark);
    margin: 0 0 18px 0;
}

.ppt-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ppt-list li {
    font-size: 0.9rem;
    color: var(--soc-text);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.ppt-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--soc-red);
    font-weight: 700;
}

/* ─── CERTIFICATIONS & FRAMEWORKS ─── */
.certif-frameworks-section {
    background: var(--soc-bg-light);
    padding: 60px 0;
}

.certif-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.certif-logos-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.certif-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 100px;
}

.certif-logo-item>span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    text-align: center;
}

.certif-logo-box {
    width: 80px;
    height: 52px;
    border-radius: 8px;
    border: 1.5px solid var(--soc-border);
    background: var(--soc-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.certif-logo-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ISO */
.logo-iso .iso-text {
    font-size: 1.25rem;
    font-weight: 900;
    color: #003087;
    letter-spacing: -1px;
    font-family: 'Barlow', sans-serif;
}

/* NIST */
.logo-nist .nist-text {
    font-size: 1rem;
    font-weight: 900;
    color: #1a3a6b;
    letter-spacing: 1px;
    font-family: 'Barlow', sans-serif;
}

/* CIS */
.logo-cis .cis-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: #005f73;
    font-family: 'Barlow', sans-serif;
}

/* Microsoft 4-square */
.logo-microsoft .ms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    width: 36px;
    height: 36px;
}

.ms-q {
    border-radius: 2px;
}

.ms-red {
    background: #f35325;
}

.ms-green {
    background: #81bc06;
}

.ms-blue {
    background: #05a6f0;
}

.ms-yellow {
    background: #ffba08;
}

/* Fortinet */
.logo-fortinet {
    font-size: 1.8rem;
    color: #ee3124;
}

/* Cisco bars */
.logo-cisco .cisco-lines {
    display: flex;
    gap: 3px;
    align-items: flex-end;
}

.logo-cisco .cisco-lines span {
    display: block;
    width: 6px;
    background: #049fd9;
    border-radius: 3px;
}

.logo-cisco .cisco-lines span:nth-child(1) {
    height: 16px;
}

.logo-cisco .cisco-lines span:nth-child(2) {
    height: 24px;
}

.logo-cisco .cisco-lines span:nth-child(3) {
    height: 30px;
}

.logo-cisco .cisco-lines span:nth-child(4) {
    height: 24px;
}

.logo-cisco .cisco-lines span:nth-child(5) {
    height: 16px;
}

/* ─── CTA BOTTOM ─── */
.soc-cta-section {
    background: linear-gradient(135deg, #0a192f 0%, #1e3a8a 100%);
    padding: 0;
}

.soc-cta-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 56px 40px;
}

.soc-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.soc-cta-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    min-width: 280px;
}

.soc-cta-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--soc-white);
    flex-shrink: 0;
}

.soc-cta-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--soc-white);
    margin: 0 0 6px 0;
}

.soc-cta-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.soc-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Override secondary button in dark CTA */
.soc-btn-white {
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: var(--soc-white) !important;
}

.soc-btn-white:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: var(--soc-white) !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
    .soc-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .lifecycle-card {
        border-right: none;
        border-bottom: 1px solid var(--soc-border);
    }

    .lifecycle-card:last-child {
        border-bottom: none;
    }
}

@media (max-width: 900px) {
    .soc-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .soc-hero-text {
        max-width: 100%;
    }

    .soc-hero-buttons {
        justify-content: center;
    }

    .soc-hero-image {
        display: none;
    }

    .soc-hero-background {
        background-size: cover;
        background-position: center;
    }

    .soc-hero-overlay {
        background: rgba(240, 244, 248, 0.93);
    }

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

    .soc-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .soc-cta-left {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {

    .soc-hero-container,
    .lifecycle-container,
    .soc-services-container,
    .ppt-container,
    .certif-container,
    .soc-cta-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .soc-hero-title {
        font-size: 2rem;
    }

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

    .certif-logos-bar {
        gap: 16px;
    }

    .certif-logo-box {
        width: 64px;
        height: 44px;
    }

    .soc-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .soc-cta-buttons a {
        justify-content: center;
        width: 100%;
    }
}