/* --- Marquee Styles --- */
.twg-marquee-container {
    width: 100%;
    overflow: hidden;
    background: #f9f9f9;
    padding: 20px 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

.twg-marquee-content {
    display: flex;
    gap: 30px;
    animation: twg-scroll 20s linear infinite;
    width: max-content;
}

.twg-testimonial-card {
    background: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 300px;
    max-width: 400px;
}

.twg-text {
    font-style: italic;
    color: #333;
    margin-bottom: 5px;
}

.twg-author {
    font-weight: bold;
    color: #555;
    text-align: right;
    margin: 0;
    font-size: 0.9em;
}

@keyframes twg-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* --- Gallery Grid Styles --- */
.twg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.twg-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
}

.twg-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.twg-gallery-item:hover img {
    transform: scale(1.05);
}

.twg-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.twg-gallery-item:hover .twg-overlay {
    transform: translateY(0);
}

.twg-overlay h4 {
    margin: 0;
    font-size: 1.1em;
    color: #fff;
}

.twg-caption {
    font-size: 0.85em;
    margin: 5px 0;
    color: #ddd;
}

.twg-credit {
    display: block;
    font-size: 0.8em;
    text-align: right;
    font-weight: bold;
    color: #ffb900; /* Gold color */
}