/* ---------- Base Variables & Global Styles ---------- */
:root {
    --primary-color: #bd724a;
    --secondary-color: #6c584c;
    --text-color: #2e1f15;
    --bg-color: #f4e4d4;
    --navbar-color: #745644;
    --accent-light: #f9f0e6;
}

body {
    background-color: var(--bg-color);
    font-family: 'Host Grotesk', sans-serif;
}

/* ---------- Banner ---------- */
.banner {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
    padding: 15px;
    font-family: 'Oswald', sans-serif !important;
    position: relative;
}

.banner::before,
.banner::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: white;
}

.banner::before {
    top: 8px;
}

.banner::after {
    bottom: 8px;
}

/* ---------- Container ---------- */
.legislative-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- Hero Section ---------- */
.hero-section {
    margin: 4rem 0;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(189, 114, 74, 0.1), rgba(108, 88, 76, 0.05));
    border-radius: 16px;
    text-align: center;
    border-left: 6px solid var(--primary-color);
}

.hero-content h2 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    color: var(--text-color);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(189, 114, 74, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(189, 114, 74, 0.3);
}

/* ---------- Featured Initiative ---------- */
.featured-initiative {
    margin: 4rem 0;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(189, 114, 74, 0.15);
}

.featured-content {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.featured-icon {
    font-size: 4rem;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.featured-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.featured-text p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-meta {
    display: flex;
    gap: 1rem;
}

.status, .impact-level {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status.active {
    background: #e8f5e9;
    color: #2e7d32;
}

.impact-level {
    background: #fff3e0;
    color: #e65100;
}

.visual-accent {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    opacity: 0.2;
}

/* ---------- Initiatives Section ---------- */
.initiatives-section {
    margin: 4rem 0;
}

.initiatives-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.initiatives-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    grid-auto-flow: dense;
}

.initiative-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(189, 114, 74, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.initiative-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(189, 114, 74, 0.2);
}

.initiative-card.tall {
    grid-row: span 2;
}

.initiative-card.wide {
    grid-column: span 2;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.card-header h4 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.initiative-card p {
    color: var(--text-color);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.action-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.action-items li {
    color: var(--text-color);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(189, 114, 74, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.action-items li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.research-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.research-highlights span {
    background: rgba(189, 114, 74, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ---------- Split Section ---------- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 5rem 0;
    align-items: center;
}

.split-text h2 {
    color: var(--primary-color);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.split-text p {
    color: var(--text-color);
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.learn-more-link {
    font-size: 1.4rem; /* Match font size of split-text p */
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.learn-more-link:hover {
    transform: translateX(5px);
}

.split-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(189, 114, 74, 0.1);
}

.stat-box h3 {
    font-size: 1.85rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.stat-box p {
    color: var(--text-color);
    margin: 0;
    font-size: 1rem;
}

/* ---------- Timeline ---------- */
.timeline-section {
    margin: 5rem 0;
    padding: 3rem;
    background: var(--navbar-color);
    border-radius: 16px;
}

.timeline-section h2 {
    text-align: center;
    color: white;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, white, var(--bg-color));
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) .timeline-content {
    direction: ltr;
}

.timeline-marker {
    text-align: right;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-marker {
    text-align: left;
    padding-left: 2rem;
    padding-right: 0;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(189, 114, 74, 0.1);
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Action Areas ---------- */
.action-areas {
    margin: 5rem 0;
}

.action-areas h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.action-large {
    grid-column: span 2;
    grid-row: span 2;
}

.action-medium {
    grid-column: span 2;
}

.action-small {
    grid-column: span 1;
}

.action-large, .action-medium, .action-small {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(189, 114, 74, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.action-large:hover, .action-medium:hover, .action-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(189, 114, 74, 0.15);
}

.action-large i, .action-medium i, .action-small i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.action-large h4, .action-medium h4, .action-small h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.action-large p, .action-medium p, .action-small p {
    color: var(--text-color);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.action-btn {
    align-self: flex-start;
    padding: 0.7rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ---------- Final CTA ---------- */
.final-cta {
    margin: 5rem 0;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 16px;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-button-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
    .initiatives-grid {
        grid-template-columns: 1fr 1fr;
    }

    .initiative-card.tall {
        grid-row: span 1;
    }

    .initiative-card.wide {
        grid-column: span 2;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        direction: ltr !important;
        grid-template-columns: 80px 1fr;
        gap: 2rem;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .timeline-marker {
        text-align: center;
        padding: 0;
    }

    .timeline-item:nth-child(even) .timeline-marker {
        text-align: center;
        padding: 0;
    }

    .timeline-content {
        direction: ltr;
    }

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

    .action-large {
        grid-column: span 2;
    }

    .action-medium {
        grid-column: span 2;
    }

    .featured-content {
        grid-template-columns: 80px 1fr;
        gap: 2rem;
    }

    .visual-accent {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .initiative-card.tall {
        grid-row: span 1;
    }

    .initiative-card.wide {
        grid-column: span 1;
    }

    .featured-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-icon {
        font-size: 3rem;
        text-align: center;
    }

    .split-section {
        margin: 3rem 0;
    }

    .split-text h2 {
        font-size: 1.8rem;
    }

    .split-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-box h3 {
        font-size: 2rem;
    }

    .timeline {
        padding: 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .timeline-marker {
        font-size: 1.3rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

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

    .action-large, .action-medium, .action-small {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .cta-button-group {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .legislative-container {
        padding: 0 1rem;
    }
}

.photo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}

.photo-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    width: 100%;
}

.photo-item {
    width: 28%; /* Adjust width for three equal items */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}