@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap");

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    background: #f8fafc;
    color: #111827;
}

a {
    color: inherit;
    text-decoration: none;
}

.edp-public-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.edp-public-header {
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    backdrop-filter: blur(16px);
    z-index: 10;
}

.edp-public-nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.edp-public-brand strong {
    display: block;
    font-size: 22px;
}

.edp-public-brand span {
    display: block;
    color: #64748b;
    font-size: 12px;
}

.edp-public-nav nav {
    display: flex;
    gap: 16px;
}

.edp-public-nav nav a {
    color: #334155;
    font-weight: 700;
}

.edp-public-hero {
    padding: 72px 0 44px;
}

.edp-public-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.35;
    margin: 0 0 18px;
    max-width: 850px;
}

.edp-public-hero p {
    color: #475569;
    line-height: 2;
    max-width: 760px;
    font-size: 17px;
}

.edp-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-bottom: 70px;
}

.edp-article-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05);
}

.edp-article-card span {
    display: inline-flex;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.edp-article-card h2 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.6;
}

.edp-article-card p {
    margin: 0 0 18px;
    color: #64748b;
    line-height: 2;
}

.edp-article-card a {
    color: #2563eb;
    font-weight: 800;
}

.edp-article-page {
    padding: 64px 0;
}

.edp-article-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
}

.edp-article-main,
.edp-article-side {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05);
}

.edp-article-main h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.45;
    margin: 0 0 14px;
}

.edp-article-meta {
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

.edp-article-body {
    color: #1f2937;
    line-height: 2.25;
    font-size: 17px;
    white-space: pre-line;
}

.edp-related-list {
    display: grid;
    gap: 14px;
}

.edp-related-list a {
    display: block;
    background: #f8fafc;
    border-radius: 18px;
    padding: 14px;
    color: #2563eb;
    font-weight: 700;
}

.edp-public-footer {
    border-top: 1px solid #e5e7eb;
    color: #64748b;
    padding: 28px 0;
}

@media (max-width: 900px) {
    .edp-article-grid,
    .edp-article-shell {
        grid-template-columns: 1fr;
    }

    .edp-public-nav {
        height: auto;
        padding: 16px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}
.edp-kicker {
    display: inline-flex;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 16px;
}

.edp-home-hero {
    padding: 86px 0 56px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 34%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.edp-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 420px;
    gap: 42px;
    align-items: center;
}

.edp-home-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.3;
    margin: 0 0 22px;
    letter-spacing: -1px;
}

.edp-home-hero p {
    color: #475569;
    line-height: 2.1;
    font-size: 18px;
    max-width: 760px;
}

.edp-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.edp-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 16px;
    padding: 12px 20px;
    font-weight: 800;
}

.edp-home-btn.primary {
    background: #2563eb;
    color: #fff;
}

.edp-home-btn.secondary {
    background: #fff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.edp-home-console {
    background: #0f172a;
    color: #fff;
    border-radius: 34px;
    padding: 22px;
    box-shadow: 0 34px 80px rgba(15, 23, 42, 0.22);
}

.edp-console-top {
    display: flex;
    gap: 7px;
    margin-bottom: 18px;
}

.edp-console-top span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #334155;
}

.edp-console-card {
    background: linear-gradient(135deg, #1d4ed8, #7c3aed);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 14px;
}

.edp-console-card strong {
    display: block;
    font-size: 26px;
    margin-bottom: 8px;
}

.edp-console-card p {
    margin: 0;
    color: #dbeafe;
}

.edp-console-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.edp-console-row div,
.edp-console-list span {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 14px;
}

.edp-console-row span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 8px;
}

.edp-console-row strong {
    display: block;
    font-size: 18px;
}

.edp-console-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.edp-home-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: -24px;
    position: relative;
    z-index: 2;
}

.edp-home-stats div {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.edp-home-stats strong {
    display: block;
    color: #2563eb;
    font-size: 24px;
    margin-bottom: 10px;
}

.edp-home-stats span {
    color: #334155;
    font-weight: 700;
    line-height: 1.8;
}

.edp-home-section {
    padding: 72px 0;
}

.edp-home-section-head {
    max-width: 760px;
    margin-bottom: 28px;
}

.edp-home-section-head h2,
.edp-home-dark h2,
.edp-home-cta h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.4;
    margin: 0 0 14px;
}

.edp-home-section-head p,
.edp-home-dark p,
.edp-home-cta p {
    color: #64748b;
    line-height: 2;
    font-size: 16px;
}

.edp-home-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.edp-home-service-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05);
}

.edp-home-service-card > span {
    display: inline-flex;
    color: #7c3aed;
    background: #f5f3ff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 14px;
}

.edp-home-service-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.6;
}

.edp-home-service-card p {
    color: #64748b;
    line-height: 2;
}

.edp-home-service-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
}

.edp-home-service-footer small {
    color: #64748b;
}

.edp-home-service-footer a {
    color: #2563eb;
    font-weight: 800;
}

.edp-home-dark {
    background: #0f172a;
    color: #fff;
    padding: 76px 0;
}

.edp-home-dark-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 34px;
    align-items: start;
}

.edp-home-dark p {
    color: #cbd5e1;
}

.edp-home-feature-list {
    display: grid;
    gap: 12px;
}

.edp-home-feature-list div {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 15px;
    font-weight: 700;
}

.edp-home-cta {
    margin: 30px auto 76px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border: 1px solid #dbeafe;
    border-radius: 34px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

@media (max-width: 900px) {
    .edp-home-hero-grid,
    .edp-home-dark-grid,
    .edp-home-service-grid,
    .edp-home-stats {
        grid-template-columns: 1fr;
    }

    .edp-home-console {
        order: -1;
    }

    .edp-home-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===========================
   Ehsami Magazine First Home
   =========================== */

.edp-mag-hero {
    padding: 86px 0 54px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.08), transparent 32%),
        #ffffff;
}

.edp-mag-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: stretch;
}

.edp-mag-hero-main {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 34px;
    padding: 42px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.06);
}

.edp-mag-hero-main h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.35;
    margin: 0 0 20px;
    letter-spacing: -1px;
}

.edp-mag-hero-main p {
    color: #475569;
    line-height: 2.15;
    font-size: 17px;
    max-width: 850px;
}

.edp-mag-editor-card {
    background: #0f172a;
    color: #fff;
    border-radius: 34px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.edp-mag-editor-head span {
    display: block;
    color: #93c5fd;
    font-size: 13px;
    margin-bottom: 10px;
}

.edp-mag-editor-head strong {
    display: block;
    font-size: 28px;
    line-height: 1.5;
}

.edp-mag-editor-card p {
    color: #cbd5e1;
    line-height: 2.1;
}

.edp-mag-editor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.edp-mag-editor-tags span {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 7px 10px;
    color: #dbeafe;
    font-size: 12px;
}

.edp-mag-section-head {
    margin-bottom: 26px;
    max-width: 760px;
}

.edp-mag-section-head h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.4;
    margin: 0 0 10px;
}

.edp-mag-section-head p {
    color: #64748b;
    line-height: 2;
}

.edp-mag-featured {
    padding: 54px 0 76px;
}

.edp-mag-featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 18px;
}

.edp-mag-featured-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.05);
}

.edp-mag-featured-card:first-child {
    grid-row: span 2;
    background: linear-gradient(180deg, #ffffff, #eff6ff);
}

.edp-mag-featured-card span,
.edp-mag-row-card span {
    display: inline-flex;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.edp-mag-featured-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.7;
}

.edp-mag-featured-card:first-child h3 {
    font-size: 30px;
}

.edp-mag-featured-card p {
    color: #64748b;
    line-height: 2;
}

.edp-mag-featured-card a,
.edp-mag-row-card a,
.edp-mag-side-panel a {
    color: #2563eb;
    font-weight: 800;
}

.edp-mag-categories {
    background: #0f172a;
    color: #fff;
    padding: 76px 0;
}

.edp-mag-section-head.light p {
    color: #cbd5e1;
}

.edp-mag-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.edp-mag-category-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 24px;
    padding: 20px;
    min-height: 150px;
}

.edp-mag-category-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}

.edp-mag-category-card span {
    display: block;
    color: #cbd5e1;
    line-height: 1.9;
    font-size: 13px;
}

.edp-mag-latest {
    padding: 76px 0;
}

.edp-mag-latest-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.edp-mag-latest-list {
    display: grid;
    gap: 14px;
}

.edp-mag-row-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    padding: 22px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.04);
}

.edp-mag-row-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.edp-mag-row-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.9;
}

.edp-mag-side-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 24px;
    position: sticky;
    top: 98px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
}

.edp-mag-side-panel h3 {
    margin: 0 0 14px;
    font-size: 22px;
}

.edp-mag-side-panel ul {
    padding-right: 20px;
    margin: 0 0 18px;
    color: #475569;
    line-height: 2.1;
}

.edp-mag-digital {
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    padding: 76px 0;
}

.edp-mag-digital-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 32px;
    align-items: start;
}

.edp-mag-digital h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.4;
    margin: 0 0 14px;
}

.edp-mag-digital p {
    color: #475569;
    line-height: 2.1;
    max-width: 760px;
}

.edp-mag-service-list {
    display: grid;
    gap: 12px;
}

.edp-mag-service-list a {
    display: block;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 16px;
}

.edp-mag-service-list span {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 6px;
}

.edp-mag-service-list strong {
    display: block;
    color: #1e3a8a;
    font-size: 18px;
}

@media (max-width: 1000px) {
    .edp-mag-hero-grid,
    .edp-mag-latest-layout,
    .edp-mag-digital-grid {
        grid-template-columns: 1fr;
    }

    .edp-mag-featured-grid,
    .edp-mag-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .edp-mag-side-panel {
        position: static;
    }
}

@media (max-width: 640px) {
    .edp-mag-hero-main,
    .edp-mag-editor-card {
        padding: 24px;
        border-radius: 26px;
    }

    .edp-mag-featured-grid,
    .edp-mag-category-grid {
        grid-template-columns: 1fr;
    }

    .edp-mag-row-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

.edp-category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: -20px;
    margin-bottom: 34px;
    position: relative;
    z-index: 2;
}

.edp-category-strip a {
    background: #fff;
    border: 1px solid #dbeafe;
    color: #1e40af;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.edp-category-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
    align-items: start;
    padding-bottom: 70px;
}

.edp-category-sidebar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 22px;
    position: sticky;
    top: 98px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
}

.edp-category-sidebar h2 {
    margin: 0 0 16px;
    font-size: 20px;
}

.edp-category-links {
    display: grid;
    gap: 9px;
}

.edp-category-links a {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 11px 13px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.edp-category-links a.active {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.edp-category-hero {
    padding-bottom: 64px;
}

@media (max-width: 900px) {
    .edp-category-layout {
        grid-template-columns: 1fr;
    }

    .edp-category-sidebar {
        position: static;
    }
}

/* ===========================
   Public Services Pages
   =========================== */

.edp-service-hero,
.edp-service-detail-hero {
    padding: 82px 0 54px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.13), transparent 30%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.edp-service-hero-grid,
.edp-service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: stretch;
}

.edp-service-hero h1,
.edp-service-detail-main h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.35;
    margin: 0 0 18px;
}

