        :root {
            --primary-color: #1a9b8e;
            --secondary-color: #148c7f;
            --text-dark: #2c3e50;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html,
        body {
            height: 100%;
        }

        body {
            font-family: "Almarai", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans Arabic", "Droid Arabic Naskh", sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            background: linear-gradient(135deg, rgba(0, 128, 128, 0.05) 0%, rgba(0, 107, 107, 0.08) 100%);
            padding-top: 80px;
            padding-bottom: 2rem;
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            background: url("/images/kuwait.png") center/cover no-repeat;
            opacity: 0.5;
            z-index: -1;
            pointer-events: none;
        }

        body::after {
            content: "";
            position: fixed;
            inset: 0;
            background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
            z-index: -2;
            pointer-events: none;
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            padding: 1rem 2rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1000;
        }

        header a.btn {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            text-decoration: none;
            font-size: 1rem;
            transition: background 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }

        header a.btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        /* Card Container */
        .card-container {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.92) 100%);
            border-radius: 24px;
            padding: 3rem 2rem;
            max-width: 900px;
            width: 90vw;
            box-shadow:
                0 10px 40px rgba(0, 0, 0, 0.12),
                0 0 1px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .card-container::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(25, 154, 142, 0.3), transparent);
        }

        .card-container::after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at top right, rgba(25, 154, 142, 0.05) 0%, transparent 70%);
            pointer-events: none;
        }

        .portfolio-content {
            text-align: right;
            direction: rtl;
        }

        .portfolio-content h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary-color);
            margin-bottom: 2rem;
            position: relative;
            display: inline-block;
        }

        .portfolio-content h1::after {
            content: "";
            position: absolute;
            bottom: -10px;
            right: 0;
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            border-radius: 2px;
        }

        .portfolio-content p {
            font-size: 1.15rem;
            line-height: 2;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            text-align: center;
        }

        /* Document Cards */
        .doc-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .doc-card {
            background: white;
            border-radius: 12px;
            padding: 2rem 1.5rem;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .doc-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .doc-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px rgba(25, 154, 142, 0.2);
            border-color: rgba(25, 154, 142, 0.3);
        }

        .doc-card:hover::before {
            transform: scaleX(1);
        }

        .doc-icon {
            font-size: 4rem;
            color: #e74c3c;
            margin-bottom: 1.5rem;
            transition: transform 0.3s ease;
        }

        .doc-card:hover .doc-icon {
            transform: scale(1.1);
        }

        .doc-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.8rem;
        }

        .doc-lang {
            font-size: 0.95rem;
            color: #7f8c8d;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-weight: 500;
        }

        .download-btn {
            margin-top: auto;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            text-decoration: none;
            padding: 0.9rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            box-shadow: 0 4px 12px rgba(25, 154, 142, 0.3);
        }

        .download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(25, 154, 142, 0.4);
        }

        .download-btn i {
            transition: transform 0.3s ease;
        }

        .download-btn:hover i {
            transform: translateY(2px);
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .card-container {
                padding: 2.5rem 1.5rem;
                width: 92vw;
            }

            .portfolio-content h1 {
                font-size: 2rem;
            }
        }

        @media (max-width: 768px) {
            body {
                padding-top: 75px;
                padding-bottom: 1.5rem;
            }

            header {
                padding: 0.75rem 1.5rem;
            }

            header a.btn {
                padding: 0.5rem 0.75rem;
                font-size: 0.9rem;
                gap: 0.35rem;
            }

            .card-container {
                padding: 2rem 1.25rem;
                width: 95vw;
                border-radius: 16px;
            }

            .portfolio-content h1 {
                font-size: 1.8rem;
                margin-bottom: 1.5rem;
            }

            .portfolio-content h1::after {
                width: 60px;
                height: 3px;
            }

            .portfolio-content p {
                font-size: 1rem;
                line-height: 1.8;
                margin-bottom: 1.25rem;
            }

            .doc-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                margin-top: 2rem;
            }

            .doc-card {
                padding: 1.5rem 1rem;
            }

            .doc-icon {
                font-size: 3rem;
            }

            .doc-title {
                font-size: 1.1rem;
            }

            .download-btn {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            body {
                padding-top: 65px;
                padding-bottom: 1rem;
            }

            header {
                padding: 0.625rem 1rem;
            }

            header a.btn {
                padding: 0.4rem 0.6rem;
                font-size: 0.85rem;
            }

            header a.btn i {
                font-size: 0.85rem;
            }

            header a.btn span {
                display: none;
            }

            .card-container {
                padding: 1.5rem 1rem;
                width: 97vw;
                border-radius: 12px;
                margin: 0 auto;
            }

            .portfolio-content {
                text-align: center;
            }

            .portfolio-content h1 {
                font-size: 1.5rem;
                margin-bottom: 1rem;
            }

            .portfolio-content h1::after {
                width: 50px;
                height: 2px;
                left: 50%;
                transform: translateX(-50%);
            }

            .portfolio-content p {
                font-size: 0.95rem;
                line-height: 1.6;
                margin-bottom: 1rem;
            }

            .doc-grid {
                grid-template-columns: 1fr;
                gap: 1.25rem;
                margin-top: 1.5rem;
            }

            .doc-card {
                padding: 1.25rem 0.875rem;
                border-radius: 10px;
            }

            .doc-icon {
                font-size: 2.5rem;
                margin-bottom: 0.75rem;
            }

            .doc-title {
                font-size: 1rem;
                margin-bottom: 0.375rem;
            }

            .doc-lang {
                font-size: 0.85rem;
                margin-bottom: 0.75rem;
            }

            .download-btn {
                padding: 0.4rem 0.8rem;
                font-size: 0.85rem;
                gap: 0.35rem;
            }
        }

        @media (max-width: 360px) {
            body {
                padding-top: 60px;
            }

            .card-container {
                padding: 1.25rem 0.75rem;
                width: 98vw;
            }

            .portfolio-content h1 {
                font-size: 1.3rem;
            }

            .portfolio-content p {
                font-size: 0.9rem;
            }

            .doc-icon {
                font-size: 2rem;
            }
        }
