/* Custom styles for Telecom Leads website */

/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
}

/* Header styles */
.navbar-brand {
    font-size: 1.2rem;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding: 4rem 0;
}

/* Card styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 0.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Provider logo styles */
.provider-logo {
    max-height: 60px;
    object-fit: contain;
}

/* Plan pricing styles */
.plan-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0d6efd;
}

.price-term {
    font-size: 0.80rem;
    color: #6c757d;
}

/* Feature list styles */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: #0d6efd;
    margin-right: 0.5rem;
}

/* Breadcrumbs styles */
.breadcrumbs {
    background-color: #f8f9fa;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: #6c757d;
}

.breadcrumbs a {
    color: #0d6efd;
}

.breadcrumbs li:last-child {
    color: #6c757d;
}

/* Form styles */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Call to action styles */
.cta-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding: 4rem 0;
}

/* Footer styles */
footer {
    background-color: #212529;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

footer h5 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer ul {
    padding-left: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

/* Responsive styles */
@media (max-width: 767.98px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Plan type badge colors */
.badge-internet {
    background-color: #0d6efd;
}

.badge-tv {
    background-color: #0dcaf0;
}

.badge-phone {
    background-color: #ffc107;
}

.badge-bundle {
    background-color: #198754;
}

/* Provider comparison table */
.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.comparison-table .feature-available {
    color: #198754;
}

.comparison-table .feature-unavailable {
    color: #dc3545;
}

/* Blog post styles */
.blog-post img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.blog-post h2, .blog-post h3, .blog-post h4 {
    margin-top: 2rem;
}

.blog-post blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 1rem;
    font-style: italic;
    color: #6c757d;
}

/* Location finder styles */
.location-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Error page styles */
.error-page {
    text-align: center;
    padding: 5rem 0;
}

.error-page .error-code {
    font-size: 4rem;
    font-weight: 700;
    color: #0d6efd;
}

/* Lead form styles */
.lead-form-container {
    background-color: #eef1f8;
    border-radius: 0.5rem;
    padding: 2rem;
}

/* Thank you page styles */
.thank-you-page {
    text-align: center;
    padding: 5rem 0;
}

.thank-you-page .icon {
    font-size: 3rem;
    color: #198754;
    margin-bottom: 2rem;
}

/* Speed gauge mini styles for homepage */
.speed-gauge-mini {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 8px solid #e9ecef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.speed-gauge-mini:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.speed-gauge-mini .gauge-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.speed-gauge-mini .gauge-title {
    font-weight: 600;
    font-size: 12px;
}

.speed-gauge-mini.download-gauge { border-color: #007bff; }
.speed-gauge-mini.download-gauge .gauge-icon { color: #007bff; }

.speed-gauge-mini.upload-gauge { border-color: #28a745; }
.speed-gauge-mini.upload-gauge .gauge-icon { color: #28a745; }

.speed-gauge-mini.ping-gauge { border-color: #dc3545; }
.speed-gauge-mini.ping-gauge .gauge-icon { color: #dc3545; }

/* Review form styles */
.rating-stars .form-check {
    margin-right: 0.5rem;
}

.rating-stars .form-check-input {
    display: none;
}

.rating-stars .form-check-label {
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
}

.rating-stars .form-check-input:checked ~ .form-check-label,
.rating-stars .form-check-input:checked + .form-check-label {
    color: #ffc107;
}

.rating-stars .form-check-label:hover,
.rating-stars .form-check-label:hover ~ .form-check-label {
    color: #ffc107;
}

.rating-stars .form-check-input:checked + .form-check-label:hover,
.rating-stars .form-check-input:checked ~ .form-check-label:hover,
.rating-stars .form-check-input:checked ~ .form-check-label:hover ~ .form-check-label,
.rating-stars .form-check-label:hover ~ .form-check-input:checked ~ .form-check-label {
    color: #ffdb70;
}

/* Utility classes */
.text-primary-dark {
    color: #0a58ca;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.shadow-hover:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.transition {
    transition: all 0.3s ease;
}
