/* Insurance Card Specific */
.insurance-card {
    text-align: center;
    padding: 25px 20px;
}

.price-tag {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 500;
    margin: 10px 0 20px;
    display: inline-block;
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Features */
.feature-item {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    background-color: #fff;
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Quick Quote Section */
.quick-quote-section {
    padding: 40px 0;
}

.quick-quote-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

/* Service Features */
.service-features {
    margin: 15px 0;
}

.feature {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonial-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background-color: #fff;
    height: 100%;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-author p {
    color: #777;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

/* Promotion Section */
.promotion-section img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Insurers Section */
.insurers-section {
    background-color: #f8f9fa;
}

.insurers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 100%;
    margin: 0 auto;
}

.insurer-logo {
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: auto;
    aspect-ratio: 16/9;
    transition: all 0.3s ease;
}

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

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.2;
}

.insurer-logo:nth-child(1) .logo-placeholder { background-color: #1e4c9a; }
.insurer-logo:nth-child(2) .logo-placeholder { background-color: #005baa; }
.insurer-logo:nth-child(3) .logo-placeholder { background-color: #00a0e9; }
.insurer-logo:nth-child(4) .logo-placeholder { background-color: #00008f; }
.insurer-logo:nth-child(5) .logo-placeholder { background-color: #ffcc00; color: #333; }
.insurer-logo:nth-child(6) .logo-placeholder { background-color: #003781; }
.insurer-logo:nth-child(7) .logo-placeholder { background-color: #e30613; }
.insurer-logo:nth-child(8) .logo-placeholder { background-color: #e60012; }
.insurer-logo:nth-child(9) .logo-placeholder { background-color: #e60012; }
.insurer-logo:nth-child(10) .logo-placeholder { background-color: #00529b; }

@media (min-width: 576px) {
    .insurers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .insurers-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 90%;
    }
}

@media (min-width: 992px) {
    .insurers-grid {
        grid-template-columns: repeat(5, 1fr);
        max-width: 90%;
    }
}

@media (min-width: 1200px) {
    .insurers-grid {
        max-width: 1000px;
    }
}

/* Footer Styles */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-section {
    height: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 8px;
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: block;
    padding: 2px 0;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.social-links {
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 40px 0 20px;
}

.footer-copyright {
    margin: 0;
    color: #cccccc;
    font-size: 0.9rem;
}

.footer-info {
    margin: 0;
    color: #cccccc;
    font-size: 0.9rem;
}

.footer-info i {
    color: var(--secondary-color);
}

/* Hero Section Enhanced */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--info-color));
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    color: white;
    background: linear-gradient(45deg, var(--info-color), var(--primary-color));
}

.features-section {
    background: linear-gradient(135deg, #f8f9fa, white);
    padding: 80px 0;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Animation classes */
.service-card, .feature-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.animate-in, .feature-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Lazy loading styles */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* Critical image class */
.critical-image {
    loading: eager;
} 