/* Video section */
.about-section {
    position: relative;
    width: 100vw; /* Đảm bảo ảnh nền phủ toàn màn hình */
    margin-left: calc(-50vw + 50%);
    padding: 60px 13.2%;
    background: url(../images/nhat-kim-section.png);
    background-size: cover;
    background-position: center;
}

.about-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 50px;
}

.about-video{
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
}

.about-video iframe{
    width: 60%;
    height: 415px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.about-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
}

.about-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 20px;
}

.about-content .about-button {
    width: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 24px;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    transition: linear 0.1s;
}

.about-content .about-button:active {
    scale: 0.98;
}

.about-content .about-button:hover {
    opacity: 0.95;
}

/* 🟢 Section filter */
.video-filter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.video-search-comp {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.video-search-comp input {
    flex: 1;
    padding: 8px 12px;
    font-family: var(--font-family);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease-in-out;
}

.video-search-comp input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.video-search-comp select {
    padding: 8px;
    font-family: var(--font-family);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

.video-search-comp button {
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: linear 0.2s;
}

.video-search-comp button:hover {
    opacity: 0.9;
}

.video-filter h1{
    font-size: 1.8rem;
    padding-top: 20px;
    line-height: 1.5;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-color);
}

.video-filter-button{
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px;
}

.filter-btn:active {
    box-shadow: 0px 0px var(--primary-color);
    transform: translate(3px, 3px);
}

.filter-btn {
    margin: 20px 0 20px 0;
    width: 100%;
    height: 50px;
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    background-color: var(--white-color);
    box-shadow: 4px 4px var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: linear 0.01s;
}
@media screen and  (max-width: 768px) {
    .video-filter h1 {
        font-size: 24px !important;
    }
    .video-item {
        width: 100%;
        background: white;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border: 2px solid var(--primary-color);
        background-color: var(--white-color);
        box-shadow: 4px 4px var(--primary-color);
        transition: 0.3s;
    }
    .video-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
    }
    
}
@media screen and (min-width: 768px) and (max-width: 1280px) {
    
    .video-grid {
        box-sizing: border-box;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 50px;
    }
    
    .video-item {
        width: 100%;
        background: white;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border: 2px solid var(--primary-color);
        background-color: var(--white-color);
        box-shadow: 4px 4px var(--primary-color);
        transition: 0.3s;
    }
    
}
@media screen and (min-width: 1280px) {
    .video-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }
    
    .video-item {
        idth: 100%;
        background: white;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border: 2px solid var(--primary-color);
        background-color: var(--white-color);
        box-shadow: 4px 4px var(--primary-color);
        transition: 0.3s;
    }
}
/* 🎥 Video Grid */
 
 

.video-item:hover {
    transform: translateY(-5px);
}

.video-item iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
}

.video-item h3 {
    margin-top: 10px;
    text-align: justify;
    font-size: 18px;
    color: var(--primary-color)
}

/* 📌 Phân trang */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

.page-numbers{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-btn, .prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    background-color: #f1f1f1;
    font-family: var(--font-family);
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.page-btn:hover, .prev-btn:hover, .next-btn:hover {
    background-color: #ddd;
}

.page-btn.active {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

