
/* Enhanced Button Styling */
/* .find-property-button base styles moved to header for above-the-fold rendering */

.find-property-button:hover, :not(.btn-check)+.find-property-button.btn:hover {
    background: #0056b3;
    color: white;
}

.find-property-button:active, :not(.btn-check)+.find-property-button.btn:active {
    background: #004085;
    color: white;
}

/* Voice and Camera Button Styling */
.voice-button, .image-upload-button {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0;
    align-self: center;
}

.voice-button:hover, .image-upload-button:hover {
    background: rgba(0, 123, 255, 0.08);
    color: #007bff;
}

.voice-button:active, .image-upload-button:active {
    background: rgba(0, 123, 255, 0.12);
    transform: scale(0.95);
}

.voice-button:focus, .image-upload-button:focus {
    outline: none;
    box-shadow: none;
}

.voice-button i, .image-upload-button i {
    font-size: 1.1rem;
}

/* Classic Search Link Styling */
.classic-search-link-container {
    margin-bottom: 20px;
}

.classic-search-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 123, 255, 0.1);
    color: #fff;
    border-color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 2558, 0.5);
    backdrop-filter: blur(10px);
}

.classic-search-link:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    text-decoration: none;
}

.classic-search-link i {
    font-size: 16px;
}


.select2.select2-container.select2-container--default{
    width: 100% !important;
}

/* Search Form Container */
.search-form-container {
    position: relative;
}

.search-instructions {
    background: #fff;
    border-radius: 12px;
    padding: 16px 24px;
    backdrop-filter: blur(15px);
    border: 2px solid #ccc;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-top: -5px;
    overflow: hidden;
}

.search-instructions::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.search-instructions p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
    text-align: center;
}

.instruction-text {
    color: #666;
    display: block;
    margin-bottom: 8px;
}

.examples-text {
    color: #666;
    font-size: 15px;
    display: block;
}


.search-instructions i {
    color: #ffc107;
    font-size: 18px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.search-input-row{
    height: 100%;   
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    border-radius: 12px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0;
    margin: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}


.search-input-row:focus-within {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* make placeholder dark gray */
.search-input-row input::placeholder{
    color: #6c757d;
    font-weight: 500;
}

/* when focus on input, make it transparent with no focus border */
.search-input-row input:focus{
    border: none;
    outline: none;
    box-shadow: none;
}

.search-input-row input,
.search-input-row .form-control {
    border: none !important;
    background-color: transparent;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 15px 20px;
    margin: 0 !important;
    flex-grow: 1;
    height: 100%;
    align-self: stretch;
    box-shadow: none !important;
    outline: none !important;
}

.search-input-row input:focus,
.search-input-row .form-control:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.search-input-row .btn,
.search-input-row button {
    margin: 0 !important;
    border: none !important;
}

.search-icon{
    width: 50%;
    height: 100%;
    object-fit: contain;
    object-position: cover;
    overflow: visible;
    filter: brightness(0) invert(1);
}

 

   
.container-div{
    display: flex;
    justify-content: center;
    align-items: center;
}


.search-right-div{
    margin-right: 1rem;
}

.property-card{
      flex: 33%;
    margin: 0 10px 25px 10px;
}

.property-card:hover, .property-card:active,.property-card:hover, .property-card:active{
    text-decoration: none;
    filter: brightness(0.90);
}

/* Featured Properties Section Background */

.featured-properties-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.featured-properties-section .container {
    position: relative;
    z-index: 2;
}

.featured-properties-section h2 {
    color: #333;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Fix Owl Carousel Background */
#featuredProperties {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#featuredProperties .owl-stage {
    background: transparent !important;
}

#featuredProperties .owl-item {
    background: transparent !important;
}

/* Featured Properties Carousel Navigation */
#featuredProperties {
    position: relative;
}

#featuredProperties .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
    z-index: 10;
    left: 0;
}

#featuredProperties .owl-prev,
#featuredProperties .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7) !important;
    border: none !important;
    border-radius: 50%;
    color: white !important;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
}

#featuredProperties .owl-prev {
    left: 10px;
}

#featuredProperties .owl-next {
    right: 10px;
}

