/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #e0f2fe; /* Patriotic Light Blue background */
    color: #1e293b; /* Dark text for perfect readability */
    line-height: 1.6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%); /* Deep US Flag Blue */
    padding: 80px 20px;
    text-align: center;
    border-bottom: 8px solid #b91c1c; /* Thick, celebratory US Red border */
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: 4px;
    color: #ffffff; /* White text */
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #fef08a; /* Bright celebratory gold/yellow */
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero .tagline {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #f1f5f9;
}

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Action Groups */
.action-group {
    margin-bottom: 40px;
    background-color: #ffffff; /* White background cards for structure */
    padding: 25px;
    border-radius: 12px;
    border: 3px solid #b91c1c; /* US Red borders around groups */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.action-group h2 {
    font-size: 1.6rem;
    color: #1d4ed8; /* US Blue for titles */
    margin-bottom: 20px;
    border-left: 5px solid #b91c1c; /* Red accent tag */
    padding-left: 15px;
}

/* Responsive 14-Button Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* White Button Styles */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 15px;
    background-color: #ffffff; /* Crisp White Button */
    color: #1d4ed8; /* Blue text inside button */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    border-radius: 8px;
    border: 2px solid #1d4ed8; /* Blue border default */
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

/* When hovering over normal buttons */
.btn:hover {
    background-color: #1d4ed8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(29, 78, 216, 0.2);
}

/* High Priority Action Button (Sign the Amendment) */
.btn-primary {
    background-color: #ffffff;
    color: #b91c1c; /* Bold Red text */
    border: 3px solid #b91c1c; /* Standout Red border */
}

.btn-primary:hover {
    background-color: #b91c1c;
    color: #ffffff;
    box-shadow: 0 6px 12px rgba(185, 28, 28, 0.3);
}

/* Donation Button */
.btn-accent {
    background-color: #ffffff;
    color: #059669; /* Trustworthy Green text for money/donations */
    border: 2px solid #059669;
}

.btn-accent:hover {
    background-color: #059669;
    color: #ffffff;
    box-shadow: 0 6px 12px rgba(5, 150, 105, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #475569;
    font-size: 0.9rem;
    border-top: 2px solid #cbd5e1;
    margin-top: 60px;
}
/* Top Announcement Box Styling */
.top-announcement-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px; 
    border: 8px solid #FFD700; 
    text-align: center;
    box-sizing: border-box;
    animation: flagColors 12s infinite ease-in-out;
}

/* Logo Sizing - UPDATED NEW CODE */
.announcement-logo {
    height: 260px;      
    width: auto;        
    min-width: 230px;   
    object-fit: contain;
}

/* Text Container & Gold Color */
.announcement-text {
    color: #FFD700; 
    font-family: sans-serif; 
    font-weight: bold;
    flex-grow: 1;
}

/* Text Sizing Hierarchy */
.text-small {
    font-size: 2.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.text-large {
    font-size: 5.0rem; /* Larger text for the 28th Amendment */
    margin: 15px 0;
    text-transform: uppercase;
}

/* Background Color Keyframes (Red, White, Light Blue) */
@keyframes flagColors {
    0%, 100% {
        background-color: #E63946; /* Red */
    }
    33% {
        background-color: #FFFFFF; /* White */
    }
    66% {
        background-color: #A8DADC; /* Light Blue */
    }
/* Forces the new lines to match the exact size, font, and Red-White-Blue rotation */
.animated-text-line {
    font-size: 2.5rem;          /* Generous, impactful size to match your main slogans */
    font-weight: bold;
    font-family: sans-serif;    /* Clean, high-visibility font */
    text-align: center;
    margin: 20px 0;             /* Gives clean spacing between each line */
    text-transform: uppercase;
    
    /* This triggers the continuous Red -> White -> Blue color change */
    animation: textFlagColors 12s infinite ease-in-out;
}
/* --------------------------------------------------
   Header Animation & Subtitle Styling
   -------------------------------------------------- */

/* 1. Define the rotating keyframe animation */
@keyframes goldSilverRotate {
  0%, 100% {
    color: #FFD700 !important; /* Bright Gold */
  }
  50% {
    color: #C0C0C0 !important; /* Silver */
  }
