        body {
            font-family: 'Cairo', sans-serif;
            background: #f5f7fa;

        }

        html,
        body {
            height: 100%;
        }

        .page-wrapper {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .page-content {
            flex: 1;
        }


        a {
            text-decoration: none !important;
        }

        .navbar-brand {
            font-weight: 800;
        }


        .navbar {
            transition: box-shadow .2s ease;
        }

        .navbar.sticky-top {
            z-index: 1050;
        }

        .navbar .nav-link:hover {
            color: #0d6efd !important;
        }

        .navbar-brand img {
            max-height: 50px;
        }


        .hero {
            min-height: 70vh;
            background: linear-gradient(135deg, #446684, #447b84);
            color: #fff;
            display: flex;
            align-items: center;
        }

        .category-card,
        .tender-card {
            background: #fff;
            border-radius: 14px;
            padding: 25px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, .08);
            transition: .3s;
            height: 100%;
        }

        .category-card:hover,
        .tender-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 25px 45px rgba(0, 0, 0, .15);
        }

        .tender-meta i {
            color: #0d6efd;
            margin-inline-end: 6px;
        }

        footer {
            background: #111;
            color: #aaa;
        }

        .lang-btn {
            border: 1px solid #fff;
            color: #fff;
            background: transparent;
            padding: 5px 14px;
            border-radius: 20px;
            font-weight: 600;
        }


        /* ===== Login Modal ===== */

        .login-modal {
            border-radius: 18px;
            padding-bottom: 10px;
            animation: loginFade .25s ease;
        }

        @keyframes loginFade {
            from {
                opacity: 0;
                transform: translateY(10px) scale(.97);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* أيقونة فوق */
        .login-icon {
            width: 64px;
            height: 64px;
            background: #f1f3f5;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: -30px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
        }

        .login-icon i {
            font-size: 26px;
            color: #212529;
        }

        /* Input with icon */
        .input-icon {
            position: relative;
        }

        .input-icon i {
            position: absolute;
            top: 50%;
            left: 14px;
            transform: translateY(-50%);
            color: #6c757d;
            font-size: 15px;
        }

        html[dir="rtl"] .input-icon i {
            left: auto;
            right: 14px;
        }

        .input-icon input {
            padding-left: 42px;
            height: 44px;
            border-radius: 10px;
        }

        html[dir="rtl"] .input-icon input {
            padding-left: 12px;
            padding-right: 42px;
        }

        .input-icon input:focus {
            box-shadow: none;
            border-color: #212529;
        }

        .breadcrumb a {
            color: #212529;
        }

        .breadcrumb a:hover {
            color: #0d6efd;
        }

        .table td,
        .table th {
            vertical-align: middle;
        }


        .table-responsive {
            overflow-x: auto;
        }

        @media (max-width: 768px) {
            table {
                font-size: 0.85rem;
            }

            table thead {
                white-space: nowrap;
            }

            table td,
            table th {
                padding: 8px;
            }

            .btn-sm {
                padding: 4px 8px;
                font-size: 0.75rem;
            }
        }

        @media (max-width: 768px) {
            td .btn {
                width: 36px;
                height: 36px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }
        }


        /* Tender Banner */
        .tender-banner {
            background: linear-gradient(135deg, #0d6efd, #003f88);
            border-radius: 16px;
            padding: 28px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
        }

        .icon-circle {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .icon-circle i {
            color: #fff;
        }

        /* RTL support */
        html[dir="rtl"] .icon-circle {
            margin-right: 0;
            margin-left: 12px;
        }


        /* ===============================
   Tender Categories – Upgrade
================================ */

        .category-card-icon {
            position: relative;
            padding-top: 55px;
        }

        /* Icon Container */
        .category-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 14px;
            border-radius: 50%;
            background: linear-gradient(135deg, #446684, #447b84);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
            transition: .3s ease;
        }

        /* Icon */
        .category-icon i {
            font-size: 28px;
            color: #fff;
        }

        /* Title */
        .category-card-icon h6 {
            font-weight: 700;
            font-size: 0.95rem;
            color: #212529;
            margin-bottom: 0;
        }

        /* Hover Effects */
        .category-card-icon:hover .category-icon {
            transform: translateY(-6px) scale(1.05);
            box-shadow: 0 18px 35px rgba(0, 0, 0, .25);
        }

        .category-card-icon:hover h6 {
            color: #0d6efd;
        }

        /* ===============================
   Tender Projects – PRO
================================ */

        .tender-card-pro {
            position: relative;
            padding-top: 70px;
        }

        /* Top Icon */
        .tender-icon {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, #446684, #447b84);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 12px 25px rgba(0, 0, 0, .22);
        }

        .tender-icon i {
            font-size: 24px;
            color: #fff;
        }

        /* Title */
        .tender-card-pro h5 {
            font-weight: 800;
            font-size: 1.05rem;
            margin-bottom: 8px;
            text-align: center;
        }

        /* Description */
        .tender-desc {
            font-size: 0.9rem;
            line-height: 1.6;
            text-align: center;
        }

        /* Meta */
        .tender-card-pro .tender-meta {
            font-size: 0.85rem;
            color: #495057;
        }

        .tender-card-pro .tender-meta div {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 4px;
        }

        /* Hover polish */
        .tender-card-pro:hover .tender-icon {
            transform: translateX(-50%) translateY(-6px) scale(1.05);
        }

        .tender-card-pro:hover h5 {
            color: #0d6efd;
        }

        /* Fix Tender Icon Overlap */
        .tender-section-title {
            position: relative;
            z-index: 2;
        }

        section .row.g-4 {
            padding-top: 40px;
        }

        section .col-md-4:first-child .tender-icon {
            animation: floatIcon 3s ease-in-out infinite;
        }

        @keyframes floatIcon {

            0%,
            100% {
                transform: translateX(-50%) translateY(0);
            }

            50% {
                transform: translateX(-50%) translateY(-6px);
            }
        }

        /* =====================================
   Tender Documents – Professional UI
===================================== */

        /* Category Card */
        .doc-category-card {
            background: #fff;
            border-radius: 14px;
            border: 1px solid #e6e9ee;
            box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
            overflow: hidden;
            transition: .3s ease;
        }

        .doc-category-card:hover {
            box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
        }

        /* Category Header */
        .doc-category-title {
            background: linear-gradient(135deg, #446684, #447b84);
            color: #fff;
            padding: 14px 18px;
            font-weight: 800;
            font-size: 0.95rem;
            letter-spacing: .3px;
        }

        /* Files List */
        .doc-category-card ul {
            padding: 14px 16px;
        }

        /* Single Document */
        .doc-item {
            background: #f8fafc;
            border-radius: 10px;
            padding: 10px 12px;
            margin-bottom: 10px;
            transition: .25s ease;
        }

        .doc-item:last-child {
            margin-bottom: 0;
        }

        .doc-item:hover {
            background: #eef3f8;
        }

        /* Icon Bigger & Clear */
        .doc-item i.fa-file,
        .doc-item i.fa-file-pdf,
        .doc-item i.fa-file-word,
        .doc-item i.fa-file-excel,
        .doc-item i.fa-file-powerpoint,
        .doc-item i.fa-file-image,
        .doc-item i.fa-file-zipper {
            font-size: 22px;
        }

        /* Document Title */
        .doc-item span {
            font-size: 0.9rem;
            font-weight: 600;
            color: #212529;
        }

        /* Download Icon */
        .doc-item a i {
            font-size: 18px;
            color: #6c757d;
            transition: .25s;
        }

        .doc-item a:hover i {
            color: #0d6efd;
            transform: scale(1.15);
        }

        /* =====================================
   Pricing Table – Professional Style
===================================== */

        #pricingTable {
            background: #fff;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
        }

        /* Table Head */
        #pricingTable thead th {
            background: #f1f3f6;
            font-weight: 800;
            font-size: 0.85rem;
            color: #343a40;
            white-space: nowrap;
        }

        /* Rows */
        #pricingTable tbody tr {
            transition: background .25s ease;
        }

        #pricingTable tbody tr:hover {
            background: #f8fafc;
        }

        /* Item Title */
        #pricingTable td .fw-semibold {
            font-size: 0.9rem;
        }

        /* Quantity */
        #pricingTable td.qty {
            font-weight: 700;
            color: #2f4b63;
        }

        /* Price Input */
        #pricingTable input.price_op {
            border-radius: 10px;
            border: 1px solid #d0d7e2;
            font-weight: 700;
            text-align: center;
            padding: 8px 10px;
            transition: .25s ease;
        }

        #pricingTable input.price_op:focus {
            border-color: #446684;
            box-shadow: 0 0 0 4px rgba(68, 102, 132, .18);
        }

        /* Row Total */
        #pricingTable td.row-total {
            font-weight: 800;
            color: #0d6efd;
        }

        /* Footer */
        #pricingTable tfoot th {
            background: #f1f3f6;
            font-size: 0.9rem;
            font-weight: 900;
        }

        /* Grand Total */
        #grandTotal {
            font-size: 1.05rem;
            font-weight: 900;
            color: #198754;
        }

        /* Icons via CSS (no HTML touch) */
        #pricingTable thead th:nth-child(2)::before {
            content: "\f02b";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-inline-end: 6px;
            color: #446684;
        }

        #pricingTable thead th:nth-child(3)::before {
            content: "\f0b2";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-inline-end: 6px;
            color: #446684;
        }

        #pricingTable thead th:nth-child(4)::before {
            content: "\f547";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-inline-end: 6px;
            color: #446684;
        }

        #pricingTable thead th:nth-child(5)::before,
        #pricingTable thead th:nth-child(6)::before {
            content: "\f155";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-inline-end: 6px;
            color: #446684;
        }

        /* =====================================
   Submission Form – Professional UI
===================================== */