#featuredProperties .owl-prev:hover,
#featuredProperties .owl-next:hover {
    background-color: rgba(0, 0, 0, 0.9) !important;
    transform: scale(1.1);
}

#featuredProperties .owl-prev.disabled,
#featuredProperties .owl-next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Featured Properties Carousel Dots */
#featuredProperties .owl-dots {
    display: flex;
    text-align: center;
    gap: 8px;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
}

#featuredProperties .owl-dots .owl-dot {
    background-color: rgba(0, 0, 0, 0.3) !important;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

#featuredProperties .owl-dots .owl-dot.active {
    background-color: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.2);
}

#featuredProperties .owl-dots .owl-dot:hover {
    background-color: rgba(0, 0, 0, 0.6) !important;
}

@media (max-width: 768px) {
    #featuredProperties .owl-prev,
    #featuredProperties .owl-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    #featuredProperties .owl-prev {
        left: 5px;
    }

    #featuredProperties .owl-next {
        right: 5px;
    }
}

/* Property Card Container - Remove old styling */
.property-card-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-height: auto !important;
    padding: 1rem 0;
}

.blog-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-image-placeholder {
    width: 100%;
    height: 70%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 2rem;
}

/* Property Card Styles */
.property-card-item {
    margin: 0 10px 25px 10px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.property-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.property-card-image-container {
    position: relative;
    height: 400px; /* เพิ่มความสูงจาก 300px เป็น 400px */
    overflow: hidden;
    cursor: pointer;
}

.property-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.grey-subtext{
    font-size: 1.1rem;
    color: #666;
}
.property-card-placeholder {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover Effect - Subtle image zoom only (no dim overlay) */
.property-card-item:hover .property-card-image {
    filter: none;
    transform: scale(1.03);
}

/* Action Buttons - Show both if available */
.property-action-buttons {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.voice-search-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.voice-search-btn:hover {
    background-color: white;
    color: #333;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.action-btn {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sale-btn {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
}

.rent-btn {
    background-color: rgba(108, 117, 125, 0.9);
    color: white;
}

.action-btn:hover {
    background-color: rgba(0, 0, 0, 1);
    transform: scale(1.05);
}

/* Bottom details overlay (always visible) */
.property-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px 5px 20px;
    z-index: 2;
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Sliding white info panel (shown on hover, fills entire card) */
.property-info-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #ffffff;
    color: #333;
    z-index: 3;
    transform: translateY(100%);
    transition: transform 0.28s ease-in-out;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.property-card-item:hover .property-info-panel {
    transform: translateY(0);
}

.property-info-panel-content {
    padding: 14px 16px 8px 16px;
    flex: 1 1 auto;
    min-height: 0; /* enable proper flex overflow behavior */
}

.property-info-panel .panel-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-info-panel .panel-meta {
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 6px;
}

.property-info-panel .panel-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.property-info-overlay .property-pricing{
    text-transform: uppercase;
}

.property-info-panel .panel-desc {
    font-size: 0.92rem;
    color: #444;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-actions {
    margin-top: 8px;
    padding: 0 16px 8px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.featured-view-more-btn {
    background: #111;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 6px;
    display: inline-block;
    transition: background 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.featured-view-more-btn:hover {
    background: #000;
}

.property-thumbs {
    display: flex;
    gap: 8px;
    padding: 8px 12px 12px 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.property-thumb {
    flex: 1 1 0;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

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

.property-location {
    font-size: 0.9rem;
    margin-bottom: 8px;
    align-self: flex-start; /* ให้อยู่ด้านล่าง */
}

.property-name {
    margin-bottom: 10px;
    align-self: flex-start; /* ให้อยู่ด้านล่าง */
}

.property-name h5 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* Responsive Design */
@media (max-width: 768px) {
    .property-card-image-container {
        height: 350px; /* ปรับความสูงสำหรับมือถือ */
    }
    
    .property-info-panel { }
    
    .property-action-buttons {
        top: 10px;
        right: 10px;
    }
    
    .action-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .property-card-image-container {
        height: 300px; /* ความสูงสำหรับหน้าจอเล็ก */
    }
}

    @media only screen and (max-width: 576px) {
        #searchForm{
            flex-direction: column;
            width: 100%;
        }
        #searchForm div.col-md-8{
            margin: 0;
            width: 100%;
        }
    }


/* Why Choose Section Styles */
.why-choose-section {
    background-color: #ffffff;
    position: relative;
}

.why-choose-section h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-choose-section .lead {
    max-width: 800px;
    margin: 0 auto;
}

.why-choose-item {
    padding: 2rem 1.5rem;
    height: 100%;
    position: relative;
    /* border-right: 1px solid #e9ecef;  */
}

/* ลบเส้นของคอลัมน์สุดท้าย */
.why-choose-item-div:not(:last-child) {
    border-right: 1px solid #e9ecef;
}

.why-choose-item h4 {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.why-choose-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Why Choose Section */
@media (max-width: 991px) {
    .why-choose-item {
        border-right: none; /* ลบเส้นแนวตั้งบนมือถือ */
        border-bottom: 1px solid #e9ecef; /* เพิ่มเส้นแนวนอน */
        padding: 1.5rem 1rem;
    }
    
    .why-choose-item:last-child {
        border-bottom: none;
    }
    
    .why-choose-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .why-choose-section h2 {
        font-size: 1.8rem;
    }
    
    .why-choose-section .lead {
        font-size: 1rem;
    }
    
    .why-choose-item h4 {
        font-size: 1rem;
    }
    
    .why-choose-item p {
        font-size: 0.9rem;
    }
}

/* Welcome Section Styles */
.welcome-section {
    background-color: #ffffff;
    position: relative;
}

.welcome-content {
    padding: 5rem 4rem;
    background-color: #333;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
    z-index: 2;
    margin-right: -2rem; /* ให้ทับซ้อนกับรูปภาพ */
}

.welcome-title {
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.welcome-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: white;
    line-height: 1.3;
}

.welcome-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #e9ecef;
}

.welcome-btn {
    background-color: #d4af37;
    border-color: #d4af37;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.welcome-btn:hover {
    background-color: #b8941f;
    border-color: #b8941f;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Awards Container */
.awards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem 0;
}

.award-image {
    max-width: 180px;
    height: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.award-image:hover {
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
}

@media (max-width: 768px) {
    .awards-container {
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .award-image {
        max-width: 140px;
    }
}

@media (max-width: 576px) {
    .awards-container {
        gap: 0.75rem;
    }

    .award-image {
        max-width: 100px;
    }
}

.welcome-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.welcome-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive Design for Welcome Section */
@media (max-width: 991px) {
    .welcome-content {
        margin-right: 0;
        margin-bottom: 2rem;
        padding: 2rem;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .welcome-subtitle {
        font-size: 1.1rem;
    }
    
    .welcome-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .welcome-title {
        font-size: 1.8rem;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
    }
    
    .welcome-text {
        font-size: 0.95rem;
    }
    
    .welcome-image {
        height: 300px;
    }
    
    .welcome-content {
        padding: 1.5rem;
    }
}

/* Explore Locations Section Styles */
.explore-locations-section {
    background-color:rgb(201, 200, 200);
    position: relative;
    background-image: url(http://localhost/property/public/imgs/skyscrapers-background.jpg);
background-size: cover;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
position: relative;
}
.explore-locations-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.9);
z-index: 1;
}

.explore-locations-section h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    z-index:5;
    position: relative;
}

.explore-locations-section .lead {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    z-index:5;
    position: relative;
}

/* Location Card Styles */
.location-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index:5;
}

.location-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.location-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.location-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.location-card:hover .location-image {
    filter: brightness(0.8);
    transform: scale(1.05);
}

.location-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Location Name Overlay - Always visible at bottom, black extends on hover */
.location-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px 5px 20px;
    z-index: 2;
    transition: all 0.3s ease;
    height: 15%;
}

/* Hover Effect - Black background extends up and text moves to center */
.location-card:hover .location-name-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(0);
}

.location-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    transition: all 0.3s ease;
}

/* Location Details - Hidden by default, shown on hover */
.location-details {
    color: white;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.location-card:hover .location-details {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design for Explore Locations */
@media (max-width: 991px) {
    .explore-locations-section h2 {
        font-size: 2rem;
    }
    
    .location-image-container {
        height: 200px;
    }
    
    .location-name {
        font-size: 1.1rem;
    }
    
    .location-name-overlay {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .explore-locations-section h2 {
        font-size: 1.8rem;
    }
    
    .explore-locations-section .lead {
        font-size: 1rem;
    }
    
    .location-image-container {
        height: 180px;
    }
    
    .location-name {
        font-size: 1rem;
    }
    
    .location-name-overlay {
        height: 60px;
    }
}



/* News Section Styles */
.news-section {
    background-color: #ffffff;
    position: relative;
}

.news-section h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* News Carousel */
.news-carousel {
    position: relative;
}

/* Custom Owl Carousel Navigation */
.news-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
    z-index: 10;
}

.news-carousel .owl-prev,
.news-carousel .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.8) !important;
    border: none !important;
    border-radius: 5px;
    color: white !important;
    font-size: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.news-carousel .owl-prev {
    left: -25px;
}

.news-carousel .owl-next {
    right: -25px;
}

.news-carousel .owl-prev:hover,
.news-carousel .owl-next:hover {
    background-color: rgba(0, 0, 0, 1) !important;
    transform: scale(1.1);
}

.news-carousel .owl-prev::before {
    content: '‹';
    font-size: 30px;
    line-height: 1;
}

.news-carousel .owl-next::before {
    content: '›';
    font-size: 30px;
    line-height: 1;
}

/* News Card Styles */
.news-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0 2px;
    height: 400px;
    width: 180px;
    max-width: 180px;
    flex-shrink: 0;
}

/* Item ซ้ายสุด (active slide) ให้กว้างที่สุด */
.news-card.active-slide {
    width: 350px;
    max-width: 350px;
    margin-right: 10px;
    z-index: 10;
}

/* เมื่อ hover ไม่ต้องเปลี่ยนขนาด */
.news-card.active-slide:hover {
    width: 350px;
    max-width: 350px;
}

.news-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 350px;
    max-width: 350px;
    z-index: 10;
}


.news-image-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.news-card:hover .news-image {
    filter: brightness(0.8);
    /* transform: scale(1.05); */
}



/* News Overlay - เหมือน property-card */
.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px 5px 20px;
    z-index: 2;
    transition: all 0.3s ease;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

/* Hover Effect - Black background extends up */
/* .news-card:hover .news-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(0);
} */

.news-content {
    position: relative;
    z-index: 2;
}

.news-category {
    font-size: 0.7rem;
    color: #d4af37;
    font-weight: 500;
    margin-bottom: 8px;
    align-self: flex-start;
}

.news-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.1;
    color: white;
    align-self: flex-start;
}

