/* Single Service Styles */
.single-service {
    background: #fff;
    font-family: var(--font-family-base);
}

.single-service h1,
.single-service h2,
.single-service h3,
.single-service h4,
.single-service h5,
.single-service h6 {
    font-family: var(--font-family-primary);
}

/* Hero Section styles are now handled by the shared cc-hero component in
   css/components/sections/hero.css. 
   However, we enforce the pull-up here to ensure it works with the transparent nav. */
body.single-service .service-hero {
    margin-top: -100px !important;
    padding-top: 100px !important;
}

.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: #0066cc;
    color: #fff;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.btn-secondary {
    background: #fff;
    color: #0066cc;
    border-color: #0066cc;
}

.btn-secondary:hover {
    background: #0066cc;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #0066cc;
    border-color: #0066cc;
}

.btn-outline:hover {
    background: #0066cc;
    color: #fff;
}

.btn-lg {
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Service Content */
.service-content {
    padding: 4rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.main-content {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #212529;
}

.main-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin: 2.5rem 0 1.5rem;
}

.main-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin: 2rem 0 1rem;
}

.main-content ul,
.main-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.main-content li {
    margin-bottom: 0.75rem;
}

.main-content p {
    margin-bottom: 1.5rem;
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
}

.sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card h3 i {
    color: #0066cc;
}

.sidebar-card p {
    font-size: 0.9375rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.single-service .contact-card {
    background: linear-gradient(135deg, var(--cc-primary) 0%, var(--cc-primary-dark) 100%) !important;
    color: var(--color-bg);
    border: none !important;
}

.single-service .contact-card h3,
.single-service .contact-card p {
    color: var(--color-bg);
}

.contact-card .btn {
    background: #fff;
    color: #0066cc;
}

.stats-card {
    display: flex;
    gap: 1.5rem;
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066cc;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.3;
}

.stat-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.stat-clickable {
    cursor: pointer;
    border-radius: 8px;
    padding: 0.5rem;
    margin: -0.5rem;
    transition: all 0.3s ease;
}

.stat-clickable:hover {
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-2px);
}

.stat-clickable:hover .stat-number {
    color: #0052a3;
}

.stat-clickable:hover .stat-label {
    color: #0066cc;
}

.stat-hint {
    font-size: 0.75rem;
    color: #0066cc;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-clickable:hover .stat-hint {
    opacity: 1;
}

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

.related-list li {
    margin-bottom: 0.75rem;
}

.related-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #495057;
    text-decoration: none;
    font-size: 0.9375rem;
    padding: 0.75rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.related-list a:hover {
    background: #fff;
    color: #0066cc;
    padding-left: 1rem;
}

.related-list i {
    color: #0066cc;
    font-size: 0.75rem;
}

/* Agencies Section */
.agencies-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #6c757d;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    padding: 4rem 0;
    color: #fff;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    border-color: #fff;
    color: #fff;
}

.cta-section .btn-outline:hover {
    background: #fff;
    color: #0066cc;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .service-hero.has-featured-image {
        padding-top: 100px !important;
        padding-bottom: 2rem !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    .service-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .service-icon-large {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 2rem;
    }
    
    .service-intro {
        font-size: 1rem;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .service-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .stats-card {
        flex-direction: column;
        gap: 1rem;
    }
}
