/* --- CUSTOM COMPACT & PREMIUM UI --- */

/* Reduce Section Padding */
.pt_120 { padding-top: 60px !important; }
.pb_120 { padding-bottom: 60px !important; }
.pb_90 { padding-bottom: 45px !important; }

/* Compact Cards (Services, Features) */
.service-block-one .inner-box, 
.feature-block-one .inner-box, 
.news-block-one .inner-box {
    padding: 35px 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    transition: all 300ms ease;
}

.service-block-one .inner-box:hover, 
.feature-block-one .inner-box:hover, 
.news-block-one .inner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

/* Typography scaling for compact cards */
.service-block-one .inner-box h3, 
.feature-block-one .inner-box h3,
.service-block-one .inner-box h4, 
.feature-block-one .inner-box h4 {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
}

.service-block-one .inner-box p, 
.feature-block-one .inner-box p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
}

/* Icon scaling */
.service-block-one .inner-box .icon-box, 
.feature-block-one .inner-box .icon-box {
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
    font-size: 30px !important;
    margin-bottom: 15px !important;
}

/* Flat UI Colors / Apple Style */
body {
    background-color: #f9fbfc;
}
.main-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
}


/* Fix Feature Section Grid */
.feature-section .inner-container {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px; /* This creates the gap/padding between the cards */
}

.feature-section .feature-block-one {
    float: none !important;
    width: calc(25% - 15px) !important;
}

@media only screen and (max-width: 991px) {
    .feature-section .feature-block-one {
        width: calc(50% - 10px) !important;
    }
}

@media only screen and (max-width: 767px) {
    .feature-section .feature-block-one {
        width: 100% !important;
    }
}
