/* Service Detail Pages Styling */

/* Service Detail Section */
.service-detail-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-detail-section .content-column {
    padding-right: 30px;
}

.service-detail-section .sidebar-column {
    padding-left: 15px;
}

/* Service Image */
.service-image {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

/* Service Content */
.service-content h2 {
    color: #333390;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.service-content h3 {
    color: #333390;
    font-size: 28px;
    font-weight: 600;
    margin: 40px 0 25px 0;
    border-bottom: 2px solid #333390;
    padding-bottom: 10px;
}

.service-content h4 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 15px 0;
}

.service-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Expertise Blocks */
.expertise-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.expertise-block {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.expertise-block h4 {
    color: #333390;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.expertise-block h4 i {
    margin-right: 10px;
    font-size: 20px;
    color: #333390;
}

.expertise-block p {
    margin-bottom: 0;
    font-size: 15px;
}

/* Methodology Steps */
.methodology-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.step {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
    border-left: 4px solid #333390;
}

.step-number {
    position: absolute;
    top: -10px;
    left: -10px;
    background: #333390;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.step h4 {
    color: #333390;
    margin: 10px 0 15px 0;
    font-size: 18px;
}

.step p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Technology List */
.technology-list {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.technology-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.technology-list li:last-child {
    border-bottom: none;
}

.technology-list li strong {
    color: #333390;
    font-weight: 600;
}

/* Sustainability Features, Certifications, etc. */
.sustainability-features,
.certifications,
.expertise-domains,
.guarantees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.feature,
.cert-item,
.domain,
.guarantee-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.feature h4,
.cert-item h4,
.domain h4,
.guarantee-item h4 {
    color: #333390;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Impact Metrics */
.impact-metrics,
.performance-metrics {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.metric {
    text-align: center;
}

.metric .number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #333390;
    margin-bottom: 10px;
}

.metric .label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #333390, #4a47a3);
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
}

.cta-section h3 {
    color: white;
    border-bottom: none;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

/* Sidebar Styling */
.sidebar-widget {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.sidebar-title {
    background: #333390;
    color: white;
    padding: 20px;
    margin: 0;
}

.sidebar-title h2 {
    color: white;
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.widget-content {
    padding: 20px;
}

/* Services Widget */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    border-bottom: 1px solid #eee;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li a {
    display: block;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-list li.current a,
.service-list li a:hover {
    background: #f8f9fa;
    color: #333390;
    padding-left: 20px;
}

/* Contact Widget */
.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info .info-item .icon {
    width: 40px;
    height: 40px;
    background: #333390;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info .info-item .text {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Download Widget */
.download-link {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: #666;
    margin-bottom: 10px;
    transition: background 0.3s ease;
}

.download-link:hover {
    background: #e9ecef;
    color: #333390;
}

.download-link .icon {
    font-size: 24px;
    margin-right: 15px;
    color: #333390;
}

.download-link .text {
    flex-grow: 1;
    font-weight: 600;
}

.download-link .format {
    font-size: 12px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-detail-section .content-column,
    .service-detail-section .sidebar-column {
        padding: 0 15px;
    }
    
    .expertise-blocks,
    .methodology-steps {
        grid-template-columns: 1fr;
    }
    
    .impact-metrics,
    .performance-metrics {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-content h2 {
        font-size: 28px;
    }
    
    .service-content h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .service-detail-section {
        padding: 40px 0;
    }
    
    .expertise-block,
    .step {
        padding: 20px;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
}
