/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

/* Skip Navigation */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #1e40af;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-nav:focus {
    top: 6px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    text-decoration: none;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav__link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-align: center;
}

.nav__link:hover,
.nav__link.active {
    color: #1e40af;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e40af;
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav__toggle-line {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.nav__close {
    display: none;
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn--primary {
    background: #1e40af;
    color: white;
}

.btn--primary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.btn--secondary {
    background: transparent;
    color: #1e40af;
    border: 2px solid #1e40af;
}

.btn--secondary:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(30, 64, 175, 0.6));
    z-index: -1;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
}

.hero__title {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__title-highlight {
    color: #fbbf24;
}

.hero__subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero__photo {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.hero__photo-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid #fbbf24;
    border-radius: 50%;
    z-index: 1;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    color: #1e40af;
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8fafc;
}

.about__story {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about__heading {
    color: #1e40af;
    margin-bottom: 1.5rem;
}

.about__description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about__photo {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about__highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
}

.highlight__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight__title {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.highlight__text {
    color: #666;
    font-size: 0.95rem;
}

/* Record Section */
.record__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border-radius: 12px;
}

.stat__number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat__label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.record__achievements {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.achievement {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.achievement__image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.achievement__title {
    color: #1e40af;
    margin-bottom: 1rem;
}

.achievement__description {
    color: #666;
    line-height: 1.7;
}

/* Issues Section */
.issues {
    background: #f8fafc;
}

.issues__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.issue {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.issue:hover {
    transform: translateY(-5px);
}

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

.issue__icon {
    font-size: 2rem;
}

.issue__title {
    color: #1e40af;
    margin: 0;
}

.issue__description {
    color: #666;
    line-height: 1.7;
}

/* Faith Section */
.faith__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.faith__quote {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #1e40af;
    margin-bottom: 2rem;
}

.faith__quote blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    margin-bottom: 1rem;
}

.faith__quote cite {
    font-weight: 600;
    color: #1e40af;
}

.faith__description p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.faith__photo {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* News Section */
.news {
    background: #f8fafc;
}

.news__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.news__item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.news__item:hover {
    transform: translateY(-5px);
}

.news__item--featured {
    grid-row: span 2;
}

.news__image {
    height: 200px;
    overflow: hidden;
}

.news__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news__content {
    padding: 1.5rem;
}

.news__meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news__date,
.news__category {
    font-size: 0.9rem;
    color: #666;
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.news__title {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.news__excerpt {
    color: #666;
    line-height: 1.6;
}

/* Get Involved Section */
.get-involved__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.get-involved__heading {
    color: #1e40af;
    margin-bottom: 1rem;
}

.get-involved__description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.get-involved__actions {
    display: grid;
    gap: 2rem;
}

.involvement__option {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.involvement__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.involvement__title {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.involvement__description {
    color: #666;
    margin-bottom: 1.5rem;
}

.newsletter__form {
    display: flex;
    gap: 1rem;
}

.newsletter__input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
}

.social__links {
    display: flex;
    gap: 1rem;
}

.social__link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social__link:hover {
    color: #1e3a8a;
}

/* Contact Section */
.contact {
    background: #f8fafc;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact__item {
    margin-bottom: 2rem;
}

.contact__heading {
    color: #1e40af;
    margin-bottom: 1rem;
}

.contact__details {
    color: #666;
    line-height: 1.7;
}

.contact__form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer__title {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.footer__description {
    color: #cbd5e1;
    line-height: 1.7;
}

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

.footer__heading {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #fbbf24;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__social-link:hover {
    color: #fbbf24;
}

.footer__bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

.footer__legal-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer__legal-link:hover {
    color: #fbbf24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav {
        padding: 1rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav__close {
        display: block;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__actions .btn {
        display: none;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__photo {
        width: 250px;
        height: 250px;
    }

    .about__story {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .achievement {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .faith__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .get-involved__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .newsletter__form {
        flex-direction: column;
    }

    .hero__actions {
        justify-content: center;
    }

    .btn--large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__photo {
        width: 200px;
        height: 200px;
    }

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

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__content,
.section__header,
.about__story,
.achievement,
.issue,
.news__item {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero__overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .btn--primary {
        border: 2px solid #fff;
    }
}


/* Loading News Styles */
.loading-news {
    text-align: center;
    padding: 3rem;
    color: #64748b;
    font-style: italic;
}

.loading-news p {
    margin: 0;
    font-size: 1.1rem;
}

/* News Link Styles */
.news__link {
    display: inline-block;
    margin-top: 1rem;
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.news__link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Enhanced News Item Styles for Dynamic Content */
.news__item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for dynamic content */
@media (max-width: 768px) {
    .loading-news {
        padding: 2rem 1rem;
    }
    
    .news__link {
        font-size: 0.85rem;
    }
}


/* Navigation CTA Styles */
.nav__cta {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
    .nav__cta {
        background: transparent;
        color: #1e40af !important;
        padding: 0.5rem 0;
        border-radius: 0;
        border-bottom: 2px solid #3b82f6;
        font-weight: 700;
    }
    
    .nav__cta:hover {
        transform: none;
        box-shadow: none;
        background: rgba(59, 130, 246, 0.1);
    }
}



/* Rotating Quotes Styles */
.quote-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.quote-nav-btn {
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid #3b82f6;
    color: #3b82f6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-nav-btn:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.quote-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.quote-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.quote-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-indicator.active {
    background: #3b82f6;
    transform: scale(1.2);
}

.quote-indicator:hover {
    background: #3b82f6;
    transform: scale(1.1);
}

.faith__quote {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.faith__quote.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.faith__quote.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Auto-play pause button */
.quote-auto-play {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.auto-play-btn {
    background: none;
    border: 1px solid #6b7280;
    color: #6b7280;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auto-play-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.auto-play-btn.paused {
    border-color: #ef4444;
    color: #ef4444;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quote-navigation {
        gap: 0.5rem;
    }
    
    .quote-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
    
    .quote-indicator {
        width: 10px;
        height: 10px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .quote-nav-btn {
        border-width: 3px;
    }
    
    .quote-indicator {
        border: 2px solid #000;
    }
    
    .quote-indicator.active {
        background: #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .faith__quote {
        transition: none;
    }
    
    .quote-nav-btn:hover,
    .quote-indicator:hover,
    .quote-indicator.active {
        transform: none;
    }
}


/* Form row layout for multiple fields */
.form__row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form__row:last-child {
    margin-bottom: 0;
}

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

/* Responsive form layout */
@media (max-width: 768px) {
    .form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form__group--small {
        grid-column: span 1;
    }
    
    .form__row .form__group {
        margin-bottom: 1.5rem;
    }
}


/* Bills Section Styling */
.record__bills {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bills__tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.bills__tab {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.bills__tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.bills__tab--active {
    color: #fff;
    border-bottom-color: #4a90e2;
    background: rgba(74, 144, 226, 0.1);
}

.bills__panel {
    display: none;
}

.bills__panel--active {
    display: block;
}

.bills__summary {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.bills__summary p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.bills__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bill__card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.bill__card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
}

.bill__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.bill__number {
    color: #4a90e2;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.bill__status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.bill__status--pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.bill__status--passed {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.bill__status--enacted {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.bill__status--calendars {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

.bill__title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.bill__description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.bill__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.bill__category {
    background: rgba(74, 144, 226, 0.2);
    color: #4a90e2;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

.bill__date {
    color: rgba(255, 255, 255, 0.6);
}

.bills__more {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.bills__more p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.bills__placeholder {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.bills__placeholder p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile responsiveness for bills section */
@media (max-width: 768px) {
    .bills__tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .bills__tab {
        padding: 0.75rem 1rem;
        text-align: left;
    }
    
    .bills__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .bill__card {
        padding: 1rem;
    }
    
    .bill__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}


/* District 50 Analyses Section Styling */
.district__analyses {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.analyses__intro {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.analyses__intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.analyses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analysis__card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.analysis__card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
}

.analysis__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.analysis__title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

.analysis__description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.analysis__link {
    display: inline-block;
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #4a90e2;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.analysis__link:hover {
    background: #4a90e2;
    color: #fff;
}

.analyses__footer {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.analyses__footer p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.analyses__footer p:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile responsiveness for analyses section */
@media (max-width: 768px) {
    .analyses__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .analysis__card {
        padding: 1rem;
    }
    
    .analysis__icon {
        font-size: 1.5rem;
    }
}


/* Updated Header Styling to Fix White Background Issue */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Ensure header maintains blue background when scrolling */
.header.scrolled,
.header:hover,
.header.active {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 2rem;
}

.nav__brand .nav__logo {
    color: #fff !important;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav__brand .nav__logo:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__item {
    margin: 0;
}

.nav__link {
    display: block;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav__link:hover,
.nav__link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

/* Remove special styling for nav__cta to prevent blue box */
.nav__link.nav__cta {
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent;
    font-weight: 500;
    margin-left: 0;
    border-radius: 4px;
}

.nav__link.nav__cta:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .nav__menu.show-menu {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav__item {
        width: 100%;
    }
    
    .nav__link {
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .nav__link.nav__cta {
        margin: 0;
        width: 100%;
        text-align: left;
        border-radius: 0;
        background: transparent;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .nav__toggle {
        display: block;
    }
}

/* Ensure main content doesn't overlap with fixed header */
.main-content {
    margin-top: 60px;
}


/* Bills Buttons Styling */
.bills__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
}

.bills__button {
    flex: 0 1 auto;
    min-width: 200px;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .bills__buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .bills__button {
        width: 100%;
        min-width: auto;
    }
}


/* Donate Section Styling */
.donate {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 0;
}

.donate .section__title,
.donate .section__subtitle {
    color: white;
}

.donate__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.donate__heading {
    color: #fbbf24;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.donate__description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.donate__highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight__icon {
    font-size: 1.5rem;
}

.highlight__text {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.donate__action {
    display: flex;
    justify-content: center;
}

.donate__card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.donate__card-title {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.donate__card-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.donate__button {
    background: #fbbf24;
    color: #1e3a8a;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.donate__button:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.donate__disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

@media (max-width: 768px) {
    .donate__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .donate__highlights {
        justify-content: center;
    }
    
    .highlight {
        justify-content: center;
    }
}

