/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

/* ===== TOP CALL BAR ===== */
/* Fix the top call bar */
.top-cta-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensures it stays above other elements */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: adds a subtle shadow */
}

/* Adjust header to start below the fixed bar */
header {
    margin-top: 60px; /* Adjust based on the height of your top bar */
}

/* Optional: if you want the header to also be fixed, you can add:
header {
    position: sticky;
    top: 60px; (height of top bar)
    z-index: 999;
}
*/
.top-cta-bar {
    background: #e6f0fa;
    text-align: center;
    padding: 0.75rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #c0d0e0;
}
.top-cta-bar .phone-number {
    color: #003366;
    font-weight: bold;
    font-size: 1.3rem;
}

/* ===== HEADER ===== */
header {
    background: #003366;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

/* ===== NAVIGATION ===== */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    position: relative;
    margin-left: 1.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    font-weight: 500;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #333;
    padding: 0.5rem 1rem;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background: #f0f0f0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ===== MAIN CONTENT ===== */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    min-height: 60vh;
}

h1 {
    color: #003366;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #003366;
    padding-bottom: 0.5rem;
}

h2 {
    color: #003366;
    margin: 1.5rem 0 1rem;
}

/* ===== HERO SECTION (HOME PAGE) ===== */
.hero-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
}
.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: none;
}
.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #444;
}

/* ZIP search */
.zip-search {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    max-width: 500px;
    margin: 2rem auto;
}
.zip-search input {
    padding: 0.75rem;
    border: 2px solid #003366;
    border-radius: 50px;
    flex: 1;
    font-size: 1rem;
}
.zip-search button {
    background: #003366;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: bold;
    cursor: pointer;
}
.zip-search button:hover {
    background: #002244;
}

/* ===== 3-STEP SECTION ===== */
.three-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}
.step-card {
    text-align: center;
    padding: 2rem;
    background: #f8faff;
    border-radius: 10px;
}
.step-number {
    background: #003366;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}
.step-card h3 {
    color: #003366;
    margin-bottom: 0.5rem;
}
.step-card button {
    background: none;
    border: 2px solid #003366;
    color: #003366;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-top: 1rem;
    cursor: pointer;
    font-weight: 600;
}
.step-card button:hover {
    background: #003366;
    color: white;
}

/* ===== PROVIDER GRID ===== */
.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.provider-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.provider-card img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.provider-card a {
    text-decoration: none;
    color: #003366;
    font-weight: bold;
    display: block;
    margin-top: 0.5rem;
}

.logo-placeholder {
    width: 120px;
    height: 60px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    border: 1px dashed #aaa;
    color: #666;
    font-size: 0.8rem;
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}
.badge {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
}
.badge h4 {
    color: #003366;
    margin-bottom: 0.5rem;
}

/* ===== TOOLKIT SECTION ===== */
.toolkit-section {
    background: #f0f7fa;
    padding: 3rem;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: center;
}
.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.tool-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}
.tool-card button {
    background: #003366;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-top: 1rem;
    cursor: pointer;
}
.tool-card button:hover {
    background: #002244;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    max-width: 600px;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 2rem auto;
}
.contact-form label {
    display: block;
    margin: 1rem 0 0.2rem;
    font-weight: 600;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
.contact-form button {
    background: #003366;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}
.contact-form button:hover {
    background: #002244;
}

/* ===== FOOTER ===== */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    margin-top: 2rem;
}
footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.5rem;
}
footer a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
        margin-top: 1rem;
    }
    nav ul li {
        margin: 0.5rem 0;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        background: #003366;
    }
    .dropdown-content a {
        color: #fff;
        border-bottom: 1px solid #fff;
    }
    .dropdown:hover .dropdown-content {
        display: none; /* Touch devices need click, but keep basic */
    }
    .three-steps, .trust-badges, .toolkit-grid {
        grid-template-columns: 1fr;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
}

/* ===== PROVIDER PAGE STYLES (Matching localcabledeals.com) ===== */

