@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #0070C0;
    --primary-hover: #005999;
    --text-primary: #000000;
    --text-secondary: #475569;
    --text-light: #525252;
    --bg-primary: #ffffff;
    --bg-secondary: #F5F7FA;
    --bg-dark: #0E4366;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --font-primary: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-light);
}

img {
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
}

p {
    font-size: 16px;
    line-height: 24px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 24px;
    font-weight: 500;
    font-size: 16px;
    border-radius: 6px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 16px;
    border-radius: 6px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

/* ===========================
   Hero Section
   =========================== */
.connects-hero {
    background: url('./images/hero-img.svg') no-repeat;
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.connects-hero h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 60px;
    letter-spacing: 0;
    color: #000000;
    margin-bottom: 1.25rem;
}

.connects-hero .hero-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Silo Section
   =========================== */
.silo-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

.silo-section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 48px;
    letter-spacing: 0;
    color: #000000;
    margin-bottom: 1rem;
}

.silo-section p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
    margin-bottom: 1rem;
}

.silo-section img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   Connects the Dots Section
   =========================== */
.connects-dots-section {
    background-color: var(--bg-primary);
    padding: 3rem 0 5rem;
}

.connects-dots-section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 48px;
    color: #000000;
    margin-bottom: 1rem;
}

.connects-dots-section p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
}

.connects-dots-section img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   Full Visual Section
   =========================== */
.full-visual-section {
    background-color: var(--bg-secondary);
    padding: 5rem 0;
}

.full-visual-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 48px;
    color: #000000;
    margin-bottom: 1rem;
}

.full-visual-section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.full-visual-section h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 48px;
    color: #000000;
    margin-bottom: 1rem;
}

.full-visual-section p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
}

/* ===========================
   Skills Community Section
   =========================== */
.skills-community-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

.view-row {
    margin-bottom: 4rem;
}

.view-row:last-child {
    margin-bottom: 0;
}

.skills-community-section h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 48px;
    color: #000000;
    margin-bottom: 12px;
}

.skills-community-section p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
    margin-bottom: 12px;
}

.skills-community-section img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   When the Dots Connect
   =========================== */
.dots-connect-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

.dots-connect-section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 48px;
    color: #000000;
    margin-bottom: 1rem;
}

.dots-connect-section p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
}

.dots-connect-section img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   Built So Employees Want to Use It
   =========================== */
.employee-section {
    background-color: #F8F8F8;
    padding: 5rem 0;
}

.employee-section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 34px;
    color: #000000;
    margin-bottom: 0;
}

.employee-section h2 span {
    color: var(--primary-color);
}

.employee-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

a.employee-card:hover {
    color: inherit;
}

.employee-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.employee-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.employee-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.employee-card h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    margin-bottom: 8px;
}

.employee-card p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
    color: #525252;
    margin-bottom: 0;
}

/* ===========================
   CTA Section
   =========================== */
.connects-cta {
    position: relative;
    overflow: hidden;
    background: url('./images/cta-bg.svg') no-repeat center top;
    background-size: cover;
    min-height: 500px;
}

.connects-cta .cta-overlay {
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.connects-cta .cta-content {
    max-width: 535px;
    margin: 0 auto;
    position: relative;
    padding: 40px 32px;
}

.connects-cta .cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    filter: blur(24px);
    border-radius: 12px;
    z-index: 0;
}

.connects-cta .cta-content > * {
    position: relative;
    z-index: 1;
}

.connects-cta h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 44px;
    color: #000000;
    margin-bottom: 0;
}

.connects-cta .cta-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 44px;
    color: #000000;
    margin-bottom: 0;
}

.connects-cta .btn-primary,
.connects-cta .btn-outline-primary {
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
}

.connects-cta .btn-outline-primary {
    background-color: transparent;
}

/* ===========================
   Responsive
   =========================== */

/* Tablet */
@media screen and (max-width: 992px) {
    .connects-hero h1 {
        font-size: 36px;
        line-height: 48px;
    }

    .silo-section,
    .connects-dots-section,
    .full-visual-section,
    .skills-community-section,
    .dots-connect-section,
    .employee-section {
        padding: 4rem 0;
    }

    .silo-section h2,
    .connects-dots-section h2,
    .dots-connect-section h2,
    .full-visual-title,
    .full-visual-section h3,
    .skills-community-section h3 {
        font-size: 28px;
        line-height: 38px;
    }

    .connects-cta h2 {
        font-size: 30px;
        line-height: 40px;
    }

    .employee-section h2 {
        font-size: 22px;
        line-height: 32px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .connects-hero {
        padding: 3rem 0;
    }

    .connects-hero h1 {
        font-size: 30px;
        line-height: 42px;
    }

    .silo-section,
    .connects-dots-section,
    .full-visual-section,
    .skills-community-section,
    .dots-connect-section,
    .employee-section {
        padding: 3rem 0;
    }

    .silo-section h2,
    .connects-dots-section h2,
    .dots-connect-section h2,
    .full-visual-title,
    .full-visual-section h3,
    .skills-community-section h3 {
        font-size: 24px;
        line-height: 34px;
    }

    .connects-cta h2 {
        font-size: 26px;
        line-height: 36px;
    }

    .employee-section h2 {
        font-size: 20px;
        line-height: 30px;
    }

    .view-row {
        margin-bottom: 3rem;
    }

    .connects-cta {
        text-align: center;
    }

    .connects-cta .d-flex {
        justify-content: center;
    }

    .connects-cta .cta-content {
        margin-left: auto;
        margin-right: auto;
    }

    .dots-connect-section {
        text-align: center;
    }
}

/* Small mobile */
@media screen and (max-width: 480px) {
    .connects-hero h1 {
        font-size: 26px;
        line-height: 36px;
    }

    .silo-section h2,
    .connects-dots-section h2,
    .dots-connect-section h2,
    .full-visual-title,
    .full-visual-section h3,
    .skills-community-section h3 {
        font-size: 22px;
        line-height: 30px;
    }

    .connects-cta h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .employee-section h2 {
        font-size: 18px;
        line-height: 26px;
    }
}
