/* Enhanced Services Section Styles */
.services-section-two {
    padding: 100px 0;
}

.service-block-two .inner-box {
    position: relative;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 30px;
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-block-two .inner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

.service-block-two .icon-box {
    position: relative;
    margin: -40px -30px 25px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    height: 240px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-block-two .icon-box .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-in-out;
    display: block;
}

.service-block-two .inner-box:hover .icon-box .service-image {
    transform: scale(1.08);
}

.service-block-two .icon-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.service-block-two h5 {
    position: relative;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.service-block-two .text {
    position: relative;
    font-size: 16px;
    line-height: 1.7;
    color: #666666;
    margin-top: 15px;
    flex-grow: 1;
    text-align: justify;
    hyphens: auto;
}

.list-style-one {
    position: relative;
    padding-left: 0;
    list-style: none;
}

.list-style-one li {
    color:#000;

    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.list-style-one li:before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: #2c4f9c;
    font-weight: 600;
}

/* Section Title Styles */
.sec-title {
    position: relative;
    margin-bottom: 60px;
}

.sec-title .title {
    position: relative;
    display: inline-block;
    font-size: 18px;
    color: #2c4f9c;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sec-title h2 {
    position: relative;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.sec-title .text {
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* SES Services Architecture Styles */
.architecture-intro {
    margin-bottom: 60px;
    text-align: justify;
}

.architecture-intro p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666666;
}

.chart-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 24px;
    color: #2c4f9c;
    font-weight: 600;
}

.sectors-row {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 -10px;
}

.sectors-row .col {
    padding: 0 10px;
    flex: 1;
    min-width: 140px;
}

.sector-item {
    text-align: center;
    padding: 15px 10px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.sector-item i {
    font-size: 24px;
    color: #28a745;
    margin-bottom: 10px;
    display: inline-block;
    transition: all 0.3s ease;
    background: rgba(40, 167, 69, 0.1);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
}

.sector-item:hover i {
    transform: scale(1.1);
    background: #28a745;
    color: #ffffff;
}

.sector-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin: 0;
    line-height: 1.3;
}

.sectors-chart {
    margin-bottom: 60px;
}

.solutions-chart {
    padding-top: 20px;
    overflow-x: hidden;
}

.solutions-row {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 -10px;
}

.solutions-row .col {
    padding: 0 10px;
    flex: 1;
    min-width: 140px;
}

.solution-item {
    text-align: center;
    padding: 15px 10px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.solution-item i {
    font-size: 24px;
    color: #28a745;
    margin-bottom: 10px;
    display: inline-block;
    transition: all 0.3s ease;
    background: rgba(40, 167, 69, 0.1);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
}

.solution-item:hover i {
    transform: scale(1.1);
    background: #28a745;
    color: #ffffff;
}

.solution-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin: 0;
    line-height: 1.3;
}

/* Feature Card Styles */
.feature-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
    height: 200px;
}

.feature-icon .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-in-out;
}

.feature-card:hover .feature-icon .service-image {
    transform: scale(1.08);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Process Section Spacing */
.process-section {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media only screen and (max-width: 1199px) {
    .sectors-row {
        overflow-x: auto;
        padding-bottom: 20px;
        margin: 0;
        scrollbar-width: thin;
        -ms-overflow-style: none;
    }
    
    .sectors-row::-webkit-scrollbar {
        height: 4px;
    }
    
    .sectors-row::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
    }
    
    .sectors-row .col {
        min-width: 120px;
    }
    
    .sector-item {
        padding: 10px 5px;
    }
    
    .sector-item i {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }
    
    .sector-item h4 {
        font-size: 12px;
    }
    
    .solutions-row {
        overflow-x: auto;
        padding-bottom: 20px;
        margin: 0;
        scrollbar-width: thin;
        -ms-overflow-style: none;
    }
    
    .solutions-row::-webkit-scrollbar {
        height: 4px;
    }
    
    .solutions-row::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
    }
    
    .solutions-row .col {
        min-width: 120px;
    }
    
    .solution-item {
        padding: 10px 5px;
    }
    
    .solution-item i {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }
    
    .solution-item h4 {
        font-size: 12px;
    }
}

@media only screen and (max-width: 991px) {
    .services-section-two {
        padding: 70px 0;
    }
    
    .sec-title h2 {
        font-size: 30px;
    }
    
    .service-block-two .inner-box {
        height: auto;
    }
    
    .service-block-two .text {
        text-align: left;
    }
}

@media only screen and (max-width: 767px) {
    .service-block-two .inner-box {
        padding: 30px 20px;
    }
    
    .sec-title {
        margin-bottom: 40px;
    }
    
    .architecture-intro {
        text-align: left;
    }
    
    .sector-item,
    .solution-item {
        padding: 20px 15px;
    }
    
    .sector-item i,
    .solution-item i {
        font-size: 32px;
    }
    
    .sector-item h4,
    .solution-item h4 {
        font-size: 16px;
    }
}