.news-excerpt {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #e9ecef;
    margin: 0;
    align-self: flex-start;
}

.news-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.news-carousel .owl-item {
    transition: all 0.3s ease;
}

/* Responsive Design for News Section */
@media (max-width: 991px) {
    .news-section h2 {
        font-size: 2rem;
    }
    
    .news-card {
        height: 250px;
        width: 160px;
        max-width: 160px;
        margin: 0 1px;
    }
    
    .news-card.active-slide {
        width: 220px;
        max-width: 220px;
        margin: 0 8px;
    }
    
    .news-card:hover {
        width: 220px;
        max-width: 220px;
        margin: 0 8px;
    }
    
    .news-overlay {
        height: 100px;
    }
    
    .news-title {
        font-size: 0.7rem;
    }
    
    .featured-news .news-title {
        font-size: 0.7rem;
    }
    
    .news-carousel .owl-prev {
        left: -15px;
    }
    
    .news-carousel .owl-next {
        right: -15px;
    }
}


/* Statistics Section */
.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Call to Action */
.cta-section {
    background-color: #333;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    font-size: 1.1rem;
    padding: 10px 30px;
    border-radius: 6px;
}

.cta-buttons .btn-warning {
    background-color: #d4af37;
    border-color: #d4af37;
    color: white;
}

