/* Services Split Layout - Horizontal Division */

.services-split-container {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
}

.services-column {
    padding: 0;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.services-column:not(:last-child) {
    margin-bottom: 50px;
}

.services-column-inner {
    padding: 40px 30px;
}

/* Government Services - Indigo/Navy Theme */
.government-services-column {
    background: linear-gradient(135deg, #1E3353 0%, #1B3556 100%);
    color: #fff;
}

.government-services-column .services-column-inner {
    background: rgba(35, 153, 162, 0.05);
}

/* Tech Services - Cyan/Pacific Theme */
.tech-services-column {
    background: linear-gradient(135deg, #2399A2 0%, #6CA7AD 100%);
    color: #fff;
}

.tech-services-column .services-column-inner {
    background: rgba(30, 51, 83, 0.05);
}

/* Category Header */
.services-category-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.services-category-header .category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.services-category-header .category-icon i {
    font-size: 40px;
    color: var(--brand-primary) !important;
}

.services-category-header h3 {
    color: var(--brand-primary) !important;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Services List */
.services-list.row {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.services-list.row > div {
    display: flex;
    flex-direction: column;
}

.service-item-horizontal {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
}

.service-item-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Override service card styles for horizontal layout */
.service-item-horizontal .single-service {
    margin-bottom: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none !important;
    height: 100%;
    flex-grow: 1;
}

.service-item-horizontal .single-service .service-icon {
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
    background: linear-gradient(135deg, #2399A2 0%, #6CA7AD 100%);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(35, 153, 162, 0.3);
    transition: all 0.4s ease;
}

.service-item-horizontal:hover .single-service .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(35, 153, 162, 0.5);
}

.service-item-horizontal .single-service .service-icon i {
    font-size: 32px !important;
    color: #fff !important;
    position: relative;
    z-index: 1;
    display: block;
    transition: all 0.4s ease;
}

.service-item-horizontal:hover .single-service .service-icon i {
    transform: scale(1.15);
}

.service-item-horizontal .single-service .service-icon i:before {
    font-size: 32px !important;
    margin: 0 !important;
    color: #fff !important;
}

.service-item-horizontal .single-service h5 {
    font-size: 18px !important;
    margin-bottom: 12px !important;
    margin-top: 10px !important;
    color: #1E3353 !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    width: 100%;
    clear: both;
    transition: color 0.3s ease;
}

.service-item-horizontal:hover .single-service h5 {
    color: #2399A2 !important;
}

.service-item-horizontal .single-service p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #1B3556 !important;
    margin: 0 !important;
    width: 100%;
    text-align: center;
    clear: both;
}

/* RTL Support */
/* RTL Support */
body[dir="rtl"] .government-services-column {
    border-right: none;
    border-left: none;
}

body[dir="rtl"] .tech-services-column {
    border-left: none;
    border-right: none;
}

/* Responsive Design */
@media (max-width: 991px) {
    .services-split-container {
        flex-direction: column;
    }

    .services-column {
        width: 100% !important;
        border: none !important;
        border-bottom: 3px solid rgba(255, 255, 255, 0.2) !important;
    }

    .services-column:last-child {
        border-bottom: none !important;
    }

    .services-column-inner {
        padding: 30px 20px;
    }

    .services-category-header h3 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .services-category-header .category-icon {
        width: 60px;
        height: 60px;
    }

    .services-category-header .category-icon i {
        font-size: 30px;
    }

    .services-category-header h3 {
        font-size: 18px;
    }

    .service-item-horizontal {
        padding: 15px;
    }

    .service-item-horizontal .single-service h5 {
        font-size: 16px;
    }

    .service-item-horizontal .single-service p {
        font-size: 13px;
    }
}

/* Dark Mode Support */
body.dark-mode .service-item-horizontal {
    background: rgba(30, 30, 30, 0.98);
    border-color: rgba(35, 153, 162, 0.2);
}

body.dark-mode .service-item-horizontal:hover {
    background: rgba(40, 40, 40, 0.98);
    border-color: rgba(35, 153, 162, 0.4);
}

body.dark-mode .service-item-horizontal .single-service h5 {
    color: #fff !important;
}

body.dark-mode .service-item-horizontal:hover .single-service h5 {
    color: #6CA7AD !important;
}

body.dark-mode .service-item-horizontal .single-service p {
    color: #AABDC3 !important;
}