/* --- Unified Communications Page Scoped Styles --- */

.uc-page .hero-section {
    position: relative;
    height: 60vh;
    min-height: 450px;
    background-image: url('/images/solutions/uc/uc-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.uc-page .hero-overlay {
    position: absolute;
    inset: 0;
    /* Subtle dark overlay as requested */
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.4));
    backdrop-filter: blur(2px);
    z-index: 1;
}

.uc-page .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeUp 1s ease-out;
}

.uc-page .hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Feature Blocks */
.uc-page .solution-block {
    padding: 100px 0;
    background-color: #ffffff;
}

.uc-page .solution-block:nth-child(even) {
    background-color: #f8fafc;
}

.uc-page .solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Images */
.uc-page .solution-img-wrapper {
    position: relative;
}

.uc-page .solution-img-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: transform 0.4s ease;
}

.uc-page .solution-img-wrapper img:hover {
    transform: translateY(-5px);
}

/* Typography */
.uc-page .solution-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    /* Navy */
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.uc-page .solution-content p {
    font-size: 18px;
    color: #475569;
    /* Slate 600 */
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Button */
.uc-page .btn-explore {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    background-color: var(--brand, #ff6a00);
    color: #ffffff;
    font-weight: 600;
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(255, 106, 0, 0.2);
}

.uc-page .btn-explore:hover {
    background-color: #e65e00;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 106, 0, 0.3);
    color: #ffffff;
}

/* Alternating Logic */
.uc-page .solution-block:nth-child(even) .solution-content {
    order: -1;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.uc-page .cta-section {
    padding: 40px 0;
    background-color: #ffffff;
    text-align: center;
    border-top: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .uc-page .hero-title {
        font-size: 48px;
    }

    .uc-page .solution-grid {
        gap: 40px;
    }

    .uc-page .solution-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .uc-page .hero-section {
        height: auto;
        padding: 120px 0;
    }

    .uc-page .hero-title {
        font-size: 36px;
    }

    .uc-page .solution-block {
        padding: 60px 0;
    }

    .uc-page .solution-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Reset Order for Mobile */
    .uc-page .solution-block:nth-child(even) .solution-content {
        order: 1;
    }

    .uc-page .solution-content {
        order: 1 !important;
    }

    .uc-page .solution-img-wrapper {
        order: 0 !important;
    }
}