.edp-service-hero p,
.edp-service-detail-main p {
    color: #475569;
    line-height: 2.1;
    font-size: 17px;
}

.edp-service-note,
.edp-service-detail-side {
    background: #0f172a;
    color: #fff;
    border-radius: 30px;
    padding: 28px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

.edp-service-note strong {
    display: block;
    font-size: 26px;
    margin-bottom: 14px;
}

.edp-service-note p {
    color: #cbd5e1;
    line-height: 2;
}

.edp-service-detail-side {
    display: grid;
    gap: 12px;
}

.edp-service-detail-side strong {
    color: #93c5fd;
    font-size: 13px;
}

.edp-service-detail-side span {
    display: block;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 12px;
    color: #fff;
    font-weight: 800;
}

.edp-service-category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: -18px;
    margin-bottom: 34px;
    position: relative;
    z-index: 2;
}

.edp-service-category-strip span {
    background: #fff;
    border: 1px solid #dbeafe;
    color: #1e40af;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.edp-public-services-section {
    padding: 54px 0 76px;
}

.edp-public-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.edp-public-service-card {
    min-height: 260px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.05);
}

.edp-public-service-card span {
    display: inline-flex;
    color: #7c3aed;
    background: #f5f3ff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.edp-public-service-card h3 {
    font-size: 21px;
    line-height: 1.6;
    margin: 0 0 10px;
}

.edp-public-service-card p {
    color: #64748b;
    line-height: 2;
}

.edp-public-service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.edp-public-service-footer small {
    color: #64748b;
}

.edp-public-service-footer a {
    color: #2563eb;
    font-weight: 900;
}

.edp-service-cta,
.edp-service-order-box {
    margin: 20px auto 78px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border: 1px solid #dbeafe;
    border-radius: 34px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.edp-service-cta h2,
.edp-service-order-box h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.45;
}

.edp-service-cta p,
.edp-service-order-box p {
    color: #475569;
    line-height: 2;
}

.edp-service-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
    padding: 42px 0;
}

.edp-service-description-box,
.edp-service-plans-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    padding: 28px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.05);
}

.edp-service-description-box h2,
.edp-service-plans-box h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.edp-service-description-box p {
    color: #334155;
    line-height: 2.2;
    font-size: 16px;
}

.edp-service-plan-list {
    display: grid;
    gap: 14px;
}

.edp-service-plan-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 16px;
}

.edp-service-plan-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.edp-service-plan-card p {
    color: #64748b;
    line-height: 1.9;
}

.edp-service-plan-card span {
    display: block;
    color: #1d4ed8;
    font-weight: 900;
    font-size: 18px;
    margin-top: 10px;
}

.edp-service-plan-card small {
    display: block;
    color: #64748b;
    margin-top: 8px;
}

@media (max-width: 1000px) {
    .edp-service-hero-grid,
    .edp-service-detail-grid,
    .edp-service-detail-content,
    .edp-public-service-grid {
        grid-template-columns: 1fr;
    }

    .edp-service-cta,
    .edp-service-order-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===========================
   About Page
   =========================== */

.edp-about-hero {
    padding: 82px 0 58px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.13), transparent 32%),
        radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.1), transparent 32%),
        #ffffff;
}

.edp-about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: stretch;
}

.edp-about-hero-main {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 34px;
    padding: 42px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.06);
}

.edp-about-hero-main h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.35;
    margin: 0 0 20px;
}

.edp-about-hero-main p {
    color: #475569;
    line-height: 2.15;
    font-size: 17px;
}

.edp-about-profile-card {
    background: #0f172a;
    color: #fff;
    border-radius: 34px;
    padding: 30px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.edp-about-avatar {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 20px;
}

.edp-about-profile-card h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.edp-about-profile-card p {
    color: #cbd5e1;
    line-height: 2;
}

.edp-about-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.edp-about-profile-tags span {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 7px 10px;
    color: #dbeafe;
    font-size: 12px;
}

.edp-about-section {
    padding: 76px 0;
}

.edp-about-section-head {
    max-width: 800px;
    margin-bottom: 30px;
}

.edp-about-section-head h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.4;
    margin: 0 0 12px;
}

.edp-about-section-head p {
    color: #64748b;
    line-height: 2;
}

.edp-about-identity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.edp-about-identity-grid article {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.05);
}

.edp-about-identity-grid strong {
    display: block;
    font-size: 21px;
    margin-bottom: 12px;
}

.edp-about-identity-grid p {
    color: #64748b;
    line-height: 2;
}

.edp-about-dark {
    background: #0f172a;
    color: #fff;
    padding: 76px 0;
}

.edp-about-dark-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 34px;
    align-items: start;
}

.edp-about-dark h2,
.edp-about-edp h2,
.edp-about-cta h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.4;
    margin: 0 0 14px;
}

.edp-about-dark p,
.edp-about-edp p,
.edp-about-cta p {
    color: #cbd5e1;
    line-height: 2.1;
}

.edp-about-principles {
    display: grid;
    gap: 14px;
}

.edp-about-principles div {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 22px;
    padding: 18px;
}

.edp-about-principles strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.edp-about-principles span {
    display: block;
    color: #cbd5e1;
    line-height: 1.9;
}

.edp-about-skill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.edp-about-skill-grid div {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.05);
}

.edp-about-skill-grid span {
    display: inline-flex;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    margin-bottom: 14px;
}

.edp-about-skill-grid strong {
    display: block;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.edp-about-skill-grid p {
    color: #64748b;
    line-height: 2;
}

.edp-about-edp {
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    padding: 76px 0;
}

.edp-about-edp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 32px;
    align-items: start;
}

.edp-about-edp p {
    color: #475569;
}

.edp-about-edp-list {
    display: grid;
    gap: 12px;
}

.edp-about-edp-list div {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 16px;
    color: #1e3a8a;
    font-weight: 900;
}

.edp-about-cta {
    margin: 20px auto 78px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border: 1px solid #dbeafe;
    border-radius: 34px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.edp-about-cta p {
    color: #475569;
}

@media (max-width: 1000px) {
    .edp-about-hero-grid,
    .edp-about-dark-grid,
    .edp-about-edp-grid,
    .edp-about-identity-grid,
    .edp-about-skill-grid {
        grid-template-columns: 1fr;
    }

    .edp-about-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===========================
   Contact / Project Inquiry
   =========================== */

.edp-contact-hero {
    padding: 82px 0 58px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.13), transparent 32%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.edp-contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: stretch;
}

.edp-contact-hero-main {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 34px;
    padding: 42px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.06);
}

.edp-contact-hero-main h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.35;
    margin: 0 0 20px;
}

.edp-contact-hero-main p {
    color: #475569;
    line-height: 2.15;
    font-size: 17px;
}

.edp-contact-info-card {
    background: #0f172a;
    color: #fff;
    border-radius: 34px;
    padding: 30px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.edp-contact-info-card > strong {
    display: block;
    font-size: 26px;
    margin-bottom: 18px;
}

.edp-contact-info-card div {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 12px;
}

.edp-contact-info-card span {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #2563eb;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.edp-contact-info-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.9;
}

.edp-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    padding: 62px 0 80px;
}

.edp-contact-form-box,
.edp-contact-side-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    padding: 28px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.05);
}

.edp-contact-form-box h2,
.edp-contact-side-box h2 {
    margin: 0 0 22px;
    font-size: 26px;
}

.edp-public-form {
    display: grid;
    gap: 16px;
}

.edp-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.edp-public-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
    color: #334155;
}

.edp-public-form input,
.edp-public-form select,
.edp-public-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    border-radius: 16px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.edp-public-form textarea {
    resize: vertical;
    line-height: 2;
}

.edp-public-alert {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 18px;
    font-weight: 800;
}

.edp-public-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 18px;
    font-weight: 800;
}

.edp-contact-side-box {
    position: sticky;
    top: 98px;
}

.edp-contact-side-box ul {
    padding-right: 20px;
    margin: 0 0 22px;
    color: #475569;
    line-height: 2.1;
}

.edp-contact-side-box a {
    color: #2563eb;
    font-weight: 900;
}

@media (max-width: 1000px) {
    .edp-contact-hero-grid,
    .edp-contact-layout,
    .edp-form-row {
        grid-template-columns: 1fr;
    }

    .edp-contact-side-box {
        position: static;
    }
}

/* Official Ehsami Logo */
.edp-public-brand.is-logo {
    display: inline-flex;
    align-items: center;
    min-width: 220px;
}

.edp-public-brand.is-logo img {
    display: block;
    max-width: 260px;
    width: auto;
    height: 58px;
    object-fit: contain;
}

@media (max-width: 640px) {
    .edp-public-brand.is-logo img {
        max-width: 220px;
        height: auto;
    }
}

.edp-article-featured-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 26px;
    margin: 12px 0 26px;
    border: 1px solid #e5e7eb;
}

.edp-article-lead {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    border-radius: 22px;
    padding: 18px;
    line-height: 2.1;
    font-weight: 700;
}

.edp-article-body img {
    max-width: 100%;
    border-radius: 18px;
}

.edp-article-body a {
    color: #2563eb;
    font-weight: 800;
}

.edp-article-media-section {
    margin-top: 38px;
    border-top: 1px solid #e5e7eb;
    padding-top: 28px;
}

.edp-article-media-list {
    display: grid;
    gap: 18px;
}

.edp-article-media-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 18px;
}

.edp-article-media-item strong {
    display: block;
    margin-bottom: 12px;
}

.edp-article-media-item img,
.edp-article-media-item video,
.edp-article-media-item audio {
    width: 100%;
    border-radius: 16px;
}

.edp-article-media-item a {
    color: #2563eb;
    font-weight: 900;
}

.edp-video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 18px;
    background: #0f172a;
}

.edp-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.edp-portfolio-hero {
    padding: 86px 0 42px;
    background:
        radial-gradient(circle at 20% 20%, rgba(37,99,235,.14), transparent 32%),
        linear-gradient(135deg, #f8fafc, #eff6ff);
}

.edp-kicker {
    display: inline-flex;
    color: #2563eb;
    font-weight: 950;
    margin-bottom: 12px;
}

.edp-portfolio-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    margin: 0 0 16px;
    color: #0f172a;
}

.edp-portfolio-hero p {
    max-width: 760px;
    line-height: 2.1;
    color: #475569;
    font-size: 17px;
}

.edp-portfolio-grid {
    padding: 48px 0 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.edp-portfolio-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
    transition: .2s ease;
}

.edp-portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15,23,42,.12);
}

.edp-portfolio-card img,
.edp-portfolio-placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.edp-portfolio-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #fff;
    font-size: 32px;
    font-weight: 950;
}

.edp-portfolio-card div {
    padding: 22px;
}

.edp-portfolio-card span {
    color: #2563eb;
    font-weight: 900;
    font-size: 13px;
}

.edp-portfolio-card h2 {
    margin: 10px 0;
    color: #0f172a;
    font-size: 21px;
}

