.services-main {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #ffffff 50%, #f1f3f4 75%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    height: auto;
}

.services-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 0, 0, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 0, 0, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.services-main::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMS41IiBmaWxsPSIjMDAwMDAwIiBmaWxsLW9wYWNpdHk9IjAuMDIiLz4KPC9zdmc+') repeat;
    opacity: 0.4;
    animation: backgroundMove 120s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-40px, -40px); }
}

.services-main .container {
    position: relative;
    z-index: 2;
}


.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--secondary-color), rgba(0, 0, 0, 0.8));
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.services-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.services-badge:hover::before {
    left: 100%;
}

.services-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.1;
}

.services-title .title-highlight {
    background: linear-gradient(135deg, var(--secondary-color), #333);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.services-title .title-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineGrow 1s ease 0.5s forwards;
}

@keyframes underlineGrow {
    to { transform: scaleX(1); }
}

.services-subtitle {
    font-size: 16px;
    color: var(--text-dark-low);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px 0;
}

.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
}

.card-frame {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-sizing: border-box;
}

.service-card:hover .card-frame {
    border-color: var(--secondary-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--text-dark-low));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover .card-frame::before {
    transform: scaleX(1);
}


.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.service-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark-low);
    background: #f8f9fa;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.service-card:hover .service-number {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: scale(1.1);
}


.card-content {
    flex: 1;
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--text-dark-dark);
}

.service-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 14px;
    color: var(--text-dark-low);
    padding: 6px 0;
    position: relative;
    padding-left: 20px;
    transition: color 0.3s ease;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.service-card:hover .service-features li {
    color: var(--text-dark);
}

.service-card:hover .service-features li::before {
    width: 12px;
    background: var(--text-dark-dark);
}


.card-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.service-link:hover::after {
    width: 100%;
}

.service-link:hover {
    color: var(--secondary-color-dark);
    transform: translateX(4px);
}

.service-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}


