/* =========================================
   SOCIAL / QUICK CONNECT SECTION
========================================= */

.social-connect-section {
    width: 100%;
    padding: 80px 0;
    background: #23004C;
    position: relative;
    overflow: hidden;
}


/* Subtle background treatment */

.social-connect-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    right: -200px;
    top: -300px;

    background: radial-gradient(
        circle,
        rgba(122, 0, 230, 0.35) 0%,
        rgba(122, 0, 230, 0.12) 35%,
        transparent 70%
    );

    pointer-events: none;
}


/* 1200px Website Container */

.social-connect-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        1.25fr
        1fr
        1fr
        1fr;

    gap: 18px;

    position: relative;
    z-index: 2;
}


/* =========================================
   INTRO COLUMN
========================================= */

.social-connect-intro {
    padding: 24px 30px 24px 0;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.social-eyebrow {
    display: inline-block;

    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #D1C4E9;
    margin-bottom: 18px;
}


.social-connect-intro h2 {
    margin: 0 0 18px;
    font-family: "Sanofi Sans";
    font-size: clamp(28px, 2.4vw, 38px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.5px;
    color: #ffffff;
}


.social-connect-intro p {
    max-width: 340px;
    margin: 0;
    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}


/* =========================================
   SOCIAL CARDS
========================================= */

.social-link-card {
    min-height: 260px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}


/* Card glow */

.social-link-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    bottom: -100px;
    background: #7A00E6;
    border-radius: 50%;
    opacity: 0;
    filter: blur(30px);
    transition: opacity 0.4s ease;
}


.social-link-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.30);
}


.social-link-card:hover::before {
    opacity: 0.35;
}


/* =========================================
   CARD TOP
========================================= */

.social-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}


.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #23004C;
    font-size: 21px;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.social-link-card:hover .social-icon {
    background: #7A00E6;
    color: #ffffff;
}

.x-icon {
    font-family: Arial, sans-serif;
    font-size: 22px;
}

.linkedin-icon {
    font-size: 20px;
}

.website-icon {
    font-size: 18px;
}


/* External link arrow */

.social-arrow {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}


.social-link-card:hover .social-arrow {
    background: #7A00E6;
    border-color: #7A00E6;

    transform: translate(3px, -3px);
}


/* =========================================
   CARD CONTENT
========================================= */

.social-card-content {
    position: relative;
    z-index: 2;
}


.social-platform {
    display: block;
    margin-bottom: 8px;
    font-family: "Sanofi Sans";
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #D1C4E9;
}


.social-card-content h3 {
    margin: 0 0 8px;
    font-family: "Sanofi Sans";
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.25px;
    color: #ffffff;
}


.social-card-content p {
    margin: 0;
    max-width: 220px;
    font-family: "Sanofi Sans";
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .social-connect-container {
        grid-template-columns: 1fr 1fr;
    }

    .social-connect-intro {
        grid-column: span 2;

        padding-right: 0;
        padding-bottom: 20px;
    }

    .social-connect-intro p {
        max-width: 600px;
    }

}


@media (max-width: 600px) {

    .social-connect-section {
        padding: 60px 0;
    }

    .social-connect-container {
        width: min(100% - 32px, 1200px);

        grid-template-columns: 1fr;
        gap: 12px;
    }

    .social-connect-intro {
        grid-column: auto;

        padding: 10px 0 25px;
    }

    .social-connect-intro h2 {
        font-size: 36px;
    }

    .social-link-card {
        min-height: 220px;
    }

}