/* ==========================================================================
   CODEORBITZ SECTION 5: BENEFITS / BLOGS
   ========================================================================== */

.codeorbitz-benefits-section {
    padding-top: 35px;
    padding-bottom: 65px;
}

.benefits-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    position: relative;
}

.benefits-title-wrap {
    display: inline-block;
    position: relative;
    margin-bottom: 12px;
}

.benefits-burst-accent {
    position: absolute;
    top: -12px;
    left: -22px;
    display: inline-flex;
    transform: rotate(-10deg);
}

.benefits-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 3.8vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    margin: 0;
    letter-spacing: -0.5px;
}

.benefits-main-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 auto 18px;
    max-width: 580px;
}

.benefits-cta-wrap {
    margin-top: 8px;
}

.benefits-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #5da8ef;
    color: #ffffff !important;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(93, 168, 239, 0.28);
    transition: all 0.25s ease;
}

.benefits-cta-btn:hover {
    background: #4797e4;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(93, 168, 239, 0.36);
}

.benefits-cta-btn i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.benefits-cta-btn:hover i {
    transform: translateX(3px);
}

/* ── Cards Grid ── */
.benefits-grid {
    margin-top: 4px;
}

.codeorbitz-benefit-card {
    width: 100%;
    border-radius: 28px;
    padding: 22px 22px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.codeorbitz-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
}

/* ── Card Visual ── */
.benefit-card-visual {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-card-img-link {
    display: block;
    width: 100%;
}

.benefit-card-visual img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    transition: transform 0.35s ease;
}

.codeorbitz-benefit-card:hover .benefit-card-visual img {
    transform: scale(1.02);
}

/* ── Card Body ── */
.benefit-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.benefit-card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
    margin-bottom: 16px;
    font-weight: 400;
}

.benefit-card-title-wrap {
    position: relative;
    margin-top: auto;
    padding-top: 14px;
}

.benefit-card-burst {
    position: absolute;
    top: -2px;
    left: 0;
    display: inline-flex;
    transform: rotate(-10deg);
}

.benefit-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    padding-top: 4px;
}

.benefit-card-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.benefit-card-title a:hover {
    color: #0284c7;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .codeorbitz-benefits-section {
        padding-top: 25px;
        padding-bottom: 50px;
    }
    .benefits-main-title {
        font-size: 32px;
    }
    .benefit-card-title {
        font-size: 23px;
    }
}

@media (max-width: 576px) {
    .benefits-burst-accent {
        left: -12px;
        top: -14px;
        transform: scale(0.85);
    }
    .benefits-main-title {
        font-size: 27px;
    }
    .codeorbitz-benefit-card {
        padding: 18px 18px 24px;
        border-radius: 22px;
    }
}
