/* Services Section Styles */
.services-section {
    padding: 120px 0;
    background-color: #f8f9fb;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: #6366f1;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

/* Service Card Base Styles */
.service-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.03), transparent);
    transition: left 0.8s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .blue-icon {
    background-color: #1e40af;
}

.service-card:hover .blue-icon img {
    filter: brightness(0) invert(1);
}

.service-card:hover .purple-icon {
    background-color: #7c3aed;
}

.service-card:hover .purple-icon img {
    filter: brightness(0) invert(1);
}

.service-card:hover .service-title {
    color: #2563eb;
    transition: color 0.3s ease;
}





/* Both Cards - Same Width and Height */
.primary-card, .secondary-card {
    width: 100%;
    max-width: 1100px;
    min-height: 500px;
}

/* Card Layout */
.card-layout {
    display: flex;
    padding: 2.5rem;
    gap: 3rem;
    min-height: 500px;
}

.card-left {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Service Icons */
.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon img {
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blue-icon {
    background-color: #dbeafe;
    color: #1e40af;
}

.blue-icon img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(2832%) hue-rotate(223deg) brightness(90%) contrast(90%);
}

.purple-icon {
    background-color: #f3e8ff;
    color: #7c3aed;
}

.purple-icon img {
    filter: brightness(0) saturate(100%) invert(25%) sepia(71%) saturate(2738%) hue-rotate(262deg) brightness(92%) contrast(96%);
}

/* Service Badges */
.service-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.primary-badge {
    background-color: #1e40af;
    color: white;
}

.secondary-badge {
    background-color: #7c3aed;
    color: white;
}

/* Service Content */
.service-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Feature Tags */
.feature-tags {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-tag {
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
}

.secondary-tag {
    background-color: #faf5ff;
    color: #7c3aed;
    border: 1px solid #f3e8ff;
}

/* Service Note */
.service-note {
    font-size: 0.8125rem;
    color: #9ca3af;
    font-style: italic;
    margin-top: 1rem;
}

/* Additional Services (Right Side) */
.additional-service {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.service-icon-small {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon-small img {
    transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blue-icon-small {
    background-color: #eff6ff;
    color: #1e40af;
}

.blue-icon-small img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(2832%) hue-rotate(223deg) brightness(90%) contrast(90%);
}

.purple-icon-small {
    background-color: #faf5ff;
    color: #7c3aed;
}

.purple-icon-small img {
    filter: brightness(0) saturate(100%) invert(25%) sepia(71%) saturate(2738%) hue-rotate(262deg) brightness(92%) contrast(96%);
}

.service-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.service-info p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-section {
        padding: 80px 0;
    }

    .services-container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .card-layout {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        min-height: auto;
    }
    
    .card-left {
        justify-content: flex-start;
    }
    
    .card-right {
        justify-content: flex-start;
    }
    
    .primary-card, .secondary-card {
        min-height: auto;
    }

    .card-right {
        gap: 1rem;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .tag-row {
        gap: 0.375rem;
    }

    .feature-tag {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .primary-card, .secondary-card {
        max-width: 100%;
    }
}