/* Experience Detail Pages Premium Styling */

/* Hero Section */
.service-hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    opacity: 0.1;
    pointer-events: none;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

.hero-company {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 2rem auto 0;
}

.section-subtitle {
    line-height: 1.65;
}

.section-subtitle+.btn,
.section-subtitle+.btn-primary,
.text-center .section-subtitle+.btn,
.text-center .section-subtitle+.btn-primary {
    margin-top: 2rem;
}

.contact-section>.container.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section>.container.text-center .section-title {
    margin-bottom: 1.75rem;
}

.contact-section>.container.text-center .section-subtitle {
    margin-bottom: 2.25rem;
    max-width: 720px;
}

.contact-section>.container.text-center .btn {
    margin-top: 0;
}

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

.service-stat-badge {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(212, 165, 74, 0.2);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.service-stat-badge:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    background: rgba(212, 165, 74, 0.1);
}

.service-stat-badge i {
    color: var(--gold);
}

/* Main Content */
.service-content {
    padding: 80px 0;
    background: var(--bg-primary);
}

.section-title.centered {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--gold);
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Capabilities Cards */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.capability-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.capability-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.capability-card h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center header */
    gap: 12px;
    text-align: center;
}

.capability-card h3 i {
    background: rgba(212, 165, 74, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

.capability-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.capability-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
    /* Keep list text left-aligned for readability */
}

.capability-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--gold);
    font-size: 0.8rem;
}

/* Tools Section */
.tools-section {
    background: var(--bg-tertiary);
    padding: 80px 0;
    position: relative;
}

.tools-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.tool-tag {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.tool-tag:hover {
    background: rgba(212, 165, 74, 0.1);
    border-color: var(--gold);
    color: var(--gold);
    transform: scale(1.05);
}

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

.outcome-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.outcome-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 165, 74, 0.2);
    transform: translateX(5px);
}

.outcome-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.outcome-text {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
    color: var(--text-tertiary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-link:hover {
    color: var(--gold);
    transform: translateX(-5px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LIGHT THEME OVERRIDES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

[data-theme="light"] .service-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

[data-theme="light"] .service-hero::before {
    opacity: 0.05;
    background: radial-gradient(at 0% 0%, rgba(212, 165, 74, 0.2) 0%, transparent 50%),
        radial-gradient(at 100% 100%, rgba(43, 95, 158, 0.2) 0%, transparent 50%);
}

[data-theme="light"] .service-stat-badge {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(212, 165, 74, 0.3);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .service-stat-badge:hover {
    background: #ffffff;
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(212, 165, 74, 0.15);
}

[data-theme="light"] .capability-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .capability-card:hover {
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 165, 74, 0.15);
    background: #ffffff;
}

[data-theme="light"] .capability-card h3 i {
    background: rgba(212, 165, 74, 0.15);
}

[data-theme="light"] .tool-tag {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .tool-tag:hover {
    background: rgba(212, 165, 74, 0.1);
    color: var(--text-primary);
    border-color: var(--gold);
}

[data-theme="light"] .outcome-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .outcome-item:hover {
    border-color: var(--gold);
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(212, 165, 74, 0.1);
}

[data-theme="light"] .outcome-icon {
    background: rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .back-link {
    color: var(--text-secondary);
}

[data-theme="light"] .back-link:hover {
    color: var(--gold);
}

[data-theme="light"] .service-content,
[data-theme="light"] .tools-section {
    background: #f5f7fa;
}

[data-theme="light"] .tools-section {
    background: #ffffff;
}

/* Keep text readable when light theme is used on dark image-backed detail heroes. */
.two-men-detail-hero .hero-description,
.two-men-detail-hero .section-subtitle {
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.two-men-detail-hero .back-link {
    color: rgba(255, 255, 255, 0.78) !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.two-men-detail-hero .back-link:hover {
    color: var(--gold-light) !important;
}

.two-men-detail-hero .service-stat-badge {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #203044 !important;
    border-color: rgba(212, 165, 74, 0.65) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.two-men-detail-hero .service-stat-badge i {
    color: var(--gold-dark) !important;
}
