/* Internet Essentials Page Styles */

/* Top Navigation */
.ie-top-nav {
    background-color: #f7f7f7;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
    font-size: 14px;
}

.ie-top-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ie-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.ie-nav-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.ie-nav-links a:hover {
    color: #0066cc;
}

/* Hero Section */
.ie-hero {
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: white;
    padding: 60px 20px 80px;
    text-align: center;
}

.ie-hero-logo {
    margin-bottom: 30px;
}

.ie-hero-logo img {
    max-width: 300px;
    height: auto;
}

.ie-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ie-hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.95;
}

.ie-cta-btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
}

.ie-disclaimer-text {
    font-size: 12px;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.9;
}

.ie-disclaimer-text a {
    color: white;
    text-decoration: underline;
}

/* Find Speed Section */
.ie-find-speed {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.ie-find-speed h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

.ie-find-speed p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.6;
}

.ie-help-text {
    font-size: 16px;
    color: #333;
    margin-top: 25px;
}

.ie-help-text a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.ie-help-text a:hover {
    text-decoration: underline;
}

/* Eligibility Section */
.ie-eligibility-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.ie-eligibility-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 20px;
}

.ie-eligibility-intro {
    font-size: 18px;
    color: #555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.ie-eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.ie-eligibility-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.ie-eligibility-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.ie-eligibility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ie-eligibility-icon {
    margin-bottom: 25px;
}

.ie-eligibility-icon img {
    width: 80px;
    height: 80px;
}

.ie-eligibility-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.4;
}

.ie-eligibility-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.ie-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.ie-link:hover {
    text-decoration: underline;
}

.ie-apply-cta {
    text-align: center;
    margin-top: 20px;
}

.ie-apply-cta .btn {
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
}

/* Great Connections Section */
.ie-great-connections {
    padding: 80px 20px;
    background-color: #fff;
}

.ie-great-connections h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 50px;
}

.ie-connections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.ie-connection-card {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.ie-connection-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.ie-connection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ie-connection-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.ie-connection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ie-connection-content {
    padding: 35px 30px;
}

.ie-connection-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.ie-connection-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.ie-connection-content .btn {
    margin-bottom: 15px;
    display: inline-block;
}

.ie-secondary-link {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-left: 20px;
}

.ie-secondary-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.ie-faq-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.ie-faq-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 50px;
}

.ie-faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.ie-faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.ie-faq-question {
    width: 100%;
    padding: 25px 30px;
    background: white;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.ie-faq-question:hover {
    background-color: #f9f9f9;
}

.ie-faq-icon {
    color: #0066cc;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.ie-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.ie-faq-answer.active {
    max-height: 1000px;
    padding: 0 30px 25px;
}

.ie-faq-answer p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.ie-faq-answer a {
    color: #0066cc;
    text-decoration: none;
}

.ie-faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ie-hero h1 {
        font-size: 36px;
    }

    .ie-hero-subtitle {
        font-size: 20px;
    }

    .ie-hero-logo img {
        max-width: 200px;
    }

    .ie-nav-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .ie-find-speed h2,
    .ie-eligibility-section h2,
    .ie-great-connections h2,
    .ie-faq-section h2 {
        font-size: 28px;
    }

    .ie-eligibility-grid,
    .ie-connections-grid {
        grid-template-columns: 1fr;
    }

    .ie-connection-content {
        padding: 25px 20px;
    }

    .ie-faq-question {
        padding: 20px;
        font-size: 16px;
    }

    .ie-faq-answer.active {
        padding: 0 20px 20px;
    }

    .ie-secondary-link {
        margin-left: 0;
        margin-top: 10px;
        display: block;
    }
}

@media (max-width: 480px) {
    .ie-hero {
        padding: 40px 15px 60px;
    }

    .ie-hero h1 {
        font-size: 28px;
    }

    .ie-hero-subtitle {
        font-size: 18px;
    }

    .ie-cta-btn {
        padding: 14px 32px;
        font-size: 16px;
    }

    .ie-eligibility-grid,
    .ie-connections-grid {
        gap: 20px;
    }

    .ie-eligibility-card,
    .ie-connection-card {
        padding: 25px 20px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}