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

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--sheriff-red);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    font-weight: 600;
}

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

/* Lazy loading styles */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* Form validation styles */
.error-message {
    color: var(--sheriff-red);
    font-size: 0.875rem;
    margin-top: 4px;
    display: block;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 500;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--sheriff-red);
    box-shadow: 0 0 0 2px rgba(178, 34, 34, 0.2);
}

/* Security and performance improvements */
img {
    max-width: 100%;
    height: auto;
}

/* Better focus indicators for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--sheriff-red);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
    }
}

:root {
    --sheriff-red: #B22222;
    --navy-charcoal: #1A243B;
    --white: #FFFFFF;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--navy-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: #9a1e1e;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--navy-charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(26, 36, 59, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--sheriff-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sheriff-red);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--sheriff-red);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 60px 0; /* Adjusted padding */
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    background: var(--navy-charcoal); /* Fallback */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/mahopac.avif') center/cover no-repeat;
    filter: blur(2px);
    opacity: 0.8;
    transform: scale(1.05);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 36, 59, 0.6), rgba(26, 36, 59, 0.1));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding-bottom: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 350px;
}

.hero-left-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-right-content {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-headshot-container {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3; /* Above overlay */
}

.hero-headshot {
    max-height: 500px;
    width: auto;
    object-fit: contain;
    filter: none; /* Ensure no transparency effects */
}

.hero-name-graphic {
    padding-bottom: 2rem;
    position: relative;
    z-index: 3; /* Above overlay */
    text-align: center;
    max-width: 600px;
}

.hero-center-content {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-signature {
    max-width: 600px;
    width: 100%;
    height: auto;
}

.hero-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-buttons-container .btn-large {
    min-width: 180px;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.hero-tagline-container {
    text-align: center;
    padding-top: 2rem;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3rem;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-subtitle {
    color: var(--sheriff-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 4rem;
    color: var(--white);
    margin: 0;
    font-style: italic;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}



/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--navy-charcoal);
}

/* About Section */
.about {
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.candidate-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.badge-overlay {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 10px;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.badge-img {
    width: 60px;
    height: 60px;
}

.about-bio {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.highlights-list {
    list-style: none;
    margin-bottom: 2rem;
}

.highlights-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.highlights-list i {
    color: var(--sheriff-red);
    font-size: 1.2rem;
    width: 20px;
}

.vision h3 {
    color: var(--sheriff-red);
    margin-bottom: 1rem;
}

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

.issue-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.issue-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.issue-icon {
    font-size: 3rem;
    color: var(--sheriff-red);
    margin-bottom: 1rem;
}

.issue-card h3 {
    color: var(--navy-charcoal);
    margin-bottom: 1rem;
}

.issue-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Endorsements Section */
.endorsements {
    background-color: var(--light-gray);
}

/* News & Media Section */
.news-media {
    padding: 80px 0;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

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

.news-category h3 {
    color: var(--sheriff-red);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--sheriff-red);
    padding-bottom: 0.5rem;
}

.news-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.news-item h4 {
    margin-bottom: 0.5rem;
}

.news-item h4 a {
    color: var(--navy-charcoal);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.3;
}

.news-item h4 a:hover {
    color: var(--sheriff-red);
}

.news-source {
    font-weight: 600;
    color: var(--sheriff-red);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-excerpt {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

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

.endorsement-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.endorsement-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--sheriff-red);
    font-family: serif;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

.endorser {
    text-align: right;
}

.endorser strong {
    display: block;
    color: var(--navy-charcoal);
    font-size: 1.1rem;
}

.endorser span {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 36, 59, 0.8));
    color: var(--white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.gallery-overlay p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Awards Section */
.awards {
    background-color: var(--light-gray);
}

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

.award-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.award-item i {
    font-size: 2.5rem;
    color: var(--sheriff-red);
    margin-bottom: 1rem;
}

.award-item h4 {
    color: var(--navy-charcoal);
    margin-bottom: 0.5rem;
}

/* Training Section */
.training {
    padding: 60px 0;
}

.training-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.training-item {
    background-color: var(--navy-charcoal);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.training-item:hover {
    background-color: var(--sheriff-red);
    transform: translateY(-2px);
}

/* Media Kit Section */
.media-kit {
    background-color: var(--light-gray);
}

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

.media-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.media-item h3 {
    color: var(--navy-charcoal);
    margin-bottom: 1rem;
}

.media-item p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.logo-downloads {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info p {
    margin-bottom: 0.5rem;
    text-align: left;
}

/* Donate Section */
.donate {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.donation-content {
    max-width: 1000px;
    margin: 0 auto;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.donation-card {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.donation-card.featured {
    border-color: var(--sheriff-red);
    transform: scale(1.05);
}

.donation-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sheriff-red);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.donation-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.donation-card h3 {
    font-size: 2.5rem;
    color: var(--sheriff-red);
    margin-bottom: 0.5rem;
}

.donation-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.custom-donation {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    text-align: center;
}

.custom-amount-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.custom-amount-form input {
    flex: 1;
    max-width: 200px;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
}

.recurring-option {
    margin-top: 1rem;
}

.donation-info {
    background: var(--light-gray);
    color: var(--navy-charcoal);
    border: 2px solid var(--sheriff-red);
    padding: 2rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.donation-info h3 {
    color: var(--sheriff-red);
    margin-bottom: 1rem;
}

.donation-info p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: var(--navy-charcoal);
}

/* Sign Up Section */
.signup-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy-charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sheriff-red);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.privacy-note {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 5px;
}

.signup-info {
    background: var(--navy-charcoal);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.signup-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.signup-info ul {
    list-style: none;
}

.signup-info li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.signup-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sheriff-red);
    font-weight: bold;
}

/* Donation Section */
.donation-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.donation-card {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.donation-card.featured {
    border-color: var(--sheriff-red);
    transform: scale(1.05);
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.donation-card h3 {
    font-size: 2rem;
    color: var(--sheriff-red);
    margin-bottom: 0.5rem;
}

.donation-card p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.custom-donation {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.custom-amount-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.custom-amount-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
}

.recurring-option {
    margin-top: 1rem;
}

.donation-info {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.donation-info p {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--sheriff-red);
    margin-top: 0.25rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--navy-charcoal);
}

.contact-item p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--navy-charcoal);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #b0b8c1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #b0b8c1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--sheriff-red);
}

.footer-bottom {
    border-top: 1px solid #3a4a5c;
    padding-top: 1rem;
    text-align: center;
    color: #b0b8c1;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-container {
        order: -1; /* Move image above text on mobile */
        margin-bottom: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--navy-charcoal);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 2rem;
    }

    .hero-center-content {
        order: 1;
    }

    .hero-signature {
        max-width: 400px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-left-content {
        order: 1;
    }
    
    .hero-right-content {
        order: 2;
    }

    .hero-buttons-container {
        align-items: center;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons-container .btn {
        width: 100%;
        max-width: 250px;
    }

    .hero-tagline {
        font-size: 3rem;
    }

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

    .signup-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .custom-amount-form {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

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

    .endorsements-carousel {
        grid-template-columns: 1fr;
    }

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

    .media-kit-content {
        grid-template-columns: 1fr;
    }

    .donation-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .custom-amount-form {
        flex-direction: column;
        align-items: center;
    }
    
    .custom-amount-form input {
        max-width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
} 