.edp-portfolio-card p {
    color: #64748b;
    line-height: 2;
}

.edp-portfolio-show {
    padding: 56px 0 80px;
    background: #fff;
}

.edp-portfolio-show-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 30px;
}

.edp-portfolio-main {
    background: #fff;
}

.edp-portfolio-main h1 {
    font-size: clamp(32px, 5vw, 54px);
    margin: 0 0 18px;
    color: #0f172a;
}

.edp-portfolio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.edp-portfolio-meta span {
    background: #f1f5f9;
    color: #334155;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    font-size: 13px;
}

.edp-portfolio-featured-image {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 30px;
    margin: 18px 0 28px;
}

.edp-portfolio-lead {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    border-radius: 24px;
    padding: 20px;
    line-height: 2.1;
    font-weight: 800;
}

.edp-portfolio-sections {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.edp-portfolio-sections section {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 22px;
}

.edp-portfolio-sections h2,
.edp-portfolio-gallery h2 {
    margin-top: 0;
    color: #0f172a;
}

.edp-portfolio-sections p {
    line-height: 2.2;
    color: #475569;
}

.edp-portfolio-gallery {
    margin-top: 34px;
}

.edp-portfolio-gallery > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.edp-portfolio-gallery img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid #e5e7eb;
}

.edp-public-cta {
    display: inline-flex;
    margin-top: 28px;
    background: #2563eb;
    color: #fff;
    border-radius: 16px;
    padding: 13px 20px;
    text-decoration: none;
    font-weight: 950;
}

.edp-empty-state {
    grid-column: 1 / -1;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    color: #64748b;
    font-weight: 800;
}

@media (max-width: 1000px) {
    .edp-portfolio-grid,
    .edp-portfolio-show-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .edp-portfolio-gallery > div {
        grid-template-columns: 1fr;
    }
}

/* Home 2026 */
.edp-home-hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 78px 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(37,99,235,.18), transparent 34%),
        radial-gradient(circle at 84% 24%, rgba(14,165,233,.16), transparent 28%),
        linear-gradient(135deg, #f8fafc 0%, #eff6ff 48%, #ffffff 100%);
    overflow: hidden;
}

.edp-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    gap: 48px;
    align-items: center;
}

.edp-home-hero-content h1 {
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.25;
    color: #0f172a;
    margin: 10px 0 22px;
    letter-spacing: -1px;
}

.edp-home-hero-content p {
    color: #475569;
    font-size: 18px;
    line-height: 2.2;
    max-width: 780px;
}

.edp-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.edp-home-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 16px;
    padding: 0 22px;
    text-decoration: none;
    font-weight: 950;
}

.edp-home-hero-actions a:first-child {
    background: #2563eb;
    color: #fff;
}

.edp-home-hero-actions a:last-child {
    background: #fff;
    color: #0f172a;
    border: 1px solid #dbeafe;
}

.edp-home-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.edp-home-trust-row span {
    background: rgba(255,255,255,.76);
    border: 1px solid #dbeafe;
    color: #1e3a8a;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 900;
}

.edp-home-visual {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edp-home-visual-card.main {
    width: min(420px, 90%);
    min-height: 250px;
    border-radius: 42px;
    background:
        linear-gradient(135deg, rgba(15,23,42,.95), rgba(30,41,59,.92)),
        #0f172a;
    box-shadow: 0 36px 90px rgba(15,23,42,.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.edp-home-visual-card.main:before {
    content: "";
    position: absolute;
    inset: -60px;
    background:
        linear-gradient(90deg, transparent, rgba(59,130,246,.25), transparent);
    transform: rotate(-20deg);
}

.edp-home-visual-card.main img {
    max-width: 300px;
    width: 72%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.edp-home-visual-card.main strong {
    font-size: 76px;
    position: relative;
    z-index: 2;
}

.edp-home-visual-card.main span {
    position: relative;
    z-index: 2;
    opacity: .8;
}

.edp-orbit-symbol {
    position: absolute;
    z-index: 4;
    width: 82px;
    height: 82px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.84);
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    font-weight: 950;
    box-shadow: 0 20px 50px rgba(15,23,42,.12);
    backdrop-filter: blur(14px);
}

.edp-orbit-symbol.s1 { top: 34px; right: 34px; }
.edp-orbit-symbol.s2 { top: 80px; left: 28px; }
.edp-orbit-symbol.s3 { bottom: 92px; right: 8px; }
.edp-orbit-symbol.s4 { bottom: 44px; left: 76px; }

.edp-home-code-card {
    position: absolute;
    z-index: 5;
    right: 18px;
    bottom: 8px;
    width: 250px;
    background: #020617;
    color: #dbeafe;
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 24px 70px rgba(15,23,42,.28);
    direction: ltr;
}

.edp-home-code-card span,
.edp-home-code-card small {
    display: block;
    color: #93c5fd;
}

.edp-home-code-card strong {
    display: block;
    color: #22c55e;
    font-size: 26px;
    margin: 6px 0;
}

.edp-section-block {
    padding: 70px 0;
}

.edp-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.edp-section-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 44px);
}

.edp-section-head a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 950;
}

.edp-section-head.light h2,
.edp-section-head.light a {
    color: #fff;
}

.edp-home-featured-grid,
.edp-home-service-grid,
.edp-home-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.edp-home-service-grid {
    grid-template-columns: repeat(4, 1fr);
}

.edp-home-article-card,
.edp-home-service-card,
.edp-home-portfolio-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 18px 45px rgba(15,23,42,.07);
    transition: .2s ease;
}

.edp-home-article-card:hover,
.edp-home-service-card:hover,
.edp-home-portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15,23,42,.12);
}

.edp-home-article-card img,
.edp-card-placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.edp-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 950;
    padding: 20px;
    text-align: center;
}

.edp-card-placeholder.dark {
    background: #111827;
    color: #fff;
}

.edp-home-article-card > div,
.edp-home-portfolio-card > div {
    padding: 22px;
}

.edp-home-article-card span,
.edp-home-portfolio-card span {
    color: #2563eb;
    font-weight: 950;
    font-size: 13px;
}

.edp-home-article-card h3,
.edp-home-service-card h3,
.edp-home-portfolio-card h3 {
    margin: 10px 0;
    color: #0f172a;
    font-size: 21px;
}

.edp-home-article-card p,
.edp-home-service-card p,
.edp-home-portfolio-card p {
    color: #64748b;
    line-height: 2;
}

.edp-home-categories {
    background: #0f172a;
    padding: 74px 0;
}

.edp-home-categories .edp-section-head h2 {
    color: #fff;
}

.edp-home-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.edp-home-category-grid a {
    display: block;
    min-height: 150px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;
    padding: 18px;
    text-decoration: none;
    color: #fff;
}

.edp-home-category-grid strong,
.edp-home-category-grid span {
    display: block;
}

.edp-home-category-grid strong {
    margin-bottom: 10px;
    font-size: 17px;
}

.edp-home-category-grid span {
    color: #cbd5e1;
    line-height: 1.9;
    font-size: 13px;
}

.edp-home-service-card {
    padding: 24px;
}

.edp-service-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    margin-bottom: 18px;
    direction: ltr;
}

.edp-home-portfolio-strip {
    background:
        radial-gradient(circle at 18% 20%, rgba(37,99,235,.22), transparent 34%),
        #0f172a;
    padding: 76px 0;
}

.edp-home-portfolio-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.edp-home-latest-list {
    display: grid;
    gap: 12px;
}

.edp-home-latest-list a {
    display: grid;
    grid-template-columns: 160px 1fr 180px;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
}

.edp-home-latest-list span {
    color: #2563eb;
    font-weight: 950;
}

.edp-home-latest-list strong {
    color: #0f172a;
}

.edp-home-latest-list small {
    color: #64748b;
}

.edp-home-cta {
    padding: 84px 0;
    background: linear-gradient(135deg, #2563eb, #0f172a);
    color: #fff;
}

.edp-home-cta .edp-public-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.edp-home-cta h2 {
    font-size: clamp(28px, 4vw, 46px);
    margin: 0 0 18px;
}

.edp-home-cta p {
    max-width: 850px;
    line-height: 2.1;
    color: #dbeafe;
}

.edp-home-cta a {
    background: #fff;
    color: #1d4ed8;
    text-decoration: none;
    border-radius: 18px;
    padding: 15px 24px;
    font-weight: 950;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .edp-home-hero-grid,
    .edp-home-cta .edp-public-container {
        grid-template-columns: 1fr;
    }

    .edp-home-featured-grid,
    .edp-home-service-grid,
    .edp-home-portfolio-grid,
    .edp-home-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .edp-home-latest-list a {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .edp-home-featured-grid,
    .edp-home-service-grid,
    .edp-home-portfolio-grid,
    .edp-home-category-grid {
        grid-template-columns: 1fr;
    }

    .edp-section-head {
        display: block;
    }

    .edp-home-visual {
        min-height: 390px;
    }

    .edp-orbit-symbol {
        width: 64px;
        height: 64px;
        border-radius: 20px;
        font-size: 12px;
    }

    .edp-home-code-card {
        width: 220px;
    }
}

.edp-home-slogan {
    margin-top: 22px;
    display: inline-flex;
    max-width: 720px;
    background: rgba(255,255,255,.78);
    border: 1px solid #dbeafe;
    box-shadow: 0 18px 45px rgba(37,99,235,.08);
    border-radius: 22px;
    padding: 13px 18px;
}

.edp-home-slogan span {
    color: #1e3a8a;
    font-weight: 950;
    line-height: 1.9;
    letter-spacing: -.2px;
}

/* Smart AI + Latest Boxes inspired by old Ehsami homepage */
.edp-smart-home-section {
    padding: 34px 0 74px;
    background: #f8fafc;
}

.edp-smart-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
    gap: 24px;
}

.edp-ai-insight-box,
.edp-latest-tech-box {
    position: relative;
    overflow: hidden;
    min-height: 470px;
    border-radius: 34px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 28px 70px rgba(15,23,42,.16);
    background:
        radial-gradient(circle at 18% 18%, rgba(255,122,0,.18), transparent 25%),
        radial-gradient(circle at 82% 18%, rgba(0,229,255,.14), transparent 28%),
        linear-gradient(135deg, #081626 0%, #102844 52%, #062b36 100%);
}

.edp-ai-insight-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 26px;
    align-items: center;
    padding: 34px;
}

.edp-latest-tech-box {
    padding: 32px;
}

.edp-ai-insight-box:before,
.edp-latest-tech-box:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .42;
    pointer-events: none;
}

.edp-binary-rain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.edp-binary-rain span {
    position: absolute;
    top: -260px;
    right: var(--x);
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: Consolas, Monaco, monospace;
    font-size: calc(10px + var(--i) * .18px);
    font-weight: 800;
    letter-spacing: 4px;
    color: rgba(142,231,225,.22);
    text-shadow: 0 0 12px rgba(0,229,255,.18);
    animation: edpBinaryFall linear infinite;
    animation-duration: calc(6s + var(--i) * .28s);
    animation-delay: var(--d);
    opacity: .38;
}

