/* General container */
@font-face {
    font-family: 'Montserrat Armenian';
    src: url('../fonts/web_font/Montserratarm-Regular.woff2') format('woff2'),
        url('../fonts/web_font/Montserrat-Armenian-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat Armenian bold';
    src:
        url('../fonts/web_font/Montserratarm-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat Armenian semiBold';
    src:
        url('../fonts/web_font/Montserratarm-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat Armenian light';
    src:
        url('../fonts/web_font/Montserratarm-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

body {
    max-width: 100%;
    font-family: 'Montserrat Armenian' !important;
}

#videoModal {
    margin: 0 !important;
    padding: 0 !important;
    position: fixed !important;
    z-index: 1050;
    /* make sure it's on top */
}

.container-fluid {
    max-width: 100%;
    margin: 2% 4% !important;
}

/* Title */
.section-title {
    padding-top: 6%;
    font-size: 24px;
    font-family: 'Montserrat Armenian semiBold';
    color: #833F6D;
    margin-bottom: 20px;
    margin-left: 4px;
}

/* Video Gallery Section */
.video-gallery {
    padding: 20px 15px;
    background-color: #fafafa;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px 25px;
}

.video-card {
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

.video-thumb img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.2s ease;
}

.video-card p {
    text-align: start;
    font-size: 12px;
    padding: 8px;
    color: #3C3C3C;
    font-family: 'Montserrat Armenian semiBold';
}


/* Shorts Section */
.video-short-section {
    margin: 30px 0;
}

.video-short-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.video-card-short {
    text-align: center;
    transition: transform 0.3s ease;
}

.video-card-short:hover {
    transform: translateY(-5px);
}

.video-card-short .video-thumb {
    position: relative;
    width: 270px;
    height: 410px;
    overflow: hidden;
}



.video-card-short p {
    font-size: 12px;
    text-align: start;
    padding: 8px;
    color: #3C3C3C;
    font-family: 'Montserrat Armenian semiBold';
}

.pagination {
    display: flex;
    list-style: none;
    gap: 10px;
    padding-left: 0;
    flex: 0 0 100%;
    max-width: 100%;
    justify-content: center;
    margin: 35px 0px;
}

.pagination li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination li a,
.pagination li span {
    color: #8c6a8a;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 20% 38%;
    margin-left: -1px;
    line-height: 18px;
    border-radius: 50%;
    user-select: none;
}

.pagination li.active span {
    background-color: #833F6D;
    color: #fff;
    cursor: default;
}

.pagination li.disabled span {
    cursor: not-allowed;
    background-color: #FFFFFF;

}

.pagination li.disabled span:hover {
    background-color: #fdfcff;
    box-shadow: none;
}

.pagination li.disabled span {
    font-size: 16px;
    color: #6C6C6C;
}

.pagination li:first-child a,
.pagination li:last-child a {
    font-weight: 600;
    font-size: 20px;
    user-select: none;
}

/* Modal Overlay */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Modal Content Frame */
.custom-modal-content {
    background-color: #262626;
    padding: 20px;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    position: relative;
}

/* Close Button */
.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Video Container */
.custom-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.video-wrapper iframe {
    width: 90%;
    height: 50vh;
    border: none;
    border-radius: 25px;
    background: #000;
}

/* Title under video */
.custom-modal-title {
    font-size: 14px;
    color: #FFFFFF;
    font-family: 'Montserrat Armenian semiBold';
    text-align: start;
    width: 70%;
    margin-left: 60px;
    margin-bottom: 70px;

}

/* Decorative SVG in corner */
.videoLogo {
    position: absolute;
    bottom: 48px;
    right: 40px;
    width: 140px;
    height: auto;
}

/* Responsive */
@media screen and (max-width: 1400px) {

    .video-container,
    .video-short-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1100px) {

    .video-container,
    .video-short-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {

    .video-container,
    .video-short-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 500px) {

    .video-container,
    .video-short-container {
        grid-template-columns: 1fr;
    }
}