/* ==========================================
   KOUSPO Finance - Services Detail Pages Styles
   ========================================== */

/* Service Hero Section */
.service-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    padding-top: 100px;
    margin-bottom: var(--spacing-xl);
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.service-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.service-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.service-hero .breadcrumb a:hover {
    color: var(--secondary-color);
}

.service-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.service-hero-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 0 auto 2rem;
    font-size: 3rem;
}

.service-hero h1 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.service-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Service Content Section */
.service-content {
    padding: var(--spacing-xl) 0;
}

.service-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.service-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Service Features Grid */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
}

.feature-box {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    border-left: 4px solid var(--secondary-color);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-color);
}

.feature-box-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 15px;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-box ul {
    list-style: none;
    padding: 0;
}

.feature-box ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.feature-box ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Two Column Layout */
.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    margin-bottom: var(--spacing-lg);
}

.column-content {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
}

.column-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.column-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.column-content ul {
    list-style: none;
    padding: 0;
}

.column-content ul li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.column-content ul li:last-child {
    border-bottom: none;
}

.column-content ul li::before {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Process Steps */
.process-steps {
    margin: var(--spacing-lg) 0;
}

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

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, transparent 100%);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: var(--shadow-md);
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.process-step h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits-section {
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: var(--spacing-xl) 0;
    margin: var(--spacing-xl) 0;
}

.benefits-section .section-header .section-tag {
    color: var(--secondary-color);
}

.benefits-section .section-header .section-title {
    color: var(--bg-white);
}

.benefits-section .section-header .title-underline {
    background: var(--secondary-color);
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all var(--transition-medium);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.benefit-card h3 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* Training Themes Section */
.training-themes {
    margin: var(--spacing-lg) 0;
}

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

.theme-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
}

.theme-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.theme-header {
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: 2rem;
    position: relative;
}

.theme-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.theme-header h3 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.theme-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 140, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.theme-body {
    padding: 2rem;
}

.theme-body h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.theme-body ul {
    list-style: none;
    padding: 0;
}

.theme-body ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.theme-body ul li:last-child {
    border-bottom: none;
}

.theme-body ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.theme-footer {
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-target {
    font-size: 0.9rem;
    color: var(--text-light);
}

.theme-target strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

/* LinkedIn Posts Section */
.linkedin-posts {
    background: var(--bg-light);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

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

.post-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-header {
    padding: 1.5rem;
    background: var(--gradient-primary);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.linkedin-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0077B5;
    border-radius: 8px;
    font-size: 1.5rem;
}

.post-info h4 {
    color: var(--bg-white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.post-info .post-date {
    font-size: 0.85rem;
    opacity: 0.8;
}

.post-body {
    padding: 2rem;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0077B5;
    text-decoration: none;
    font-weight: 600;
    transition: gap var(--transition-fast);
}

.post-link:hover {
    gap: 1rem;
}

/* CTA Section */
.service-cta {
    background: var(--bg-light);
    padding: var(--spacing-lg) 0;
    text-align: center;
    margin-top: var(--spacing-xl);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

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

/* Related Services */
.related-services {
    padding: var(--spacing-lg) 0;
}

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

.related-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-medium);
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.related-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.related-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.related-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.related-card .btn-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}

.related-card:hover .btn-link {
    gap: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
    .two-column-section {
        grid-template-columns: 1fr;
    }
    
    .process-step::after {
        display: none;
    }
    
    .themes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: 50vh;
        padding-top: 80px;
    }
    
    .service-hero-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .column-content {
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}