/**
 * Isurus Ltd - Services Pages Styles
 * Version: 1.0
 * Author: Isurus Development Team
 */

/* ===== Services Common Styles ===== */
.services-page .page-hero-section {
    position: relative;
    padding: clamp(3rem, 8vw, 8rem) 0;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.services-page .page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
        background: linear-gradient(135deg,
            rgba(45, 61, 77, 0.65) 0%,
            rgba(45, 61, 77, 0.45) 45%,
            rgba(0, 0, 0, 0.35) 100%
        );
    z-index: 1;
}

.services-page .hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.services-page .hero-title {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.services-page .hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    margin-bottom: 1.1rem;
    max-width: 42ch;
}

.services-page .section-heading {
    margin-bottom: 3rem;
}

.services-page .section-heading h2 {
    position: relative;
    margin-bottom: 1.5rem;
}

.services-page .section-heading h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #01a3c9;
}

/* ===== Product Configurator Page Specific Styles ===== */

/* Benefits Cards */
.product-configurator-page .benefit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.product-configurator-page .benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-configurator-page .benefit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(45, 61, 77, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Feature Tabs */
.product-configurator-page .feature-tabs .nav-tabs {
    border-bottom: none;
}

.product-configurator-page .feature-tabs .nav-link {
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    color: #333333;
    transition: all 0.3s ease;
}

.product-configurator-page .feature-tabs .nav-link:hover {
    background-color: rgba(1, 163, 201, 0.1);
    color: #01a3c9;
}

.product-configurator-page .feature-tabs .nav-link.active {
    background-color: #01a3c9;
    color: white;
}

.product-configurator-page .tab-content {
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-configurator-page .feature-list {
    list-style: none;
    padding-left: 0;
}

.product-configurator-page .feature-list li {
    margin-bottom: 0.75rem;
}

/* Industry Cards */
.product-configurator-page .industry-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-configurator-page .industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-configurator-page .industry-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-configurator-page .industry-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-configurator-page .industry-features {
    list-style: none;
    padding-left: 0;
}

.product-configurator-page .industry-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.5rem;
}

.product-configurator-page .industry-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #01a3c9;
}

/* Process Timeline */
.product-configurator-page .process-timeline {
    position: relative;
    padding-left: 50px;
}

.product-configurator-page .process-timeline:before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    width: 2px;
    background-color: rgba(1, 163, 201, 0.2);
}

.product-configurator-page .process-step {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-configurator-page .process-step.animated {
    opacity: 1;
    transform: translateX(0);
}

.product-configurator-page .process-step:last-child {
    margin-bottom: 0;
}

.product-configurator-page .process-icon {
    position: absolute;
    left: -50px;
    top: 0;
}

.product-configurator-page .icon-circle {
    width: 40px;
    height: 40px;
    background-color: #01a3c9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
}

.product-configurator-page .step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background-color: #ffc107;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.product-configurator-page .process-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-configurator-page .process-content h4 {
    margin-bottom: 10px;
    color: #01a3c9;
}

/* Case Studies */
.product-configurator-page .case-study-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-configurator-page .case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-configurator-page .case-study-img {
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.product-configurator-page .case-study-card:hover .case-study-img {
    transform: scale(1.05);
}

.product-configurator-page .case-results {
    list-style: none;
    padding-left: 0;
}

.product-configurator-page .case-results li {
    margin-bottom: 0.5rem;
}

/* Image Zoom Modal */
.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.image-zoom-modal.show {
    opacity: 1;
}

.zoomed-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 5px solid white;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

/* Technologies Section */
.product-configurator-page .technologies-container {
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-configurator-page .tech-category-title {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.product-configurator-page .tech-category-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #01a3c9;
}

.product-configurator-page .tech-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-configurator-page .tech-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-configurator-page .tech-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 8px;
}

.product-configurator-page .tech-logo span {
    font-size: 0.8rem;
    color: #6c757d;
}

.product-configurator-page .tech-logo.active {
    transform: scale(1.1);
}

/* FAQ Section */
.product-configurator-page .accordion-item {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-configurator-page .accordion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-configurator-page .accordion-button {
    font-weight: 600;
    padding: 1.25rem;
}

.product-configurator-page .accordion-button:not(.collapsed) {
    color: #01a3c9;
    background-color: rgba(1, 163, 201, 0.05);
}

.product-configurator-page .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(1, 163, 201, 0.1);
}

.product-configurator-page .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2301a3c9'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* CTA Section */
.product-configurator-page .cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.product-configurator-page .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(45, 61, 77, 0.85) 100%);
    z-index: 1;
}

.product-configurator-page .cta-section .container {
    position: relative;
    z-index: 2;
}

/* Enhanced text styling for better contrast */
.product-configurator-page .cta-section h2 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.product-configurator-page .cta-section p,
.product-configurator-page .cta-section .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.product-configurator-page .cta-section .btn {
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .services-page .hero-subtitle {
        max-width: 100%;
    }
    
    .product-configurator-page .feature-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .product-configurator-page .tech-logos {
        gap: 15px;
    }
    
    .product-configurator-page .tech-logo {
        width: 70px;
    }
}

@media (max-width: 767.98px) {
    .services-page .page-hero-section {
        padding: 4rem 0;
    }
    
    .product-configurator-page .process-timeline {
        padding-left: 40px;
    }
    
    .product-configurator-page .process-timeline:before {
        left: 15px;
    }
    
    .product-configurator-page .process-icon {
        left: -40px;
    }
    
    .product-configurator-page .icon-circle {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .product-configurator-page .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .product-configurator-page .case-study-img {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .services-page .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .product-configurator-page .feature-tabs .nav-link {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .product-configurator-page .tech-logos {
        justify-content: center;
    }
}