.edp-binary-rain span:nth-child(3n) {
    color: rgba(255,122,0,.20);
}

.edp-binary-rain.soft span {
    opacity: .22;
}

.edp-ai-insight-content,
.edp-ai-hud,
.edp-latest-tech-content {
    position: relative;
    z-index: 3;
}

.edp-ai-badge {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,122,0,.14);
    border: 1px solid rgba(255,122,0,.34);
    color: #ffb56a;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .5px;
    direction: ltr;
}

.edp-ai-insight-content h2,
.edp-latest-tech-content h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(27px, 3.4vw, 42px);
    line-height: 1.45;
}

.edp-ai-insight-content p {
    max-width: 620px;
    color: rgba(255,255,255,.82);
    line-height: 2.15;
    font-size: 15px;
}

.edp-ai-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.edp-ai-stats div {
    min-height: 86px;
    border-radius: 20px;
    padding: 14px 12px;
    text-align: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
}

.edp-ai-stats small,
.edp-ai-stats strong {
    display: block;
}

.edp-ai-stats small {
    color: rgba(255,255,255,.62);
    font-size: 12px;
    margin-bottom: 10px;
}

.edp-ai-stats strong {
    color: #8ee7e1;
    font-size: 23px;
    font-weight: 950;
    direction: ltr;
}

.edp-ai-insight-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff7a00;
    color: #fff;
    text-decoration: none;
    border-radius: 16px;
    min-height: 48px;
    padding: 0 20px;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(255,122,0,.24);
}

.edp-ai-hud {
    display: grid;
    gap: 14px;
}

.edp-hud-clock,
.edp-hud-terminal {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    padding: 16px;
    backdrop-filter: blur(8px);
}

.edp-hud-clock {
    text-align: center;
}

.edp-hud-clock strong {
    display: block;
    color: #fff;
    font-family: Consolas, Monaco, monospace;
    font-size: 38px;
    line-height: 1;
    direction: ltr;
}

.edp-hud-clock span {
    display: block;
    margin-top: 8px;
    color: #8ee7e1;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 1px;
}

.edp-terminal-head {
    display: flex;
    gap: 6px;
    direction: ltr;
    margin-bottom: 13px;
}

.edp-terminal-head span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.edp-terminal-head span:nth-child(1) { background: #ff5f56; }
.edp-terminal-head span:nth-child(2) { background: #ffbd2e; }
.edp-terminal-head span:nth-child(3) { background: #27c93f; }

.edp-hud-terminal code {
    display: block;
    direction: ltr;
    text-align: left;
    color: rgba(255,255,255,.78);
    font-family: Consolas, Monaco, monospace;
    line-height: 1.8;
    font-size: 13px;
}

.edp-hud-terminal code b {
    color: #00e5ff;
}

.edp-hud-terminal code em {
    color: #ffb56a;
    font-style: normal;
}

.edp-hud-radar {
    position: relative;
    min-height: 210px;
    display: grid;
    place-items: center;
}

.edp-hud-radar span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0,229,255,.20);
    box-shadow: inset 0 0 22px rgba(0,229,255,.08);
}

.edp-hud-radar .r1 {
    width: 200px;
    height: 200px;
}

.edp-hud-radar .r2 {
    width: 140px;
    height: 140px;
    border-color: rgba(255,122,0,.22);
}

.edp-hud-radar .r3 {
    width: 82px;
    height: 82px;
}

.edp-hud-radar:before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(0,229,255,0), rgba(0,229,255,.22), rgba(0,229,255,0) 38%);
    animation: edpHudSweep 5s linear infinite;
    filter: blur(.5px);
}

.edp-hud-radar b {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.10);
    color: #8ee7e1;
    border: 1px solid rgba(142,231,225,.30);
    font-weight: 950;
    direction: ltr;
}

.edp-latest-tech-list {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.edp-latest-tech-list a {
    display: grid;
    gap: 5px;
    text-decoration: none;
    color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.edp-latest-tech-list a:last-child {
    border-bottom: 0;
}

.edp-latest-tech-list a span {
    color: #8ee7e1;
    font-size: 12px;
    font-weight: 950;
}

.edp-latest-tech-list a strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.9;
}

.edp-latest-tech-list a small {
    color: rgba(255,255,255,.55);
    font-size: 12px;
}

.edp-latest-tech-list a:hover strong {
    color: #ffb56a;
}

@keyframes edpBinaryFall {
    0% { transform: translateY(-260px); }
    100% { transform: translateY(720px); }
}

@keyframes edpHudSweep {
    to { transform: rotate(360deg); }
}

@media (max-width: 1150px) {
    .edp-smart-home-grid,
    .edp-ai-insight-box {
        grid-template-columns: 1fr;
    }

    .edp-ai-hud {
        max-width: 520px;
    }
}

@media (max-width: 700px) {
    .edp-smart-home-section {
        padding: 24px 0 50px;
    }

    .edp-ai-insight-box,
    .edp-latest-tech-box {
        min-height: auto;
        border-radius: 26px;
        padding: 24px;
    }

    .edp-ai-stats {
        grid-template-columns: 1fr;
    }

    .edp-hud-radar {
        min-height: 180px;
    }

    .edp-hud-radar .r1,
    .edp-hud-radar:before {
        width: 170px;
        height: 170px;
    }
}

/* Public Header Final */
.edp-public-body {
    margin: 0;
    background: #f8fafc;
    color: #0f172a;
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

.edp-public-container {
    width: min(1220px, calc(100% - 40px));
    margin-inline: auto;
}

.edp-site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226,232,240,.9);
}

.edp-site-header-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.edp-site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #0f172a;
    min-width: 210px;
}

.edp-site-brand img {
    max-width: 150px;
    max-height: 52px;
    object-fit: contain;
    display: block;
}

.edp-site-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #0f172a;
    color: #fff;
    font-weight: 950;
    direction: ltr;
}

.edp-site-brand-text {
    display: grid;
    gap: 2px;
}

.edp-site-brand-text strong {
    font-size: 15px;
    font-weight: 950;
}

.edp-site-brand-text small {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.edp-site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.edp-site-nav a {
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    border-radius: 13px;
    padding: 10px 12px;
    white-space: nowrap;
    transition: .18s ease;
}

.edp-site-nav a:hover,
.edp-site-nav a.active {
    background: #eff6ff;
    color: #2563eb;
}

.edp-site-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.edp-panel-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    padding: 0 16px;
    font-weight: 950;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(37,99,235,.18);
}

.edp-public-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.edp-public-mobile-panel,
.edp-public-mobile-overlay {
    display: none;
}

.edp-site-footer {
    background: #0f172a;
    color: #fff;
    padding: 56px 0 26px;
}

.edp-site-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 28px;
}

.edp-site-footer strong {
    display: block;
    font-size: 22px;
    margin-bottom: 12px;
}

.edp-site-footer p {
    color: #cbd5e1;
    line-height: 2;
    max-width: 620px;
}

.edp-site-footer span {
    display: block;
    color: #93c5fd;
    font-weight: 950;
    margin-bottom: 12px;
}

.edp-site-footer a {
    display: block;
    color: #e2e8f0;
    text-decoration: none;
    margin: 9px 0;
    font-weight: 800;
}

.edp-site-footer a:hover {
    color: #fff;
}

.edp-footer-bottom {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.10);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #94a3b8;
    font-size: 13px;
}

@media (max-width: 1080px) {
    .edp-site-header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .edp-site-nav,
    .edp-site-actions {
        display: none;
    }

    .edp-public-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: end;
    }

    .edp-public-mobile-panel {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(86vw, 330px);
        background: #0f172a;
        color: #fff;
        z-index: 1200;
        transform: translateX(105%);
        transition: transform .22s ease;
        padding: 18px;
        box-shadow: -24px 0 60px rgba(15,23,42,.28);
    }

    .edp-public-mobile-panel.is-open {
        transform: translateX(0);
    }

    .edp-public-mobile-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        margin-bottom: 14px;
        border-bottom: 1px solid rgba(255,255,255,.10);
    }

    .edp-public-mobile-panel-head button {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 12px;
        background: rgba(255,255,255,.08);
        color: #fff;
        font-size: 26px;
        cursor: pointer;
    }

    .edp-public-mobile-panel a {
        display: block;
        color: #e2e8f0;
        text-decoration: none;
        padding: 13px 12px;
        border-radius: 14px;
        font-weight: 900;
    }

    .edp-public-mobile-panel a:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

    .edp-public-mobile-panel a.panel {
        background: #2563eb;
        color: #fff;
        margin-top: 12px;
        text-align: center;
    }

    .edp-public-mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15,23,42,.42);
        backdrop-filter: blur(4px);
        z-index: 1100;
        opacity: 0;
        pointer-events: none;
        transition: .2s ease;
    }

    .edp-public-mobile-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    body.edp-public-nav-open {
        overflow: hidden;
    }

    .edp-site-footer-grid {
        grid-template-columns: 1fr;
    }

    .edp-footer-bottom {
        display: grid;
    }
}

@media (max-width: 640px) {
    .edp-public-container {
        width: min(100% - 26px, 1220px);
    }

    .edp-site-header-inner {
        min-height: 68px;
    }

    .edp-site-brand {
        min-width: 0;
    }

    .edp-site-brand img {
        max-width: 118px;
        max-height: 44px;
    }

    .edp-site-brand-text {
        display: none;
    }
}

/* Services Page */
.edp-services-hero {
    padding: 86px 0 58px;
    background:
        radial-gradient(circle at 18% 20%, rgba(37,99,235,.18), transparent 32%),
        radial-gradient(circle at 82% 22%, rgba(14,165,233,.14), transparent 28%),
        linear-gradient(135deg, #f8fafc, #eff6ff);
}

.edp-services-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 42px;
    align-items: center;
}

.edp-services-hero h1 {
    font-size: clamp(36px, 5.5vw, 66px);
    line-height: 1.32;
    margin: 10px 0 18px;
    color: #0f172a;
}

.edp-services-hero p {
    max-width: 780px;
    color: #475569;
    line-height: 2.15;
    font-size: 17px;
}

.edp-services-hero-actions,
.edp-service-show-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.edp-services-hero-actions a,
.edp-service-show-actions a,
.edp-services-cta a,
.edp-service-side-card a,
.edp-service-plan-card a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 0 19px;
    text-decoration: none;
    font-weight: 950;
}

.edp-services-hero-actions a:first-child,
.edp-service-show-actions a:first-child,
.edp-services-cta a,
.edp-service-side-card a,
.edp-service-plan-card a {
    background: #2563eb;
    color: #fff;
}

.edp-services-hero-actions a:last-child,
.edp-service-show-actions a:last-child {
    background: #fff;
    color: #0f172a;
    border: 1px solid #dbeafe;
}

.edp-services-hero-card {
    background: #0f172a;
    color: #fff;
    border-radius: 34px;
    padding: 30px;
    box-shadow: 0 28px 70px rgba(15,23,42,.22);
}

.edp-services-hero-card > strong {
    display: block;
    font-size: 58px;
    font-weight: 950;
    direction: ltr;
    margin-bottom: 6px;
}