.cta-buttons .btn-outline-light {
    border-color: white;
    color: white;
}

/* Responsive Design for CTA */
@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Testimonials Section Styles */
.testimonials-section {
    background-color: #f8f9fa;
    position: relative;
}

.testimonials-content {
    padding-right: 2rem;
}

.testimonials-title {
    font-size: 3rem;
    color: #333;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.testimonials-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.view-more-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background-color: #000;
    transform: translateY(-2px);
}

/* Testimonial Cards */
.testimonials-carousel {
    position: relative;
    max-width: 500px;
    margin-left: auto;
}

.testimonial-card {
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

/* การ์ดที่ 1 และ 3 - สีเทาเข้ม */
.testimonial-card:nth-child(1),
.testimonial-card:nth-child(3) {
    background: #333;
    color: white;
}

/* การ์ดที่ 2 - สีขาว */
.testimonial-card:nth-child(2) {
    background: white;
    color: #333;
    left: -100px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
    border: 2px solid white;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* สีข้อความตามการ์ด */
.testimonial-card:nth-child(1) .testimonial-name,
.testimonial-card:nth-child(3) .testimonial-name {
    color: white;
}

.testimonial-card:nth-child(2) .testimonial-name {
    color: #333;
}

/* Quote Icon - เฉพาะการ์ดสีเทาเข้ม */
.testimonial-card:nth-child(1) .quote-icon,
.testimonial-card:nth-child(3) .quote-icon {
    position: absolute;
    top: -10px;
    right: 0;
    background: #333;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ซ่อน quote icon ในการ์ดสีขาว */
.testimonial-card:nth-child(2) .quote-icon {
    display: none;
}
.testimonial-body{
    max-height: 12em;
    overflow-y: auto;
}
.testimonial-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}
.testimonial-body::-webkit-scrollbar {
width: 10px; /* Width of the vertical scrollbar */
height: 10px; /* Height of the horizontal scrollbar */
}

.testimonial-body::-webkit-scrollbar-track {
background: #f1f1f1; /* Background of the scrollbar track */
border-radius: 5px;
}

.testimonial-body::-webkit-scrollbar-thumb {
background: #888; /* Color of the scrollbar thumb */
border-radius: 5px;
}

.testimonial-body::-webkit-scrollbar-thumb:hover {
background: #555; /* Color of the scrollbar thumb on hover */
}

/* สีข้อความตามการ์ด */
.testimonial-card:nth-child(1) .testimonial-body p,
.testimonial-card:nth-child(3) .testimonial-body p {
    color: white;
}

.testimonial-card:nth-child(2) .testimonial-body p {
    color: #333;
}

/* Hover Effect */
.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Carousel Indicators */
.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #333;
}

.indicator:hover {
    background-color: #666;
}

@media only screen and (min-width: 1200px) {
    .testimonial-card:nth-child(2) {
        left: -100px;
    }
}

@media only screen and (max-width: 1200px) {
    .testimonial-card:nth-child(2) {
        left: 0;
    }
}

@media only screen and (max-width: 991px) {
    .testimonial-card:nth-child(2) {
        left: -100px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-card:nth-child(2) {
        left: 0;
    }
    .testimonials-title {
        font-size: 2.5rem;
    }
    
    .testimonials-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .testimonials-carousel {
        margin-left: 0;
    }
}

/* FAQ Section Styles */
.faq-section {
    background-color: #ffffff;
    position: relative;
}

.faq-section h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
}

.faq-header {
    background: none;
    border: none;
    padding: 0;
}

.faq-button {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.faq-button:hover {
    color: #666;
}

.faq-button.active {
    color: #333;
    font-weight: 600;
}

.faq-question {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.faq-button.active .faq-icon {
    color: #333;
}

.faq-content {
    padding: 2rem 0;
    background-color: #f8f9fa;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.faq-image {
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-text {
    padding: 1rem 0;
}

.faq-answer-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.faq-answer-content {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.view-more-btn {
    border: 1px solid #333;
    background: white;
    color: #333;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: #333;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-section h2 {
        font-size: 2rem;
    }
    
    .faq-content {
        margin: 0;
        padding: 1rem 0;
    }
    
    .faq-image {
        height: 200px;
        margin-bottom: 1rem;
    }
}



.voice-button.listening {
    color: #ff6b6b;
    animation: pulse 1.5s infinite;
}

.voice-button.listening i {
    filter: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Nav Tabs Styles - Make them transparent like search input */
.nav-tabs {
    border: none;
    background: transparent;
    margin-bottom: 1rem;
    /* justify-content: center; */
}

.nav-tabs .nav-item {
    margin-right: 0.5rem;
}

.nav-tabs .nav-link {
    background-color: rgba(255, 255, 255, 0.3);
    border: 0.5px solid #fff;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 120px;
    text-align: center;
}

.nav-tabs .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: #fff;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.nav-tabs .nav-link.active {
    /* background-color: rgba(255, 255, 255, 0.9); */
    /* black */
    background-color:  rgb(0, 0, 0, 0.7);
    border-color:   rgb(0, 0, 0, 0.7);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}







/* Responsive Design for 4 Search Tabs */
@media (max-width: 768px) {
    .nav-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    /* Stack tabs vertically on very small screens */
    @media (max-width: 480px) {
        .nav-tabs {
            flex-direction: column;
            align-items: center;
        }
        
        .nav-tabs .nav-item {
            margin-right: 0;
            margin-bottom: 0.5rem;
            width: 100%;
        }
        
        .nav-tabs .nav-link {
            width: 100%;
            min-width: auto;
        }
    }
}

/* Image Upload Button Styles - Make it transparent like search icon */


.image-upload-button.uploading {
    color: #ff6b6b;
    animation: pulse 1.5s infinite;
}

.image-upload-button.uploading i {
    filter: none;
}


/* Voice Button Large Styles - สำหรับ voice search tab */
.voice-button-large {
    background: transparent;
    border: none;
    color: white;
    font-size: 4rem;
    cursor: pointer;
    padding: 2rem;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto;
}

.voice-button-large:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.voice-button-large:focus {
    outline: none;
    box-shadow: none;
}

.voice-button-large i {
    filter: brightness(0) invert(1);
    font-size: 4rem;
}

.voice-button-large.listening {
    color: #ff6b6b;
    animation: pulse 1.5s infinite;
    border-color: #ff6b6b;
}

.voice-button-large.listening i {
    filter: none;
}

.voice-status-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
}

/* Fix tab content height to prevent jumping */
.tab-content {
    min-height: 450px;
}

.tab-pane {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Interface Styling */
.search-interface-container form {
    width: 100%;
    margin: 0;
}

/* Ensure smooth transitions */
.tab-pane.fade {
    transition: opacity 0.15s linear;
}

.tab-pane.fade.show {
    opacity: 1;
}

.tab-pane.fade:not(.show) {
    opacity: 0;
}

/* Responsive Design for Search Tabs - Keep original horizontal layout */
@media (max-width: 768px) {
    /* Reduce tab content height on mobile */
    .tab-content {
        min-height: 350px;
    }
    
    .tab-pane {
        min-height: 350px;
    }
    
    
    /* Keep nav tabs horizontal but make them smaller */
    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Adjust search form for mobile */
    #searchForm {
        flex-direction: column;
        gap: 1rem;
    }
    
    #searchForm .col-md-8,
    #searchForm .col-md-4 {
        width: 100%;
        margin: 0;
    }
    
    /* Adjust voice button for mobile */
    .voice-button-large {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }
    
    /* Adjust image upload container for mobile */
    .image-upload-container {
    
        min-height: 250px;
    }
    
    .image-upload-placeholder {
        height: 250px;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    /* Further reduce height for small screens */
    .tab-content {
        min-height: 300px;
    }
    
    .tab-pane {
        min-height: 300px;
    }
    
    
    /* Make nav tabs more compact but keep horizontal */
    .nav-tabs .nav-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Adjust voice button for very small screens */
    .voice-button-large {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    /* Adjust image upload for small screens */
    .image-upload-container {
        min-height: 200px;
    }
    
    .image-upload-placeholder {
        height: 200px;
        padding: 0.75rem;
    }
}


/* Image Upload Container Styles */
.image-upload-container {
    width: 100%;
    margin: 0 auto;
}

.image-upload-area {
    /* background: rgba(255, 255, 255, 0.15); */
    /* border: 2px solid rgba(255, 255, 255, 0.7); */
    border-radius: 12px;
    padding: 1rem 2rem;
    text-align: center;
    /* backdrop-filter: blur(10px); */
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* .image-upload-area:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.image-upload-area.dragover {
    background: rgba(0, 123, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.02);
} */

/* Upload Icon */
body .upload-icon {
    margin-bottom: 0.5rem;
    font-size: 3rem;
}

.upload-icon i {
    font-size: 3rem;
    color: white;
    filter: brightness(0) invert(1);
}

/* Upload Text */
.upload-text h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Upload Button */
.upload-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.upload-btn:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Upload Constraints */
.upload-constraints p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Image Preview - แก้ไขใหม่ให้รูปภาพอยู่ตรงกลางและใช้พื้นที่เหมาะสม */
.image-preview {
    position: relative;
    width: 100%;
    max-width: 400px; /* เพิ่มขนาดให้ใหญ่ขึ้น */
    margin: 1rem auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    padding: 1rem;
    min-height: 300px; /* กำหนดความสูงขั้นต่ำ */
    overflow: hidden; /* ป้องกันรูปภาพล้นออกนอก container */
}

.image-preview img {
    max-width: 100%;
    max-height: 280px; /* จำกัดความสูงสูงสุด */
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: contain; /* รักษาอัตราส่วนและแสดงเต็มภาพ */
    display: block; /* เปลี่ยนเป็น block element */
    margin: 0 auto; /* จัดกลางรูปภาพ */
}

/* ปรับแต่ง remove button */
.remove-image-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

/* เพิ่มปุ่ม Find Similar Properties ตามรูปที่ส่งมา */
.find-similar-btn {
    background: #333;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.find-similar-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Classic Search Styles */
.classic-search-container {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
    width: 100%;
}

.classic-search-form {
    width: 100%;
}

/* Property Status Buttons */
.property-status-buttons {
    margin-bottom: 2rem;
}

.status-btn {
    width: 100%;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.status-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: white;
    transform: translateY(-2px);
}

.status-btn.active {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: 700;
}

/* Filter Options */
.filter-select {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid white;
    color: white;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}



.filter-select.active {
    /* black */
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* .filter-select:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    outline: none;
} */

.filter-select option {
    background: #333;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .classic-search-container {
        padding: 1rem;
        margin: 0 0.5rem;
        max-height: 80vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .classic-search-container::-webkit-scrollbar {
        width: 4px;
    }
    
    .classic-search-container::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 2px;
    }
    
    .classic-search-container::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 2px;
    }
    
    .classic-search-container::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .status-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .filter-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
}

@media (max-width: 480px) {
    .classic-search-container {
        padding: 0.8rem;
        margin: 0 0.25rem;
        max-height: 75vh;
    }
}

#reviewsWebsite .owl-dots {
    display: flex;
    text-align: center;
    gap: 5px;
    flex-direction: row;
    justify-content: center;
}
#reviewsWebsite .owl-dots .owl-dot {
    background-color: #2c2c2c7d;
    width: 6px;
    height: 6px;
    border-radius: 100px;
}
#reviewsWebsite .owl-dots .owl-dot.active {
    background-color: #2c2c2c;
}

/* News Carousel - 768px Media Query */
@media (max-width: 768px) {
    .news-section h2 {
        font-size: 1.8rem;
    }
    
    .news-card {
        height: 200px;
        width: 140px;
        max-width: 140px;
        margin: 0 1px;
    }
    
    .news-card.active-slide {
        width: 180px;
        max-width: 180px;
        margin: 0 5px;
    }
    
    .news-card:hover {
        width: 180px;
        max-width: 180px;
        margin: 0 5px;
    }
    
    .news-overlay {
        height: 80px;
        padding: 10px 15px;
    }
    
    .news-title {
        font-size: 0.6rem;
    }
    
    .featured-news .news-title {
        font-size: 0.6rem;
    }
    
    .news-carousel .owl-prev,
    .news-carousel .owl-next {
        width: 40px;
        height: 40px;
    }
    
    .news-carousel .owl-prev {
        left: -10px;
    }
    
    .news-carousel .owl-next {
        right: -10px;
    }
}

/* 480px Media Query */
@media (max-width: 480px) {
    .tab-content {
        min-height: 280px;
    }
    
    .tab-pane {
        min-height: 280px;
    }
    
    .nav-tabs .nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .voice-button-large {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    .image-upload-container {
        min-height: 180px;
    }
    
    .image-upload-placeholder {
        height: 180px;
        padding: 0.5rem;
    }
}
