.services-header .eyebrow {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(74, 97, 255, 0.1);
    color: #28519e;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.services-header .services-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111a34;
    margin-bottom: 14px;
}

.services-header .services-subtitle {
    font-size: 1.1rem;
    color: #5c6075;
    max-width: 720px;
    margin: 0 auto;
}

.services {
    --service-card-bg: linear-gradient(180deg, #04225d 0%, #062f78 55%, #041e52 100%);
    --service-card-border: rgba(255, 255, 255, 0.12);
    --service-card-text: #f7fbff;
    --service-card-muted: rgba(236, 244, 255, 0.78);
    --service-icon-bg: #e94f43;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(12, 32, 84, 0.08) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.6;
    pointer-events: none;
}

.services-grid .col-lg-4,
.services-grid .col-md-6 {
    display: flex;
}

.services .container {
    max-width: 1400px !important;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    background: var(--service-card-bg);
    border-radius: 28px;
    border: 1px solid var(--service-card-border);
    box-shadow: var(--service-card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--service-card-text);
}

.service-card:hover {
    cursor: pointer;
}

.service-visual {
    position: relative;
    min-height: 170px;
    padding: 12px;
    border-radius: 20px;
    background: transparent;
    box-shadow: 0 12px 24px rgba(7, 16, 40, 0.18);
    overflow: visible;
}

.service-visual::before {
    content: none;
}

.service-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: var(--service-image);
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1px rgba(5, 14, 36, 0.08);
    transform-origin: center center;
    transition: transform 0.4s ease;
}

.service-icon {
    position: absolute;
    left: 26px;
    bottom: -24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--service-icon-bg);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 4px solid #08285f;
    z-index: 2;
}

.services-slider-wrapper {
    position: relative;
    padding: 0 0 48px;
}

.services-slider .swiper-slide {
    display: flex;
    height: auto;
    align-items: stretch;
    justify-content: center;
    background: transparent;
}

.services-slider .swiper-slide>.service-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.service-card:hover .service-visual::after {
    transform: translateY(-4px) scale(1.04);
}

.service-body {
    padding: 34px 6px 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--service-card-text);
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 14px;
}

.service-title::after {
    content: "";
    display: inline-flex;
    width: 56px;
    height: 3px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.service-description {
    font-size: 1rem;
    color: var(--service-card-muted);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: #cfe3ff;
    font-weight: 600;
    text-decoration: none;
}

.service-link::after {
    content: ">";
    font-size: 0.95rem;
    transform: translateY(-1px);
}

.service-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.service-visual-web-design {
    --service-image: url('../assets/img/services/web-design.png');
}

.service-visual-software {
    --service-image: url('../assets/img/services/software.png');
}

.service-visual-sms {
    --service-image: url('../assets/img/services/sms.png');
}

.service-visual-ssl {
    --service-image: url('../assets/img/services/ssl.png');
}

.service-visual-server {
    --service-image: url('../assets/img/services/server.png');
}

.service-visual-dns {
    --service-image: url('../assets/img/services/dns.png');
}



.services-nav-prev {
    left: -20px;
}

.services-nav-next {
    right: -20px;
}

.services-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 1;
    border-radius: 999px;
    background: rgba(11, 47, 128, 0.2);
    transition: width 0.3s ease, background 0.3s ease;
}

.services-pagination .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--service-icon-bg);
}

.services-pagination.swiper-pagination-lock {
    display: none;
}

@media (max-width: 575.98px) {
    .services-nav {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .services-slider .swiper-slide>.service-card {
        max-width: 100%;
    }
}


.services-slider-wrapper .swiper-pagination {
    bottom: 0 !important;
    top: auto !important;

}

.services-nav:focus {
    outline: none;
}

.services-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    font-size: 20px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #e94f43;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 2;
    box-shadow: 0 12px 30px rgba(20, 20, 43, 0.25);

}

.services-nav:focus {
    outline: none;
}