.edp-services-hero-card > span {
    display: block;
    color: #93c5fd;
    direction: ltr;
    margin-bottom: 24px;
}

.edp-services-hero-card div {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    padding: 15px;
    margin-top: 12px;
}

.edp-services-hero-card b,
.edp-services-hero-card small {
    display: block;
}

.edp-services-hero-card b {
    color: #60a5fa;
    font-size: 22px;
    direction: ltr;
}

.edp-services-hero-card small {
    color: #e2e8f0;
    margin-top: 4px;
}

.edp-services-process,
.edp-services-list-section {
    padding: 70px 0;
}

.edp-services-process-grid,
.edp-service-category-grid,
.edp-services-grid {
    display: grid;
    gap: 20px;
}

.edp-services-process-grid {
    grid-template-columns: repeat(3, 1fr);
}

.edp-services-process-grid article,
.edp-service-category-card,
.edp-service-public-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
}

.edp-services-process-grid article span {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: #eff6ff;
    color: #2563eb;
    display: grid;
    place-items: center;
    font-weight: 950;
    margin-bottom: 14px;
}

.edp-services-process-grid h3,
.edp-service-category-card h3,
.edp-service-public-card h3 {
    color: #0f172a;
    margin: 0 0 10px;
}

.edp-services-process-grid p,
.edp-service-category-card p,
.edp-service-public-card p {
    color: #64748b;
    line-height: 2;
}

.edp-services-categories {
    padding: 70px 0;
    background: #0f172a;
}

.edp-services-categories .edp-section-head h2 {
    color: #fff;
}

.edp-service-category-grid {
    grid-template-columns: repeat(3, 1fr);
}

.edp-service-category-card {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.10);
}

.edp-service-category-card h3 {
    color: #fff;
}

.edp-service-category-card p {
    color: #cbd5e1;
}

.edp-service-category-card span {
    color: #93c5fd;
    font-weight: 950;
}

.edp-services-grid {
    grid-template-columns: repeat(3, 1fr);
}

.edp-service-public-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: #eff6ff;
    color: #2563eb;
    display: grid;
    place-items: center;
    font-weight: 950;
    margin-bottom: 18px;
}

.edp-service-public-card > span {
    color: #2563eb;
    font-weight: 950;
    font-size: 13px;
}

.edp-service-public-meta {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px;
    margin: 20px 0;
}

.edp-service-public-meta small,
.edp-service-public-meta strong {
    display: block;
}

.edp-service-public-meta small {
    color: #64748b;
    margin-bottom: 6px;
}

.edp-service-public-meta strong {
    color: #0f172a;
}

.edp-service-public-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.edp-service-public-actions a {
    text-decoration: none;
    font-weight: 950;
    border-radius: 14px;
    padding: 10px 14px;
}

.edp-service-public-actions a:first-child {
    background: #2563eb;
    color: #fff;
}

.edp-service-public-actions a:last-child {
    background: #eff6ff;
    color: #2563eb;
}

.edp-services-cta {
    padding: 74px 0;
    background: linear-gradient(135deg, #2563eb, #0f172a);
    color: #fff;
}

.edp-services-cta .edp-public-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.edp-services-cta h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin: 0 0 14px;
}

.edp-services-cta p {
    color: #dbeafe;
    line-height: 2.1;
    max-width: 780px;
}

.edp-services-cta a {
    background: #fff;
    color: #1d4ed8;
}

/* Service Show */
.edp-service-show-hero {
    padding: 78px 0 50px;
    background:
        radial-gradient(circle at 18% 20%, rgba(37,99,235,.18), transparent 30%),
        linear-gradient(135deg, #f8fafc, #eff6ff);
}

.edp-service-show-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: center;
}

.edp-service-show-hero h1 {
    font-size: clamp(34px, 5vw, 60px);
    margin: 10px 0 16px;
    color: #0f172a;
}

.edp-service-show-hero p {
    color: #475569;
    line-height: 2.15;
    max-width: 780px;
    font-size: 17px;
}

.edp-service-show-summary {
    background: #0f172a;
    color: #fff;
    border-radius: 30px;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(15,23,42,.20);
}

.edp-service-show-summary div {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.edp-service-show-summary div:last-child {
    border-bottom: 0;
}

.edp-service-show-summary small,
.edp-service-show-summary strong {
    display: block;
}

.edp-service-show-summary small {
    color: #93c5fd;
    margin-bottom: 7px;
}

.edp-service-show-summary strong {
    font-size: 18px;
}

.edp-service-show-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 26px;
    padding: 60px 0 80px;
}

.edp-service-content-card,
.edp-service-side-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
    margin-bottom: 20px;
}

.edp-service-content-card h2,
.edp-service-side-card h2 {
    margin-top: 0;
    color: #0f172a;
}

.edp-service-fit-grid,
.edp-service-plan-grid {
    display: grid;
    gap: 14px;
}

.edp-service-fit-grid {
    grid-template-columns: repeat(2, 1fr);
}

.edp-service-fit-grid span {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    color: #475569;
    line-height: 2;
}

.edp-service-plan-grid {
    grid-template-columns: repeat(3, 1fr);
}

.edp-service-plan-card {
    position: relative;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 20px;
}

.edp-plan-popular {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ff7a00;
    color: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 950;
}

.edp-service-plan-card h3 {
    color: #0f172a;
    margin-top: 0;
}

.edp-service-plan-card p,
.edp-service-side-card p {
    color: #64748b;
    line-height: 2;
}

.edp-service-plan-card > strong {
    display: block;
    color: #2563eb;
    font-size: 22px;
    margin: 16px 0 4px;
}

.edp-service-plan-card > small {
    color: #64748b;
}

.edp-service-plan-card ul {
    padding-right: 18px;
    color: #475569;
    line-height: 2;
}

.edp-related-list {
    display: grid;
    gap: 10px;
}

.edp-related-list a {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px;
    text-decoration: none;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .edp-services-hero-grid,
    .edp-service-show-grid,
    .edp-service-show-content,
    .edp-services-cta .edp-public-container {
        grid-template-columns: 1fr;
    }

    .edp-services-process-grid,
    .edp-service-category-grid,
    .edp-services-grid,
    .edp-service-plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .edp-services-process-grid,
    .edp-service-category-grid,
    .edp-services-grid,
    .edp-service-fit-grid,
    .edp-service-plan-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact / Project Request */
.edp-contact-hero {
    padding: 86px 0 54px;
    background:
        radial-gradient(circle at 18% 20%, rgba(37,99,235,.18), transparent 32%),
        radial-gradient(circle at 82% 22%, rgba(14,165,233,.12), transparent 28%),
        linear-gradient(135deg, #f8fafc, #eff6ff);
}

.edp-contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 42px;
    align-items: center;
}

.edp-contact-hero h1 {
    font-size: clamp(36px, 5.5vw, 66px);
    line-height: 1.32;
    color: #0f172a;
    margin: 10px 0 18px;
}

.edp-contact-hero p {
    max-width: 820px;
    color: #475569;
    line-height: 2.15;
    font-size: 17px;
}

.edp-contact-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.edp-contact-trust span {
    background: #fff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 950;
    font-size: 13px;
}

.edp-contact-info-card {
    background: #0f172a;
    color: #fff;
    border-radius: 34px;
    padding: 28px;
    box-shadow: 0 28px 70px rgba(15,23,42,.22);
}

.edp-contact-info-card strong {
    display: block;
    font-size: 56px;
    font-weight: 950;
    direction: ltr;
}

.edp-contact-info-card > span {
    display: block;
    color: #93c5fd;
    direction: ltr;
    margin-bottom: 22px;
}

.edp-contact-info-card ul {
    padding-right: 20px;
    color: #e2e8f0;
    line-height: 2.1;
}

.edp-contact-info-card a {
    display: inline-flex;
    margin-top: 14px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 16px;
    padding: 12px 18px;
    font-weight: 950;
}

.edp-contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    padding: 64px 0 86px;
}

.edp-contact-form-card,
.edp-contact-side-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
}

.edp-contact-form-head h2 {
    color: #0f172a;
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 42px);
}

.edp-contact-form-head p {
    color: #64748b;
    line-height: 2;
}

.edp-contact-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.edp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.edp-contact-form label {
    display: block;
    color: #0f172a;
    font-weight: 950;
    margin-bottom: 8px;
}

.edp-contact-form input,
.edp-contact-form select,
.edp-contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dbe3ef;
    background: #f8fafc;
    border-radius: 16px;
    padding: 13px 14px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.edp-contact-form textarea {
    resize: vertical;
    line-height: 2;
}

.edp-contact-form input:focus,
.edp-contact-form select:focus,
.edp-contact-form textarea:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

.edp-contact-submit-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.edp-contact-submit-row button {
    border: 0;
    background: #2563eb;
    color: #fff;
    min-height: 50px;
    border-radius: 16px;
    padding: 0 22px;
    font-family: inherit;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 18px 35px rgba(37,99,235,.20);
}

.edp-contact-submit-row small {
    color: #64748b;
    line-height: 1.9;
    max-width: 520px;
}

.edp-public-alert {
    border-radius: 18px;
    padding: 14px 16px;
    margin-top: 16px;
    line-height: 1.9;
    font-weight: 800;
}

.edp-public-alert.success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.edp-public-alert.danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.edp-contact-side {
    display: grid;
    gap: 18px;
    align-content: start;
}

.edp-contact-side-card h2 {
    margin-top: 0;
    color: #0f172a;
}

.edp-contact-side-card ul {
    padding-right: 20px;
    color: #475569;
    line-height: 2.1;
}

.edp-contact-side-card.dark {
    background: #0f172a;
    color: #fff;
}

.edp-contact-side-card.dark span {
    color: #93c5fd;
    font-weight: 950;
    direction: ltr;
}

.edp-contact-side-card.dark h2 {
    color: #fff;
}

.edp-contact-side-card.dark p {
    color: #cbd5e1;
    line-height: 2;
}

.edp-contact-side-card.dark a {
    display: inline-flex;
    margin-top: 12px;
    color: #fff;
    background: #2563eb;
    text-decoration: none;
    border-radius: 14px;
    padding: 11px 16px;
    font-weight: 950;
}

@media (max-width: 1000px) {
    .edp-contact-hero-grid,
    .edp-contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .edp-form-grid {
        grid-template-columns: 1fr;
    }

    .edp-contact-form-card,
    .edp-contact-side-card,
    .edp-contact-info-card {
        border-radius: 24px;
        padding: 22px;
    }
}

