/* Service Detail Page - Global Styles */

/* Simple Grid System for Service Pages */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -1rem;
    margin-left: -1rem;
}

.align-items-center {
    align-items: center;
}

.col-lg-6 {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Hero Section */
.service-hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.service-hero.bg-light-blue {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.service-hero-content {
    padding-right: 2rem;
}

.service-hero-content .breadcrumbs {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.service-hero-content .breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.service-hero-content .breadcrumbs a:hover {
    color: var(--primary-blue);
}

.service-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--secondary-blue);
}

.service-hero-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 90%;
}

.service-hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.service-hero-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Common Section Styles */
.service-section {
    padding: 80px 0;
}

.bg-gray {
    background-color: #f8fafc;
}

.bg-blue-light {
    background-color: #f0f9ff;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Comparison / Problem-Solution Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.comparison-col h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-blue);
}

.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.problem-list li::before {
    content: '\f00d';
    /* X icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #ef4444;
}

.solution-list li::before {
    content: '\f00c';
    /* Check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #10b981;
}

/* Features / Benefits Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-blue);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #e0f2fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-blue);
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Process Timeline (Horizontal) */
.process-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
    gap: 2rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.step-marker {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.process-step:hover .step-marker {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.process-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-blue);
}

.process-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* Engagement / Plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.plan-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
    border-color: var(--primary-blue);
    background: #f0f9ff;
    transform: scale(1.05);
    z-index: 10;
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    text-align: left;
}

.plan-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.plan-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-blue);
    position: absolute;
    left: 0;
}

.plan-features li:last-child {
    border-bottom: none;
}


/* Tech Stack / Tags */
.tech-stack-container {
    text-align: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.tech-tag {
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    color: var(--secondary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.tech-tag:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tech-tag i {
    font-size: 1.2rem;
    color: var(--primary-blue);
}

/* Detailed List Section */
.detail-list-section {
    padding: 80px 0;
}

.detail-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-item i {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: 5px;
}


/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: white;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: white;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #f8fafc;
}

.accordion-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-light);
    line-height: 1.6;
}

.accordion-item.active .accordion-body {
    padding-bottom: 1.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    padding: 80px 0;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .service-hero-content h1 {
        font-size: 2.5rem;
    }

    .comparison-grid,
    .features-grid,
    .plans-grid,
    .detail-list-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        flex-direction: column;
    }

    .process-timeline::before {
        width: 2px;
        height: 100%;
        left: 24px;
        top: 0;
    }

    .process-step {
        display: flex;
        text-align: left;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .step-marker {
        margin: 0;
        flex-shrink: 0;
    }

    .plan-card.featured {
        transform: scale(1);
    }
}