/* Gallery Section Styles */
.gallerysect {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.gallerysect h3 {
    font-size: 32px;
    font-weight: 700;
    color: #0e75b7;
    margin-bottom: 30px;
    text-align: center;
}

.tab-menu {
    text-align: center;
    margin-bottom: 30px;
}

.tab-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    justify-content: center;
    background-color: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tab-menu ul li {
    margin: 0;
}

.tab-menu ul li a {
    padding: 10px 20px;
    display: block;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.tab-menu ul li a.active,
.tab-menu ul li a:hover {
    background: #0e75b7;
    color: #fff;
}

.gallery-content {
    margin-top: 20px;
}

.gallery-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.gallery-list li {
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
    box-sizing: border-box;
}

.card-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
    width: 100%;
    height: 30vh;
    object-fit: cover;
}

.card-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-box img,
.card-box video {
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
}

.card-content {
    padding: 15px;
    text-align: center;
}

.review-box {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
}

.error-text {
    color: red;
    text-align: center;
    font-size: 14px;
}

.show-more-btn {
    display: block;
    text-align: center;
    margin: 30px auto 0;
    padding: 10px 20px;
    background-color: #0e75b7;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.show-more-btn:hover {
    background-color: #095a8a;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .gallery-list li {
        flex: 1 1 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .gallery-list li {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .gallery-list li {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .tab-menu ul {
        flex-direction: column;
        border-radius: 12px;
    }

    .tab-menu ul li a {
        border-radius: 12px;
    }
    .gallery-item.hidden-item {
        display: none;
    }
    .card-box img, .card-box video {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
    .view-more-btn {
        margin-top: 20px;
        padding: 10px 30px;
    }
    .view-all-btn {
    display: block;
    margin: 20px auto; /* Centers the button horizontally */
    padding: 10px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.view-all-btn:hover {
    background-color: #0056b3;
}
    
}
