/* ===== SOLUTIONS PAGE ===== */

/* Hero - Full Screen with Background */
.solutions-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 5, 8, 0.55) 0%,
        rgba(14, 14, 22, 0.45) 50%,
        rgba(5, 5, 8, 0.55) 100%
    );
    z-index: 1;
}

.hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(65, 105, 225, 0.15) 0%,
        transparent 60%
    );
    z-index: 2;
}

.solutions-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.solutions-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #5b7fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 6px 16px;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid rgba(91, 127, 255, 0.25);
    border-radius: 50px;
}

.solutions-hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.15;
}

.solutions-hero-content p {
    font-size: 16px;
    color: var(--text);
    line-height: 1.9;
    margin: 0;
}

/* ===== SOLUTIONS LIST ===== */
.solutions-list-section {
    background: var(--bg);
    padding: 100px 0;
    position: relative;
}

.solutions-list-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 30%,
        rgba(65, 105, 225, 0.07) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.solutions-list-section .container {
    position: relative;
    z-index: 1;
    max-width: 1323px;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Solution Row */
.solution-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.solution-row:last-child {
    margin-bottom: 0;
}

/* Right aligned (swap text and image) */
.solution-row.solution-right .solution-text {
    order: 2;
}

.solution-row.solution-right .solution-image {
    order: 1;
}

/* Number Badge - Hidden on desktop, shown on mobile */
.solution-number {
    display: none;
    font-size: 72px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    font-family: "Space Grotesk", sans-serif;
    align-self: flex-start;
    padding-top: 10px;
}

/* Text Content */
.solution-text {
    padding-right: 20px;
}

.solution-row.solution-right .solution-text {
    padding-right: 0;
    padding-left: 20px;
}

.solution-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.2;
}

.solution-text p {
    font-size: 16px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 28px;
}

.solution-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #4169e1 0%, #5b7fff 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.3);
}

.solution-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(65, 105, 225, 0.4);
    color: white;
}

/* Image */
.solution-image {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(91, 127, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.solution-row:hover .solution-image {
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(65, 105, 225, 0.25);
    border-color: rgba(91, 127, 255, 0.3);
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Empty state */
.solutions-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text);
}

.solutions-empty i {
    font-size: 48px;
    color: rgba(91, 127, 255, 0.3);
    margin-bottom: 16px;
    display: block;
}

.solutions-empty p {
    font-size: 16px;
    color: var(--text);
    margin: 0;
}

/* ===== CTA SECTION ===== */
.solutions-cta-section {
    background: var(--bg);
    padding: 0 0 100px;
    position: relative;
}

.solutions-cta-section .container {
    max-width: 1323px;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content {
    background: linear-gradient(
        135deg,
        rgba(12, 12, 20, 0.95) 0%,
        rgba(16, 16, 28, 0.85) 100%
    );
    border: 1px solid rgba(91, 127, 255, 0.15);
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(91, 127, 255, 0.08) 0%,
        rgba(65, 105, 225, 0.04) 100%
    );
    pointer-events: none;
}

.cta-content h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-buttons .theme-btn,
.cta-buttons .theme-btn.style-2 {
    background: linear-gradient(135deg, #ffffff 0%, #e8f0fe 100%);
    color: #019bff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta-buttons .theme-btn:hover,
.cta-buttons .theme-btn.style-2:hover {
    background: #fff;
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ===== ARABIC ===== */
[lang="ar"] .solutions-hero-content h1 {
    font-size: 48px;
}

[lang="ar"] .solutions-hero-content p {
    font-size: 15px;
}

[lang="ar"] .solution-text h2 {
    font-size: 32px;
}

[lang="ar"] .solution-text p {
    font-size: 15px;
}

[lang="ar"] .solution-btn {
    font-size: 13px;
}

[lang="ar"] .cta-content h2 {
    font-size: 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .solutions-hero-section {
        min-height: 100svh;
        padding: 150px 0 80px;
    }

    .solutions-hero-content h1 {
        font-size: 44px;
    }

    .solution-row {
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto;
        gap: 30px;
    }

    .solution-number {
        display: block;
        font-size: 56px;
        grid-row: 1 / 3;
    }

    .solution-row .solution-text {
        grid-column: 2;
        order: 1;
        padding-right: 0;
    }

    .solution-row .solution-image {
        grid-column: 1 / -1;
        order: 2;
    }

    .solution-row.solution-right .solution-text {
        order: 1;
        padding-left: 0;
        grid-column: 2;
    }

    .solution-row.solution-right .solution-image {
        order: 2;
    }

    .solution-text h2 {
        font-size: 30px;
    }

    .cta-content {
        padding: 50px 40px;
    }

    .cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .solutions-hero-section {
        min-height: 100svh;
        padding: 130px 0 60px;
    }

    .solutions-hero-content h1 {
        font-size: 36px;
    }

    .solutions-hero-content p {
        font-size: 15px;
    }

    .solutions-list-section {
        padding: 80px 0;
    }

    .solution-row {
        gap: 25px;
        margin-bottom: 60px;
    }

    .solution-number {
        display: block;
        font-size: 48px;
        grid-row: auto;
        padding-top: 0;
        margin-bottom: -10px;
    }

    .solution-text {
        padding-right: 0;
    }

    .solution-text h2 {
        font-size: 26px;
    }

    .solution-text p {
        font-size: 15px;
    }

    .solution-image {
        aspect-ratio: auto;
        height: auto;
        min-height: 200px;
    }

    .solution-image img {
        height: auto;
        min-height: 200px;
    }

    .solutions-cta-section {
        padding: 0 0 80px;
    }

    .cta-content {
        padding: 40px 30px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .theme-btn {
        width: 100%;
        justify-content: center;
    }

    [lang="ar"] .solutions-hero-content h1 {
        font-size: 32px;
    }

    [lang="ar"] .solution-text h2 {
        font-size: 24px;
    }

    [lang="ar"] .cta-content h2 {
        font-size: 24px;
    }
}
