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

:root {
    --primary-red: #DC143C;
    --primary-orange: #FF8C00;
    --primary-yellow: #FFD700;
    --dark-red: #B22222;
    --dark-orange: #FF6347;
    --light-yellow: #FFFFE0;
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F5F5F5;
    --gray-medium: #555555;
    --gray-dark: #222222;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-yellow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 50%, var(--primary-yellow) 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-red);
}

.btn-primary:hover {
    background: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.8s both;
}

.hero-logo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange), var(--primary-yellow));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.founding-principles {
    margin-top: 4rem;
}

.founding-principles h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.principle-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-orange);
    transition: var(--transition);
}

.principle-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--primary-red);
}

.principle-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 0.8rem;
}

.principle-item p {
    color: var(--gray-medium);
    line-height: 1.6;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange), var(--primary-yellow));
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.about-card p {
    color: #666666;
    line-height: 1.8;
}

.principle-item p {
    color: #666666;
    line-height: 1.6;
}

.policy-card p {
    color: #666666;
    line-height: 1.6;
}

.contact-item p {
    color: #666666;
    line-height: 1.6;
}

.highlight-item p {
    color: #666666;
    line-height: 1.6;
}

.download-card p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.download-note {
    font-size: 0.9rem;
    color: #666666;
    font-style: italic;
}

/* Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.leader-card {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: var(--transition);
    transform: scale(0);
}

.leader-card:hover::before {
    transform: scale(1);
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.leader-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.position {
    font-size: 1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Policies Section */
.policies {
    background: var(--gray-light);
}

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

.policy-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-orange);
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary-red);
}

.policy-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.policy-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.policy-card p {
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Party Structure Section */
.structure {
    background: var(--white);
}

.structure-hierarchy {
    margin-bottom: 4rem;
}

.structure-level {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.level-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--gray-light);
    max-width: 500px;
    width: 100%;
}

.level-card.highest {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    color: var(--white);
}

.level-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.level-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.level-desc {
    text-align: center;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.level-card ul {
    list-style: none;
    padding: 0;
}

.level-card li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.level-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

.level-card.highest li::before {
    color: var(--primary-yellow);
}

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

.party-caucuses {
    margin-top: 4rem;
}

.party-caucuses h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.caucuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.caucus-card {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.caucus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.caucus-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.caucus-card p {
    line-height: 1.6;
}
/* Membership Section */
.membership {
    background: var(--gray-light);
}

.membership-requirements {
    margin-bottom: 3rem;
    text-align: center;
}

.membership-requirements h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.requirement-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--primary-red);
    box-shadow: var(--shadow);
}

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

.membership-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.membership-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.membership-card.featured {
    border-color: var(--primary-orange);
    transform: scale(1.02);
}

.membership-card.premium {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    color: var(--white);
}

.membership-card.corporate {
    border-color: var(--primary-yellow);
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    color: var(--gray-dark);
}

.membership-card.corporate-founder {
    border-color: var(--dark-orange);
    background: linear-gradient(135deg, var(--dark-orange), var(--primary-yellow));
    color: var(--white);
}

.membership-card.lifetime {
    border-color: var(--dark-red);
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    color: var(--white);
}

.membership-card.super {
    border-color: var(--primary-yellow);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow));
    color: var(--white);
}

.membership-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.membership-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.membership-card.premium .price,
.membership-card.lifetime .price,
.membership-card.super .price {
    color: var(--primary-yellow);
}

.membership-card.corporate .price {
    color: var(--primary-red);
}

.membership-card.corporate-founder .price {
    color: var(--primary-yellow);
}

.period {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.membership-card ul {
    list-style: none;
    text-align: left;
}

.membership-card li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.membership-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

.membership-card.premium li::before,
.membership-card.lifetime li::before,
.membership-card.super li::before {
    color: var(--primary-yellow);
}

.membership-card.corporate li::before {
    color: var(--primary-red);
}

.membership-card.corporate-founder li::before {
    color: var(--primary-yellow);
}

.membership-benefits {
    margin-top: 4rem;
}

.membership-benefits h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.benefits-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.benefits-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.benefits-section ul {
    list-style: none;
}

.benefits-section li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--gray-dark);
}

.benefits-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* Constitution Section */
.constitution {
    background: var(--white);
}

.constitution-content {
    max-width: 1000px;
    margin: 0 auto;
}

.constitution-overview {
    margin-bottom: 4rem;
}

.constitution-card {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.constitution-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.constitution-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.constitution-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.constitution-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
}

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

.constitution-highlights {
    margin-bottom: 4rem;
}

.constitution-highlights h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.highlight-item {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-left-color: var(--primary-red);
}

.highlight-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 0.8rem;
}

.highlight-item p {
    color: var(--gray-medium);
    line-height: 1.6;
}

.constitution-download {
    text-align: center;
}

.download-card {
    background: var(--gray-light);
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.download-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.download-card p {
    color: var(--gray-medium);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.download-note {
    font-size: 0.9rem;
    color: var(--gray-medium);
    font-style: italic;
}

/* Contact Section */
.contact {
    background: var(--gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--gray-medium);
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gray-dark), var(--black));
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.kenya-emblem {
    margin-top: 1rem;
}

.emblem {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid var(--gray-medium);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-logo {
        width: 200px;
        height: 200px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .membership-card.featured {
        transform: none;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .about-grid,
    .policies-grid,
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

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

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .about-card,
    .policy-card,
    .leader-card {
        padding: 1.5rem;
    }

    .membership-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    .hamburger {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
}

/* Members Page Styles */
.members-page {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

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

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.members-by-county {
    margin: 4rem 0;
}

.county-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.county-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f3f4;
}

.county-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.member-count {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.member-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    color: #2c3e50;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b35;
}

.member-card:hover {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.join-call-to-action {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
}

.cta-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #bdc3c7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Active navigation link */
.nav-link.active {
    color: #ff6b35 !important;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .members-page {
        padding: 100px 0 60px;
    }
    
    .county-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .join-call-to-action {
        padding: 2rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
}
/* County Page Styles */
.county-page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.back-link {
    display: inline-block;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border: 2px solid #ff6b35;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #ff6b35;
    color: white;
}

.search-section {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    border-color: #ff6b35;
}

.search-input::placeholder {
    color: #6c757d;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
    font-size: 1.1rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 2rem 0;
}

/* County Navigation Styles */
.county-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.county-nav-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b35;
}

.county-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
    text-decoration: none;
    color: inherit;
}

.county-nav-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.county-nav-card .member-count-nav {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive Design for County Pages */
@media (max-width: 768px) {
    .county-page-header h1 {
        font-size: 2rem;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .county-nav-grid {
        grid-template-columns: 1fr;
    }
}
