/* ==========================================================================
   خدمات السداد - تصميم هادئ، بسيط وراقي (Calm Minimal Light Design)
   Backgrounds: Soft White & Light Gray (#f8fafc / #ffffff)
   ========================================================================== */

:root {
    --bg-page: #f8fafc;
    --bg-white: #ffffff;
    --bg-gray: #f1f5f9;
    --bg-dark: #0f172a;
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --primary-blue: #1e3a8a;
    --primary-blue-hover: #1e40af;
    --primary-green: #10b981;
    --whatsapp-green: #25d366;
    --whatsapp-hover: #22bf5b;
    
    --border-color: #e2e8f0;
    --border-subtle: #edf2f7;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.08);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 50px;

    --transition: all 0.2s ease-in-out;
}

/* ----------------------------------------------------
   Base & Reset
---------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Alexandria', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.65;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----------------------------------------------------
   Top Bar
---------------------------------------------------- */
.top-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    gap: 18px;
    align-items: center;
}

.top-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-contact a {
    color: var(--primary-blue);
    font-weight: 700;
    direction: ltr;
    display: inline-block;
}

/* ----------------------------------------------------
   Header
---------------------------------------------------- */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-symbol {
    width: 38px;
    height: 38px;
    background: var(--primary-blue);
    color: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ----------------------------------------------------
   Buttons
---------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-blue);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-gray);
    border-color: var(--primary-blue);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

/* ----------------------------------------------------
   Hero Section (Calm White & Light Gray)
---------------------------------------------------- */
.hero-section {
    background: var(--bg-white);
    padding: 55px 0 65px;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Notice / Disclaimer Card */
.notice-card {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-right: 4px solid #f59e0b;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    text-align: right;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
}

.notice-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #b45309;
    margin-bottom: 6px;
}

.notice-title i {
    font-size: 1.05rem;
    color: #d97706;
}

.notice-text {
    font-size: 0.84rem;
    line-height: 1.65;
    color: #92400e;
    margin: 0;
    font-weight: 500;
}

.hero-title {
    font-size: 2.35rem;
    font-weight: 900;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 16px;
}

.hero-title .highlight {
    color: var(--primary-blue);
    position: relative;
}

.hero-desc {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 22px;
}

.cities-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.cities-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

.city-tag {
    background: var(--bg-gray);
    color: var(--text-main);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.city-tag i {
    color: var(--primary-blue);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero Media (Image & Bank Badges) */
.hero-media {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.consultant-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 360px;
}

.consultant-image {
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: top center;
}

.consultant-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.consultant-tag i {
    color: #10b981;
    font-size: 1rem;
}

.banks-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 360px;
}

.bank-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.bank-box img {
    max-height: 38px;
    width: 100%;
    object-fit: contain;
}

/* ----------------------------------------------------
   Services Section (2x2 Grid Layout)
---------------------------------------------------- */
.section {
    padding: 55px 0;
}

.services-section {
    background: var(--bg-page);
}

.section-title-wrap {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 35px;
}

.section-title-wrap h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.section-title-wrap p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* عمودين متساوين */
    gap: 24px;
    max-width: 850px; /* للتحكم في عرض الـ Grid ليصبح متناسقاً */
    margin: 0 auto;
}

.service-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-gray);
    color: var(--primary-blue);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
}

.service-box h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.service-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ----------------------------------------------------
   Trust Highlights Strip
---------------------------------------------------- */
.trust-section {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.trust-item i {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
    display: inline-block;
}

.trust-item h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.trust-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ----------------------------------------------------
   Simple CTA Box
---------------------------------------------------- */
.cta-section {
    background: var(--bg-page);
    padding: 10px 0 60px;
}

.cta-inner {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 38px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    max-width: 820px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.cta-inner p {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ----------------------------------------------------
   Footer
---------------------------------------------------- */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-inner strong {
    color: var(--text-main);
}

.footer-inner a {
    color: var(--primary-blue);
    font-weight: 700;
    direction: ltr;
    display: inline-block;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ----------------------------------------------------
   Floating Action Buttons
---------------------------------------------------- */
.floating-btns {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-whatsapp {
    background: var(--whatsapp-green);
}

.float-phone {
    background: var(--primary-blue);
}

/* ----------------------------------------------------
   Mobile Bottom Fixed Bar
---------------------------------------------------- */
.mobile-bottom {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 10px 14px;
    z-index: 998;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-bottom .btn {
    width: 100%;
    padding: 12px;
    font-size: 0.92rem;
}

/* ----------------------------------------------------
   Responsive Media Queries
---------------------------------------------------- */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cities-row {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .top-bar-inner {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.85rem;
    }

    /* تحويل الكروت إلى عمود واحد (1fr) في الشاشات الصغيرة للموبايل لتكون واضحة */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .mobile-bottom {
        display: grid;
    }

    .floating-btns {
        bottom: 74px;
        left: 14px;
    }

    .float-btn {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }

    body {
        padding-bottom: 60px;
    }
}