/* Updated Services Page CSS - Card Grid Layout */

/* Services Introduction Section */
.services-intro-section {
    padding: 80px 0 40px;
    background-color: var(--white);
}

/* Service Section - New Card Layout */
.service-section-new {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
}

.service-section-new:nth-child(even) {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Featured Service Section */
.service-section-new.featured-service {
    background: linear-gradient(135deg, rgba(110, 193, 228, 0.08) 0%, rgba(110, 193, 228, 0.02) 100%);
    border-top: 3px solid var(--accent-lime);
    border-bottom: 3px solid var(--accent-lime);
}

/* Service Header */
.service-header-new {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.service-number {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark-light) 100%);
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(13, 77, 77, 0.2);
}

.service-number.featured {
    background: linear-gradient(135deg, var(--accent-lime) 0%, #a0e0f5 100%);
    color: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(110, 193, 228, 0.4);
}

.service-header-new h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.service-tagline {
    font-size: 20px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.featured-badge {
    display: inline-block;
    background-color: var(--accent-lime);
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 20px;
    margin-top: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service Cards Grid */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Service Feature Card */
.service-feature-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(13, 77, 77, 0.08);
    opacity: 0;
    transform: translateY(30px);
}

.service-feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(13, 77, 77, 0.15);
    border-color: var(--accent-lime);
}

.featured-service .service-feature-card {
    border-color: var(--accent-lime);
    background: linear-gradient(135deg, var(--white) 0%, rgba(110, 193, 228, 0.05) 100%);
}

/* Card Icon */
.card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-lime);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}
.card-icon img {
    width: 40px;
    height: 40px;
}
.service-feature-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-feature-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Service Benefits Box */
.service-benefits-box {
    background-color: var(--bg-light);
    border-radius: 16px;
    padding: 40px 50px;
    text-align: center;
    border: 2px solid var(--border-color);
}

.service-benefits-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.service-benefits-box h3 img {
   
    width: 32px;
}
.service-benefits-box .extra-icon {
    transform: scaleX(-1);
}

.benefits-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.benefit-tag {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid var(--accent-lime);
    transition: all 0.3s ease;
}

.benefit-tag:hover {
    background-color: var(--accent-lime);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(110, 193, 228, 0.3);
}

/* Highlight Benefits Box */
.service-benefits-box.highlight {
    background: linear-gradient(135deg, var(--accent-lime) 0%, #a0e0f5 100%);
    border-color: var(--accent-lime);
}

.service-benefits-box.highlight h3 {
    color: var(--primary-dark);
}

.service-benefits-box.highlight h3 i {
    color: var(--primary-dark);
}

.service-benefits-box.highlight p {
    font-size: 16px;
    color: var(--primary-dark);
    font-weight: 500;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Service Comparison Section */
.service-comparison-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.comparison-table-wrapper {
    margin-top: 60px;
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(13, 77, 77, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    min-width: 800px;
}

.comparison-table thead {
    background-color: var(--primary-dark);
}

.comparison-table th {
    padding: 24px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th:last-child {
    border-right: none;
}

.comparison-table th.feature-col {
    text-align: left;
    background-color: var(--primary-dark-light);
}

.comparison-table th.featured-col {
    background-color: var(--accent-lime);
    color: var(--primary-dark);
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--gray-light);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background-color: rgba(110, 193, 228, 0.05);
}

.comparison-table td {
    padding: 20px;
    text-align: center;
    font-size: 15px;
    color: var(--text-dark);
}

.comparison-table td.feature-col {
    text-align: left;
    font-weight: 600;
    color: var(--primary-dark);
    background-color: var(--bg-light);
}

.comparison-table td.featured-col {
    background-color: rgba(110, 193, 228, 0.05);
}

.comparison-table td i.fa-check {
    color: var(--accent-lime);
    font-size: 20px;
}

.comparison-table td i.fa-xmark {
    color: var(--text-light);
    font-size: 20px;
    opacity: 0.5;
}

/* Why Choose Section */
.why-choose-section {
    padding: 100px 0;
    background-color: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.why-choose-card {
    background-color: var(--bg-light);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.why-choose-card:hover {
    background-color: var(--white);
    border-color: var(--accent-lime);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(13, 77, 77, 0.12);
}

.why-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.why-choose-card:hover .why-icon {
    transform: scale(1.1);
}

.why-choose-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.why-choose-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Scroll Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-header-new h2 {
        font-size: 42px;
    }
}

@media (max-width: 968px) {
    .services-intro-section,
    .service-section-new,
    .service-comparison-section,
    .why-choose-section {
        padding: 60px 0;
    }

    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .service-header-new h2 {
        font-size: 36px;
    }

    .service-tagline {
        font-size: 18px;
    }

    .service-number {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-table-wrapper {
        margin-top: 40px;
    }

    .service-benefits-box {
        padding: 32px 30px;
    }
}

@media (max-width: 640px) {
    .services-intro-section,
    .service-section-new,
    .service-comparison-section,
    .why-choose-section {
        padding: 50px 0;
    }

    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-header-new h2 {
        font-size: 32px;
    }

    .service-tagline {
        font-size: 17px;
    }

    .service-number {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .service-feature-card {
        padding: 32px 24px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .service-feature-card h3 {
        font-size: 18px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .service-benefits-box {
        padding: 28px 20px;
    }

    .service-benefits-box h3 {
        font-size: 20px;
        flex-direction: column;
    }

    .benefits-tags {
        gap: 10px;
    }

    .benefit-tag {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* Additional utility classes */
.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

.pt-80 {
    padding-top: 80px;
}

.pb-80 {
    padding-bottom: 80px;
}