/* ===================================
   CSS Variables - Democratic Party Colors
   =================================== */
:root {
    --ocean-blue: #0078D4;
    --dark-blue: #003D82;
    --light-blue: #4A9EDA;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --text-dark: #1A1A1A;
    --text-gray: #4A5568;
    --shadow: rgba(0, 61, 130, 0.1);
    --shadow-hover: rgba(0, 61, 130, 0.2);
}

/* ===================================
   Reset and Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--ocean-blue);
}


/* ===================================
   WhatsApp Join Button Styles
   Add this to your styles.css
   =================================== */

.whatsapp-container {
    max-width: 600px;
    margin: 3rem auto;
    text-align: center;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    margin-bottom: 1.5rem;
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.whatsapp-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.whatsapp-main {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.whatsapp-sub {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.95;
}

.whatsapp-note {
    color: white;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .whatsapp-button {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .whatsapp-text {
        align-items: center;
        text-align: center;
    }

    .whatsapp-main {
        font-size: 1.3rem;
    }

    .whatsapp-sub {
        font-size: 0.95rem;
    }

    .whatsapp-icon {
        width: 50px;
        height: 50px;
    }
}


/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--ocean-blue) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.hero-author {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.9;
    letter-spacing: 2px;
}

.hero-cta {
    margin-top: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.map-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ===================================
   Buttons
   =================================== */
.btn-primary {
    background: var(--white);
    color: var(--ocean-blue);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-large {
    width: 100%;
    justify-content: center;
    font-size: 1.3rem;
    padding: 1.2rem 2.5rem;
}

/* ===================================
   About Section
   =================================== */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 3rem;
    text-align: center;
}

.about-content {
    display: grid;
    gap: 3rem;
}

.about-text .lead {
    font-size: 1.4rem;
    color: var(--ocean-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ocean-blue);
    font-weight: bold;
    font-size: 1.3rem;
}

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

.stat-card {
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--light-blue) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
}

/* ===================================
   Author Section
   =================================== */
.author-section {
    padding: 80px 0;
    background: var(--off-white);
}

.author-content {
    max-width: 900px;
    margin: 0 auto;
}

.author-bio h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.author-bio p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.author-quote {
    background: var(--white);
    border-left: 4px solid var(--ocean-blue);
    padding: 1.5rem 2rem;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-top: 2rem;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 15px var(--shadow);
}

/* ===================================
   Join Section
   =================================== */
.join-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--ocean-blue) 100%);
    color: var(--white);
}

.join-section .section-title {
    color: var(--white);
}

.join-header {
    text-align: center;
    margin-bottom: 4rem;
}

.join-description,
.join-purpose {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 1rem auto;
    opacity: 0.95;
    line-height: 1.8;
}

.registration-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ocean-blue);
}

.form-group textarea {
    resize: vertical;
}

.join-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.join-footer p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.join-footer strong {
    color: var(--white);
    font-weight: 700;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.rally-cry {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-text p {
    opacity: 0.8;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .map-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .nav-links {
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .registration-form {
        padding: 2rem 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ===================================
   Success Message
   =================================== */
.success-message {
    background: linear-gradient(135deg, #48BB78 0%, #38A169 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.5s ease-out;
    transition: opacity 0.5s ease;
}

.success-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.success-content p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-content,
.author-content,
.join-header {
    animation: fadeInUp 0.8s ease-out;
}