/* EDP patch: article featured images and dual dates */
.edp-article-card-with-image { overflow:hidden; padding:0 !important; }
.edp-article-thumb { display:block; width:100%; aspect-ratio:16/9; background:#eef2ff; overflow:hidden; border-radius:inherit; border-bottom-left-radius:0; border-bottom-right-radius:0; }
.edp-article-thumb img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.edp-article-card-with-image:hover .edp-article-thumb img { transform:scale(1.035); }
.edp-article-thumb-placeholder { width:100%; height:100%; display:grid; place-items:center; background:linear-gradient(135deg,#e0e7ff,#f8fafc); color:#2563eb; font-size:13px; font-weight:900; }
.edp-article-card-body { padding:20px; }
.edp-article-meta { display:flex; flex-wrap:wrap; gap:10px; align-items:center; color:#64748b; margin:8px 0 10px; font-size:12px; }
.edp-date-dual { display:inline-flex; flex-direction:column; gap:2px; line-height:1.45; white-space:nowrap; }
.edp-date-dual > span { font-weight:800; color:#0f172a; }
.edp-date-dual > small { color:#64748b; font-size:11px; }

/* EDP final public typography tuning */
.edp-home-hero-content h1,
.edp-public-hero h1,
.edp-service-hero h1,
.edp-service-detail-main h1,
.edp-services-hero h1,
.edp-contact-hero h1,
.edp-contact-wizard-hero-main h1,
.edp-about-hero-main h1,
.edp-portfolio-hero h1,
.edp-portfolio-main h1,
.edp-mag-hero-main h1 {
    font-size: clamp(34px, 4.2vw, 58px) !important;
    line-height: 1.42 !important;
    letter-spacing: -0.8px !important;
}

.edp-home-hero-content p {
    font-size: 16px !important;
    line-height: 2.15 !important;
}

.edp-section-head h2,
.edp-ai-insight-content h2,
.edp-latest-tech-content h2,
.edp-home-section-head h2,
.edp-home-dark h2,
.edp-home-cta h2,
.edp-service-cta h2,
.edp-service-order-box h2,
.edp-service-description-box h2,
.edp-service-plans-box h2,
.edp-services-cta h2,
.edp-contact-form-head h2,
.edp-contact-side-card h2,
.edp-about-section-head h2,
.edp-about-dark h2,
.edp-about-edp h2,
.edp-about-cta h2 {
    font-size: clamp(24px, 3vw, 36px) !important;
    line-height: 1.55 !important;
    letter-spacing: -0.5px !important;
}

.edp-home-article-card h3,
.edp-home-service-card h3,
.edp-home-portfolio-card h3,
.edp-service-category-card h3,
.edp-service-public-card h3,
.edp-service-plan-card h3,
.edp-mag-featured-card h3,
.edp-mag-row-card h3,
.edp-mag-side-panel h3,
.edp-portfolio-card h2 {
    font-size: clamp(17px, 1.7vw, 23px) !important;
    line-height: 1.75 !important;
}

@media (max-width: 700px) {
    .edp-home-hero-content h1,
    .edp-public-hero h1,
    .edp-service-hero h1,
    .edp-service-detail-main h1,
    .edp-services-hero h1,
    .edp-contact-hero h1,
    .edp-contact-wizard-hero-main h1,
    .edp-about-hero-main h1,
    .edp-portfolio-hero h1,
    .edp-portfolio-main h1,
    .edp-mag-hero-main h1 {
        font-size: 32px !important;
        line-height: 1.55 !important;
    }

    .edp-section-head h2,
    .edp-ai-insight-content h2,
    .edp-latest-tech-content h2 {
        font-size: 24px !important;
    }
}

/* EDP home image slider */
.edp-home-visual-photo {
    min-height: 430px;
}

.edp-home-photo-slider {
    position: relative;
    width: min(560px, 100%);
    aspect-ratio: 16 / 9;
    border-radius: 38px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 34px 90px rgba(15, 23, 42, .26);
    border: 1px solid rgba(148, 163, 184, .22);
}

.edp-home-photo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: edpHomeSlideFade 10s infinite;
}

.edp-home-photo-slide:nth-child(2) {
    animation-delay: 5s;
}

.edp-home-photo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
}

.edp-home-photo-overlay {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 18px;
    left: 18px;
    border-radius: 24px;
    padding: 16px 18px;
    background: rgba(2, 6, 23, .74);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    backdrop-filter: blur(14px);
}

.edp-home-photo-overlay span,
.edp-home-photo-overlay small {
    display: block;
    color: #bfdbfe;
    font-size: 12px;
    line-height: 1.8;
}

.edp-home-photo-overlay strong {
    display: block;
    font-size: 17px;
    margin: 3px 0;
    line-height: 1.6;
}

@keyframes edpHomeSlideFade {
    0% { opacity: 0; transform: scale(1.02); }
    8% { opacity: 1; transform: scale(1); }
    45% { opacity: 1; transform: scale(1); }
    55% { opacity: 0; transform: scale(1.02); }
    100% { opacity: 0; transform: scale(1.02); }
}

/* Suitable second image card */
.edp-home-brand-image-card {
    margin-top: 24px;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
    background: #fff;
}

.edp-home-brand-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .edp-home-visual-photo {
        min-height: auto;
    }

    .edp-home-photo-slider {
        width: 100%;
        border-radius: 28px;
    }

    .edp-home-photo-overlay {
        right: 12px;
        bottom: 12px;
        left: 12px;
        border-radius: 18px;
        padding: 12px;
    }
}

/* EDP final smaller typography + premium home slider frame */
body {
    font-size: 15px;
}

/* Smaller public headings */
.edp-public-layout h1,
.edp-home-hero h1,
.edp-home-hero-content h1,
.edp-home-hero-copy h1,
.edp-public-hero h1,
.edp-services-hero h1,
.edp-service-hero h1,
.edp-contact-wizard-hero-main h1,
.edp-contact-hero h1,
.edp-about-hero-main h1,
.edp-portfolio-hero h1,
.edp-mag-hero-main h1 {
    font-size: clamp(30px, 3.25vw, 46px) !important;
    line-height: 1.55 !important;
    letter-spacing: -0.6px !important;
    font-weight: 900 !important;
}

.edp-public-layout h2,
.edp-section-head h2,
.edp-home-section-head h2,
.edp-ai-insight-content h2,
.edp-latest-tech-content h2,
.edp-home-dark h2,
.edp-home-cta h2,
.edp-service-cta h2,
.edp-services-cta h2,
.edp-contact-form-head h2,
.edp-contact-side-card h2,
.edp-about-section-head h2,
.edp-about-dark h2,
.edp-about-edp h2,
.edp-about-cta h2 {
    font-size: clamp(21px, 2.15vw, 30px) !important;
    line-height: 1.65 !important;
    letter-spacing: -0.35px !important;
    font-weight: 900 !important;
}

.edp-public-layout h3,
.edp-home-article-card h3,
.edp-home-service-card h3,
.edp-home-portfolio-card h3,
.edp-service-category-card h3,
.edp-service-public-card h3,
.edp-service-plan-card h3,
.edp-mag-featured-card h3,
.edp-mag-row-card h3,
.edp-mag-side-panel h3 {
    font-size: clamp(16px, 1.35vw, 20px) !important;
    line-height: 1.85 !important;
    font-weight: 900 !important;
}

.edp-home-hero-content p,
.edp-home-hero-copy p,
.edp-public-hero p,
.edp-contact-wizard-hero-main p {
    font-size: 15px !important;
    line-height: 2.15 !important;
}

/* Wider and more premium home hero image frame */
.edp-home-visual,
.edp-home-visual-photo {
    width: 100% !important;
    min-height: 520px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.edp-home-photo-slider {
    width: min(760px, 100%) !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 46px !important;
    overflow: hidden !important;
    background: #020617 !important;
    border: 1px solid rgba(148, 163, 184, .30) !important;
    box-shadow:
        0 42px 100px rgba(15, 23, 42, .32),
        0 16px 36px rgba(37, 99, 235, .12) !important;
    position: relative !important;
}

.edp-home-photo-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(2,6,23,.44), transparent 38%),
        linear-gradient(180deg, rgba(2,6,23,.10), rgba(2,6,23,.38));
    pointer-events: none;
}

.edp-home-photo-slider::after {
    content: "";
    position: absolute;
    inset: 16px;
    z-index: 3;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.16);
    pointer-events: none;
}

.edp-home-photo-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    filter: saturate(1.05) contrast(1.04) !important;
}

.edp-home-photo-overlay {
    right: 24px !important;
    bottom: 24px !important;
    left: 24px !important;
    z-index: 5 !important;
    border-radius: 26px !important;
    padding: 17px 20px !important;
    background: rgba(2, 6, 23, .72) !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    box-shadow: 0 18px 45px rgba(2, 6, 23, .26) !important;
}

.edp-home-photo-overlay strong {
    font-size: 16px !important;
    line-height: 1.7 !important;
}

.edp-home-photo-overlay span,
.edp-home-photo-overlay small {
    font-size: 11px !important;
}

/* Make floating labels cleaner around the bigger frame */
.edp-orbit-symbol {
    box-shadow: 0 18px 44px rgba(15, 23, 42, .12) !important;
    border: 1px solid rgba(226, 232, 240, .9) !important;
}

/* If the second wide image card exists, make it more elegant */
.edp-home-brand-image-card {
    max-width: 1180px !important;
    margin: 34px auto 0 !important;
    border-radius: 40px !important;
    overflow: hidden !important;
    box-shadow: 0 32px 90px rgba(15, 23, 42, .14) !important;
}

.edp-home-brand-image-card img {
    width: 100% !important;
    display: block !important;
    object-fit: cover !important;
}

@media (max-width: 900px) {
    .edp-public-layout h1,
    .edp-home-hero h1,
    .edp-home-hero-content h1,
    .edp-home-hero-copy h1 {
        font-size: 30px !important;
        line-height: 1.65 !important;
    }

    .edp-public-layout h2,
    .edp-section-head h2,
    .edp-home-section-head h2 {
        font-size: 22px !important;
    }

    .edp-home-visual,
    .edp-home-visual-photo {
        min-height: auto !important;
        margin-top: 24px !important;
    }

    .edp-home-photo-slider {
        width: 100% !important;
        border-radius: 30px !important;
        aspect-ratio: 16 / 10 !important;
    }

    .edp-home-photo-slider::after {
        inset: 10px !important;
        border-radius: 22px !important;
    }

    .edp-home-photo-overlay {
        right: 14px !important;
        bottom: 14px !important;
        left: 14px !important;
        border-radius: 20px !important;
        padding: 13px 14px !important;
    }
}

/* Emergency home hero title size control */
body .edp-home-hero h1,
body .edp-home-hero-content h1,
body .edp-home-hero-copy h1,
body main h1:first-of-type {
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1.6 !important;
}

/* EDP remove home slider overlay/caption completely */
.edp-home-photo-overlay,
.edp-home-photo-caption {
    display: none !important;
}

/* EDP premium floating badges around home slider */
.edp-orbit-symbol {
    width: 78px !important;
    height: 78px !important;
    border-radius: 24px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.90)) !important;
    color: #1d4ed8 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    letter-spacing: -0.2px !important;
    box-shadow:
        0 18px 44px rgba(15, 23, 42, .12),
        inset 0 1px 0 rgba(255,255,255,.9) !important;
    border: 1px solid rgba(226, 232, 240, .95) !important;
    backdrop-filter: blur(12px) !important;
}

/* More balanced positions around the bigger slider */
.edp-orbit-symbol.s1 {
    top: 16px !important;
    right: 48% !important;
}

