/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f1f1;
    color: #333;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3 {
    font-weight: bold;
}

a {
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Header */
.header {
    background-color: #007bff;
    color: #f5f1f1;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .logo h1 {
    font-size: 1.8rem;
}

.nav a {
    color: #f5f1f1;
    margin-left: 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ffcccb;
}

.nav .btn-primary {
    background-color: #f5f1f1;
    color: #007bff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav .btn-primary:hover {
    background-color: #007bff;
    color: #f5f1f1;
    border: 1px solid #f5f1f1;
}

/* Hero Section */
.hero {
    background-color: #007bff;
    color: #f5f1f1;
    padding: 4rem 2rem;
    text-align: center;
    clip-path: ellipse(75% 90% at 50% 10%);
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero .btn-primary {
    background-color: #f5f1f1;
    color: #007bff;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
}

.hero .btn-primary:hover {
    background-color: #007bff;
    color: #f5f1f1;
}

/* Section */
.section {
    padding: 3rem 2rem;
    text-align: center;
    background-color: #f5f1f1;
}

.section:nth-child(even) {
    background-color: #eaf4ff;
}

h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.candidates {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.candidate-card {
    background-color: #fff;
    padding: 2rem;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.candidate-card img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.candidate-card h3 {
    font-size: 1.2rem;
    color: #007bff;
}

.candidate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn-secondary {
    background-color: #007bff;
    color: #f5f1f1;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}

.btn-secondary:hover {
    background-color: #0056b3;
    color: #f5f1f1;
}

/* Footer */
.footer {
    text-align: center;
    background-color: #007bff;
    color: #f5f1f1;
    padding: 0.07rem;
    position: relative;
    width: 100%;
    bottom: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
