
:root {
    --brand-primary: #2563EB;
    --brand-primary-hover: #1d4ed8;
    --placeholder-bg: #f3f4f6;
    --placeholder-border: #cbd5e1;
    --placeholder-text: #94a3b8;
    --text-muted: #6b7280;
}



body {
    font-family: 'Inter', sans-serif;
    color: #1f2937;
}

/* ===== Shared brand elements ===== */

.brand-icon {
    width: 36px;
    height: 36px;
    background-color: var(--brand-primary);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-primary:hover {
    background-color: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
}

.btn-outline-primary {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

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

.text-primary {
    color: var(--brand-primary) !important;
}

/* ===== Navbar ===== */

.public-navbar .nav-link {
    color: #374151;
    font-weight: 500;
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link.active {
    color: var(--brand-primary);
}

/* ===== Generic placeholder (reused by hero, features, steps) ===== */

.image-placeholder {
    width: 100%;
    background-color: var(--placeholder-bg);
    border: 2px dashed var(--placeholder-border);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--placeholder-text);
    font-weight: 500;
    text-align: center;
}

.hero-image-placeholder {
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
}

.feature-image-placeholder {
    aspect-ratio: 4 / 4;
        width: 100%;
    height: 220px;      /* جربي 200 أو 220 أو 240 */
    object-fit: contain;
}

.step-image-placeholder {
    max-width: 100px;
    aspect-ratio: 1 / 1;
    background-color: #fff;
}

/* ===== Hero ===== */

.hero-section {
    padding-block: 4rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ===== Sections ===== */

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 640px;
    margin-inline: auto;
}

.features-section {
        padding-block: 7rem;
    background-color: #fff;
}

.how-it-works-section {
            padding-block: 7rem;

    background-color: var(--placeholder-bg);
}

/* ===== Feature cards ===== */

.feature-card {
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08) !important;
}

.feature-icon {
    width: 36px;
    height: 36px;
    background-color: #eff6ff;
    color: var(--brand-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.feature-description {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== How it works steps ===== */

.step-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background-color: var(--brand-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.step-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 260px;
    margin-inline: auto;
}

/* ===== Footer ===== */

.footer-section {
    background-color: #fff;
    border-top: 1px solid #e5e7eb;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--brand-primary);
}

/* ===== Public content pages ===== */

.public-content-header {
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e7eb;
}

.public-content-header p {
    max-width: 680px;
    line-height: 1.9;
}

.public-content-icon {
    width: 52px;
    height: 52px;
    background-color: #dbeafe;
    color: var(--brand-primary);
    font-size: 1.35rem;
}

.public-content-section {
    background-color: #f8fafc;
}

.public-content-card {
    max-width: 920px;
    margin-inline: auto;
}

.public-content-card p,
.public-content-list {
    color: #4b5563;
    line-height: 2;
}

.public-content-title {
    position: relative;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    padding-right: 0.9rem;
}

.public-content-title::before {
    content: '';
    position: absolute;
    top: 0.2rem;
    right: 0;
    width: 4px;
    height: 1.25rem;
    border-radius: 999px;
    background-color: var(--brand-primary);
}

.public-content-list {
    padding-right: 1.25rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    color: #4b5563;
    line-height: 1.7;
}

.about-feature-item i {
    color: var(--brand-primary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-placeholder {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
}

/* ===== Responsive ===== */

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

    .hero-section {
        padding-block: 2.5rem;
    }
}

/* ---------- Page Transition ---------- */

.page-content{
    opacity:0;
    transform:translateY(18px);
    transition:
        opacity .85s cubic-bezier(.22,1,.36,1),
        transform .85s cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}

.page-content.page-loaded{
    opacity:1;
    transform:translateY(0);
}
