/* Service Pages Specific Styles */

/* Breadcrumb */
.breadcrumb {
    background: #f8fafc;
    padding: 1rem 0;
    margin-top: 80px;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb a {
    color: #111144;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #121272;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #94a3b8;
}

.breadcrumb .current {
    color: #121272;
    font-weight: 600;
}

/* Service Hero */
.service-hero {
    background: 
        linear-gradient(135deg, rgba(18, 18, 114, 0.85) 0%, rgba(17, 17, 68, 0.85) 50%, rgba(84, 14, 187, 0.85) 100%),
        url('../images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}

.service-hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Nuevo estilo para la imagen */
.service-icon-large img {
    width: 100%;
    height: 100%;
    max-width: 300px;  /* Limita el tamaño máximo */
    max-height: 300px; /* Limita el tamaño máximo */
    object-fit: contain;
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Service Stats */
.service-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #00e7e7;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.content-text h2 {
    color: #121272;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #111144;
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 231, 231, 0.1), rgba(84, 14, 187, 0.1));
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #00e7e7;
    margin-top: 2rem;
}

.highlight-box h4 {
    color: #121272;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Tech Diagram */
.tech-diagram {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.tech-layer {
    background: #f8fafc;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #00e7e7;
    transition: all 0.3s ease;
}

.tech-layer:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.tech-layer.foundation {
    background: linear-gradient(135deg, #121272, #540ebb);
    color: white;
    border-left-color: #00e7e7;
}

.tech-layer h5 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #121272;
}

.tech-layer.foundation h5 {
    color: white;
}

.tech-components {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-components span {
    background: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #111144;
}

.foundation .tech-components span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Services Detail Grid */
.services-detail {
    background: #f8fafc;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-detail-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #00e7e7;
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-detail-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-detail-card h3 {
    color: #121272;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-detail-card ul {
    list-style: none;
    padding: 0;
}

.service-detail-card li {
    padding: 0.5rem 0;
    color: #111144;
    position: relative;
    padding-left: 1.5rem;
}

.service-detail-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00e7e7;
    font-weight: bold;
}

/* Tech Stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-item h4 {
    color: #121272;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tech-item p {
    color: #111144;
    font-size: 0.9rem;
}

/* Use Cases */
.use-cases {
    background: #f8fafc;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.use-case-header {
    background: linear-gradient(135deg, #121272, #540ebb);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.use-case-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    border-radius: 12px;
}

.use-case-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.use-case-content {
    padding: 2rem;
}

.use-case-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.use-case-content strong {
    color: #121272;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.benefit {
    background: #e0f7fa;
    color: #006064;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    margin-top: 3rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #00e7e7, #540ebb);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #121272, #00e7e7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    z-index: 10;
    margin: 0 2rem;
}

.step-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 400px;
}

.step-content h3 {
    color: #121272;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-content p {
    color: #111144;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-duration {
    background: #e0f7fa;
    color: #006064;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Why BTP */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #00e7e7;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.why-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.why-card h3 {
    color: #121272;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.why-card p {
    color: #111144;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #121272 0%, #540ebb 100%);
    color: white;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

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

.cta-button.primary {
    background: #00e7e7;
    color: #111144;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 231, 231, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 231, 231, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button.secondary:hover {
    background: white;
    color: #121272;
    transform: translateY(-3px);
}

/* Current page indicator */
.current-page {
    background: #f0f9ff !important;
    border-left-color: #121272 !important;
    font-weight: 600 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.2rem;
    }
    
    .service-subtitle {
        font-size: 1.1rem;
    }
    
    .service-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-detail-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column !important;
        text-align: center;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .step-number {
        margin: 0 0 1rem 0;
    }
    
    .step-content {
        max-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
}