/* Sub Service Page Styles */

/* Section Styles */
.content-details-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 6rem 0;
}

/* Background Patterns */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, var(--bs-primary) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--bs-info) 0%, transparent 50%);
    opacity: 0.05;
}

/* Content Styles */
.content-paragraph {
    position: relative;
    z-index: 1;
}

.section-badge {
    margin-bottom: 2rem;
}

.section-badge .badge {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
    border-radius: 2px;
}

/* Content Body Styles */
.content-body {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.content-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
}

.content-body:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    display: inline-block;
    padding: 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    color: #fff;
    box-shadow: 0 10px 20px rgba(var(--bs-primary-rgb), 0.2);
    transition: transform 0.3s ease;
}

.icon-wrapper:hover {
    transform: scale(1.1);
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateX(10px);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    margin-right: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-text h6 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Image Styles */
.image-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.image-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
}

.image-overlay {
    background: linear-gradient(135deg, 
        rgba(var(--bs-primary-rgb), 0.95), 
        rgba(var(--bs-info-rgb), 0.95));
    backdrop-filter: blur(5px);
}

.overlay-content {
    padding: 3rem;
}

.overlay-icon {
    margin-bottom: 2rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 2rem;
}

.overlay-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-item h5 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Floating Badge */
.floating-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #fff;
    color: var(--bs-primary);
    padding: 1rem 2rem;
    border-radius: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 600;
    z-index: 2;
}

.floating-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Utility Classes */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .content-details-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .overlay-stats {
        gap: 2rem;
    }
    
    .stat-item h5 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .content-details-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .overlay-content {
        padding: 2rem;
    }
    
    .overlay-stats {
        gap: 1.5rem;
    }
} 