.services-filter {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e9ecef;
    background: white;
    color: var(--text-dark);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.services-cta {
    background: linear-gradient(135deg, var(--secondary-color), #333);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMS41IiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
    opacity: 0.3;
    animation: backgroundMove 60s linear infinite reverse;
    pointer-events: none!important;
    z-index: -1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: white;
}

.cta-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


.services-cta .btn {
    background: white;
    color: var(--text-dark);
    border: 2px solid white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.services-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.services-cta .btn-primary {
    background: white;
    color: var(--secondary-color);
    border-color: white;
}

.services-cta .btn-primary:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.services-cta .btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
}

.services-cta .btn-outline:hover {
    background: white;
    color: var(--text-dark);
    border-color: white;
}




@media (max-width: 768px) {
    .breadcrumb-section {
        height: 30vh;
        margin-top: 70px;
        background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    }
    
    .breadcrumb-section .container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 0 16px;
    }
    
    .breadcrumb-content {
        text-align: center;
        max-width: 100%;
    }
    
    .breadcrumb-animation {
        display: none;
    }
    
    .page-title {
        font-size: 28px;
        margin-bottom: 10px;
        color: #1a1a1a;
        font-weight: 700;
        line-height: 1.2;
    }
    
    .page-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background: #1a1a1a;
    }
    
    .breadcrumb-nav {
        gap: 6px;
        margin-bottom: 12px;
        justify-content: center;
        font-size: 12px;
    }
    
    .breadcrumb-item {
        font-size: 12px;
        color: #666;
    }
    
    .breadcrumb-item.active {
        color: #1a1a1a;
        font-weight: 600;
    }
    
    .breadcrumb-separator {
        color: #888;
        font-size: 10px;
    }
    
    .page-description {
        font-size: 14px;
        line-height: 1.4;
        color: #666;
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .breadcrumb-section {
        height: 25vh;
        margin-top: 60px;
        padding: 20px 0;
    }
    
    .breadcrumb-section .container {
        padding: 0 12px;
    }
    
    .page-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .breadcrumb-nav {
        margin-bottom: 10px;
        gap: 4px;
    }
    
    .breadcrumb-item {
        font-size: 11px;
    }
    
    .page-description {
        font-size: 13px;
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .breadcrumb-section {
        height: 22vh;
        margin-top: 50px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .breadcrumb-nav {
        display: none;
    }
    
    .page-description {
        font-size: 12px;
    }
}



@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 25px;
    }
    
    .services-title {
        font-size: 42px;
    }
    
    .card-frame {
        padding: 25px;
    }
    
    .services-main .container {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .services-main {
        padding: 60px 0 80px;
        background: #ffffff;
    }
    
    .services-header {
        margin-bottom: 40px;
    }
    
    .services-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .services-filter {
        padding: 25px;
        margin-bottom: 30px;
        border-radius: 12px;
    }
    
    .filter-buttons {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .filter-btn {
        font-size: 13px;
        padding: 8px 16px;
        border-radius: 20px;
    }
}


@media (max-width: 768px) {
    .services-main {
        padding: 70px 0 50px;
        background: #fafafa;
        margin-top: 5rem;
    }
    
    .services-main .container {
        padding: 0 16px;
    }
    
    
    .services-header {
        margin-bottom: 24px;
        text-align: center;
    }
    
    .services-badge {
        padding: 6px 16px;
        font-size: 11px;
        margin-bottom: 16px;
        border-radius: 16px;
        background: #1a1a1a;
    }
    
    .services-title {
        font-size: 26px;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 12px;
        color: #1a1a1a;
    }
    
    .services-subtitle {
        font-size: 14px;
        line-height: 1.5;
        color: #666;
        max-width: 90%;
        margin: 0 auto;
    }
    
    
    .services-filter {
        background: #ffffff;
        border: 1px solid #f0f0f0;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 20px;
        box-shadow: none;
    }
    
    .filter-title {
        font-size: 16px;
        margin-bottom: 12px;
        color: #1a1a1a;
        text-align: center;
    }
    
    .filter-buttons {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding: 0 4px 4px 4px;
        justify-content: flex-start;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .filter-buttons::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 20px;
        background: #f8f9fa;
        border: 1px solid #e0e0e0;
        color: #666;
        white-space: nowrap;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }
    
    .filter-btn.active,
    .filter-btn:hover {
        background: #1a1a1a;
        color: #ffffff;
        border-color: #1a1a1a;
        transform: scale(1.02);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }
    
    
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
        padding: 0;
    }
    
    
    .service-card {
        transition: all 0.3s ease;
    }
    
    .service-card:hover {
        transform: translateY(-4px);
    }
    
    .card-frame {
        background: #ffffff;
        border: 1px solid #f0f0f0;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        transition: all 0.3s ease;
    }
    
    .service-card:hover .card-frame {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        border-color: #e0e0e0;
    }
    
    .card-frame::before {
        height: 3px;
        border-radius: 12px 12px 0 0;
    }
    
    
    .card-header {
        margin-bottom: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
    }
    
    .service-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
        font-weight: 600;
        background: #f8f9fa;
        border: 1px solid #e0e0e0;
    }
    
    
    .card-content {
        margin-bottom: 16px;
    }
    
    .service-title {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
        line-height: 1.3;
        color: #1a1a1a;
    }
    
    .service-description {
        font-size: 13px;
        line-height: 1.4;
        color: #666;
        margin-bottom: 12px;
    }
    
    .service-features {
        margin: 0;
    }
    
    .service-features li {
        font-size: 12px;
        padding: 3px 0;
        color: #888;
        padding-left: 16px;
    }
    
    .service-features li::before {
        top: 8px;
        width: 6px;
        height: 1.5px;
    }
    
    
    .card-footer {
        padding-top: 12px;
        border-top: 1px solid #f0f0f0;
        margin-top: auto;
    }
    
    .service-link {
        font-size: 12px;
        font-weight: 600;
        gap: 4px;
        color: #1a1a1a;
    }
    
    .service-link i {
        font-size: 10px;
    }
    
    
    .services-cta {
        background: #1a1a1a;
        padding: 24px 20px;
        margin-top: 32px;
        border-radius: 16px;
        text-align: center;
    }
    
    .cta-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .cta-description {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 20px;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .services-cta .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 10px;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .services-cta .btn-primary {
        background: #ffffff;
        color: #1a1a1a;
        border: 2px solid #ffffff;
    }
    
    .services-cta .btn-primary:hover {
        background: #f0f0f0;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    }
    
    .services-cta .btn-outline {
        background: transparent;
        color: #ffffff;
        border: 2px solid rgba(255, 255, 255, 0.6);
    }
    
    .services-cta .btn-outline:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: #ffffff;
    }
}

@media (max-width: 576px) {
    .services-main {
        padding: 60px 0 40px;
        padding-top: 80px;
    }
    
    .services-main .container {
        padding: 0 12px;
    }
    
    .services-header {
        margin-bottom: 20px;
    }
    
    .services-title {
        font-size: 22px;
        line-height: 1.2;
    }
    
    .services-subtitle {
        font-size: 13px;
    }
    
    .services-filter {
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .filter-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .filter-btn {
        padding: 6px 14px;
        font-size: 11px;
    }
    
    .services-grid {
        gap: 12px;
    }
    
    .card-frame {
        padding: 12px;
    }
    
    .card-header {
        margin-bottom: 12px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
    }
    
    .service-number {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .service-title {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .service-description {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .service-features li {
        font-size: 11px;
        padding: 2px 0;
        padding-left: 14px;
    }
    
    .card-footer {
        padding-top: 10px;
    }
    
    .service-link {
        font-size: 11px;
    }
    
    .services-cta {
        padding: 20px 16px;
        margin-top: 24px;
    }
    
    .cta-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .cta-description {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .services-cta .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}


@media (max-width: 480px) {
    .services-main .container {
        padding: 0 8px;
    }
    
    .services-title {
        font-size: 20px;
    }
    
    .services-filter {
        padding: 10px;
    }
    
    .filter-title {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .card-frame {
        padding: 10px;
    }
    
    .service-title {
        font-size: 13px;
    }
    
    .service-description {
        font-size: 11px;
    }
    
    .services-cta {
        padding: 16px 12px;
    }
    
    .cta-title {
        font-size: 16px;
    }
    
    .cta-description {
        font-size: 12px;
    }
}


@media (prefers-reduced-motion: no-preference) {
    .service-card {
        animation: fadeInUp 0.6s ease forwards;
        opacity: 0;
        transform: translateY(30px);
    }
    
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    .service-card:nth-child(5) { animation-delay: 0.5s; }
    .service-card:nth-child(6) { animation-delay: 0.6s; }
    .service-card:nth-child(n+7) { animation-delay: 0.7s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
