/* ========================================================
   ELRAIAN HOME PAGE STYLES - ORIGINAL DESIGN RESTORATION
   ======================================================== */

.elraian-home-container {
    direction: rtl;
    text-align: right;
    font-family: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1e293b;
    line-height: 1.7;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px 60px;
    box-sizing: border-box;
}

.elraian-home-container *,
.elraian-home-container *::before,
.elraian-home-container *::after {
    box-sizing: border-box;
}

/* Constrain all SVGs */
.elraian-home-container svg {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

/* ==========================================
   1. HERO SECTION
   ========================================== */
.elraian-hero {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 0 60px;
}

.elraian-hero-content {
    flex: 1 1 55%;
    max-width: 650px;
}

.elraian-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0284c7;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.elraian-hero-badge svg {
    width: 16px;
    height: 16px;
    fill: #0284c7;
}

.elraian-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0b4f8a;
    line-height: 1.25;
    margin: 0 0 18px;
}

.elraian-hero-desc {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #475569;
    margin: 0 0 32px;
}

.elraian-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.elraian-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #0b63b6 0%, #004c99 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(11, 99, 182, 0.35);
    transition: all 0.3s ease;
}

.elraian-btn-primary:hover {
    background: linear-gradient(135deg, #084d8f 0%, #00366b 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(11, 99, 182, 0.45);
    color: #ffffff !important;
}

.elraian-btn-primary svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.elraian-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.elraian-btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
    color: #ffffff !important;
}

.elraian-btn-whatsapp svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.elraian-hero-image-wrap {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.elraian-hero-image {
    max-width: 380px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

/* ==========================================
   2. TOP 3 FEATURE CARDS
   ========================================== */
.elraian-feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}

.elraian-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.elraian-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #0b63b6, #ff9900);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.elraian-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.elraian-feature-card:hover::before {
    opacity: 1;
}

.elraian-feature-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #0b63b6;
}

.elraian-feature-icon-box svg {
    width: 28px;
    height: 28px;
    fill: #0b63b6;
}

.elraian-feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

.elraian-feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* ==========================================
   3. WHY CHOOSE US SECTION
   ========================================== */
.elraian-why-us {
    background: #f8fafc;
    border-radius: 24px;
    padding: 60px 40px;
    margin-bottom: 70px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.elraian-why-us-content {
    flex: 1 1 55%;
}

.elraian-section-pill {
    display: inline-block;
    background: #fef3c7;
    color: #b45309;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.elraian-section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #0b4f8a;
    line-height: 1.3;
    margin: 0 0 18px;
}

.elraian-section-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 32px;
}

.elraian-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.elraian-why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.elraian-check-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    background: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.elraian-check-icon svg {
    width: 14px;
    height: 14px;
    fill: #10b981;
}

.elraian-why-item-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
}

.elraian-why-item-info span {
    font-size: 0.88rem;
    color: #0b63b6;
    font-weight: 600;
}

.elraian-why-us-media {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
}

.elraian-why-us-img {
    max-width: 440px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   4. STATS BANNER
   ========================================== */
.elraian-stats-banner {
    background: linear-gradient(135deg, #0b4f8a 0%, #00366b 100%);
    border-radius: 24px;
    padding: 50px 30px;
    color: #ffffff;
    margin-bottom: 70px;
    box-shadow: 0 12px 30px rgba(11, 79, 138, 0.25);
    text-align: center;
}

.elraian-stats-header {
    max-width: 700px;
    margin: 0 auto 40px;
}

.elraian-stats-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
}

.elraian-stats-header p {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.7;
}

.elraian-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.elraian-stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px 16px;
    backdrop-filter: blur(8px);
}

.elraian-stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffb703;
    line-height: 1.1;
    margin-bottom: 8px;
    direction: ltr;
    display: block;
}

.elraian-stat-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
}

/* ==========================================
   5. PROFESSIONAL SERVICES GRID
   ========================================== */
.elraian-services-section {
    margin-bottom: 70px;
}

.elraian-section-center-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.elraian-section-center-head h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0b4f8a;
    margin: 0 0 12px;
}

.elraian-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.elraian-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elraian-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.elraian-service-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

.elraian-service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.elraian-service-card:hover .elraian-service-img-wrap img {
    transform: scale(1.05);
}

.elraian-service-body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.elraian-service-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px;
}

.elraian-service-body p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 20px;
    flex: 1;
}

.elraian-service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f0f7ff;
    color: #0b63b6 !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 30px;
    border: 1px solid #bfdbfe;
    transition: all 0.3s ease;
    width: 100%;
}

.elraian-service-btn:hover {
    background: #0b63b6;
    color: #ffffff !important;
    border-color: #0b63b6;
}

.elraian-service-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ==========================================
   6. CUSTOMER REVIEWS SECTION
   ========================================== */
.elraian-reviews-section {
    background: #f8fafc;
    border-radius: 24px;
    padding: 60px 40px;
    margin-bottom: 70px;
}

.elraian-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.elraian-review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.elraian-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.elraian-reviewer-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.elraian-reviewer-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0b63b6;
}

.elraian-reviewer-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
}

.elraian-reviewer-loc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.elraian-review-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.elraian-star-svg {
    width: 18px;
    height: 18px;
    fill: #f59e0b;
}

.elraian-review-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #475569;
    margin: 0;
    font-style: italic;
    background: #f8fafc;
    padding: 16px 18px;
    border-radius: 12px;
    border-right: 3px solid #0b63b6;
}

.elraian-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.elraian-google-badge svg {
    width: 16px;
    height: 16px;
}

/* ==========================================
   7. FAQ ACCORDION SECTION
   ========================================== */
.elraian-faq-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
}

.elraian-faq-content {
    flex: 1 1 60%;
}

.elraian-faq-media {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
}

.elraian-faq-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
}

.elraian-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.elraian-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.elraian-faq-item[open] {
    border-color: #93c5fd;
    box-shadow: 0 6px 20px rgba(11, 99, 182, 0.08);
}

.elraian-faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.elraian-faq-summary::-webkit-details-marker {
    display: none;
}

.elraian-faq-toggle-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: #f0f7ff;
    color: #0b63b6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.elraian-faq-item[open] .elraian-faq-toggle-icon {
    transform: rotate(180deg);
    background: #0b63b6;
    color: #ffffff;
}

.elraian-faq-toggle-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.elraian-faq-answer {
    padding: 0 22px 20px;
    font-size: 0.98rem;
    line-height: 1.8;
    color: #475569;
    border-top: 1px dashed #f1f5f9;
    padding-top: 14px;
}

/* ==========================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================== */
@media (max-width: 1024px) {
    .elraian-hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }
    .elraian-hero-actions {
        justify-content: center;
    }
    .elraian-hero-title {
        font-size: 2.4rem;
    }
    .elraian-feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .elraian-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .elraian-why-us {
        flex-direction: column;
        padding: 40px 24px;
    }
    .elraian-faq-section {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .elraian-hero-title {
        font-size: 2rem;
    }
    .elraian-feature-cards {
        grid-template-columns: 1fr;
    }
    .elraian-services-grid {
        grid-template-columns: 1fr;
    }
    .elraian-reviews-grid {
        grid-template-columns: 1fr;
    }
    .elraian-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .elraian-why-grid {
        grid-template-columns: 1fr;
    }
    .elraian-why-us {
        padding: 30px 16px;
    }
    .elraian-reviews-section {
        padding: 30px 16px;
    }
    .elraian-hero-image {
        max-width: 280px;
    }
}
