
.register-btn-wrap {
    text-align: center;
    margin: 40px 0;
}

/* BUTTON STYLE + EXTREME ANIMATION */
.register-btn {
    display: inline-block;
    background-color: #D40000;
    color: #fff;
    padding: 12px 30px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s ease;

    /* EXTREME LEFT–RIGHT MOVEMENT */
    animation: extremeLeftRight 1.8s ease-in-out infinite;
}

/* HOVER EFFECT */
.register-btn:hover {
    background-color: #b30000;
    transform: scale(1.1);
}

/* EXTREME MOVEMENT KEYFRAMES */
@keyframes extremeLeftRight {
    0% {
        transform: translateX(-60px);
    }
    50% {
        transform: translateX(60px);
    }
    100% {
        transform: translateX(-60px);
    }
}

.small-title {
    text-align: center;
    color: #d40000;
    font-size: 20px !important;
    font-weight: 700;
    margin-bottom: 10px;
    transform: translateY(7px);
}

.small-hg {
    display: inline-block;
    animation: hgSmall 1.2s infinite ease-in-out;
    font-size: 22px;
}

/* Small hourglass animation */
@keyframes hgSmall {
 0% { transform: translateY(0) rotate(0deg); }
 25% { transform: translateY(-3px) rotate(-8deg); }
 50% { transform: translateY(0) rotate(0deg); }
 75% { transform: translateY(-3px) rotate(8deg); }
 100% { transform: translateY(0) rotate(0deg); }
}

/* SMALL COUNTDOWN BOX */
.small-countdown {
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 10px;
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    margin: auto;
    transform: translateX(362px);
    
}
.s-unit {
    background: #ffcc33;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 55px;
}

.s-unit span {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.s-unit p {
    margin: 0;
    font-size: 10px;
    color: #333;
}

/* layout */
.cert-section {
    background: #0f1012;
    padding: 60px 20px;
    text-align: center;
}

.cert-title {
    font-size: 38px;
    font-weight: 800;
    color: #f1f1f1;
    line-height: 1.2;
    margin-bottom: 12px;
}

.cert-title .blue { 
    color: #ffc107; 
}

.cert-subtitle {
    font-size: 16px;
    color: #ede60b;
    max-width: 780px;
    margin: 0 auto 36px;
}

/* grid */
.cert-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid #e6e6e6;
    overflow: visible;  /* IMPORTANT for lift-up hover */
}

/* box */
.cert-box {
    padding: 22px;
    border-left: 1px solid #e6e6e6;
    border-top: 1px solid #e6e6e6;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* fade up entry animation */
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp .6s forwards ease-out;

    /* smooth hover effect */
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;    /* needed for z-index to work */
    z-index: 1;
}

/* stagger animation delays */
.cert-box:nth-child(1){ animation-delay: .08s; }
.cert-box:nth-child(2){ animation-delay: .16s; }
.cert-box:nth-child(3){ animation-delay: .24s; }
.cert-box:nth-child(4){ animation-delay: .32s; }
.cert-box:nth-child(5){ animation-delay: .40s; }
.cert-box:nth-child(6){ animation-delay: .48s; }
.cert-box:nth-child(7){ animation-delay: .56s; }
.cert-box:nth-child(8){ animation-delay: .64s; }

/* --------------------------------------------------
   HOVER EFFECT — LIFT UP (LIKE YOUR SCREENSHOT)
-------------------------------------------------- */
.cert-box:hover {
    transform: translateY(20px);  /* box goes UP */
    box-shadow: 0 22px 45px rgba(0,0,0,0.20);
    z-index: 20; /* bring above other boxes */
}

/* image — simple smooth transition */
.cert-box img {
        max-width: 200px;
    height: 60px;
    margin-bottom: 12px;
    display: block;
    transition: transform .25s ease;
}

/* optional: image also moves up slightly */
.cert-box:hover img {
    transform: translateY(-3px);
}

/* caption */
.cert-box p {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a4d;
    margin: 0;
    text-align: center;
}

/* fade-up entry animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* responsive */
@media (max-width: 992px) {
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-box img { max-width: 120px; }
}

@media (max-width: 480px) {
    .cert-grid { grid-template-columns: 1fr; }
    .cert-box { padding: 18px; }
    .cert-box img { max-width: 110px; margin-bottom: 10px; }
    .cert-title { font-size: 24px; }
}