﻿body {
    background: #f5f7fb;
    direction: rtl;
    text-align: right;
}

/* ===== HERO WRAPPER ===== */
.ab-hero-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    background: linear-gradient(135deg, #020617, #0f172a, #1e293b);
    box-shadow: 0 40px 90px rgba(0,0,0,.5);
    margin-top: 40px;
}

    .ab-hero-wrapper::before {
        content: "";
        position: absolute;
        top: -150px;
        right: -150px;
        width: 420px;
        height: 420px;
        background: radial-gradient(circle, #3b82f6, transparent 70%);
        opacity: .35;
    }

    .ab-hero-wrapper::after {
        content: "";
        position: absolute;
        bottom: -200px;
        left: -200px;
        width: 480px;
        height: 480px;
        background: radial-gradient(circle, #22c55e, transparent 70%);
        opacity: .25;
    }

.ab-hero-section {
    position: relative;
    padding: 140px 70px;
    color: #fff;
    z-index: 2;
}

.ab-hero-content {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 70px;
}

.ab-hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.25;
}

    .ab-hero-title span {
        background: linear-gradient(90deg,#38bdf8,#22c55e);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.ab-hero-desc {
    font-size: 20px;
    margin-top: 25px;
    line-height: 2;
    opacity: .95;
}

.ab-hero-actions {
    margin-top: 40px;
}

    .ab-hero-actions a {
        padding: 16px 45px;
        border-radius: 50px;
        font-weight: 800;
        font-size: 17px;
        text-decoration: none;
        display: inline-block;
        margin-left: 15px;
    }

.ab-btn-primary-hero {
    background: linear-gradient(135deg,#3b82f6,#2563eb);
    color: #fff;
    box-shadow: 0 20px 45px rgba(59,130,246,.6);
}

.ab-btn-outline-hero {
    border: 2px solid rgba(255,255,255,.5);
    color: #fff;
}

    .ab-btn-outline-hero:hover {
        background: rgba(255,255,255,.15);
    }

/* ===== HERO IMAGE ===== */
.ab-hero-image {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
    border-radius: 30px;
    padding: 16px;
}

    .ab-hero-image img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        border-radius: 24px;
        box-shadow: 0 25px 60px rgba(0,0,0,.6);
    }

/* ===== SECTIONS ===== */
.ab-section {
    margin-top: 100px;
}

.ab-info-card {
    background: #fff;
    border-radius: 26px;
    padding: 45px;
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
    height: 100%;
}

    .ab-info-card h4 {
        font-size: 28px;
        font-weight: 900;
        margin-bottom: 20px;
    }

    .ab-info-card p,
    .ab-info-card li {
        font-size: 18px;
        line-height: 2;
        color: #374151;
    }

/* ===== SERVICES ===== */
.ab-service-box {
    background: #fff;
    border-radius: 28px;
    padding: 45px 25px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0,0,0,.1);
    height: 100%;
    transition: .35s;
}

    .ab-service-box:hover {
        transform: translateY(-10px);
    }

    .ab-service-box span {
        font-size: 52px;
        display: block;
        margin-bottom: 20px;
    }

    .ab-service-box h6 {
        font-size: 22px;
        font-weight: 900;
        margin-bottom: 12px;
    }

    .ab-service-box p {
        font-size: 16px;
        color: #6b7280;
        line-height: 1.8;
    }

/* ===== CTA ===== */
.ab-cta-section {
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: #fff;
    border-radius: 35px;
    padding: 90px 40px;
    text-align: center;
    margin: 130px 0;
    box-shadow: 0 35px 80px rgba(37,99,235,.55);
}

    .ab-cta-section h3 {
        font-size: 38px;
        font-weight: 900;
    }

    .ab-cta-section p {
        font-size: 20px;
        margin-top: 15px;
        opacity: .95;
    }

.ab-cta-btn {
    background: #fff;
    color: #020617;
    padding: 18px 65px;
    border-radius: 60px;
    font-weight: 900;
    display: inline-block;
    margin-top: 35px;
    font-size: 18px;
    text-decoration: none;
}

    .ab-cta-btn:hover {
        background: #020617;
        color: #fff;
    }

.ab-value-card .ab-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: transform .3s, box-shadow .3s;
}

    .ab-value-card .ab-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 60px rgba(0,0,0,.12);
    }

.ab-value-card h6 {
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 18px;
}

.ab-value-card p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

.ab-icon {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.ab-contact-form,
.ab-contact-info {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

    .ab-contact-form label {
        font-weight: 600;
    }

    .ab-contact-form .form-control {
        border-radius: 10px;
        padding: 12px 15px;
    }

    .ab-contact-form button {
        background: linear-gradient(135deg,#3b82f6,#2563eb);
        color: #fff;
        font-weight: 700;
        border: none;
        border-radius: 50px;
        padding: 12px 40px;
        transition: 0.3s;
    }

        .ab-contact-form button:hover {
            opacity: 0.9;
        }

    .ab-contact-info h5,
    .ab-contact-info h6 {
        font-weight: 800;
    }

    .ab-contact-info p {
        font-size: 16px;
        color: #374151;
        margin-bottom: 10px;
    }

.ab-social-icons a {
    font-size: 22px;
    margin-right: 15px;
    color: #2563eb;
    transition: 0.3s;
}

    .ab-social-icons a:hover {
        color: #3b82f6;
    }

.ab-portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    cursor: pointer;
    transition: transform 0.3s;
}

    .ab-portfolio-card:hover {
        transform: translateY(-10px);
    }

.ab-portfolio-inner img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.ab-portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37,99,235,0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: center;
    padding: 15px;
    border-radius: 20px;
}

.ab-portfolio-card:hover .ab-portfolio-overlay {
    opacity: 1;
}

.ab-portfolio-overlay h6 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ab-portfolio-link {
    display: inline-block;
    padding: 8px 20px;
    background: #fff;
    color: #2563eb;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

    .ab-portfolio-link:hover {
        background: #2563eb;
        color: #fff;
    }

/* =========================
               📱 MOBILE RESPONSIVE
               ========================= */
@media (max-width: 768px) {
    .ab-hero-wrapper {
        border-radius: 25px;
    }
    .ab-portfolio-inner img {
        height: 200px;
    }
    .ab-contact-form,
    .ab-contact-info {
        margin-bottom: 20px;
    }
    .ab-value-card {
        margin-bottom: 20px;
    }
    .ab-hero-section {
        padding: 90px 25px;
    }

    .ab-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ab-hero-title {
        font-size: 34px;
    }

    .ab-hero-desc {
        font-size: 17px;
        line-height: 1.8;
    }

    .ab-hero-actions a {
        display: block;
        width: 100%;
        margin: 12px 0;
    }

    .ab-hero-image img {
        height: 260px;
    }

    .ab-section {
        margin-top: 70px;
    }

    .ab-info-card {
        padding: 30px;
    }

        .ab-info-card h4 {
            font-size: 22px;
        }

        .ab-info-card p,
        .ab-info-card li {
            font-size: 16px;
        }

    .ab-service-box {
        padding: 30px 20px;
    }

        .ab-service-box span {
            font-size: 42px;
        }

        .ab-service-box h6 {
            font-size: 18px;
        }

    .ab-cta-section {
        padding: 70px 25px;
        margin: 90px 0;
        border-radius: 25px;
    }

        .ab-cta-section h3 {
            font-size: 28px;
        }

        .ab-cta-section p {
            font-size: 17px;
        }

    .ab-cta-btn {
        width: 100%;
        padding: 16px;
    }
}

