/* =========================================
MAIN WRAPPER
========================================= */

.hp-modern-wrapper{
    background:#0a72a9;
    padding:18px 0 35px;
}

.hp-modern-mainbox{
    background:#f4f6f9;
    border-radius:30px;
    padding:22px;
    box-shadow:0 12px 35px rgba(0,0,0,.12);
}

/* =========================================
SERVICES SECTION
========================================= */

.modern-services-section{
    display:flex;
    gap:20px;
    align-items:stretch;
}

/* LEFT STRIP */

.services-strip{
    width:92px;
    min-width:92px;
    background:linear-gradient(180deg,#0f766e,#115e59);
    border-radius:24px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.services-strip span{
    writing-mode:vertical-rl;
    transform:rotate(180deg);
    color:#fff;
    font-size:22px;
    font-weight:800;
    letter-spacing:1px;
}

/* GRID */

.modern-services-grid{
    flex:1;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

/* SERVICE CARD */

.modern-service-card{
    background:#fff;
    border-radius:20px;
    padding:18px;
    display:flex;
    align-items:center;
    gap:18px;
    min-height:110px;
    text-decoration:none !important;
    border:1px solid #e5e7eb;
    transition:.3s ease;
}

.modern-service-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.10);
}

/* ICON */

.service-icon-box{
    width:72px;
    height:72px;
    min-width:72px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.service-icon-box img{
    width:42px;
    height:42px;
    object-fit:contain;
}

/* ICON COLORS */

.blue-bg{background:#dbeafe;}
.orange-bg{background:#ffedd5;}
.yellow-bg{background:#fef3c7;}
.green-bg{background:#dcfce7;}
.purple-bg{background:#f3e8ff;}
.red-bg{background:#fee2e2;}
.cyan-bg{background:#cffafe;}

/* TEXT */

.service-text h3{
    margin:0;
    font-size:16px;
    font-weight:700;
    line-height:1.4;
    color:#000;
}

.service-text p{
    margin-top:6px;
    font-size:14px;
    color:#64748b;
}

/* =========================================
BOTTOM SECTION
========================================= */

.consumer-bottom-grid{
    margin-top:28px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

/* CARD */

.consumer-modern-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    border:1px solid #e5e7eb;
}

/* HEADERS */

.consumer-card-header{
    display:flex;
    align-items:center;
    gap:14px;
    padding:16px 20px;
}

.consumer-card-header img{
    width:28px;
}

.consumer-card-header h3{
    margin:0;
    color:#fff;
    font-size:22px;
    font-weight:700;
}

.blue-header{
    background:#1565c0;
}

.orange-header{
    background:#ef6c00;
}

.green-header{
    background:#0f9d58;
}

/* BODY */

.consumer-card-body{
    padding:18px;
    min-height:260px;
}

/* LINKS */

.modern-link-list{
    list-style:none;
    margin:0;
    padding:0;
}

.modern-link-list li{
    margin-bottom:14px;
}

.modern-link-list li a{
    display:flex;
    align-items:center;
    gap:12px;
    background:#f8fafc;
    padding:14px;
    border-radius:12px;
    color:#0f172a;
    font-size:15px;
    font-weight:600;
    text-decoration:none !important;
    transition:.3s;
}

.modern-link-list li a:hover{
    background:#eff6ff;
    transform:translateX(4px);
}

/* =========================================
BOTTOM IMAGE BUTTONS
========================================= */

.bottom-image-grid{
    margin-top:28px;
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:16px;
}

.bottom-img-card{
    display:block;
    border-radius:16px;
    overflow:hidden;
    transition:.3s ease;
}

.bottom-img-card img{
    width:100%;
    display:block;
    border-radius:16px;
}

.bottom-img-card:hover{
    transform:translateY(-4px);
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:1200px){

    .modern-services-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .consumer-bottom-grid{
        grid-template-columns:1fr;
    }

    .bottom-image-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .hp-modern-mainbox{
        padding:14px;
        border-radius:20px;
    }

    .modern-services-section{
        flex-direction:column;
    }

    .services-strip{
        width:100%;
        min-width:100%;
        height:58px;
        border-radius:16px;
    }

    .services-strip span{
        writing-mode:horizontal-tb;
        transform:none;
        font-size:20px;
    }

    .modern-services-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .modern-service-card{
        padding:14px;
        min-height:auto;
    }

    .service-icon-box{
        width:58px;
        height:58px;
        min-width:58px;
    }

    .service-icon-box img{
        width:34px;
        height:34px;
    }

    .service-text h3{
        font-size:15px;
    }

    .service-text p{
        font-size:12px;
    }

    .consumer-card-header h3{
        font-size:18px;
    }

    .consumer-card-body{
        padding:14px;
        min-height:auto;
    }

    .bottom-image-grid{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

}


/* =========================================
MODERN PREMIUM ACTION CARDS
========================================= */

.pro-service-strip{
display:grid;
grid-template-columns:repeat(6,1fr);
gap:12px;
margin:18px 0;
}

.pro-strip-item{
position:relative;
display:flex;
align-items:center;
justify-content:space-between;
padding:5px 10px;
min-height:72px;
border-radius:14px;
text-decoration:none !important;
background:#ffffff;
border:1px solid #292a2c;
overflow:hidden;
transition:all .25s ease;
box-shadow:
0 2px 10px rgba(0,0,0,0.05);
}

.pro-strip-item:hover{
transform:translateY(-4px);
box-shadow:
0 12px 24px rgba(0,0,0,0.10);
border-color:#cfdbe7;
}

.pro-strip-item::before{
content:'';
position:absolute;
left:0;
top:0;
width:6px;
height:100%;
background:linear-gradient(180deg,#0b6aa2,#11b4df);
}

.strip-left{
display:flex;
align-items:center;
gap:12px;
flex:1;
}

.strip-icon{
width:44px;
height:44px;
min-width:44px;
border-radius:12px;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,#0c6ea7,#20bde8);
box-shadow:0 4px 10px rgba(10,110,167,0.18);
}

.strip-icon i{
font-size:20px;
color:#fff;
}

.strip-content{
display:flex;
flex-direction:column;
}

.strip-content h5{
margin:0;
font-size:13px;
font-weight:700;
line-height:1.35;
color:#13324a;
text-transform:uppercase;
letter-spacing:.2px;
}

.strip-content span{
font-size:11px;
color:#6c7f92;
margin-top:2px;
}

.strip-arrow{
font-size:18px;
color:#9db2c5;
transition:all .25s ease;
margin-left:10px;
}

.pro-strip-item:hover .strip-arrow{
transform:translateX(4px);
color:#0b6aa2;
}

/* COLOR VARIANTS */

.blue-card .strip-icon{
background:linear-gradient(135deg,#005d93,#1296db);
}

.cyan-card .strip-icon{
background:linear-gradient(135deg,#00a0d6,#2dc7f4);
}

.orange-card .strip-icon{
background:linear-gradient(135deg,#f08a00,#ffb347);
}

.green-card .strip-icon{
background:linear-gradient(135deg,#0d9b65,#2fc78d);
}

/* RESPONSIVE */

@media(max-width:1200px){

.pro-service-strip{
grid-template-columns:repeat(3,1fr);
}

}

@media(max-width:768px){

.pro-service-strip{
grid-template-columns:1fr;
gap:10px;
}

.pro-strip-item{
min-height:64px;
padding:12px;
border-radius:12px;
}

.strip-content h5{
font-size:12px;
}

.strip-content span{
font-size:10px;
}

.strip-icon{
width:40px;
height:40px;
min-width:40px;
}

.strip-icon i{
font-size:18px;
}

}