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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

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

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    opacity: 0.5;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.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;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.sidebar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar-menu a i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.sidebar-menu a:hover {
    background: #f8fafc;
    color: #2563eb;
    padding-left: 2.5rem;
    border-left-color: #2563eb;
}

.sidebar-menu a.active {
    background: #dbeafe;
    color: #2563eb;
    border-left-color: #2563eb;
    font-weight: 600;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Dropdown Styles for Sidebar */
.sidebar-menu .dropdown {
    position: relative;
}

.sidebar-menu .dropdown > a {
    justify-content: space-between;
}

.sidebar-menu .dropdown > a .fa-chevron-down {
    transition: transform 0.3s ease;
}

.sidebar-menu .dropdown.active > a .fa-chevron-down {
    transform: rotate(180deg);
}

.sidebar-menu .dropdown-menu {
    list-style: none;
    background: #f8fafc;
    border-left: 4px solid #e2e8f0;
    margin-left: 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-menu .dropdown.active .dropdown-menu {
    max-height: 200px;
}

.sidebar-menu .dropdown-menu li {
    border-bottom: none;
}

.sidebar-menu .dropdown-menu a {
    padding: 1rem 2rem 1rem 3rem;
    font-size: 0.95rem;
    color: #64748b;
    border-left: none;
}

.sidebar-menu .dropdown-menu a:hover {
    background: #e2e8f0;
    color: #2563eb;
    padding-left: 3.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 80px;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-animation {
    width: 300px;
    height: 300px;
    position: relative;
}

.district-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    height: 100%;
}

.district {
    border-radius: 12px;
    animation: pulse 2s infinite;
    opacity: 0.8;
}

.district-1 { background: #ef4444; animation-delay: 0s; }
.district-2 { background: #f97316; animation-delay: 0.2s; }
.district-3 { background: #eab308; animation-delay: 0.4s; }
.district-4 { background: #22c55e; animation-delay: 0.6s; }
.district-5 { background: #3b82f6; animation-delay: 0.8s; }
.district-6 { background: #8b5cf6; animation-delay: 1s; }

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

/* Page Hero */
.page-hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-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="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-hero .hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    font-weight: 500;
}

.page-hero .hero-description {
    font-size: 1.125rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Overview Section */
.overview-section {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.overview-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #1e293b;
    line-height: 1.2;
    position: relative;
}

.overview-section h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.county-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.stat-item .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.overview-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.maps-generated-stat {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    text-align: center;
    max-width: 400px;
}

.stat-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.stat-number-large {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.county-outline-placeholder {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    text-align: center;
    max-width: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.county-outline-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    max-height: 200px;
}

.county-outline-placeholder .placeholder-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.county-outline-placeholder h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.county-outline-placeholder p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.outline-preview {
    width: 200px;
    height: 150px;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    margin: 0 auto;
}

.stat-label-large {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.maps-generated-stat p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.county-map-large {
    width: 100%;
    max-width: 400px;
}

.map-container {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.district-overview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    height: 200px;
}

.district-overview .district {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-align: center;
    padding: 0.5rem;
}

/* Results Section */
.results-section {
    padding: 8rem 0;
    background: #f8fafc;
    position: relative;
}

.results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.results-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #1e293b;
    line-height: 1.2;
    position: relative;
}

.results-section h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.results-intro {
    text-align: center;
    margin-bottom: 3rem;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.results-intro p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

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

.result-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.result-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 1.5rem;
    color: #2563eb;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.result-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.result-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-height: 100px;
}

.result-stats .stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.result-stats .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
}

.result-stats .stat:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Methodology Overview Section */
.methodology-overview {
    padding: 6rem 0;
    background: white;
}

.methodology-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.methodology-overview .overview-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.methodology-overview .overview-text p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

.methodology-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.methodology-flow .flow-step {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    min-width: 180px;
    position: relative;
}

.methodology-flow .flow-step:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.methodology-flow .step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.methodology-flow .step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 600;
}

.methodology-flow .flow-step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.methodology-flow .flow-step p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.methodology-flow .flow-arrow {
    font-size: 1.5rem;
    color: #2563eb;
    font-weight: 600;
}

/* Data Collection Section */
.data-collection {
    padding: 6rem 0;
    background: #f8fafc;
}

.data-collection h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.data-content {
    display: block;
}

.data-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.data-text p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.data-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.data-text li {
    padding: 0.75rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.data-text li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.data-text li:last-child {
    border-bottom: none;
}

.data-text strong {
    color: #1e293b;
}

.data-sources {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.data-source {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.data-source:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.data-source h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.data-source h4 i {
    color: #2563eb;
}

.data-source p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}



/* Algorithm Section */
.algorithm-section {
    padding: 6rem 0;
    background: white;
}

.algorithm-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.algorithm-content {
    display: block;
}

.algorithm-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.algorithm-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.algorithm-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.algorithm-text li {
    padding: 0.75rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.algorithm-text li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.algorithm-text li:last-child {
    border-bottom: none;
}

.algorithm-text strong {
    color: #1e293b;
}

.algorithm-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.algorithm-text li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
}

.algorithm-text li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.algorithm-text li:last-child {
    border-bottom: none;
}



/* Metrics Section */
.metrics-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.metrics-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.metric-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.metric-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-header i {
    font-size: 1.5rem;
    color: #2563eb;
}

.metric-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.metric-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.metric-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.metric-card li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
}

.metric-card li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.metric-card li:last-child {
    border-bottom: none;
}

.metric-formula {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    color: #1e293b;
    margin-top: 1rem;
}

/* Validation Section */
.validation-section {
    padding: 6rem 0;
    background: white;
}

.validation-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.validation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.validation-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.validation-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.validation-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.validation-text li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
}

.validation-text li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.validation-text li:last-child {
    border-bottom: none;
}

.validation-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.validation-chart {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.validation-chart h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 1rem;
    height: 150px;
    padding: 1rem 0;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #2563eb, #3b82f6);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    transform: scaleY(1.1);
}

.chart-bar::after {
    content: attr(data-value);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

/* Technical Implementation Section */
.technical-implementation {
    padding: 6rem 0;
    background: #f8fafc;
}

.technical-implementation h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}



/* Get Involved Page Styles */
.involvement-options {
    padding: 6rem 0;
    background: white;
}

.involvement-options h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.involvement-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.involvement-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.involvement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.involvement-icon i {
    font-size: 2rem;
    color: white;
}

.involvement-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.involvement-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.involvement-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.involvement-card li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.involvement-card li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Form Section */
.form-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.form-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-info {
    padding-right: 2rem;
}

.form-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.form-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.form-info li {
    padding: 0.75rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.form-info li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.form-info li:last-child {
    border-bottom: none;
}

.form-info strong {
    color: #1e293b;
}

.volunteer-areas,
.chapter-benefits {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.volunteer-areas:hover,
.chapter-benefits:hover {
    border-color: #2563eb;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.volunteer-areas h4,
.chapter-benefits h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volunteer-areas h4::before {
    content: "🎯";
    font-size: 1.2rem;
}

.chapter-benefits h4::before {
    content: "🚀";
    font-size: 1.2rem;
}

.volunteer-areas ul,
.chapter-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.volunteer-areas li,
.chapter-benefits li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.volunteer-areas li::before,
.chapter-benefits li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.volunteer-areas li:last-child,
.chapter-benefits li:last-child {
    border-bottom: none;
}

.form-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    max-width: 700px;
}

/* Google Form Placeholder Styling */
.google-form-placeholder {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.google-form-placeholder:hover {
    border-color: #2563eb;
    background: #f1f5f9;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.google-form-placeholder h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.google-form-placeholder p {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.placeholder-form {
    max-width: 300px;
    margin: 0 auto;
}

.placeholder-field {
    height: 40px;
    background: #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #cbd5e1;
}

.placeholder-button {
    height: 44px;
    background: #2563eb;
    border-radius: 8px;
    border: none;
    margin-top: 1rem;
}

/* Google Form Embed Styling */
.google-form-embed {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.google-form-embed:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.form-header h3 {
    margin: 0;
    color: #1e293b;
}

.open-form-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.open-form-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.open-form-btn i {
    font-size: 0.75rem;
}

.google-form-embed iframe {
    display: block;
    border: none;
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    min-height: 600px;
    max-height: 600px;
    overflow-y: auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

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

/* Donate Section */
.donate-section {
    padding: 6rem 0;
    background: white;
}

.donate-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.donate-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.donate-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.donate-info li {
    padding: 0.75rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.donate-info li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.donate-info li:last-child {
    border-bottom: none;
}

.donate-info strong {
    color: #1e293b;
}

.donate-options {
    display: grid;
    gap: 1rem;
}

.donate-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.donate-option:hover {
    border-color: #2563eb;
    background: #dbeafe;
}

.donate-option i {
    font-size: 1.5rem;
    color: #2563eb;
}

.donate-option .option-text {
    flex: 1;
}

.donate-option h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.donate-option p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.donate-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.donation-chart {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
}

.donation-chart h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.donation-pie {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(
        #2563eb 0deg 120deg,
        #3b82f6 120deg 240deg,
        #60a5fa 240deg 360deg
    );
    margin: 0 auto 1.5rem;
    position: relative;
}

.donation-pie::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
}

.donation-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-color.blue-1 { background: #2563eb; }
.legend-color.blue-2 { background: #3b82f6; }
.legend-color.blue-3 { background: #60a5fa; }

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.contact-info li {
    padding: 0.75rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.contact-info li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.contact-info li:last-child {
    border-bottom: none;
}

.contact-info strong {
    color: #1e293b;
}



.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: #2563eb;
    background: #dbeafe;
}

.contact-method i {
    color: #2563eb;
    width: 20px;
    font-size: 1.125rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Gerrymandering Page Specific Styles */
.definition-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.definition-content h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.definition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.definition-text h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.definition-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.key-insight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.key-insight h4 {
    color: #0369a1;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.key-insight p {
    color: #0c4a6e;
    margin: 0;
    line-height: 1.6;
}

.definition-visual {
    position: sticky;
    top: 2rem;
}

.gerrymander-example {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.gerrymander-example h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1e293b;
    text-align: center;
}

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

.nc-example {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.nc-example:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.nc-example img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.salamander-example {
    grid-column: 1 / -1;
    max-width: 300px;
    margin: 0 auto;
}

.salamander-example img {
    max-width: 150px;
}

.nc-example p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.nc-example strong {
    color: #1e293b;
}

/* Real Example Section Improvements */
.real-example {
    padding: 6rem 0;
    background: #f8fafc;
}

.real-example h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.example-scenario {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.example-scenario h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.example-scenario ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.example-scenario li {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border-radius: 8px;
    display: inline-block;
    margin-right: 1rem;
}

.example-outcomes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.outcome {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 300px;
}

.outcome:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.outcome.fair {
    border-color: #10b981;
}

.outcome.gerrymandered {
    border-color: #ef4444;
}

.outcome.impact {
    border-color: #f59e0b;
}

.outcome.impact .impact-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.outcome.impact .impact-highlight h4 {
    color: #92400e;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.outcome.impact .impact-highlight p {
    color: #78350f;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.outcome h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.outcome p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.result {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.result-label {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.result-value {
    display: block;
    font-size: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.impact-highlight {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #ef4444;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.impact-highlight h4 {
    color: #dc2626;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.impact-highlight p {
    color: #991b1b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for gerrymandering page */
@media (max-width: 768px) {
    .definition-section .definition-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .definition-visual {
        position: static;
    }
    
    .example-outcomes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nc-examples {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .salamander-example {
        max-width: 100%;
    }
    
    .real-example h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .example-scenario,
    .outcome {
        padding: 1.5rem;
    }
    
    .example-scenario li {
        display: block;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Ensure 3-column layout on larger screens */
@media (min-width: 769px) {
    .example-outcomes {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }
    
    .outcome {
        min-height: 300px;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.example-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.example-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.example-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.example-visual {
    margin: 1.5rem 0;
}

.packing-demo, .cracking-demo {
    display: flex;
    justify-content: center;
}

.demo-area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    width: 200px;
    height: 200px;
}

.voter {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    border: 2px solid #e2e8f0;
}

.voter-d {
    background: #3b82f6;
}

.voter-r {
    background: #ef4444;
}

.example-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Real Example Section */
.real-example {
    padding: 6rem 0;
    background: #f8fafc;
}

.real-example h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.example-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.example-scenario {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.example-scenario:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.example-scenario h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.example-scenario ul {
    list-style: none;
    padding: 0;
}

.example-scenario li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.example-scenario li:last-child {
    border-bottom: none;
}

.example-outcomes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.outcome {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.outcome:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.outcome.fair {
    border-left: 4px solid #22c55e;
}

.outcome.gerrymandered {
    border-left: 4px solid #ef4444;
}

.outcome h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.outcome p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.result {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
}

.result-label {
    font-weight: 600;
    color: #1e293b;
}

.result-value {
    color: #64748b;
    margin-left: 0.5rem;
}

/* Supreme Court Section */
.supreme-court {
    padding: 6rem 0;
    background: white;
}

.supreme-court h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.court-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.court-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.court-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.court-quote {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #2563eb;
}

.court-quote blockquote {
    font-style: italic;
    color: #1e293b;
    margin: 0;
}

.court-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.court-text ul {
    list-style: none;
    padding: 0;
}

.court-text li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.court-text li:last-child {
    border-bottom: none;
}

.court-building {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.court-building i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.court-building h4 {
    margin-bottom: 0.5rem;
}

/* Why Local Matters Section */
.why-local-matters {
    padding: 6rem 0;
    background: #f8fafc;
}

.why-local-matters h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.importance-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.importance-intro h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

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

.importance-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.importance-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.importance-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.importance-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Problem Section */
.problem-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.problem-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.problem-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.problem-text ul {
    list-style: none;
    padding: 0;
}

.problem-text li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.problem-text li:last-child {
    border-bottom: none;
}

.traditional-process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.process-step .step-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2563eb;
}

.process-step p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.process-arrow {
    font-size: 1.5rem;
    color: #2563eb;
    font-weight: 600;
}

/* Our Approach Section */
.our-approach-section {
    padding: 6rem 0;
    background: white;
}

.our-approach-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.approach-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.approach-intro h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

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

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.step-card .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.step-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Algorithm Details Section */
.algorithm-details {
    padding: 6rem 0;
    background: #f8fafc;
}

.algorithm-details h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.algorithm-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.algorithm-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.algorithm-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.algorithm-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Why This Works Section */
.why-this-works {
    padding: 6rem 0;
    background: white;
}

.why-this-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Real Results Section */
.real-results {
    padding: 6rem 0;
    background: #f8fafc;
}

.real-results h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.results-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.results-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.results-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.results-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.results-text li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.results-text li:last-child {
    border-bottom: none;
}

.results-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.stat-box:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.stat-box .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-box .stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #f8fafc;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

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

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.about-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Chapters Section */
.chapters {
    padding: 6rem 0;
    background: white;
}

.chapters h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.chapter-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.chapter-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.chapter-card.featured {
    border-color: #2563eb;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chapter-icon {
    width: 60px;
    height: 60px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chapter-icon i {
    font-size: 1.5rem;
    color: white;
}

.chapter-badge {
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.chapter-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.chapter-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.chapter-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Chapter Details Section */
.chapter-details {
    padding: 6rem 0;
    background: #f8fafc;
}

.details-header {
    text-align: center;
    margin-bottom: 3rem;
}

.details-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.details-header p {
    font-size: 1.2rem;
    color: #64748b;
}

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

.details-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.details-card:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.details-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.details-card p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.details-card li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.details-card li:last-child {
    border-bottom: none;
}

/* Methodology Section */
.methodology {
    padding: 6rem 0;
    background: white;
}

.methodology h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
}

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

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

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

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nc-examples {
        gap: 20px;
    }
    
    .nc-example {
        padding: 12px;
    }
    
    .nc-map {
        max-width: 250px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .chapters-grid {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .methodology-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about h2,
    .chapters h2,
    .methodology h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .chapter-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* You Can Do It Too Page Styles */
.github-section {
    padding: 6rem 0;
    background: white;
}

.github-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.github-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.github-info p {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.github-link .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.github-visual {
    display: flex;
    justify-content: center;
}

.code-preview {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.code-header {
    background: #334155;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #f59e0b; }
.code-dot.green { background: #10b981; }

.code-title {
    color: #cbd5e1;
    font-size: 0.875rem;
    margin-left: 1rem;
}

.code-content {
    padding: 1.5rem;
}

.code-content pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-content code {
    color: #60a5fa;
}

.step-guide {
    padding: 6rem 0;
    background: #f8fafc;
}

.step-guide h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.step-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
    line-height: 1.3;
}

.step-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.step-details {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-top: auto;
}

.step-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-details h4::before {
    content: "📋";
    font-size: 1.2rem;
}

.step-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-details li {
    padding: 0.75rem 0;
    color: #64748b;
    position: relative;
    padding-left: 2rem;
    line-height: 1.5;
    border-bottom: 1px solid #e2e8f0;
}

.step-details li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.step-details li:last-child {
    border-bottom: none;
}

.code-snippet {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.code-snippet code {
    color: #e2e8f0;
}

.technical-requirements {
    padding: 6rem 0;
    background: white;
}

.technical-requirements h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.requirement-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.requirement-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.requirement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.requirement-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.requirement-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.requirement-card li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.requirement-card li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.success-stories {
    padding: 6rem 0;
    background: #f8fafc;
}

.success-stories h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.story-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.story-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.story-header i {
    font-size: 1.5rem;
    color: #2563eb;
}

.story-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.story-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.story-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.story-link:hover {
    color: #1d4ed8;
}

.get-help {
    padding: 6rem 0;
    background: white;
}

.get-help h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.help-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.help-text p {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.help-option {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.help-option:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.help-option i {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.help-option h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.help-option p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.help-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.help-cta .btn {
    white-space: nowrap;
}

/* Responsive adjustments for You Can Do It Too page */
@media (max-width: 768px) {
    .github-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .help-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .help-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .help-options {
        grid-template-columns: 1fr;
    }
}

/* Santa Clara County Page Specific Styles */
.current-situation {
    padding: 6rem 0;
    background: #f8fafc;
}

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

.situation-text {
    text-align: center;
    margin-bottom: 3rem;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.situation-text p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

.situation-bullets {
    margin-bottom: 2rem;
}

.situation-bullets ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.situation-bullets li {
    padding: 0.75rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.situation-bullets li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.situation-bullets li:last-child {
    border-bottom: none;
}

.situation-bullets strong {
    color: #1e293b;
}

.jurisdiction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.jurisdiction-grid-row2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 66.67%;
    margin-left: auto;
    margin-right: auto;
}

.jurisdiction-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.jurisdiction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.jurisdiction-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.jurisdiction-header i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-right: 1rem;
}

.jurisdiction-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.jurisdiction-details {
    color: #64748b;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.jurisdiction-details p {
    margin-top: auto;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #475569;
}

.detail-value {
    font-weight: 600;
    color: #1e293b;
}

.jurisdiction-details p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.situation-note {
    background: #dbeafe;
    border-left: 4px solid #2563eb;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.situation-note p {
    margin: 0;
    color: #1e40af;
    font-weight: 500;
}

.results-intro {
    text-align: center;
    margin-bottom: 3rem;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.results-intro p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

.jurisdiction-results {
    margin-top: 4rem;
    padding: 3rem 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.jurisdiction-results h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.jurisdiction-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.jurisdiction-result {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.jurisdiction-result:hover {
    transform: translateY(-4px);
    border-color: #2563eb;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.jurisdiction-result h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.result-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-height: 100px;
}

.result-stats .stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.result-stats .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
}

.result-stats .stat:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.jurisdiction-result p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Responsive adjustments for Santa Clara County page */
@media (max-width: 768px) {
    .jurisdiction-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .jurisdiction-grid .jurisdiction-card:nth-child(4),
    .jurisdiction-grid .jurisdiction-card:nth-child(5) {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
    
    .jurisdiction-results-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .jurisdiction-results {
        margin-top: 3rem;
        padding: 2rem 0;
    }
    
    .jurisdiction-results h3 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .jurisdiction-result {
        padding: 2rem 1.5rem;
    }
    
    .result-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-stats .stat {
        padding: 1.5rem 1rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .next-steps .steps-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 0.5rem;
    }
    
    .step-dot {
        width: 1.5rem;
        height: 1.5rem;
        margin-right: 1.5rem;
    }
    
    .overview-section h2,
    .results-section h2 {
        font-size: 2.25rem;
    }
}

/* Homepage Specific Styles */
.featured-chapter {
    padding: 6rem 0;
    background: #f8fafc;
}

.featured-chapter h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.chapter-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.chapter-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.chapter-info p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.chapter-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chapter-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.chapter-stats .stat:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.chapter-stats .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.chapter-stats .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
}

.chapter-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.county-map {
    width: 100%;
    max-width: 400px;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.county-map-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    max-height: 300px;
}

.map-placeholder {
    background: white;
    border: 3px dashed #cbd5e1;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    color: #64748b;
    transition: all 0.3s ease;
}

.map-placeholder:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.map-placeholder:hover i {
    color: #2563eb;
}

.map-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive adjustments for homepage */
@media (max-width: 768px) {
    .chapter-highlight {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .chapter-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-highlight {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-chapter h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .chapter-info h3 {
        font-size: 1.5rem;
    }
    
    .county-map-image {
        max-height: 250px;
    }
    
    .county-outline-image {
        max-height: 180px;
    }
    
    .plan-map-image {
        max-height: 250px;
    }
    
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .validation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 480px) {
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .plan-image-card {
        padding: 1.5rem;
    }
    
    .validation-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.methodology-details {
    padding: 6rem 0;
    background: #f8fafc;
}

.methodology-details h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.methodology-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.methodology-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.methodology-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.methodology-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.top-plans {
    padding: 6rem 0;
    background: white;
}

.top-plans h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.plans-intro {
    text-align: center;
    margin-bottom: 3rem;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #8b5cf6;
}

.plans-intro p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.plan-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.plan-image-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.plan-image-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.plan-image-card .plan-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.plan-image-card .plan-type {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.plan-image-placeholder {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.plan-image-placeholder:hover {
    border-color: #2563eb;
    background: #f1f5f9;
}

.plan-image-placeholder .placeholder-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.plan-image-placeholder h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.plan-image-placeholder p {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.plans-grid .plan-card .plan-image {
    width: 100% !important;
    height: 150px !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    position: relative !important;
    max-width: 100% !important;
    max-height: 150px !important;
}

.plan-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.2);
}

.plan-image::before {
    content: "🔍+";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.plan-image:hover::before {
    opacity: 1;
}

/* Modal/Lightbox for zoomed images */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.map-preview {
    width: 150px;
    height: 100px;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin: 0 auto;
}

.plan-map-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    max-height: 300px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.plan-map-image:hover {
    border-color: #2563eb;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* You Can Do It Too Page Styles */
.step-guide {
    padding: 6rem 0;
    background: #f8fafc;
}

.step-guide h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.step-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-details {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.step-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-details h4::before {
    content: "📋";
    font-size: 1.2rem;
}

.step-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-details li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.step-details li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.step-details li:last-child {
    border-bottom: none;
}

.code-snippet {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.code-snippet code {
    color: #e2e8f0;
}

.technical-requirements {
    padding: 6rem 0;
    background: white;
}

.technical-requirements h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.requirement-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.requirement-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.requirement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.requirement-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.requirement-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.requirement-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.requirement-card li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.requirement-card li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.requirement-card li:last-child {
    border-bottom: none;
}

.success-stories {
    padding: 6rem 0;
    background: #f8fafc;
}

.success-stories h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.story-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.story-header i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.story-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.story-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.story-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.story-link:hover {
    color: #1d4ed8;
}

.plans-note {
    text-align: center;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #8b5cf6;
}

.plans-note p {
    margin: 0;
    color: #475569;
    font-weight: 500;
    font-style: italic;
}

.impact-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.impact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

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

.impact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.impact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.impact-card p {
    color: #64748b;
    line-height: 1.6;
}

.next-steps {
    padding: 6rem 0;
    background: white;
}

.next-steps h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.steps-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.steps-text h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.steps-text p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.steps-text ul {
    list-style: none;
    padding: 0;
}

.steps-text li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

.steps-text li strong {
    color: #1e293b;
    font-weight: 600;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-step {
    display: flex;
    align-items: center;
    position: relative;
}

.step-dot {
    width: 2rem;
    height: 2rem;
    background: #2563eb;
    border-radius: 50%;
    margin-right: 2rem;
    z-index: 1;
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #64748b;
    margin: 0;
}

/* Evaluation Metrics Section */
.evaluation-metrics {
    padding: 6rem 0;
    background: #f8fafc;
}

.evaluation-metrics h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.metrics-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.metrics-intro ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.metrics-intro li {
    padding: 0.75rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.metrics-intro li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.metrics-intro li:last-child {
    border-bottom: none;
}

.metrics-intro strong {
    color: #1e293b;
}

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





.segregation-indices {
    display: grid;
    gap: 0.75rem;
}

.index {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    color: #64748b;
}



/* Scoring System Section */
.scoring-system {
    padding: 6rem 0;
    background: white;
}

.scoring-system h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.scoring-content {
    display: block;
}

.scoring-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.scoring-text p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.scoring-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.scoring-text li {
    padding: 0.75rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.scoring-text li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.scoring-text li:last-child {
    border-bottom: none;
}

.scoring-text strong {
    color: #1e293b;
}







/* Technical Details Section */
.technical-details {
    padding: 6rem 0;
    background: #f8fafc;
}

.technical-details h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.technical-content {
    display: block;
}

.technical-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.technical-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.technical-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.technical-text li {
    padding: 0.75rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.technical-text li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.technical-text li:last-child {
    border-bottom: none;
}

.technical-text strong {
    color: #1e293b;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tech-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    font-size: 1rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tech-item .tech-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.tech-item .tech-content {
    flex: 1;
}

.tech-item strong {
    color: #1e293b;
}



/* GitHub Link Section */
.github-link {
    text-align: center;
    margin-top: 2rem;
}

.github-link .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.github-link .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.github-link .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.github-note {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Algorithm Steps Styling */
.algorithm-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.algo-step {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.algo-step:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.algo-step .step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.algo-step .step-content {
    flex: 1;
}

.algo-step h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.algo-step p {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}







/* Validation Grid Styling */
.validation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.validation-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.validation-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.validation-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.validation-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.get-help {
    padding: 6rem 0;
    background: white;
}

.get-help h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.help-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.help-text p {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.help-option {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.help-option:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.help-option i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.help-option h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.help-option p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    flex-grow: 1;
}

.help-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Professional Option Card Styling */
.option-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.option-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.option-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.option-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.option-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.option-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.option-card li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.option-card li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.option-card li:last-child {
    border-bottom: none;
}

.option-card .btn {
    margin-top: auto;
    align-self: center;
}

/* Responsive Design for Methodology Page */
@media (max-width: 768px) {
    .methodology-overview .overview-content,
    .data-content,
    .algorithm-content,
    .scoring-content,
    .technical-content {
        display: block;
    }
    
    .methodology-flow,
    .data-sources,
    .algorithm-steps,
    .tech-stack {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .validation-grid {
        grid-template-columns: 1fr;
    }
    
    .form-content,
    .donate-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-info {
        padding-right: 0;
        padding-bottom: 2rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .option-card {
        padding: 2rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .steps-grid,
    .requirements-grid,
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .help-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .help-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .google-form-embed iframe {
        min-height: 500px;
    }
    
    .form-container {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .form-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .open-form-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Plans Overview Section Styles */
.plans-overview {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.plans-overview h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e293b;
    font-size: 2.5rem;
    font-weight: 600;
}

.plans-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.plans-intro p {
    margin-bottom: 1.5rem;
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.7;
}

.plans-intro strong {
    color: #1e293b;
    font-weight: 600;
}

/* Plans Grid Section */
.plans-grid-section {
    padding: 4rem 0;
    background: #ffffff;
}

.plans-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 280px) !important;
    gap: 1.5rem !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.plans-grid .plan-card {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    max-width: 300px !important;
    width: 280px !important;
    height: auto !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.plan-card h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dra-link {
    display: inline-block;
    background: #3b82f6;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.dra-link:hover {
    background: #2563eb;
    color: #ffffff;
}





/* Responsive Design for Plans Grid */
@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(4, 280px) !important;
        gap: 1.5rem !important;
        justify-content: center !important;
    }
}

@media (max-width: 992px) {
    .plans-grid {
        grid-template-columns: repeat(3, 280px) !important;
        gap: 1.5rem !important;
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(2, 280px) !important;
        gap: 1rem !important;
        justify-content: center !important;
    }
    
    .plan-card {
        padding: 1rem !important;
    }
    
    .plan-card h3 {
        font-size: 1rem !important;
    }
    
    .plan-image {
        height: 150px !important;
    }
}

@media (max-width: 480px) {
    .plans-grid {
        grid-template-columns: 280px !important;
        gap: 1rem !important;
        justify-content: center !important;
    }
    
    .plans-overview h2 {
        font-size: 2rem !important;
    }
    
    .plans-intro p {
        font-size: 1rem !important;
    }
    
    .plan-image {
        height: 120px !important;
    }
}