/* Form Wrapper */
#submissionForm {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
}

/* Section Card */
#submissionForm {
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

/* Labels */
#submissionForm .form-label,
#submissionForm .form-check-label {
    font-size: 0.9rem;
    color: #212529;
}

/* Inputs */
#submissionForm .form-control {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.9rem;
    border: 1px solid #d0d7e2;
    transition: .25s ease;
}

#submissionForm .form-control:focus {
    border-color: #446684;
    box-shadow: 0 0 0 4px rgba(68,102,132,.18);
}

/* Checkbox & Radio */
#submissionForm .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
    border: 1px solid #adb5bd;
    cursor: pointer;
}

#submissionForm .form-check-input:checked {
    background-color: #446684;
    border-color: #446684;
}

/* Align checkbox nicely */
#submissionForm .form-check {
    padding-left: 1.6em;
}

/* Submit Button */
#submissionForm .go_send {
    background: linear-gradient(135deg, #446684, #447b84);
    border: none;
    border-radius: 999px;
    padding: 10px 26px;
    font-weight: 800;
    transition: .3s ease;
}

#submissionForm .go_send:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,.18);
}

/* Button icon */
#submissionForm .go_send i {
    font-size: 0.9rem;
}

/* Spacing tweak for checkbox-only rows */
#submissionForm .form-check {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
}

/* Responsive polish */
@media (max-width: 768px) {
    #submissionForm {
        padding: 22px;
    }
}


.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 2s ease-in-out, transform 8s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1.1);
}

/* Overlay خفيف علشان النص يبان */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 120px;
}
.media-card {
    cursor: pointer;
    transition: all .25s ease;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.media-card:hover {
    transform: translateY(-5px);
}

.video-thumb {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #111, #333);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb i {
    font-size: 40px;
    color: #ffc107;
}

.media-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.media-card .media-box {
    height: 220px;           /* ← اتحكم هنا */
    overflow: hidden;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}
.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* السحر هنا */
}
.video-thumb {
    height: 100%;
    background: linear-gradient(135deg, #111, #333);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb i {
    font-size: 48px;
    color: #ffc107;
}