.edp-orbit-symbol.s2 {
    top: 78px !important;
    right: 8px !important;
}

.edp-orbit-symbol.s3 {
    right: auto !important;
    left: 24px !important;
    bottom: 86px !important;
}

.edp-orbit-symbol.s4 {
    right: 74px !important;
    bottom: 18px !important;
}

/* Make badges less dominant on the hero image */
.edp-home-visual-photo .edp-orbit-symbol {
    opacity: .96 !important;
    transform: translateZ(0) !important;
}

.edp-home-visual-photo .edp-orbit-symbol:hover {
    transform: translateY(-3px) !important;
    box-shadow:
        0 24px 58px rgba(15, 23, 42, .16),
        inset 0 1px 0 rgba(255,255,255,.9) !important;
}

/* Mobile: keep badges smaller and out of the way */
@media (max-width: 900px) {
    .edp-orbit-symbol {
        width: 62px !important;
        height: 62px !important;
        border-radius: 20px !important;
        font-size: 12px !important;
    }

    .edp-orbit-symbol.s1 {
        top: -18px !important;
        right: 48% !important;
    }

    .edp-orbit-symbol.s2 {
        top: 18px !important;
        right: -6px !important;
    }

    .edp-orbit-symbol.s3 {
        left: -6px !important;
        bottom: 52px !important;
    }

    .edp-orbit-symbol.s4 {
        right: 26px !important;
        bottom: -14px !important;
    }
}

/* EDP softer floating badges */
.edp-home-visual-photo .edp-orbit-symbol {
    opacity: .82 !important;
}

.edp-home-visual-photo .edp-orbit-symbol {
    background: rgba(255,255,255,.86) !important;
}

/* EDP Packages Page */
.edp-packages-page {
    padding: 72px 0 90px;
}

.edp-packages-hero {
    max-width: 1120px;
    margin: 0 auto 56px;
    padding: 54px;
    border-radius: 42px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .18), transparent 34%),
        linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    box-shadow: 0 36px 90px rgba(15, 23, 42, .22);
}

.edp-packages-hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.65;
    font-weight: 900;
}

.edp-packages-hero p {
    max-width: 820px;
    color: rgba(255,255,255,.82);
    line-height: 2.15;
    font-size: 16px;
}

.edp-packages-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.edp-btn-light {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
}

.edp-package-section-head {
    max-width: 1120px;
    margin: 46px auto 22px;
}

.edp-package-section-head span {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 900;
    font-size: 13px;
}

.edp-package-section-head h2 {
    margin: 14px 0 8px;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 900;
    color: #0f172a;
}

.edp-package-section-head p {
    color: #64748b;
    line-height: 2;
}

.edp-package-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.edp-package-grid-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.edp-package-card {
    position: relative;
    padding: 28px;
    border-radius: 30px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.edp-package-card.is-featured {
    background:
        radial-gradient(circle at top left, rgba(37,99,235,.12), transparent 34%),
        #fff;
    border-color: rgba(59,130,246,.45);
    box-shadow: 0 28px 70px rgba(37, 99, 235, .14);
}

.edp-package-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
}

.edp-package-card h3 {
    margin: 18px 0 8px;
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
}

.edp-package-card strong {
    display: block;
    color: #1d4ed8;
    line-height: 1.9;
    margin-bottom: 12px;
}

.edp-package-card p,
.edp-package-card li {
    color: #475569;
    line-height: 2;
}

.edp-package-card ul {
    padding-right: 18px;
    margin: 16px 0 0;
}

.edp-package-link {
    display: inline-flex;
    margin-top: 20px;
    color: #2563eb;
    font-weight: 900;
    text-decoration: none;
}