/* Provider Hero Section */
.provider-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}
.provider-hero-logo {
    flex: 0 0 200px;
}
.provider-hero-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}
.provider-hero-content {
    flex: 1;
}
.provider-hero-content h1 {
    border-bottom: none;
    margin-bottom: 0.5rem;
}
.provider-hero-content .availability-check {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.provider-hero-content .availability-check input {
    padding: 0.75rem;
    border: 2px solid #003366;
    border-radius: 50px;
    flex: 1;
    min-width: 200px;
}
.provider-hero-content .availability-check button {
    background: #003366;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: bold;
    cursor: pointer;
}

/* Plan Cards */
.plans-section {
    margin: 3rem 0;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.plan-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.plan-card.featured {
    border: 2px solid #003366;
    transform: scale(1.02);
}
.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
}
.plan-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 0.5rem;
}
.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}
.plan-price span {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
}
.plan-price-note {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}
.plan-features {
    list-style: none;
    margin: 1.5rem 0;
    flex-grow: 1;
}
.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.plan-features li:before {
    content: "✓";
    color: #003366;
    font-weight: bold;
    margin-right: 0.5rem;
}
.plan-order-btn {
    background: #003366;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
    transition: background 0.2s;
}
.plan-order-btn:hover {
    background: #002244;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #003366 0%, #1a4d8c 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.promo-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.promo-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
}
.promo-banner button {
    background: white;
    color: #003366;
    border: none;
    border-radius: 50px;
    padding: 1rem 3rem;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
}
.promo-banner button:hover {
    background: #f0f0f0;
}

/* Streaming Apps Included */
.streaming-apps {
    background: #f8faff;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}
.streaming-apps h3 {
    color: #003366;
    margin-bottom: 1rem;
}
.streaming-apps .app-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 1.5rem 0;
}
.streaming-apps .app-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-weight: bold;
    color: #003366;
}

/* Overview Section */
.overview-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}
.overview-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.overview-card h3 {
    color: #003366;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.overview-list {
    list-style: none;
}
.overview-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.overview-list li:before {
    content: "•";
    color: #003366;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Speed Table */
.speed-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.speed-table th {
    background: #003366;
    color: white;
    padding: 1rem;
    text-align: left;
}
.speed-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}
.speed-table tr:last-child td {
    border-bottom: none;
}
.speed-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.service-icon {
    width: 80px;
    height: 80px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #003366;
}
.service-card h4 {
    color: #003366;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
}
.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #003366;
}
.faq-question:after {
    content: "+";
    font-size: 1.5rem;
    font-weight: normal;
}
.faq-question.active:after {
    content: "−";
}
.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}
.faq-answer.show {
    display: block;
}

/* Author Section */
.author-section {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: #f8faff;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
}
.author-avatar {
    width: 100px;
    height: 100px;
    background: #003366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 2rem;
}
.author-info h4 {
    color: #003366;
    margin-bottom: 0.25rem;
}
.author-title {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.tech-review {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

/* Feedback Section */
.feedback-section {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    margin: 2rem 0;
}
.feedback-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}
.feedback-btn {
    padding: 0.75rem 2rem;
    border: 2px solid #003366;
    border-radius: 50px;
    background: white;
    color: #003366;
    font-weight: bold;
    cursor: pointer;
}
.feedback-btn:hover {
    background: #003366;
    color: white;
}
.feedback-textarea {
    width: 100%;
    max-width: 500px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 1rem auto;
    display: none;
}
.feedback-textarea.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .provider-hero {
        flex-direction: column;
        text-align: center;
    }
    header {
    margin-top: 80px; /* Adjust based on the height of your top bar */
}
    .provider-hero-content .availability-check {
        justify-content: center;
    }
    .overview-section {
        grid-template-columns: 1fr;
    }
    .plans-grid {
        grid-template-columns: 1fr;
    }
    .plan-card.featured {
        transform: none;
    }
    .author-section {
        flex-direction: column;
        text-align: center;
    }
}