/* ===== Services Pages Styles ===== */

/* Service Header */
.service-header {
    background: var(--gradient-dark);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.service-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.service-header .container {
    position: relative;
    z-index: 1;
}

.service-header-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gradient-secondary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.service-header-text h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.service-header-text > p {
    color: var(--gray-400);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-300);
    font-size: 0.9375rem;
}

.highlight-item i {
    color: var(--success);
}

.service-cta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.starting-price {
    color: var(--gray-400);
    font-size: 0.9375rem;
}

.starting-price strong {
    color: var(--white);
    font-size: 1.5rem;
}

/* Service Visual Card */
.service-header-visual {
    display: flex;
    justify-content: center;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 40px;
    text-align: center;
    max-width: 320px;
}

.service-card .card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 24px;
}

.service-card .card-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.service-card .stat {
    text-align: center;
}

.service-card .stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.service-card .stat-label {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* ITR Types Section */
.itr-types {
    padding: 80px 0;
    background: var(--gray-50);
}

.itr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.itr-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.itr-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.itr-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-secondary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.itr-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.itr-for {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.itr-suitable {
    margin-bottom: 24px;
    flex-grow: 1;
}

.itr-suitable li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.itr-suitable li:last-child {
    border-bottom: none;
}

.itr-suitable li i {
    color: var(--success);
    font-size: 0.75rem;
}

.itr-price {
    text-align: center;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.itr-price .price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.itr-price .price-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* Process Section */
.process-section {
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: var(--gray-200);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 2;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: var(--white);
    border: 3px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--primary-pale);
    border-color: var(--primary);
}

.process-step h4 {
    margin-bottom: 8px;
}

.process-step p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* Documents Section */
.documents-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.doc-category {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
}

.doc-category h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
    font-size: 1rem;
}

.doc-category h4 i {
    color: var(--primary);
}

.doc-category ul li {
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.doc-category ul li:last-child {
    border-bottom: none;
}

/* Services Detail Grid */
.gst-services,
.tds-services {
    padding: 80px 0;
    background: var(--gray-50);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-detail-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.service-detail-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-detail-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.service-detail-card > p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.service-detail-card ul {
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-detail-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.service-detail-card ul li i {
    color: var(--success);
    font-size: 0.75rem;
}

.service-detail-price {
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    text-align: center;
}

.service-detail-price .from {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.service-detail-price .amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Who Needs Section */
.who-needs {
    padding: 80px 0;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.need-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.need-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.need-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.75rem;
}

.need-card h4 {
    margin-bottom: 12px;
}

.need-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* Due Dates Table */
.due-dates {
    padding: 80px 0;
}

.dates-table {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.dates-table table {
    width: 100%;
    border-collapse: collapse;
}

.dates-table th,
.dates-table td {
    padding: 20px 24px;
    text-align: left;
}

.dates-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.dates-table tr:not(:last-child) td {
    border-bottom: 1px solid var(--gray-200);
}

.dates-table tr:hover td {
    background: var(--gray-50);
}

/* Why Merge Section */
.why-merge {
    padding: 80px 0;
    background: var(--gray-50);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.why-card h4 {
    margin-bottom: 12px;
}

.why-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* Merge Process */
.merge-process {
    padding: 80px 0;
}

.merge-process .process-grid {
    grid-template-columns: repeat(3, 1fr);
}

.merge-process .process-grid::before {
    left: 20%;
    right: 20%;
}

/* Demo Upload Section */
.demo-upload {
    padding: 80px 0;
    background: var(--gray-50);
}

.upload-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.upload-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.upload-card h3 i {
    color: var(--primary);
}

.upload-card > p {
    color: var(--gray-500);
    margin-bottom: 32px;
}

.upload-zone {
    padding: 48px 32px;
    border: 3px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary);
    background: var(--primary-pale);
}

.upload-zone i {
    color: var(--gray-400);
    margin-bottom: 16px;
}

.upload-zone p {
    color: var(--gray-600);
    margin-bottom: 8px;
}

.upload-zone span {
    display: block;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.upload-files {
    margin-bottom: 24px;
}

.uploaded-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.uploaded-file i {
    color: var(--danger);
    font-size: 1.25rem;
}

.uploaded-file span {
    flex: 1;
    text-align: left;
    font-size: 0.9375rem;
}

.uploaded-file .remove-file {
    padding: 4px;
    color: var(--gray-400);
    cursor: pointer;
}

.uploaded-file .remove-file:hover {
    color: var(--danger);
}

.demo-note {
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .service-header-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-header-visual {
        order: -1;
    }

    .itr-grid,
    .services-detail-grid,
    .needs-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid::before {
        display: none;
    }

    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .merge-process .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .service-header {
        padding: 120px 0 60px;
    }

    .service-highlights {
        flex-direction: column;
        gap: 12px;
    }

    .service-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .itr-grid,
    .services-detail-grid,
    .needs-grid,
    .why-grid,
    .documents-grid,
    .process-grid,
    .merge-process .process-grid {
        grid-template-columns: 1fr;
    }

    .dates-table {
        overflow-x: auto;
    }

    .dates-table table {
        min-width: 500px;
    }

    .upload-card {
        padding: 32px 24px;
    }

    .upload-zone {
        padding: 32px 20px;
    }
}

