/* Advanced Professional Services Section - New Design */

.advanced-services-section {
    position: relative;
    background-color: #e5e8f3;
    overflow: hidden;
    padding: 30px 0 40px;
}


/* Background watermark text */

.advanced-services-section::before {
    content: 'NSS';
    position: absolute;
    top: 16%;
    left: 70%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    z-index: 1;
    pointer-events: none;
}


/* Section Header */

.advanced-services-header {
    text-align: center;
    position: relative;
    z-index: 10;
}

.advanced-services-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0b5d54;
    margin: 0 0 20px;
    letter-spacing: -0.3px;
}

.advanced-services-subtitle {
    font-size: 1.1rem;
    color: #012B3D;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    line-height: 1.6;
}


/* New layout to match the screenshot */

.services-showcase {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.experience-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.experience-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vertical-badge {
    position: absolute;
    left: 10px;
    bottom: 20px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.9);
    color: #0b5d54;
    padding: 18px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 40px;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.services-slider {
    position: relative;
    overflow: visible;
}

.slider-viewport {
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 30px;
    will-change: transform;
    transition: transform .5s ease;
    padding: 10px 0;
    user-select: none;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
    width: 320px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.service-card .card-image {
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-card h3 {
    font-size: 18px;
    color: #183c3c;
    margin: 6px 0 8px;
    font-weight: 700;
}

.service-card p {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    min-height: 60px;
    margin: 0 0 10px;
    flex: 1;
}

.view-btn {
    display: inline-block;
    background: #e9f5f3;
    color: #0b5d54;
    border: 1px solid #cbe7e3;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease;
}

.view-btn:hover {
    background: #d9efec;
}

.services-dots {
    position: absolute;
    bottom: -28px;
    right: 16px;
    display: flex;
    gap: 8px;
}

.services-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    display: inline-block;
}

.services-dots .dot.active {
    background: #0b5d54;
}


/* Slider navigation buttons */

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #0b5d54;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: #0b5d54;
    color: white;
    box-shadow: 0 6px 20px rgba(11, 93, 84, 0.3);
}

.slider-nav.prev {
    left: -20px;
}

.slider-nav.next {
    right: -20px;
}


/* Remove old grid-based service boxes rules */


/* Service Box Styles - Simple Design */

.service-box {
    position: relative;
    background: #ffffff;
    border-radius: 5px;
    padding: 25px;
    transition: all 0.4s ease;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(1, 78, 96, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}


/* Remove legacy image sizing rules */


/* Service Box Content - Simple: Title + Description only */

.service-box-header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 15px;
    gap: 10px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.service-description {
    font-size: 1rem;
    color: #012B3D;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
    opacity: 0.9;
}


/* Responsive Design */

@media (max-width: 1200px) {
    .services-showcase {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .slider-track {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .advanced-services-section {
        padding: 20px 0 30px;
    }
    .slider-track {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .services-showcase {
        padding: 0 1rem;
    }
    .service-card {
        width: 280px;
        min-width: 280px;
    }
    .service-card .card-image {
        height: 180px;
    }
    .service-card h3 {
        font-size: 16px;
    }
    .service-card p {
        font-size: 12px;
    }
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .slider-nav.prev {
        left: -15px;
    }
    .slider-nav.next {
        right: -15px;
    }
}