* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #1a1a1a;
}

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

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #c41e3a;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.description {
    font-size: 1.2rem;
    color: #2c5aa0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.poll-section {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 50px;
}

.poll-title {
    font-size: 2rem !important;
    color: #c41e3a;
    margin-bottom: 30px !important;
    text-align: center;
}

.presidents-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.president-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.president-option:hover {
    border-color: #2c5aa0;
    background-color: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.15);
}

.president-option.selected {
    border-color: #c41e3a;
    background-color: #fff5f5;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.15);
}

.president-option input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.2);
    accent-color: #c41e3a;
}

.president-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid #ddd;
}

.president-info {
    flex-grow: 1;
}

.president-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.president-years {
    color: #666;
    font-size: 0.9rem;
}

.bio-link {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 10px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.bio-link:hover {
    text-decoration: underline;
    color: #1a4480;
}

.vote-button {
    display: block;
    width: 200px;
    margin: 30px auto;
    padding: 15px 30px;
    background-color: #c41e3a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vote-button:hover:not(:disabled) {
    background-color: #a01729;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.vote-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* New styles for expandable presidents section */
.hidden-presidents {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-out;
}

.hidden-presidents.expanded {
    max-height: 3000px;
    transition: max-height 0.8s ease-in;
}

.show-all-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    padding: 12px 24px;
    background-color: #2c5aa0;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-all-button:hover {
    background-color: #1a4480;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.show-all-button svg {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.show-all-button.expanded svg {
    transform: rotate(180deg);
}

.all-presidents-section {
    margin-top: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: #c41e3a;
    text-align: center;
    margin-bottom: 40px;
}

.presidents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.president-card {
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.president-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.president-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.president-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.president-card:hover .president-overlay {
    transform: translateY(0);
}

.overlay-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

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

.results-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9ff;
    border-radius: 8px;
}

.results-title {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}

.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.slide-up-enter-active {
    transition: all 0.5s ease;
}

.slide-up-enter-from {
    opacity: 0;
    transform: translateY(30px);
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .presidents-list {
        grid-template-columns: 1fr;
    }
    
    .presidents-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .president-card {
        height: 200px;
    }
}

  /* Footer Styles */
  .site-footer {

    padding: 50px 0 20px 0;
    margin-top: 60px;
    font-family: 'Arial', sans-serif;
    border-top: 3px solid #c41e3a;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 0.9rem;
}

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

.footer-section h3 {
    color: #c41e3a;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 10px;
}

.footer-section p,
.footer-section li {
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {

    text-decoration: underline;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid #444;
}

.trust-badge .icon {
    width: 20px;
    height: 20px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.disclaimer {
    padding: 10px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 5px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.social-links a {
    color: #87ceeb;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #c41e3a;
}

.security-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #4CAF50;
}

/* Responsive design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .security-info {
        flex-direction: column;
        gap: 10px;
    }
}