.edp-support-box {
    max-width: 1120px;
    margin: 36px auto 0;
    padding: 34px;
    border-radius: 34px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid rgba(191, 219, 254, .9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.edp-support-box h2 {
    margin: 10px 0;
    color: #0f172a;
    font-weight: 900;
}

.edp-support-box p {
    color: #475569;
    line-height: 2.1;
    max-width: 780px;
}

.edp-footer-phone,
.edp-contact-phone-strip {
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

.edp-contact-phone-strip {
    max-width: 1120px;
    margin: 24px auto;
    padding: 22px 28px;
    border-radius: 28px;
    background: #eff6ff;
    border: 1px solid rgba(191,219,254,.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.edp-contact-phone-strip a,
.edp-footer-phone a {
    direction: ltr;
    color: #2563eb;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 980px) {
    .edp-package-grid,
    .edp-package-grid-wide {
        grid-template-columns: 1fr;
    }

    .edp-packages-hero {
        padding: 34px 24px;
        border-radius: 30px;
    }

    .edp-support-box,
    .edp-contact-phone-strip {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* EDP contact phone and footer phone */
.edp-contact-phone-strip {
    max-width: 1120px;
    margin: 24px auto;
    padding: 22px 28px;
    border-radius: 28px;
    background: #eff6ff;
    border: 1px solid rgba(191,219,254,.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.edp-contact-phone-strip strong {
    color: #0f172a;
    font-weight: 900;
}

.edp-contact-phone-strip p {
    margin: 8px 0 0;
    color: #475569;
    line-height: 2;
}

.edp-contact-phone-strip a,
.edp-footer-phone a {
    direction: ltr;
    color: #2563eb;
    font-weight: 900;
    text-decoration: none;
}

.edp-footer-phone {
    margin-top: 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 780px) {
    .edp-contact-phone-strip {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* EDP public header/footer final polish */
.edp-public-header-inner {
    gap: 24px;
}

.edp-public-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.edp-public-nav a {
    white-space: nowrap;
    padding: 9px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
}

.edp-public-nav a.is-active,
.edp-public-nav a:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.edp-public-login {
    white-space: nowrap;
}

.edp-public-footer-inner {
    align-items: flex-start;
}

.edp-footer-brand-block {
    max-width: 620px;
}

.edp-footer-brand-block strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
}

.edp-footer-brand-block p {
    margin: 0;
    color: #64748b;
    line-height: 2;
}

.edp-footer-phone {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
}

.edp-footer-phone a {
    direction: ltr;
    color: #2563eb;
    font-weight: 900;
    text-decoration: none;
}

.edp-footer-mini-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.edp-footer-mini-nav a {
    color: #475569;
    text-decoration: none;
    font-weight: 800;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 999px;
}

@media (max-width: 1100px) {
    .edp-public-header-inner {
        flex-wrap: wrap;
    }

    .edp-public-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 780px) {
    .edp-public-footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .edp-footer-phone {
        align-items: flex-start;
    }
}

/* EDP package price polish */
.edp-package-price {
    margin: 10px 0 14px;
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 900;
    font-size: 14px;
}

/* EDP packages final */
.edp-package-price {
    margin: 10px 0 14px;
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 900;
    font-size: 14px;
}
/* EDP header compact brand and professional menu order */
.edp-site-brand {
    min-width: 160px !important;
    gap: 8px !important;
}

.edp-site-brand img {
    max-width: 126px !important;
    max-height: 46px !important;
}

.edp-site-brand-text {
    gap: 0 !important;
    max-width: 132px !important;
}

.edp-site-brand-text strong {
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.edp-site-brand-text small {
    font-size: 9.5px !important;
    line-height: 1.65 !important;
    font-weight: 800 !important;
    white-space: normal !important;
    color: #64748b !important;
}

.edp-site-header-inner {
    gap: 14px !important;
}

.edp-site-nav {
    gap: 2px !important;
}

.edp-site-nav a {
    font-size: 13px !important;
    padding: 9px 9px !important;
}

@media (max-width: 1200px) {
    .edp-site-brand-text small {
        display: none !important;
    }

    .edp-site-brand {
        min-width: 130px !important;
    }
}

/* EDP footer enamad */
.edp-footer-enamad {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.edp-footer-enamad-title {
    font-size: 13px;
    font-weight: 900;
    color: #475569;
}

.edp-footer-enamad a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    min-height: 92px;
    padding: 8px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.edp-footer-enamad img {
    max-width: 76px;
    max-height: 76px;
    object-fit: contain;
}

@media (max-width: 780px) {
    .edp-footer-enamad {
        align-items: flex-start;
    }
}
/* Footer Enamad placement fix */
.edp-footer-enamad {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 110px;
}

.edp-footer-enamad-title {
    font-size: 12px;
    font-weight: 800;
    color: rgba(148, 163, 184, .85);
    line-height: 1.6;
}

.edp-footer-enamad a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    padding: 8px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.edp-footer-enamad img {
    display: block;
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .edp-footer-enamad {
        align-items: center;
        margin-inline: auto;
    }
}

/* Header logo subtitle polish */
.edp-header-logo-subtitle {
    display: inline-block;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.2px;
    opacity: .82;
    max-width: none;
}

@media (max-width: 768px) {
    .edp-header-logo-subtitle {
        font-size: 10px;
    }
}

/* EDP global public width fix - 1420px */
:root {
    --edp-container-width: 1420px;
}

.edp-container,
.edp-public-container,
.edp-section-inner,
.edp-header-inner,
.edp-footer-inner,
.edp-hero-inner,
.edp-page-inner,
.edp-main-inner,
.edp-content-inner,
.edp-packages-inner,
.edp-contact-inner,
.edp-portfolio-inner,
.edp-blog-inner,
.edp-services-inner,
.edp-width-container {
    width: min(var(--edp-container-width), calc(100% - 40px)) !important;
    max-width: var(--edp-container-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Laravel / generic wrappers fallback */
.public-container,
.site-container,
.page-container,
.container,
.container-xl,
.container-xxl {
    max-width: var(--edp-container-width) !important;
}

/* Header should also follow 1420px */
.edp-public-header .edp-header-inner,
.edp-header .edp-header-inner,
header .edp-header-inner {
    width: min(var(--edp-container-width), calc(100% - 40px)) !important;
    max-width: var(--edp-container-width) !important;
}

/* Footer should also follow 1420px */
.edp-public-footer .edp-footer-inner,
.edp-footer .edp-footer-inner,
footer .edp-footer-inner {
    width: min(var(--edp-container-width), calc(100% - 40px)) !important;
    max-width: var(--edp-container-width) !important;
}

/* Mobile safe spacing */
@media (max-width: 768px) {
    .edp-container,
    .edp-public-container,
    .edp-section-inner,
    .edp-header-inner,
    .edp-footer-inner,
    .edp-hero-inner,
    .edp-page-inner,
    .edp-main-inner,
    .edp-content-inner {
        width: min(100% - 24px, var(--edp-container-width)) !important;
    }
}

/* EDP header logo subtitle final nowrap fix */
.edp-header-logo-subtitle {
    display: block !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
    width: max-content !important;
    max-width: none !important;
    min-width: max-content !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: -0.45px !important;
    word-spacing: -1px !important;
    opacity: .78 !important;
}

/* give the logo text area enough room */
.edp-header-brand,
.edp-public-brand,
.edp-logo-wrap,
.edp-header-logo,
.edp-brand-text,
.edp-logo-text {
    min-width: max-content !important;
    max-width: none !important;
    overflow: visible !important;
}

/* prevent header logo block from squeezing */
.edp-header-inner {
    gap: 22px !important;
}

.edp-public-nav,
.edp-header-nav,
.edp-nav {
    flex-shrink: 1 !important;
}

@media (max-width: 768px) {
    .edp-header-logo-subtitle {
        font-size: 8.5px !important;
        letter-spacing: -0.5px !important;
        word-spacing: -1.5px !important;
    }
}

/* EDP logo subtitle final */
.edp-header-logo-subtitle {
    display: block !important;
    white-space: nowrap !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -0.45px !important;
    color: rgba(71, 85, 105, .82) !important;
    max-width: none !important;
    overflow: visible !important;
}

.edp-header-brand,
.edp-public-brand,
.edp-logo-wrap,
.edp-header-logo,
.edp-brand-text,
.edp-logo-text {
    min-width: 190px !important;
    max-width: none !important;
    overflow: visible !important;
}

@media (max-width: 768px) {
    .edp-header-logo-subtitle {
        display: none !important;
    }
}

/* Force logo subtitle smaller */
.edp-header-logo-subtitle {
    display: block !important;
    white-space: nowrap !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
    letter-spacing: -0.55px !important;
    color: #64748b !important;
    margin-top: 1px !important;
}

.edp-header-brand,
.edp-public-brand,
.edp-logo-wrap,
.edp-header-logo,
.edp-brand-text,
.edp-logo-text,
.edp-header-brand-text {
    min-width: 150px !important;
    max-width: none !important;
    overflow: visible !important;
}

@media (max-width: 768px) {
    .edp-header-logo-subtitle {
        display: none !important;
    }
}

/* EDP notification bell */
.edp-notification-bell-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.edp-notification-bell-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    color: #0f172a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.edp-notification-bell-icon {
    font-size: 18px;
    line-height: 1;
}

.edp-notification-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 20px;
    text-align: center;
    border: 2px solid #fff;
}

.edp-notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 340px;
    max-width: calc(100vw - 28px);
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease;
    direction: rtl;
}

.edp-notification-bell-wrap.is-open .edp-notification-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.edp-notification-dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.edp-notification-dropdown-head strong {
    font-size: 15px;
    color: #0f172a;
}

.edp-notification-dropdown-head button {
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.edp-notification-list {
    max-height: 330px;
    overflow: auto;
}

.edp-notification-item {
    display: block;
    margin: 0;
}

.edp-notification-item button {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    text-align: right;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.edp-notification-item.is-unread button {
    background: #eff6ff;
}

.edp-notification-item strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
    margin-bottom: 4px;
}

.edp-notification-item small {
    display: block;
    color: #475569;
    font-size: 12px;
    line-height: 1.7;
}

.edp-notification-item em {
    display: block;
    color: #94a3b8;
    font-style: normal;
    font-size: 11px;
    margin-top: 4px;
}

.edp-notification-dot {
    width: 9px;
    height: 9px;
    border-radius: 99px;
    margin-top: 5px;
    flex: 0 0 auto;
    background: #2563eb;
}

.edp-notification-dot-success {
    background: #16a34a;
}

.edp-notification-dot-warning {
    background: #f59e0b;
}

.edp-notification-dot-danger {
    background: #dc2626;
}

.edp-notification-empty {
    padding: 22px 16px;
    color: #64748b;
    text-align: center;
    font-size: 13px;
}

.edp-notification-all-link {
    display: block;
    padding: 13px 16px;
    text-align: center;
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    border-top: 1px solid #e2e8f0;
}

.edp-panel-notification-fixed {
    position: fixed;
    top: 18px;
    left: 24px;
    z-index: 10000;
}

.edp-notification-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.edp-notification-row.is-unread {
    background: #eff6ff;
}

.edp-notification-row strong {
    display: block;
    color: #0f172a;
    margin-bottom: 6px;
}

.edp-notification-row p {
    margin: 0 0 6px;
    color: #475569;
}

.edp-notification-row small {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .edp-notification-dropdown {
        left: auto;
        right: -110px;
        width: 310px;
    }

    .edp-panel-notification-fixed {
        top: 12px;
        left: 12px;
    }
}

/* ================================
   EDP Notification + Admin UI Polish
   ================================ */

.edp-panel-notification-fixed {
    position: fixed !important;
    top: 18px !important;
    left: 24px !important;
    z-index: 10050 !important;
}

.edp-notification-bell-wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10050 !important;
}

.edp-notification-bell-btn {
    position: relative !important;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
    color: #fff !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 14px 34px rgba(37, 99, 235, .28) !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.edp-notification-bell-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 18px 42px rgba(37, 99, 235, .34) !important;
}

.edp-notification-bell-svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    color: #fff !important;
}

.edp-notification-badge {
    position: absolute !important;
    top: -7px !important;
    right: -7px !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 20px !important;
    text-align: center !important;
    border: 2px solid #fff !important;
    box-shadow: 0 8px 18px rgba(239, 68, 68, .35) !important;
}

.edp-notification-dropdown {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;
    width: 360px !important;
    max-width: calc(100vw - 28px) !important;
    background: rgba(255,255,255,.98) !important;
    border: 1px solid rgba(226, 232, 240, .95) !important;
    border-radius: 22px !important;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .20) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    transition: .18s ease !important;
    direction: rtl !important;
    backdrop-filter: blur(12px) !important;
}

.edp-notification-bell-wrap.is-open .edp-notification-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.edp-notification-dropdown-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 15px 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
}

.edp-notification-dropdown-head strong {
    font-size: 15px !important;
    color: #0f172a !important;
    font-weight: 900 !important;
}

.edp-notification-dropdown-head button {
    border: 0 !important;
    background: transparent !important;
    color: #2563eb !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

.edp-notification-list {
    max-height: 330px !important;
    overflow: auto !important;
}

.edp-notification-item {
    display: block !important;
    margin: 0 !important;
}

.edp-notification-item button {
    width: 100% !important;
    border: 0 !important;
    background: transparent !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 13px 16px !important;
    text-align: right !important;
    cursor: pointer !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.edp-notification-item.is-unread button {
    background: #eff6ff !important;
}

.edp-notification-item-content {
    display: block !important;
    min-width: 0 !important;
}

.edp-notification-item strong {
    display: block !important;
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    margin-bottom: 4px !important;
}

.edp-notification-item small {
    display: block !important;
    color: #475569 !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
}

.edp-notification-item em {
    display: block !important;
    color: #94a3b8 !important;
    font-style: normal !important;
    font-size: 11px !important;
    margin-top: 5px !important;
}

.edp-notification-dot {
    width: 9px !important;
    height: 9px !important;
    border-radius: 99px !important;
    margin-top: 6px !important;
    flex: 0 0 auto !important;
    background: #2563eb !important;
}

.edp-notification-dot-success { background: #16a34a !important; }
.edp-notification-dot-warning { background: #f59e0b !important; }
.edp-notification-dot-danger { background: #dc2626 !important; }

.edp-notification-empty {
    padding: 22px 16px !important;
    color: #64748b !important;
    text-align: center !important;
    font-size: 13px !important;
}

.edp-notification-all-link {
    display: block !important;
    padding: 13px 16px !important;
    text-align: center !important;
    color: #2563eb !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #fff !important;
}

/* Admin page polish */
.edp-admin-page {
    padding: 28px !important;
    direction: rtl !important;
}

.edp-admin-page-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin-bottom: 24px !important;
}

.edp-admin-page-header h1 {
    margin: 0 0 8px !important;
    color: #0f172a !important;
    font-size: 26px !important;
    font-weight: 950 !important;
}

.edp-admin-page-header p {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 14px !important;
}

.edp-admin-card {
    background: #fff !important;
    border: 1px solid rgba(226, 232, 240, .9) !important;
    border-radius: 28px !important;
    padding: 24px !important;
    box-shadow: 0 22px 70px rgba(15, 23, 42, .06) !important;
}

.edp-admin-form {
    display: grid !important;
    gap: 18px !important;
}

.edp-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.edp-admin-form label {
    display: block !important;
    margin-bottom: 8px !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

.edp-admin-form input,
.edp-admin-form select,
.edp-admin-form textarea {
    width: 100% !important;
    border: 1px solid #dbe3ef !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    border-radius: 16px !important;
    padding: 13px 14px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    outline: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.edp-admin-form textarea {
    min-height: 130px !important;
    resize: vertical !important;
}

.edp-admin-form input:focus,
.edp-admin-form select:focus,
.edp-admin-form textarea:focus {
    background: #fff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10) !important;
}

.edp-admin-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    border-radius: 15px !important;
    border: 1px solid transparent !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 14px 32px rgba(37, 99, 235, .22) !important;
}

.edp-admin-btn-light {
    background: #fff !important;
    color: #1d4ed8 !important;
    border-color: #dbeafe !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06) !important;
}

.edp-admin-btn-small {
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    border-radius: 12px !important;
}

.edp-admin-alert {
    border-radius: 18px !important;
    padding: 14px 16px !important;
    margin-bottom: 18px !important;
    font-weight: 800 !important;
}

.edp-admin-alert-success {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #bbf7d0 !important;
}

.edp-error {
    display: block !important;
    margin-top: 6px !important;
    color: #dc2626 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

@media (max-width: 768px) {
    .edp-admin-page {
        padding: 18px !important;
    }

    .edp-admin-page-header,
    .edp-form-grid {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .edp-notification-dropdown {
        left: auto !important;
        right: -120px !important;
        width: 310px !important;
    }

    .edp-panel-notification-fixed {
        top: 12px !important;
        left: 12px !important;
    }
}

/* ================================
   EDP Notification Placement Fix
   Admin: sidebar only
   User: top bar bell
   ================================ */

.edp-panel-notification-fixed {
    display: none !important;
}

.edp-user-top-notification-bell {
    position: fixed !important;
    top: 22px !important;
    left: 34px !important;
    z-index: 10060 !important;
}

/* Sidebar notification item */
.edp-sidebar-notification-link {
    position: relative !important;
}

.edp-sidebar-notification-badge {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    min-width: 21px !important;
    height: 21px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 21px !important;
    text-align: center !important;
    box-shadow: 0 8px 18px rgba(239, 68, 68, .35) !important;
}

/* More minimal bell */
.edp-notification-bell-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 14px !important;
    background: rgba(15, 23, 42, .92) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .18) !important;
}

.edp-notification-bell-svg {
    width: 19px !important;
    height: 19px !important;
    color: #fff !important;
}

.edp-notification-badge {
    background: #ef4444 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

@media (max-width: 768px) {
    .edp-user-top-notification-bell {
        top: 12px !important;
        left: 12px !important;
    }
}

/* EDP sidebar notification item polish */
.edp-sidebar-notification-link {
    position: relative !important;
}

.edp-sidebar-notification-link .edp-panel-nav-icon {
    filter: none !important;
}

.edp-sidebar-notification-badge {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 20px !important;
    text-align: center !important;
    box-shadow: 0 8px 18px rgba(239, 68, 68, .35) !important;
}

.edp-panel-notification-fixed {
    display: none !important;
}
