/* Service Page Styles */

/* Body padding to account for fixed CTA */
body {
    padding-bottom: 200px;
}

/* Hero Section */
.service-hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #003a66 0%, #002a4d 100%);
    position: relative;
    overflow: hidden;
}

.service-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"><defs><pattern id="servicePattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23servicePattern)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e12355 0%, #c41e4a 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(225, 35, 85, 0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7), 0 0 20px rgba(255,255,255,0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.text-gradient {
    background: linear-gradient(135deg, #e12355 0%, #c41e4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6), 0 0 15px rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat-item {
    text-align: center;
    min-width: 120px;
    flex: 1;
    max-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e12355;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    white-space: nowrap;
    overflow: visible;
    word-break: keep-all;
    letter-spacing: 0.05em;
}

.stat-slash {
    font-weight: 400;
    margin: 0 2px;
    display: inline-block;
}

.stat-label {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    margin-top: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Services Section */
.services-section {
    padding: 80px 0 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.services-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"><defs><pattern id="servicesPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e2e8f0" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23servicesPattern)"/></svg>');
    pointer-events: none;
}

.section-title {
    position: relative;
    z-index: 2;
}

.section-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #003a66;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.section-description {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.6;
    max-width: 600px;
    font-weight: 500;
}

/* Services Grid */
.services-grid {
    margin-bottom: 20px;
}

/* Service Cards */
.service-card-enhanced {
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 58, 102, 0.1);
    border: 1px solid rgba(0, 58, 102, 0.1);
    margin-bottom: 20px;
}

.service-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 58, 102, 0.2);
    border-color: #003a66;
}

.service-card-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(1.1) contrast(1.1);
    opacity: 1;
    display: block;
}

.service-image:not([src]) {
    display: none;
}

.service-card-enhanced:hover .service-image {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 58, 102, 0.8) 0%, rgba(225, 35, 85, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-enhanced:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-icon i {
    font-size: 24px;
    color: #ffffff;
}

.service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003a66;
    margin: 0;
    position: relative;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #003a66 0%, #e12355 100%);
    border-radius: 2px;
}

.service-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #003a66 0%, #e12355 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 58, 102, 0.3);
}

.service-badge i {
    font-size: 20px;
    color: #ffffff;
}

.service-description {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 25px;
    flex: 1;
    font-weight: 500;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.feature-item i {
    color: #e12355;
    font-size: 14px;
}

.service-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #003a66 0%, #002a4d 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 58, 102, 0.3);
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 58, 102, 0.4);
    color: #ffffff;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #e12355 0%, #c41e4a 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(225, 35, 85, 0.3);
    flex: 1;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 35, 85, 0.4);
    color: #ffffff;
}

.service-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 58, 102, 0.05) 0%, rgba(225, 35, 85, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card-enhanced:hover .service-hover-effect {
    opacity: 1;
}

/* Call to Action Section */
.cta-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #003a66 0%, #002a4d 100%);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cta-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.cta-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.cta-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"><defs><pattern id="ctaPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23ctaPattern)"/></svg>');
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e12355 0%, #c41e4a 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(225, 35, 85, 0.3);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7), 0 0 20px rgba(255,255,255,0.3);
}

.cta-description {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6), 0 0 15px rgba(255,255,255,0.2);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-whatsapp-large {
    background: linear-gradient(135deg, #e12355 0%, #c41e4a 100%);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(225, 35, 85, 0.4);
    display: inline-flex;
    align-items: center;
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(225, 35, 85, 0.5);
    color: #ffffff;
}

.btn-call-large {
    background: linear-gradient(135deg, #004d7a 0%, #003a66 100%);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 58, 102, 0.4);
    display: inline-flex;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-call-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 58, 102, 0.5);
    color: #ffffff;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-features .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 500;
}

.cta-features .feature-item i {
    color: #e12355;
    font-size: 18px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-item {
        min-width: auto;
        max-width: none;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-main-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .service-hero-section {
        padding: 60px 0;
    }
    
    .services-section {
        padding: 60px 0 30px 0;
    }
    
    .cta-section {
        padding: 30px 0;
    }
    
    .cta-close-btn {
        top: 10px;
        right: 15px;
        width: 30px;
        height: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-main-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}
