@import url("https://fonts.googleapis.com/css2?family=Rubik&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@1,300&display=swap");

/* Root colors */
:root {
    --primary: #111111; /* Main brand color */
    --gold:#a59151;
    --secondary: #f9f9f9; /* Light background */
    --accent: #484848; /* Borders and accents */
    --text-dark: #222222; /* Dark text */
    --text-light: #777777; /* Light text */
}

/* Custom CSS alongside Tailwind */
body {
    font-family: 'Montserrat', sans-serif;
}

.font-rubik {
    font-family: 'Rubik', sans-serif;
}

.bg-beige {
    background-color: #f5f5dc; /* Beige for hero */
}

/* Hero Slideshow */
.slideshow .slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: slideshow 15s infinite;
}

.slideshow .slide:nth-child(1) { animation-delay: 0s; }
.slideshow .slide:nth-child(2) { animation-delay: 5s; }
.slideshow .slide:nth-child(3) { animation-delay: 10s; }

@keyframes slideshow {
    0% { opacity: 0; }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; }
    100% { opacity: 0; }
}

/* Partners Slider */
.animate-scroll {
    animation: scroll 25s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

/* Featured Properties (from original) */
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.price-badge {
    background: var(--primary);
}

.view-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* Button primary */
.btn-primary:hover {
    background: var(--primary);
    color: #fff;
}

/* Statistics */
.statistics-section {
    background: var(--primary);
}

/* Testimonials and others use Tailwind classes primarily *//* Custom CSS for Testimonials and FAQs */

/* Testimonials Slider */
.testimonial-slider {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* FAQs Accordion */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Marquee Container */
.marquee {
    overflow: hidden;
    position: relative;
}

/* Track */
.marquee-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 25s linear infinite;
}

/* Infinite Scroll */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause on hover */
.marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Wrapper */
.testimonial-wrapper {
    position: relative;
    min-width: 420px;
    height: 90px;
}

/* Avatar */
.avatar {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    border: 3px solid #e5e7eb;
    z-index: 2;
}

/* Pill */
.testimonial-pill {
    height: 80px;
    margin-left: 40px;
    padding: 0 25px 0 60px;
    background: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.testimonial-pill p {
    font-size: 14px;
    color: #374151;
}

/* MOBILE VERSION */
@media (max-width: 768px) {

    .marquee-track {
        gap: 30px;
        animation: scroll 18s linear infinite;
    }

    .testimonial-wrapper {
        min-width: 260px;
        height: 65px;
    }

    .avatar {
        width: 55px;
        height: 55px;
    }

    .testimonial-pill {
        height: 55px;
        padding: 0 15px 0 45px;
        border-radius: 40px;
    }

    .testimonial-pill p {
        font-size: 12px;
    }
}




/* Thumbnail Style */
.thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumb:hover {
    opacity: 1;
}

.active-thumb {
    opacity: 1;
    border: 3px solid #2563eb;
}

/* Hide scrollbar (optional clean look) */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .thumb {
        width: 90px;
        height: 65px;
    }
}


