/* =====================================================
   Unity Partner Page Styles
   Matches Crion Technologies site design system
   ===================================================== */

/* ----- Hero Section ----- */
#unity_hero {
    background: linear-gradient(244deg, rgb(10 0 73) 40%, rgb(21 0 49) 50%);
    position: relative;
    display: flex;
    align-items: center;
    min-height: 560px;
}

#unity_hero::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/assets/img/3334896.jpg) no-repeat;
    background-position: right;
    z-index: 1;
    filter: blur(8px);
}

#unity_hero .container {
    z-index: 10;
    position: relative;
}

.unity_hero_title {
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    font-family: "Outfit", sans-serif;
}

.unity_hero_sub {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
    max-width: 60ch;
}

/* Unity Partner Badge */
.unity_badge_wrap {
    margin-bottom: 1.5rem;
}

.unity_partner_badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px 20px;
}

.unity_logo_img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.unity_badge_label {
    color: #fff;
    font-size: 13px;
    font-family: "Lexend Deca", sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 12px;
}

/* Hero right visual */
.unity_hero_visual {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    backdrop-filter: blur(12px);
}

.unity_hero_logo_img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
}

.unity_hero_visual_sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-family: "Lexend Deca", sans-serif;
    letter-spacing: 1px;
    margin: 0;
}

/* ----- Shared Utilities ----- */
.unity_light_bg {
    background: #f9fafa;
}

.unity_section_sub {
    color: rgba(0, 0, 0, 0.55);
    font-size: 16px;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

/* ----- About Unity (Video Section) ----- */
#about_unity h2 {
    color: #06337e;
    margin-bottom: 1.25rem;
}

#about_unity p {
    opacity: 0.75;
    line-height: 1.8;
    margin-bottom: 1rem;
}

#about_unity .Book-btn {
    margin-top: 0.75rem;
    display: inline-block;
}

.unity_about_visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.unity_stat_card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #06337e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unity_stat_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(6, 51, 126, 0.1);
}

.unity_stat_num {
    font-size: 42px;
    font-weight: 700;
    color: #06337e;
    font-family: "Outfit", sans-serif;
    line-height: 1;
}

.unity_stat_label {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.5;
    font-family: "Ubuntu", sans-serif;
}

/* ----- Offerings Grid ----- */
.unity_offerings_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.unity_offering_card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease;
    position: relative;
}

.unity_offering_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0c53cd 0%, #06337e 100%);
    border-radius: 20px 20px 0 0;
}

.unity_offering_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(6, 51, 126, 0.1);
}

.unity_offering_icon {
    font-size: 28px;
    color: #06337e;
    margin-bottom: 1rem;
}

.unity_offering_card h4 {
    color: #06337e;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.unity_offering_card p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.7;
    margin: 0;
}

/* ----- Use Cases Grid ----- */
.unity_usecases_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.unity_usecase_card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.unity_usecase_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(6, 51, 126, 0.1);
}

.unity_usecase_num {
    font-size: 36px;
    font-weight: 700;
    color: rgba(6, 51, 126, 0.12);
    font-family: "Outfit", sans-serif;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.unity_usecase_card h4 {
    color: #06337e;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.unity_usecase_card p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.7;
    margin: 0;
}

/* ----- Workflow Steps ----- */
.unity_workflow_steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.unity_workflow_step {
    flex: 1;
    min-width: 180px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.unity_workflow_step:hover {
    box-shadow: 0 8px 24px rgba(6, 51, 126, 0.1);
}

.unity_step_num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0c53cd 0%, #06337e 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-family: "Outfit", sans-serif;
}

.unity_step_content h4 {
    color: #06337e;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.unity_step_content p {
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.65;
    margin: 0;
}

.unity_workflow_arrow {
    font-size: 24px;
    color: #06337e;
    opacity: 0.35;
    padding: 0 12px;
    align-self: center;
    font-weight: 300;
}

/* ----- Industry Scenarios ----- */
.unity_scenarios_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.unity_scenario_card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #06337e;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.unity_scenario_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(6, 51, 126, 0.1);
}

.unity_scenario_card h4 {
    color: #06337e;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.unity_scenario_card p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.7;
    margin: 0;
}

/* ----- Crion + Unity Together ----- */
#unity_crion_together h2 {
    color: #06337e;
    margin-bottom: 1.25rem;
}

#unity_crion_together p {
    opacity: 0.75;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.unity_crion_points {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.unity_crion_points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 15px;
    line-height: 1.5;
}

.unity_crion_points li img {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Partner Visual */
.unity_partner_visual {
    background: #f9fafa;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.unity_partner_logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.partner_logo_box {
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crion_box {
    background: linear-gradient(135deg, #06337e 0%, #0c53cd 100%);
}

.crion_box img {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.unity_box {
    background: #000;
}

.unity_partner_logo_img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.partner_plus {
    font-size: 32px;
    font-weight: 300;
    color: #06337e;
    opacity: 0.5;
}

.unity_partner_tagline {
    color: #06337e;
    font-family: "Lexend Deca", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
    opacity: 0.75;
}

/* ----- Contact / CTA Section ----- */
.unity_dark_bg {
    background: linear-gradient(#06337e 0%, #03173a 100%);
}

.unity_contact_title {
    color: #fff !important;
    margin-bottom: 1rem;
}

.unity_contact_sub {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
}

.unity_contact_btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.unity_contact_email {
    color: rgba(255, 255, 255, 0.8);
    font-family: "Lexend Deca", sans-serif;
    font-size: 14px;
    text-decoration: underline;
    transition: color 0.3s;
}

.unity_contact_email:hover {
    color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .unity_offerings_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .unity_usecases_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .unity_workflow_steps {
        flex-direction: column;
        gap: 1rem;
    }

    .unity_workflow_arrow {
        transform: rotate(90deg);
        align-self: flex-start;
        padding: 0 0 0 1rem;
    }

    .unity_scenarios_grid {
        grid-template-columns: 1fr;
    }

    .unity_hero_title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .unity_offerings_grid {
        grid-template-columns: 1fr;
    }

    .unity_usecases_grid {
        grid-template-columns: 1fr;
    }

    .unity_partner_logos {
        flex-direction: column;
    }

    .partner_plus {
        transform: rotate(90deg);
    }

    .unity_contact_btns {
        flex-direction: column;
        gap: 1rem;
    }
}
