﻿/* CSS Variables for easy color management */
:root {
    --fm-orange: #ea580c; /* Primary Orange */
    --fm-purple: #7c3aed; /* Vibrant Purple */
    --fm-bg-light: #f9fafb; /* Off-white background */
    --fm-text-dark: #1f2937; /* Dark text */
    --fm-text-gray: #6b7280;
}

/* Base Styling */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--fm-bg-light);
    color: var(--fm-text-dark);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Container for content width */
.csr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Main Section - Flex container for columns */
.csr-main {
    display: flex;
    flex-direction: column; /* Default stack on mobile */
    gap: 3rem;
}

/* Left Column Styling */
.csr-intro {
    padding: 2.5rem;
    background-color: white;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* shadow-2xl */
}

    .csr-intro.sticky-lg {
        position: relative; /* Default on mobile */
    }

.tagline {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--fm-purple);
    margin-bottom: 0.75rem;
}

.main-heading {
    font-size: 3rem; /* text-4xl */
    line-height: 1.25;
    font-weight: 900; /* font-extrabold */
    color: var(--fm-text-dark);
    margin-bottom: 1.5rem;
}

.mission-text {
    font-size: 1.125rem; /* text-lg */
    color: var(--fm-text-gray);
    margin-bottom: 2rem;
}

.mission-box {
    padding: 1.5rem;
    background-color: var(--fm-purple);
    border-radius: 0.5rem;
    color: white;
}

    .mission-box h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .mission-box p {
        color: #d1c4e9; /* Light purple for contrast */
        margin: 0;
    }

/* Right Column Styling */
.focus-areas {
    padding: 0.5rem;
}

.focus-heading {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    color: var(--fm-text-dark);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 4px solid var(--fm-orange);
    display: inline-block;
}

.area-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* space-y-6 */
}

.area-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 300ms ease-in-out;
    border-left: 4px solid;
}

    .area-card:hover {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    }

.card-orange {
    border-left-color: var(--fm-orange);
}

.card-purple {
    border-left-color: var(--fm-purple);
}

.icon-container {
    padding: 0.75rem;
    border-radius: 9999px; /* rounded-full */
    flex-shrink: 0;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-orange {
    background-color: var(--fm-orange);
}

.icon-purple {
    background-color: var(--fm-purple);
}

.area-card h3 {
    font-size: 1.25rem; /* text-xl */
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.area-card p {
    color: var(--fm-text-gray);
    margin: 0;
}

/* Desktop Media Query (for screens wider than 1024px) */
@media (min-width: 1024px) {
    .csr-main {
        flex-direction: row;
        align-items: flex-start;
    }

    .csr-intro {
        width: 50%; /* Equivalent to lg:w-1/2 */
        position: sticky;
        top: 2rem;
    }

    .focus-areas {
        width: 50%; /* Equivalent to lg:w-1/2 */
    }

    .main-heading {
        font-size: 3rem; /* text-6xl */
    }
}

/* Tablet Media Query (for screens wider than 640px) */
@media (min-width: 640px) and (max-width: 1023px) {
    .main-heading {
        font-size: 3.75rem; /* sm:text-5xl */
    }

    .csr-container {
        padding: 3rem 2rem;
    }
}
