:root {
    /* Primary Brand Colors */
    --cardinal-red: #8C1515; /* Stanford Red */
    --linkedin-blue: #0a66c2; /* LinkedIn Blue */
    --black: #2E2D29; /* Text color */
    
    /* Supporting Colors */
    --white: #ffffff; /* Background */
    --light-gray: #F7F7F7; /* Secondary background */
    --medium-gray: #6B7280; /* Secondary text */

    /* Functional Colors */
    --success-green: #2E8540; /* Success states */
    --error-red: #D50000; /* Error states */
    --warning-gold: #F4C430; /* Warnings/highlights */
    
    /* Interactive States */
    --cardinal-red-hover: #740000; /* Hover state for Stanford Red */
    --linkedin-blue-hover: #085294; /* Hover state for LinkedIn Blue */
    --focus-outline: #1A73E8; /* Focus state outline */
}


.main-content {
    width: 90%;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.row {
    margin-bottom: 70px;
    position: relative;
}

.row-content {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
}

.row-content a:hover {
    color: var(--cardinal-red);
    text-decoration: underline;
    font-weight: 500;
}

.column {
    width: 100%;
}

.text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.text-column p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.text-column a {
    font-size: 1.3rem;
}


.image-column {
    position: relative;
}

.eyebrow {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #6d28d9;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: #6d28d9;
}

.row:nth-child(2) .eyebrow {
    color: #0284c7;
}

.row:nth-child(2) .eyebrow::before {
    background-color: #0284c7;
}

h2 {
    margin-bottom: 25px;
    font-size: 2.3rem;
    font-weight: 700;
    color: #3e3e3e;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

h2 span {
    color: var(--linkedin-blue);
}

.row:nth-child(2) h3 span {
    color: #0284c7;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

.stat-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.stat-value {
    font-size: 1.9rem;
    font-weight: 700;
    color:var(--linkedin-blue);
    margin-bottom: 5px;
    line-height: 1;
}



.stat-label {
    font-size: 1.5rem;
    font-weight: 600;
    color:var(--success-green);
}

.cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.primary-cta {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--linkedin-blue);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(109, 40, 217, 0.2);
}

.primary-cta:hover {
    background-color: var(--linkedin-blue-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(109, 40, 217, 0.3);
}

.row:nth-child(2) .stat-value {
    color: var(--linkedin-blue);
}

.row:nth-child(2) .primary-cta {
    background-color: var(--linkedin-blue);
    box-shadow: 0 5px 15px rgba(2, 132, 199, 0.2);
}

.row:nth-child(2) .primary-cta:hover {
    background-color: #0369a1;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

.secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background-color: transparent;
    color: #64748b;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.secondary-cta:hover {
    color: #1e293b;
    background-color: #f1f5f9;
}

.secondary-cta svg {
    width: 20px;
    height: 20px;
}

.image-container {
    position: relative;
    z-index: 1;
}

.image-frame {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.homepage img {
    width: 100%;
    height: auto;
    display: block;
}

.decorative-element {
    position: absolute;
    z-index: -1;
}

.circle-element {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.15), rgba(124, 58, 237, 0.05));
    top: -40px;
    right: -40px;
}

.row:nth-child(2) .circle-element {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(14, 165, 233, 0.05));
    top: -40px;
    left: -40px;
}

.dots-element {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(#6d28d9 1px, transparent 1px);
    background-size: 10px 10px;
    bottom: -30px;
    left: -30px;
    opacity: 0.3;
}

.row:nth-child(2) .dots-element {
    background-image: radial-gradient(#0284c7 1px, transparent 1px);
    bottom: -30px;
    right: -30px;
    left: auto;
}

/* Media query for screens wider than 768px */
@media screen and (min-width: 768px) {
    .row-content {
        flex-direction: row;
        gap: 60px;
        align-items: center;
    }

    .column {
        width: 50%;
    }

    .text-column {
        padding: 40px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Second row has reversed layout on desktop */
    .row:nth-child(2) .row-content {
        flex-direction: row-reverse;
    }
}

/* Media query for large screens */
@media screen and (min-width: 1024px) {
    .row-content {
        position: relative;
    }

    .text-column {
        width: 45%;
    }

    .image-column {
        width: 55%;
    }
}