/* Color Variables */
:root {
  --red: #B30000;          /* Primary */
  --red-dark: #8F0000;
  --green: #006600;        /* Primary action (Donate) */
  --green-dark: #004d00;
  --gold: #FFD54F;         /* Optional highlight */
  --text: #222222;         /* Body text */
  --muted: #555555;        /* Secondary text */
  --bg: #F9F9F9;           /* Page background */
  --panel: #ffffff;        /* Cards */
  --line: #ececec;         /* Dividers */
}

/* Reset body so navbar doesn't overlap */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
    padding-top: 60px; /* offset for fixed navbar */
  }
  
  /* Skip Navigation for Accessibility */
  .skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--red);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
    transition: top 0.3s ease;
  }
  
  .skip-link:focus {
    top: 6px;
  }
  
  /* Navbar Styles */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--red);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(179, 0, 0, 0.2);
  }
  
  .navbar h1 {
    font-size: 1.2rem;
    flex: 0 1 auto; 
    margin: 0 1rem 0 0;
    color: white;
  }
  
  .navbar h1 a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .navbar h1 a:hover {
    color: var(--gold);
  }
  
  .navbar nav {
    display: flex;
    gap: 15px;
    flex: 0 0 auto;   /* don't allow shrink */
    justify-content: flex-end; 
    align-items: center;
  }
  
  .navbar nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    transition: color 0.2s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    flex-shrink: 0; /* prevent text from shrinking */
  }
  
  .navbar nav a:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
  }
  
  /* Hamburger Menu */
  .menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
  }
  
  .menu-toggle:hover {
    color: var(--gold);
  }
  
  /* Responsive Menu */
  @media (max-width: 1200px) {
    .navbar nav {
      display: none;
      flex-direction: column;
      background: var(--red-dark);
      position: absolute;
      top: 60px;
      right: 0;
      width: 220px;
      padding: 1rem;
      border-radius: 0 0 8px 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
  
    .navbar nav.active {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
    }
  }
  
  /* Focus outlines (a11y) */
  .navbar a:focus, .menu-toggle:focus-visible {
    outline: 2px solid var(--gold); 
    outline-offset: 2px;
  }
  
  
  /* Button Styles */
  .btn { 
    display: inline-block; 
    padding: .75rem 1.5rem; 
    margin: 5px;
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: 700;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
  }
  .btn-primary { 
    background: var(--red); 
    color: white; 
    box-shadow: 0 2px 4px rgba(179, 0, 0, 0.2);
  }
  .btn-primary:hover { 
    background: var(--red-dark); 
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(179, 0, 0, 0.3);
  }
  .btn-outline { 
    background: transparent; 
    color: white; 
    border: 2px solid white;
  }
  .btn-outline:hover { 
    background: white; 
    color: var(--red);
  }
  
  /* Special donate button */
  .btn-donate {
    background: var(--green);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 102, 0, 0.2);
  }
  .btn-donate:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 102, 0, 0.3);
  }
  
  footer {
    background: var(--text);
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .hero {
    position: relative;
    height: clamp(320px, 45vh, 560px);
    overflow: hidden;
  }
  .hero img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: contrast(1.05) saturate(1.05); 
  }
  
  /* Image loading animations */
  .hero img,
  .feature-card img,
  .page-hero img {
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .hero img.loaded,
  .feature-card img.loaded,
  .page-hero img.loaded {
    opacity: 1;
  }
  
  /* Loading skeleton for images */
  .image-skeleton {
    background: linear-gradient(90deg, var(--line) 25%, var(--bg) 50%, var(--line) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
  }
  
  @keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
  .hero-overlay {
    position: absolute; 
    inset: 0;
    background: linear-gradient(to right, rgba(34,34,34,0.7), rgba(34,34,34,0.3));
    display: grid; 
    place-content: center; 
    text-align: center; 
    color: white; 
    padding: 1rem;
  }
  .hero h2 { 
    font-size: clamp(1.6rem, 2.8vw, 3rem); 
    margin: 0 0 .5rem; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }
  .hero p { 
    font-size: clamp(1rem, 1.4vw, 1.25rem); 
    margin: 0 0 1rem; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  }
  .hero-actions { 
    display: inline-flex; 
    gap: .75rem; 
    flex-wrap: wrap; 
    justify-content: center; 
  }
  
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; 
    padding: 2rem;
    background: var(--bg);
  }
  .feature-card {
    background: var(--panel); 
    border-radius: 16px; 
    overflow: hidden; 
    text-decoration: none; 
    color: var(--text);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--line);
  }
  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  }
  .feature-card img { 
    width: 100%; 
    height: 180px; 
    object-fit: cover; 
    transition: transform 0.3s ease;
  }
  .feature-card:hover img {
    transform: scale(1.05);
  }
  .feature-meta { 
    padding: 1.25rem 1.5rem 1.5rem; 
  }
  .feature-meta h3 { 
    margin: .5rem 0 .75rem; 
    color: var(--text);
    font-size: 1.25rem;
  }
  .feature-meta p {
    color: var(--muted);
    line-height: 1.5;
  }
  .icon { 
    display: inline-flex; 
    width: 32px; 
    height: 32px; 
    margin-bottom: 0.5rem;
  }
  .icon svg { 
    width: 100%; 
    height: 100%; 
    fill: var(--red); 
  }
  
  .page-hero { 
    position: relative; 
    height: 240px; 
    overflow: hidden; 
    margin-bottom: 1.5rem; 
    border-radius: 0 0 16px 16px;
  }
  .page-hero img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: brightness(0.7); 
  }
  .page-hero h2 { 
    position: absolute; 
    bottom: 20px; 
    left: 24px; 
    color: white; 
    margin: 0; 
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  }

  .newsletter { 
    padding: 2rem; 
    background: var(--bg);
  }
  .newsletter-card {
    background: var(--panel); 
    border-left: 6px solid var(--red); 
    border-radius: 12px;
    padding: 1.5rem; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid var(--line);
  }
  .newsletter .icon svg { 
    fill: var(--red); 
  }
  
  /* Newsletter Form Styling */
  .newsletter-form {
    margin-top: 1rem;
  }
  
  .form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--line);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
  }
  
  .newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.1);
  }
  
  .newsletter-form .btn {
    margin: 0;
    white-space: nowrap;
  }
  
  .form-message {
    margin: 0;
    font-size: 0.9rem;
    min-height: 1.2em;
  }
  
  .form-message.success {
    color: var(--green);
  }
  
  .form-message.error {
    color: var(--red);
  }
  
  /* Main content styling */
  main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  main h2 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 2rem;
  }
  
  main p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  /* Calendar styling */
  #calendar {
    background: var(--panel);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }
  
  /* Library list styling */
  main ul {
    list-style: none;
    padding: 0;
  }
  
  main li {
    margin-bottom: 1rem;
  }
  
  main a {
    color: var(--red);
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    background: var(--panel);
    border-radius: 8px;
    border: 1px solid var(--line);
    transition: all 0.2s ease;
  }
  
  main a:hover {
    background: var(--red);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(179, 0, 0, 0.2);
  }
  
  /* Container utility */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  /* Progress Section */
  .progress-section {
    background: var(--panel);
    padding: 3rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  
  .progress-section h2 {
    text-align: center;
    color: var(--text);
    margin-bottom: 2rem;
    font-size: 2.5rem;
  }
  
  .milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .milestone {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--line);
    background: var(--bg);
    transition: all 0.3s ease;
  }
  
  .milestone.completed {
    border-color: var(--green);
    background: rgba(0, 102, 0, 0.05);
  }
  
  .milestone.active {
    border-color: var(--red);
    background: rgba(179, 0, 0, 0.05);
  }
  
  .milestone-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
  }
  
  .milestone h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
  }
  
  .milestone p {
    color: var(--muted);
    margin-bottom: 1rem;
  }
  
  .progress-bar {
    width: 100%;
    height: 8px;
    background: var(--line);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
  }
  
  .progress-fill {
    height: 100%;
    background: var(--red);
    border-radius: 4px;
    transition: width 0.3s ease;
  }
  
  .progress-text {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 600;
  }
  
  /* Social Proof Section */
  .social-proof {
    background: var(--red);
    color: white;
    padding: 3rem 0;
    text-align: center;
  }
  
  .social-proof h2 {
    color: white;
    margin-bottom: 2rem;
    font-size: 2.5rem;
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
  }
  
  /* Countdown Section */
  .countdown-section {
    background: var(--bg);
    padding: 3rem 0;
    text-align: center;
  }
  
  .countdown-section h2 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 2.5rem;
  }
  
  .countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
  }
  
  .countdown-item {
    text-align: center;
    min-width: 80px;
  }
  
  .countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--red);
    line-height: 1;
  }
  
  .countdown-label {
    font-size: 0.9rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .countdown-description {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }
  
  /* FAQ Section */
  .faq-section {
    background: var(--panel);
    padding: 3rem 0;
    border-top: 1px solid var(--line);
  }
  
  .faq-section h2 {
    text-align: center;
    color: var(--text);
    margin-bottom: 2rem;
    font-size: 2.5rem;
  }
  
  .faq-grid {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
  }
  
  .faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--bg);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: var(--text);
    transition: background-color 0.2s ease;
  }
  
  .faq-question:hover {
    background: var(--line);
  }
  
  .faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--red);
    transition: transform 0.2s ease;
  }
  
  .faq-item.active .faq-toggle {
    transform: rotate(45deg);
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
  }
  
  .faq-item.active .faq-answer {
    max-height: 200px;
  }
  
  .faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
  }
  
  /* Contact Section */
  .contact-section {
    background: var(--bg);
    padding: 3rem 0;
    border-top: 1px solid var(--line);
  }
  
  .contact-section h2 {
    text-align: center;
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 2.5rem;
  }
  
  .contact-section > .container > p {
    text-align: center;
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }
  
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--panel);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }
  
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .contact-form .form-group {
    margin-bottom: 1.5rem;
  }
  
  .contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--line);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    font-family: inherit;
  }
  
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.1);
  }
  
  .contact-form textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  .contact-form .btn {
    width: 100%;
    margin-top: 1rem;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .form-row {
      grid-template-columns: 1fr;
    }
    
    .countdown-timer {
      gap: 1rem;
    }
    
    .countdown-item {
      min-width: 60px;
    }
    
    .countdown-number {
      font-size: 2rem;
    }
    
    .milestones {
      grid-template-columns: 1fr;
    }
    
    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Newsletter form border */
#newsletter-form {
    border: 2px solid #B30000;           /* protest red */
    border-radius: 12px;
    background: #fff;
    padding: 0.75rem;
    max-width: 560px;
    margin: 0.5rem auto;                  /* center it */
    display: grid;
    grid-template-columns: 1fr auto;      /* email | button */
    gap: 0.5rem;
  }
  
  #newsletter-form input[type="email"] {
    padding: .6rem .7rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    min-width: 200px;
  }
  
  #newsletter-form button {
    background: #B30000;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .65rem 1rem;
    font-weight: 700;
    cursor: pointer;
  }
  
  #newsletter-form button:hover { opacity: .9; }
  
  /* Stack on small screens */
  @media (max-width: 480px) {
    #newsletter-form { grid-template-columns: 1fr; }
  }
  
  .btn:hover { 
    opacity: .9; 
  }
  
  /* Button states */
  .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
  }
  
  .btn.loading {
    position: relative;
    color: transparent;
  }
  
  .btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* Library Search Styles */
  .search-section {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }
  
  .search-container {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .search-label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
  }
  
  .search-input-container {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  #document-search {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid var(--line);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: white;
  }
  
  #document-search:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.1);
  }
  
  .clear-search-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
    display: none;
  }
  
  .clear-search-btn:hover {
    color: var(--red);
    background: rgba(179, 0, 0, 0.1);
  }
  
  .clear-search-btn.visible {
    display: block;
  }
  
  .search-help {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0.5rem 0 0 0;
    font-style: italic;
  }
  
  .search-results {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
  }
  
  .search-results.has-results {
    color: var(--green);
    font-weight: 600;
  }
  
  .search-results.no-results {
    color: var(--red);
    font-weight: 600;
  }
  
  /* Document sections styling for search */
  #document-sections section {
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  #document-sections section.hidden {
    opacity: 0.3;
    transform: translateY(-10px);
    pointer-events: none;
  }
  
  #document-sections li {
    transition: opacity 0.2s ease;
  }
  
  #document-sections li.hidden {
    opacity: 0.3;
    pointer-events: none;
  }
  
  #document-sections li.highlight {
    background: rgba(179, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.25rem;
    margin: 0.25rem 0;
  }
  
  /* Responsive search styles */
  @media (max-width: 768px) {
    .search-section {
      padding: 1rem;
      margin: 1rem 0;
    }
    
    #document-search {
      font-size: 16px; /* Prevents zoom on iOS */
    }
  }

  /* Partnership Section Styles */
  .partnership-section {
    background: var(--panel);
    padding: 3rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  
  .partnership-section h2 {
    text-align: center;
    color: var(--text);
    margin-bottom: 2rem;
    font-size: 2.5rem;
  }
  
  .partnership-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }
  
  .partnership-content h3 {
    color: var(--red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .partnership-content p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .partnership-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
  }
  
  .btn-outline {
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
  }
  
  .btn-outline:hover {
    background: var(--red);
    color: white;
  }
  
  /* Responsive partnership styles */
  @media (max-width: 768px) {
    .partnership-card {
      padding: 1.5rem;
      margin: 0 1rem;
    }
    
    .partnership-actions {
      flex-direction: column;
    }
    
    .partnership-actions .btn {
      text-align: center;
    }
  }

  /* Representatives Section Styles */
  .representatives-section {
    background: var(--bg);
    padding: 3rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  
  .representatives-section h2 {
    text-align: center;
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 2.5rem;
  }
  
  .representatives-section > .container > p {
    text-align: center;
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .representatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .rep-category {
    background: var(--panel);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }
  
  .rep-category h3 {
    color: var(--red);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--line);
  }
  
  .rep-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .rep-item {
    padding: 1rem;
    background: var(--bg);
    border-radius: 8px;
    border: 1px solid var(--line);
    transition: all 0.2s ease;
  }
  
  .rep-item:hover {
    border-color: var(--red);
    box-shadow: 0 2px 8px rgba(179, 0, 0, 0.1);
  }
  
  .rep-item h4 {
    color: var(--text);
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
  }
  
  .rep-item p {
    color: var(--muted);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .rep-item a {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
  }
  
  .rep-item a:hover {
    text-decoration: underline;
  }
  
  .contact-tips {
    background: var(--panel);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    max-width: 800px;
    margin: 0 auto;
  }
  
  .contact-tips h3 {
    color: var(--red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .contact-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .contact-tips li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    line-height: 1.5;
  }
  
  .contact-tips li:last-child {
    border-bottom: none;
  }
  
  .contact-tips strong {
    color: var(--red);
  }
  
  /* Responsive representatives styles */
  @media (max-width: 768px) {
    .representatives-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .rep-category {
      padding: 1rem;
    }
    
    .contact-tips {
      padding: 1.5rem;
      margin: 0 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .rep-item {
      padding: 0.75rem;
    }
    
    .rep-item h4 {
      font-size: 0.95rem;
    }
    
    .rep-item p {
      font-size: 0.85rem;
    }
  }
