.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 40px 0 110px 0;
}

.carousel {
    margin-left: 80px;
    margin-right: 80px;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.certificate-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 33.33%;
    height: 100%;
    box-sizing: border-box;
    padding: 0 10px 0 10px;
    position: relative;
}

.certificate-card .overlay {
    position: absolute;
    box-sizing: border-box;
    bottom: 0;
    padding: 15px;
    height: 30%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 1;
    transition: opacity 0.3s;
    border-radius: 0 0 10px 10px;
    width: calc(100% - 20px);
}

.certificate-card img {
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

.certificate-info {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: absolute;
    bottom: 25px;
    left: 50px;
    width: calc(100% - 100px);
}

.certificate-details {
    text-align: left;
}

.certificate-details h3 {
    font-size: 16px;
    margin: 0;
    color: #FFFFFF;
}

.certificate-details p {
    margin: 0;
    color: #FFFFFF;
    font-size: 14.4px;
}

.expand-icon {
    cursor: pointer;
}

.expand-icon img {
    width: 30px;
    height: 30px;
}

.arrow {
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    background-color: transparent;
    z-index: 2;
}

.arrow img {
    width: 80px;
    height: 80px;
}

.left-arrow {
    left: 45px;
}

.right-arrow {
    right: 45px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #212D54;
}

.modal {
    display: none;
    position: fixed;
    z-index: 3;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 600px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 32px;
    cursor: pointer;
    border-radius: 5px;
    padding: 0 10px;
}