/* =============================================
   VEER Homepage Premium - Visibility + Cards
   ============================================= */

/* Feature strip - force visible icons & text */
.ref-feature-inner .feature-bar-item {
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
    border: 1px solid #d5e0ed;
    border-radius: 12px;
    padding: 12px 8px !important;
    text-align: center;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: var(--transition);
    border: 1px solid #d5e0ed;
}

.ref-feature-inner .feature-bar-item:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.15);
    transform: translateY(-2px) !important;
}

.ref-feature-inner .feature-bar-item i {
    font-size: 22px !important;
    margin-bottom: 6px !important;
    color: var(--secondary) !important;
    display: block !important;
    opacity: 1 !important;
}

.ref-feature-inner .feature-bar-item span {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #0f2744 !important;
    display: block !important;
    line-height: 1.3 !important;
    opacity: 1 !important;
}

.ref-stats-inline .ref-stat-box i {
    color: var(--secondary) !important;
}

.ref-stats-inline .ref-stat-box strong {
    color: var(--primary) !important;
}

.ref-stats-inline .ref-stat-box span {
    color: #5a6478 !important;
}

/* Premium service cards */
.ref-service-cards-desktop {
    align-items: stretch;
}

.ref-svc-card {
    border-radius: 20px !important;
    border: 1px solid rgba(10, 46, 115, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ref-svc-head {
    padding: 24px 22px 18px !important;
    position: relative;
    overflow: hidden;
}

.ref-svc-head::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.ref-svc-head h3 {
    font-size: 17px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    margin-bottom: 14px !important;
    position: relative;
    z-index: 1;
}

.ref-svc-head h3 i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 16px;
}

.ref-svc-head li {
    font-size: 13px !important;
    font-weight: 400;
    padding: 4px 0 !important;
}

.ref-svc-head li i {
    color: rgba(255, 255, 255, 0.95) !important;
    opacity: 1 !important;
}

.ref-svc-mini-icons span {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 10px !important;
    font-weight: 500;
}

.ref-svc-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ref-svc-body img {
    height: 200px !important;
    transition: transform 0.5s ease;
}

.ref-svc-card:hover .ref-svc-body img {
    transform: scale(1.03);
}

.ref-svc-body-footer {
    padding: 16px 20px 20px !important;
    margin-top: auto;
}

.ref-svc-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(10, 46, 115, 0.2);
}

.ref-svc-orange .ref-svc-btn-light {
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.3);
}

/* GET IN TOUCH - premium + match service cards height */
.ref-contact-section {
    padding: 28px 0 !important;
    background: linear-gradient(165deg, #041530 0%, #0a2e73 45%, #0d3d8f 100%) !important;
}

.ref-contact-grid {
    align-items: stretch !important;
    min-height: 0;
}

.ref-contact-title {
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    margin-bottom: 6px;
}

.ref-contact-form {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 18px !important;
    padding: 24px 22px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.ref-contact-form form {
    display: block;
}

.ref-contact-form .row.g-3,
.ref-contact-form .row.g-2 {
    flex: none;
}

.ref-contact-side {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ref-contact-info-card {
    flex: 1;
}

.ref-why-checklist {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 18px;
}

.ref-why-checklist h5 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.ref-why-checklist li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 400;
    padding: 4px 0;
}

.ref-why-checklist li i {
    color: var(--secondary);
}

.ref-warranty-seal {
    background: linear-gradient(135deg, #ffd700, #ffaa00) !important;
    color: var(--primary) !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Desktop: services + contact balanced heights */
@media (min-width: 992px) {
    .ref-services .ref-service-cards-desktop {
        min-height: 480px;
    }

    .ref-contact-grid {
        min-height: 480px;
    }

    .page-home .ref-home-strip {
        padding: 10px 0 6px;
    }

    .ref-feature-inner {
        margin-top: 4px !important;
    }
}

@media (max-width: 991px) {
    .ref-feature-inner .feature-bar-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }

    .ref-feature-inner .feature-bar-item span {
        font-size: 9px !important;
    }

    .ref-contact-side {
        gap: 10px !important;
    }
}
