:root {
    --abc-dark: #1a1a1a;
    --abc-red: #CC0000;
    --abc-silver: #f4f4f4;
    --text-main: #333;


}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar - Clean & Minimal */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -1px;
}

.logo span {
    color: var(--abc-red);
    font-weight: 300;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--abc-dark);
    margin-left: 2rem;
    font-weight: 500;
    font-size: 0.9rem;
}


.hero {
    padding: 100px 0;
    background: var(--abc-dark);
    color: white;
    min-height: 60vh;
    align-items: center;
    text-align: left;
}

.secondary-hero {
    min-height: 30vh;
    display: block;
    padding: 120px 0 60px 0;
}

.eyebrow {
    color: var(--abc-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
}

.hero h1 {
    font-size: 3.5rem;
    margin: 1rem 0;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.btn-main {
    display: inline-block;
    background: var(--abc-red);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    margin-top: 1.5rem;
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    background: #a30000;
}

/* Cards Section */
.services {
    padding: 80px 0;
    background: var(--abc-silver);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    border-left: 4px solid var(--abc-red);
    padding-left: 1rem;
}

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

.card {
    background: white;
    padding: 2.5rem;
    border-top: 5px solid var(--abc-dark);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-top-color: var(--abc-red);
}

.card h3 {
    margin-bottom: 1rem;
}

/* Footer Styling */
.main-footer {
    background: var(--abc-dark);
    color: #fff;
    padding: 80px 0 40px 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 60px;
    border-bottom: 1px solid #333;
}

.footer-brand .logo.light {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #aaa;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--abc-red); /* Teal accent from original style */
}

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

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-links p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Footer Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 0.85rem;
    color: #666;
}

.legal-links a {
    color: #666;
    text-decoration: none;
    margin-left: 20px;
}

.legal-links a:hover {
    color: #999;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Service Page Specifics */
.secondary-hero {
    min-height: 40vh; /* Shorter than main hero */
    padding: 60px 0;
}

.service-details {
    padding: 80px 0;
}

.content-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.main-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

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

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.feature-list li strong {
    color: var(--abc-red);
    display: block;
}

.sidebar-cta {
    background: var(--abc-silver);
    padding: 2rem;
    border-left: 4px solid var(--abc-red);
    height: fit-content;
}

@media (max-width: 768px) {
    .content-split {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    /* 1. Responsive Hero Text */
    .hero h1 {
        font-size: 2.2rem; /* Shrink title so it doesn't break awkwardly */
    }

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    /* 2. Content & Sidebar Adjustments */
    .content-split {
        grid-template-columns: 1fr; /* Stack main text and sidebar */
        gap: 2rem;
    }

    .sidebar-cta {
        order: -1; /* Optional: Put the CTA on top for mobile users */
        width: 100%;
    }

    /* 3. Footer Fixes */
    .footer-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .legal-links a {
        margin: 0 10px;
    }

    /* 4. Navbar Mobile Fix */

}


/* Responsive Navbar Fix */
@media (max-width: 768px) {
    .navbar {
        height: auto; /* Allow height to expand if links wrap */
        padding: 1rem 0;
    }

    .navbar .container {
        flex-direction: column; /* Stack Logo on top of Links */
        gap: 1rem;
    }

    .nav-links {
        padding: 0;
        justify-content: center;
        flex-wrap: wrap; /* Important: prevents links from going off-screen */
        gap: 10px;
    }

    .nav-links li a {
        margin-left: 0; /* Reset desktop margins */
        padding: 5px 10px;
        font-size: 0.85rem;
    }
}


/* Election Tracker Section */
.election-tracker-promo {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.tracker-card {
    background: #1a1a1a;
    color: white;
    padding: 50px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tag-live {
    color: #ff4d4d;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.tracker-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.stats-mini-grid {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    /* Primary Brand Color */
}

.stat-label {
    font-size: 0.85rem;
    color: #aaa;
}

.tracker-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Optional: Simple pulse animation for the "Live" feel */
.pulse-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 123, 255, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .tracker-card {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }

    .stats-mini-grid {
        justify-content: center;
    }
}
