@font-face {
    font-family: acid;
    src: url(/assets/AeonikTRIAL-Regular.otf);
}

.testpage {
    min-height: 150vh;
    position: relative;
    margin: 0 auto;
}

.test-title {
    padding-top: 15vh;
    text-align: center;
    color: #1a2e75;
    font-size: 60px;
    letter-spacing: -0.02em;
    font-weight: 500;
    background: #FCFCFC;
    background: linear-gradient(to right, #fbfbfb, #ffffff, #0c74ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rotate-me {
    animation: rotate 10s linear infinite;
    transform-origin: center;
    width: 50px;
    /* or any size you need */
    height: 50px;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.test-para {
    padding: 20px;
    text-align: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.test-para p {
    padding-top: 20px;
    width: 50%;
    color: rgba(255, 255, 255, 0.728);
    font-size: 1rem;
    align-self: flex-end;
    text-align: right;
    margin-right: 20px;
}

.btn-group {
    margin-top: 10vh;
    text-align: center;
    margin-bottom: 30px;
}


.cards-container {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drive-card {
    background: #78A2D2;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.drive-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #000000;
}

.drive-card a {
    text-decoration: none;
    color: #e70c0c;
    font-weight: bold;
}

.empty-msg {
    text-align: center;
    font-size: 18px;
    color: #888;
}



.test-category-cards {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px auto;
    max-width: 900px;
}

.overlay-arrow {
    position: absolute;
    top: 35%;
    left: -10%;
    z-index: 10;
}

.test-card {
    position: relative;
    width: 400px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.test-card:hover {
    transform: scale(1.03);
}

.test-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}

.test-card .card-content {
    position: relative;
    color: #fff;
    padding: 20px;
    z-index: 2;
}

.test-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.test-card p {
    font-size: 16px;
    line-height: 1.4;
    max-width: 90%;
}

.hidden {
    display: none;
}

.closing-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.closing-text {
    font-family: acid;
    font-size: 3.5rem;
    font-weight: 500;
    color: #dfdfdf;
    margin: 0 auto;
    line-height: 1.6;
    flex-wrap: wrap;
}
.closing-text img {
    width: 50px;
    height: 50px;
    margin-left: 10px;
}

/* float icon */
.float-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}
.float-icon i {
    font-size: 24px;
    color: #1a2e75;
}
.float-icon p {
    font-size: 14px;
    color: #1a2e75;
    margin: 0;
    font-weight: 500;
}
 
