@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&family=Montserrat:wght@400;700&display=swap');

html {
    scroll-padding-top: 60px; /* Adjust this value based on nav height */
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f7f9fc;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, #0d6efd, #003d73);
    color: #fff;
    padding: 3rem 1rem;
    border-bottom: 5px solid #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}


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

header h1 {
    margin: 0;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.slogan {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffc107; /* Golden Yellow */
    margin: 0.5rem 0 0;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.subheading {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0.5rem 0 1.5rem;
    color: #f0f0f0;
    letter-spacing: 1px;
}

nav {
    background-color: #003d73;
    padding: 0.75rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure it stays on top */
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #00529b;
    border-radius: 5px;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
    flex: 1;
}

section {
    background: #fff;
    padding: 2rem;
    margin: 1.5rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #003d73;
    border-bottom: 3px solid #89cff0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

#voting-info {
    background: #003d73;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 2rem;
}

#voting-info h2 {
    color: #fff;
    border-bottom-color: #ffc107;
}

#voting-info h3 {
    margin: 1.5rem 0 0.5rem;
    color: #ffc107; /* Golden Yellow */
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

#countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
}

.timer-box span {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffc107;
}

#countdown-timer h4 {
    color: #ffc107;
    font-size: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: #ffc107;
    color: #003d73;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 900;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2.5s infinite;
}

.cta-button:hover {
    background: #ffca2c;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    animation-play-state: paused;
}

.hero-cta {
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

#intro {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#intro img {
    max-width: 250px;
    width: 100%; /* Ensure image scales down */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-item {
    text-align: center;
}

.platform-icon {
    font-size: 3rem;
    color: #00529b;
    margin-bottom: 1rem;
}

.platform-item h3 {
    margin-top: 0;
    color: #003d73;
}

i {
    color: #888;
}

.video-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 177.77%; /* 9:16 Aspect Ratio */
    border: 4px solid #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}


.video-details {
    padding: 1rem 0;
}


.video-summary {
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 1rem;
}

.video-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    flex: 1 1 300px;
    max-width: 350px;
}

.video-item h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #003d73;
    font-size: 1.2rem;
}

#video-message {
    background-color: #eef2f7; /* Light blue-gray background */
    text-align: center;
}

#get-involved {
    text-align: center;
}

#faq {
    background-color: #eef2f7;
}

.faq-grid {
    margin-top: 2rem;
}

.faq-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.faq-item .question {
    font-weight: bold;
    color: #003d73;
    margin: 0 0 1rem;
}

.faq-item .answer {
    margin: 0;
}

#about {
    text-align: center;
}

.about-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.about-video .video-container {
    width: 275px; /* Accommodate video and border */
    height: 484px; /* Accommodate video and border */
    padding-top: 0;
}

.about-video .video-container iframe {
    position: static;
    width: 100%;
    height: 100%;
}

@media (min-width: 769px) {
    .about-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .about-text {
        flex: 1;
        text-align: left;
    }

    .about-video {
        flex-shrink: 0;
    }
}

#contact p a {
    color: #00529b;
    font-weight: bold;
    text-decoration: none;
}

#contact p a:hover {
    text-decoration: underline;
}

.contact-form {
    margin-top: 2rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #003d73;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00529b;
    outline: none;
}

.social-links {
    margin-top: 2rem;
}

.social-links h3 {
    margin-bottom: 1rem;
    color: #003d73;
}

.social-icon {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    border-radius: 5px;
    color: #fff !important; /* Override link colors */
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon.facebook {
    background-color: #1877F2;
}

.social-icon.x {
    background-color: #000000;
}

.social-icon.instagram {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}


.social-icon.tiktok {
    background-color: #000000;
}

.social-icon i {
    margin-right: 0.5rem;
}


.direct-email a {
    color: #00529b;
    font-weight: bold;
}

.get-involved-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.action-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.action-item h3 {
    margin-top: 0;
    color: #003d73;
}

.social-share {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 1rem;
    margin-top: 1rem;
}

.share-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.share-button.facebook {
    background-color: #1877F2;
}

.share-button.x {
    background-color: #000000;
}

.share-button.instagram {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}


.share-button:hover {
    opacity: 0.9;
}

.disabled-link {
    background-color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

.calendar-container {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    background: #f9f9f9;
    min-height: 200px; /* Placeholder height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

footer {
    background: #f7f9fc;
    color: #555;
    padding: 2rem 1rem;
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}


.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 0.3rem;
    font-size: 1.1rem;
    border-radius: 50%;
    text-align: center;
    transition: transform 0.3s ease;
}

.footer-social .social-icon:hover {
    transform: scale(1.1);
}

.footer-social .social-icon i {
    margin: 0; /* Remove any margin */
}


/* Responsive Design */
@media (max-width: 768px) {
    body {
        line-height: 1.7;
    }

    header {
        padding: 2rem 1rem;
        gap: 1rem;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .slogan {
        font-size: 1.2rem;
    }

    main {
        padding: 1rem;
    }

    section {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    section h2 {
        font-size: 1.8rem;
    }

    #intro {
        flex-direction: column;
        text-align: center;
    }

    nav a {
        padding: 0.5rem 0.8rem;
    }
}

@media (max-width: 480px) {

    #countdown-timer {
        gap: 0.5rem;
    }

    .timer-box {
        padding: 0.5rem;
        min-width: 60px;
        font-size: 0.8rem;
    }

    .timer-box span {
        font-size: 1.8rem;
    }

    nav {
        padding: 0.2rem 0;
    }

    nav a {
        display: block;
        padding: 0.5rem 0;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
