/* Advanced Professional Services Section - New Design */

.advanced-services-section {
    position: relative;
    min-height: 100vh;
    background: #f1f5f7;
    overflow: hidden;
    /* padding: 60px 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: 2rem;
    font-weight: 600;
    color: #014e60;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.advanced-services-subtitle {
    font-size: 1.1rem;
    color: #012B3D;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    line-height: 1.6;
}


/* Services Grid Container - Exact layout like the image */

.advanced-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
    min-height: 600px;
}


/* Service Box 1 - Large left column (Telecommunications) */

.service-box.box-1 {
    grid-row: 1/ 2;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    top: 25rem;
}


/* Service Box 2 - Top right (Electrical Services) */

.service-box.box-2 {
    grid-row: 1;
    grid-column: 2;
}


/* Service Box 3 - Bottom right (IT Services) */

.service-box.box-3 {
    grid-row: 2;
    grid-column: 2;
}


/* 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);
}


/* Service Images - Different sizes for different boxes */

.service-image {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    flex: 1;
    min-height: 200px;
}


/* Large image for box 1 (left column) */

.service-box.box-1 .service-image {
    height: 400px;
}


/* Smaller images for right column boxes */

.service-box.box-2 .service-image,
.service-box.box-3 .service-image {
    height: 220px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-box:hover .service-img {
    transform: scale(1.05);
}


/* 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: #014e60;
    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) {
    .advanced-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    .advanced-services-title {
        font-size: 3rem;
    }
    .service-box {
        padding: 20px;
    }
    .service-box.box-1 .service-image {
        height: 350px;
    }
    .service-box.box-2 .service-image,
    .service-box.box-3 .service-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .advanced-services-section {
        padding: 40px 0 30px;
    }
    .advanced-services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 30px;
    }
    .service-box.box-1,
    .service-box.box-2,
    .service-box.box-3 {
        grid-row: auto;
        grid-column: 1;
    }
    .advanced-services-title {
        font-size: 2.5rem;
    }
    .service-box {
        padding: 20px;
    }
    .service-box.box-1 .service-image,
    .service-box.box-2 .service-image,
    .service-box.box-3 .service-image {
        height: 250px;
    }
    .service-title {
        font-size: 1.6rem;
    }
    .service-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .advanced-services-grid {
        padding: 0 1rem;
    }
    .service-box {
        padding: 15px;
    }
    .service-box.box-1 .service-image,
    .service-box.box-2 .service-image,
    .service-box.box-3 .service-image {
        height: 200px;
    }
    .service-title {
        font-size: 1.4rem;
    }
    .service-description {
        font-size: 0.9rem;
    }
}