/* ========================================
   SERVICES PAGE STYLES
======================================== */

/* Services Introduction */
.services-intro {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    position: relative;
}

.intro-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: start;
}

.intro-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.intro-text h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.intro-text p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 15px;
}

.intro-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.intro-feature:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-color);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--light-accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.intro-feature :is(h3, h4) {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.intro-feature p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.intro-stat {
    text-align: center;
    padding: 35px 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.intro-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--light-accent));
}

.intro-stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.15);
    border-color: var(--accent-color);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
    filter: grayscale(0.3);
}

.intro-stat h3 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent-color), var(--light-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-stat p {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Service Category */
.service-category {
    padding: 80px 0;
    background: var(--light-bg);
}

.commercial-section {
    background: var(--white);
}

/* Service Detail */
.service-detail {
    margin-bottom: 80px;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 50px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.service-detail.reverse .service-detail-content {
    grid-template-columns: 1fr 1fr;
}

.service-detail.reverse .service-detail-text {
    order: 2;
}

.service-detail.reverse .service-detail-image {
    order: 1;
}

.service-detail-text h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-highlight {
    font-size: 18px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.service-detail-text > p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Service Features Grid */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 8px;
}

.feature-item .feature-icon {
    font-size: 28px;
    min-width: 40px;
}

.feature-item h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Service Applications */
.service-applications {
    padding: 25px;
    background: var(--light-bg);
    border-radius: 12px;
    margin-bottom: 30px;
}

.service-applications h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-applications ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-applications ul li {
    color: var(--text-dark);
    font-size: 15px;
    padding-left: 25px;
    position: relative;
}

.service-applications ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Service Detail Image */
.service-detail-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

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

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: var(--white);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-color), var(--light-accent));
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-number {
    min-width: 80px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--light-accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding: 20px 30px;
    background: var(--light-bg);
    border-radius: 12px;
}

.timeline-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.comparison-table td {
    font-size: 15px;
}

.comparison-table tbody tr:hover {
    background: var(--light-bg);
}

.comparison-table tbody th {
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
}

.cmp {
    font-weight: 600;
    white-space: nowrap;
}

.cmp-yes {
    color: #1e7a34;
}

.cmp-limited {
    color: #8a5a00;
}

.cmp-no {
    color: #a12828;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }

    .service-detail.reverse .service-detail-text,
    .service-detail.reverse .service-detail-image {
        order: unset;
    }

    .process-timeline::before {
        left: 30px;
    }

    .timeline-number {
        min-width: 60px;
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .intro-text h2 {
        font-size: 32px;
    }

    .intro-stats {
        grid-template-columns: 1fr;
    }

    .service-detail {
        margin-bottom: 50px;
    }

    .service-detail-content {
        padding: 30px 20px;
    }

    .service-detail-text h3 {
        font-size: 28px;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-image img {
        height: 300px;
    }

    .image-badge {
        top: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .process-timeline::before {
        left: 20px;
    }

    .timeline-item {
        gap: 30px;
    }

    .timeline-number {
        min-width: 50px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .timeline-content {
        padding: 15px 20px;
    }

    .timeline-content h3 {
        font-size: 20px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .intro-text h2 {
        font-size: 28px;
    }

    .intro-stat h3 {
        font-size: 36px;
    }

    .service-detail-text h3 {
        font-size: 24px;
    }

    .service-highlight {
        font-size: 16px;
    }

    .feature-item {
        padding: 12px;
    }

    .feature-item .feature-icon {
        font-size: 24px;
        min-width: 35px;
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
}

/* ========================================
   FINISHED SERVICES CAROUSEL
======================================== */
.finished-services-section {
    padding: 90px 0;
    background: var(--light-bg);
}

.fs-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.fs-track-outer {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}

.fs-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.fs-item {
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}

.fs-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.fs-item:hover img {
    transform: scale(1.06);
}

.fs-arrow {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: var(--accent-color);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 18px rgba(255, 107, 107, 0.35);
    line-height: 1;
}

.fs-arrow:hover {
    background: var(--primary-color);
    transform: scale(1.12);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

.fs-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.fs-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 26px;
}

.fs-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.fs-dot.active {
    background: var(--accent-color);
    transform: scale(1.35);
}

@media (max-width: 900px) {
    .fs-arrow {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .fs-arrow {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}
