.civil-services-section{
    padding:80px 0;
    background:#f8fafc;
    overflow:hidden;
}

.civil-left{
    padding-right:30px;
}

.section-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#e6f0ff;
    color:#008ed2;
    padding:8px 16px;
    border-radius:30px;
    font-size:13.5px;
    font-weight:600;
    margin-bottom:20px;
}

.section-badge i{
    font-size:12px;
}

.civil-left h2{
    font-family: 'DM Sans', sans-serif;
    font-size:38px;
    line-height:1.2;
    font-weight:700;
    color:#0d2944;
    margin-bottom:15px;
}

.title-line{
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom:25px;
}

.title-line::before{
    content:'';
    display:block;
    width:45px;
    height:3px;
    background:#008ed2;
    border-radius:2px;
}

.title-line::after{
    content:'';
    display:block;
    width:6px;
    height:3px;
    background:#008ed2;
    border-radius:2px;
}

.civil-left p{
    font-family: 'DM Sans', sans-serif;
    font-size:15px;
    line-height:1.6;
    color:#4a5568;
    margin-bottom:15px;
}

.feature-box{
    display:flex;
    align-items:center;
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:12px;
    padding:16px 20px;
    margin-bottom:16px;
    box-shadow:0 4px 12px rgba(0,0,0,0.02);
    transition:all 0.3s ease;
}

.feature-box:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 24px rgba(0,0,0,0.06);
}

.feature-icon{
    width:54px;
    height:54px;
    min-width:54px;
    border-radius:50%;
    background:#008ed2;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-divider{
    width:1px;
    height:40px;
    background:#e2e8f0;
    margin:0 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-content{
    flex-grow:1;
}

.feature-content h4{
    font-family: 'DM Sans', sans-serif;
    font-size:16px;
    font-weight:700;
    color:#0d2944;
    margin:0 0 4px 0;
}

.feature-content p{
    font-family: 'DM Sans', sans-serif;
    font-size:13px;
    line-height:1.5;
    color:#64748b;
    margin:0;
}

.feature-box:hover .feature-icon {
    transform: scale(1.08) rotate(8deg);
    background: #0d2944;
}

.feature-box:hover .feature-divider {
    background: #008ed2;
    height: 48px;
}

/* RIGHT CARDS GRID */

.civil-services-section .row {
    display:flex;
    flex-wrap:wrap;
}

.civil-services-section .col-md-6 {
    display:flex;
}

.civil-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.civil-card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.civil-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.civil-card-number {
    position: absolute;
    top: 0;
    left: 0;
    background: #008ed2;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 16px 0 16px 0;
    z-index: 10;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.civil-card-body {
    padding: 20px 18px;
    text-align: center;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #f1f5f9;
    transition: background 0.3s ease;
}

.civil-card-body h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0d2944;
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
}

.civil-card-line {
    width: 24px;
    height: 3px;
    background: #008ed2;
    margin-bottom: 12px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.civil-card-body p {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

/* Card Hover Interactions */
.civil-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 142, 210, 0.08);
    border-color: rgba(0, 142, 210, 0.15);
}

.civil-card:hover .civil-card-img-wrapper img {
    transform: scale(1.08);
}

.civil-card:hover .civil-card-number {
    background: #0d2944;
}

.civil-card:hover .civil-card-body {
    background: #fafcff;
}

.civil-card:hover .civil-card-body h3 {
    color: #008ed2;
}

.civil-card:hover .civil-card-line {
    width: 48px;
}

/* Responsive Styles */
@media(max-width:991px){
    .civil-left{
        padding-right:0;
        margin-bottom:40px;
    }
    .civil-left h2{
        font-size:32px;
    }
    .civil-card-img-wrapper {
        height: 220px;
    }
}
