  .brand-block {
            display: flex;
            flex-direction: column;
            margin: 3.5rem 0px;
        }

        .brand-line {
            display: flex;
            align-items: baseline;
            flex-wrap: wrap;
            gap: 0.75rem 1.5rem;
        }

        .ydb-logo {
            font-size: 2.8rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, #1e3a8a, #0f2b5c);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            line-height: 1.1;
        }

        .cert-badge {
            background: #ffffffcc;
            backdrop-filter: blur(4px);
            padding: 0.5rem 1.2rem;
            border-radius: 60px;
            font-weight: 600;
            font-size: 1.1rem;
            color: #1e3a8a;
            border: 1px solid #ffffffaa;
            box-shadow: 0 8px 20px -10px rgba(0, 30, 60, 0.2);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .cert-badge i {
            color: #2563eb;
        }

        .tagline {
            font-size: 1.4rem;
            font-weight: 400;
            color: #2c3e5c;
            margin-top: 0.8rem;
            border-left: 5px solid #2563eb;
            padding-left: 1.5rem;
            background: linear-gradient(to right, #ffffff00, #ffffff70);
            max-width: 700px;
        }

        /* grid */
        .cert-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
            gap: 2rem 1.8rem;
            margin-bottom: 3.5rem;
        }

        /* certificate card */
        .cert-card {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            background: #ffffff;
            border-radius: 32px;
            padding: 1.5rem 1.5rem 2rem;
            box-shadow: 0 20px 35px -8px rgba(0, 30, 50, 0.15),
                inset 0 0 0 1px rgba(255, 255, 255, 0.7);
            transition: all 0.4s cubic-bezier(0.15, 0.75, 0.4, 1);
            display: flex;
            flex-direction: column;
            will-change: transform, opacity, box-shadow;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s, border-color 0.2s;
            border: 1px solid #e9eef3;
        }

        .cert-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* hover effect */
        .cert-card:hover {
            transform: translateY(-8px) scale(1.01);
            box-shadow: 0 30px 45px -12px rgba(0, 45, 80, 0.25), 0 0 0 1px #b3d0f0 inset;
            border-color: transparent;
        }

        .cert-card:hover .card-image img {
            transform: scale(1.03);
        }

        /* image area */
        .card-image {
            border-radius: 24px;
            overflow: hidden;
            margin-bottom: 1.5rem;
            background: #e6edf6;
            box-shadow: 0 12px 25px -12px rgba(0, 35, 70, 0.2);
            transition: box-shadow 0.3s;
        }

        .card-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.6s ease;
            border-radius: 24px;
            background: #ffffff;
            object-fit: cover;
            /* keeps aspect ratio, fills nicely */
            border: 1px solid #ffffff40;
        }

        /* card content */
        .card-content {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .card-title {
            font-size: 1.6rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            line-height: 1.3;
            color: #0a2942;
            margin-bottom: 0.4rem;
        }

        .issuer {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            color: #2563eb;
            background: #eef4ff;
            padding: 0.4rem 1rem;
            border-radius: 40px;
            width: fit-content;
            font-size: 0.9rem;
            margin: 0.5rem 0 1rem 0;
            border: 1px solid #ccdfff;
        }

        .issuer i {
            font-size: 1rem;
            color: #1e3a8a;
        }

        .description {
            color: #1f3a5f;
            font-weight: 400;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            flex: 1;
        }

        .cert-meta {
            background: #f1f6fd;
            border-radius: 20px;
            padding: 1rem 1.2rem;
            margin: 0.5rem 0 1.5rem 0;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            border: 1px solid #dde7f5;
            font-size: 0.9rem;
        }

        .cert-meta span {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            color: #15304e;
            font-weight: 500;
        }

        .cert-meta i {
            width: 1.4rem;
            color: #2563eb;
            font-size: 1rem;
        }

        .download-btn {
            background: #0a2942;
            color: white;
            border: none;
            border-radius: 50px;
            padding: 0.9rem 1.5rem;
            font-weight: 600;
            font-size: 1rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            margin-top: 0.6rem;
            border: 1px solid #2f4d7a;
            box-shadow: 0 10px 18px -12px #0a2942;
            letter-spacing: 0.3px;
        }

        .download-btn i {
            font-size: 1.1rem;
            transition: transform 0.2s;
        }

        .download-btn:hover {
            background: #14375c;
            gap: 1rem;
            box-shadow: 0 15px 20px -12px #0f2f4b;
        }

        .download-btn:hover i {
            transform: translateY(2px);
        }


        /* responsive tweaks */
        @media (max-width: 640px) {
            .ydb-logo {
              font-size: 1.8rem;
            }

            .tagline {
                font-size: 1.2rem;
            }

            .cert-grid {
                gap: 1.5rem;
            }

            .cert-card {
                padding: 1.2rem 1.2rem 1.8rem;
            }

            .card-title {
                font-size: 1.4rem;
            }
        }

        @media (prefers-reduced-motion: reduce) {

            .cert-card,
            .cert-card.visible,
            .card-image img,
            .download-btn,
            .cert-card:hover {
                transition: none !important;
                transform: none !important;
            }
        }