/* Services Page Specific Styles */

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, #2D6B78 0%, #4B9CAE 100%);
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Services-specific badge styling - inherits from .section-badge */
.services-hero .hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.services-hero .hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.services-hero .title-main {
    color: white !important;
}

.services-hero .title-highlight {
    color: #ffc107 !important;
}

.services-hero .hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.9) !important;
}

.services-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.services-stats .stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.services-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.services-stats .stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: white;
}

.services-stats .stat-number {
    font-size: 28px;
    font-weight: 800;
    color: white !important;
    display: block;
    margin-bottom: 5px;
}

.services-stats .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Book Categories Section */
.book-categories-section {
    background: white;
    padding: 100px 0;
}

.book-categories-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.book-categories-section .section-badge {
    background: rgba(45, 107, 120, 0.1);
    color: #2D6B78 !important;
    border: 1px solid rgba(45, 107, 120, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.book-categories-section .section-title span {
    color: #333 !important;
    font-size: 36px;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.book-categories-section .section-title .highlight {
    color: #2D6B78 !important;
}

.book-categories-section .section-description {
    color: #666 !important;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Error/No Categories Messages */
.no-categories,
.error-message {
    text-align: center;
    padding: 80px 40px;
    background: #f8f9fa;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.no-categories-icon,
.error-icon {
    font-size: 64px;
    color: #2D6B78;
    margin-bottom: 20px;
}

.no-categories h3,
.error-message h3 {
    color: #2D6B78;
    margin-bottom: 15px;
    font-size: 24px;
}

.no-categories p,
.error-message p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Service Guarantees Section */
.service-guarantees {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
}

.service-guarantees::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="%232D6B78" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%232D6B78" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="%232D6B78" opacity="0.1"/></svg>');
    animation: float 20s infinite linear;
}

.service-guarantees .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.service-guarantees .section-badge {
    background: rgba(45, 107, 120, 0.1);
    color: #2D6B78 !important;
    border: 1px solid rgba(45, 107, 120, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-guarantees .section-title span {
    color: #333 !important;
}

.service-guarantees .section-title .highlight {
    color: #2D6B78 !important;
}

.service-guarantees .section-description {
    color: #666 !important;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.guarantee-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2D6B78 0%, #4B9CAE 100%);
}

.guarantee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #2D6B78;
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2D6B78 0%, #4B9CAE 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: white;
    transition: all 0.3s ease;
}

.guarantee-card:hover .guarantee-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(45, 107, 120, 0.3);
}

.guarantee-card h3 {
    color: #2D6B78;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
}

.guarantee-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* Simple Process Section */
.simple-process {
    background: linear-gradient(135deg, #2D6B78 0%, #4B9CAE 100%);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.simple-process .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.simple-process .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.simple-process .section-title span {
    color: white !important;
}

.simple-process .section-title .highlight {
    color: #ffc107 !important;
}

.simple-process .section-description {
    color: rgba(255, 255, 255, 0.9) !important;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #ffc107;
    color: #2D6B78;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    z-index: 2;
}

.step-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 30px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    color: #333;
}

.process-step:hover .step-content {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2D6B78 0%, #4B9CAE 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: white;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(45, 107, 120, 0.3);
}

.step-content h3 {
    color: #2D6B78 !important;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
}

.step-content p {
    color: #666 !important;
    line-height: 1.6;
    font-size: 15px;
}

/* Enhanced Services CTA Section - Matches cta-sections.css styles */
.services-enhanced-cta {
    /* Inherits all styles from .cta-section-alt in cta-sections.css */
    /* Services-specific overrides if needed */
}

/* Services-specific enhancements */
.services-enhanced-cta .cta-title-alt .title-main {
    color: rgba(255, 255, 255, 0.95);
}

.services-enhanced-cta .cta-title-alt .title-accent {
    color: #F7BF4F;
    text-shadow: 0 0 20px rgba(247, 191, 79, 0.3);
}

/* Additional floating animation for services */
.services-enhanced-cta .floating-book-alt {
    animation-duration: 8s;
}

/* Services stats enhancement */
.services-enhanced-cta .stat-number-alt {
    background: linear-gradient(135deg, #F7BF4F 0%, #d69e2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero .hero-title {
        font-size: 36px;
    }
    
    .services-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 100px 0 60px;
    }
    
    .services-hero .hero-title {
        font-size: 28px;
    }
    
    .services-hero .hero-description {
        font-size: 16px;
    }
    
    .guarantee-card,
    .step-content {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
}