.mf-benefits{
padding:80px 20px;
background:#f8f9fc;
}

.container{
width:90%;
max-width:1250px;
margin:auto;
}

.section-title{
text-align:center;
margin-bottom:60px;
}

.section-title h2{
font-size:42px;
color:#2458A4;
margin-bottom:20px;
font-weight:700;
position:relative;
display:inline-block;
}

.section-title h2:after{
content:"";
width:80px;
height:4px;
background:#F7CD47;
position:absolute;
left:50%;
transform:translateX(-50%);
bottom:-12px;
border-radius:10px;
}

.section-title p{
max-width:900px;
margin:30px auto 0;
font-size:17px;
line-height:1.8;
color:#666;
}

.benefit-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.benefit-box{
background:#fff;
padding:35px 30px;
border-radius:15px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.4s;
position:relative;
overflow:hidden;
}

.benefit-box:before{
content:"";
position:absolute;
left:0;
top:0;
height:5px;
width:100%;
background:#F7CD47;
transform:scaleX(0);
transition:.4s;
}

.benefit-box:hover:before{
transform:scaleX(1);
}

.benefit-box:hover{
transform:translateY(-10px);
box-shadow:0 18px 35px rgba(0,0,0,.15);
}

.icon{
width:75px;
height:75px;
background:#2458A4;
color:#fff;
font-size:30px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
margin-bottom:25px;
transition:.4s;
}

.benefit-box:hover .icon{
background:#F7CD47;
transform:rotate(360deg);
}

.benefit-box h3{
font-size:22px;
margin-bottom:15px;
color:#2458A4;
}

.benefit-box p{
font-size:15px;
line-height:1.8;
color:#666;
}

@media(max-width:991px){

.section-title h2{
font-size:34px;
}

}

@media(max-width:768px){

.mf-benefits{
padding:60px 15px;
}

.section-title h2{
font-size:30px;
}

.section-title p{
font-size:15px;
}

.benefit-grid{
grid-template-columns:1fr;
}

.benefit-box{
padding:30px 25px;
}

.icon{
width:65px;
height:65px;
font-size:25px;
}

.benefit-box h3{
font-size:20px;
}

}

.hero{

min-height:65vh;
display:flex;
align-items:center;
background:linear-gradient(135deg,#2458A4 0%,#3d4a66 100%);
padding:70px 8%;
overflow:hidden;

}

.container {
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers horizontally */
    gap: 60px;
    flex-wrap: wrap;
}
}

.hero-content{

flex:1;
color:#fff;

}

.sub-title{

display:inline-block;
background:#F7CD47;
padding:8px 18px;
border-radius:30px;
font-size:15px;
font-weight:600;
margin-bottom:20px;

}

.hero-content h1{

font-size:58px;
line-height:1.2;
margin-bottom:25px;
font-weight:800;

}

.hero-content p{

font-size:18px;
line-height:1.9;
color:#d8dce5;
margin-bottom:35px;
max-width:650px;

}

.hero-buttons{

display:flex;
gap:18px;
margin-bottom:45px;
flex-wrap:wrap;

}

.btn-primary{

text-decoration:none;
background:#F7CD47;
color:#fff;
padding:15px 34px;
border-radius:50px;
font-weight:600;
transition:.4s;

}

.btn-primary:hover{

background:#fff;
color:#2458A4;

}

.btn-secondary{

text-decoration:none;
border:2px solid #F7CD47;
color:#fff;
padding:15px 34px;
border-radius:50px;
font-weight:600;
transition:.4s;

}

.btn-secondary:hover{

background:#F7CD47;

}

.hero-stats{

display:flex;
gap:50px;
margin-top:10px;
flex-wrap:wrap;

}

.hero-stats h3{

font-size:34px;
color:#F7CD47;
margin-bottom:5px;

}

.hero-stats p{

margin:0;
font-size:15px;
color:#ddd;

}

.hero-image{

flex:1;
text-align:center;

}

.hero-image img{

width:100%;
max-width:560px;
border-radius:20px;
box-shadow:0 25px 60px rgba(0,0,0,.35);
animation:float 5s ease-in-out infinite;

}

@keyframes float{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-15px);
}

100%{
transform:translateY(0px);
}

}

@media(max-width:992px){

.container{

flex-direction:column-reverse;
text-align:center;

}

.hero-content h1{

font-size:42px;

}

.hero-content p{

margin:auto auto 35px;

}

.hero-buttons{

justify-content:center;

}

.hero-stats{

justify-content:center;

}

}

@media(max-width:768px){

.hero{

padding:60px 20px;
min-height:auto;

}

.hero-content h1{

font-size:34px;

}

.hero-content p{

font-size:16px;
line-height:1.8;

}

.hero-image img{

max-width:100%;

}

.hero-stats{

gap:30px;

}

.hero-stats h3{

font-size:28px;

}

}