/* Service Detail Pages Styling */

.service-detail-hero {
    padding: 12rem 0 6rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb span:last-child {
    color: white;
    font-weight: 600;
}

.service-detail-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.service-detail-subtitle {
    font-family: var(--font-body);
    font-size: 1.4rem;
    opacity: 0.95;
    max-width: 800px;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Service Detail Grid */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-content {
    padding: 2rem 0;
}

.content-heading {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.content-text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-detail-image {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder-detail {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--primary-color);
}

/* Features Grid Detail */
.features-grid-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-detail-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.feature-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-top-color: var(--primary-color);
}

.feature-detail-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-detail-card:hover .feature-detail-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transform: scale(1.1);
}

.feature-detail-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-detail-card p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Technical Specifications */
.tech-specs-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.tech-specs-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spec-item {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: #f3f4f6;
    transform: translateX(8px);
}

.spec-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.spec-item p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.performance-metrics {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.performance-metrics h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.metric-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.metric-value {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.application-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.application-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.application-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.application-card p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 968px) {
    .service-detail-title {
        font-size: 3rem;
    }

    .service-detail-grid,
    .tech-specs-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail-image {
        height: 400px;
    }

    .performance-metrics {
        position: static;
    }

    .features-grid-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-detail-hero {
        padding: 10rem 0 4rem;
    }

    .service-detail-title {
        font-size: 2.5rem;
    }

    .service-detail-subtitle {
        font-size: 1.2rem;
    }

    .content-heading {
        font-size: 2rem;
    }

    .service-detail-image {
        height: 300px;
    }

    .image-placeholder-detail {
        font-size: 5rem;
    }

    .metric-value {
        font-size: 2.5rem;
    }

    .application-card i {
        font-size: 2.5rem;
    }
}

/* CSR Page Specific Styles */

.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.impact-stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.impact-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.impact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.impact-stat-card:hover .impact-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #059669 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.impact-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.impact-label {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Success Stories */
.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.success-story-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.success-story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.story-quote {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.story-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 2rem;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 2px solid #f3f4f6;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Metric Icon Variant */
.metric-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.metric-card .metric-icon+.metric-label {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
    .impact-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .success-stories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .impact-stats-grid {
        grid-template-columns: 1fr;
    }

    .impact-number {
        font-size: 2.5rem;
    }

    .success-story-card {
        padding: 2rem;
    }

    .story-quote {
        font-size: 2.5rem;
    }
}