/* ===========================
   REAL ESTATE PREMIUM THEME
=========================== */

/* ===========================
   1. VARIABLES
=========================== */
:root {
    --re-brand: #b45309;
    --re-brand-dark: #92400e;
    --re-brand-light: #fffbeb;
    --re-amber: #d97706;
    --re-amber-light: #fef3c7;
    --re-surface: rgba(255, 255, 255, 0.9);
    --re-border: rgba(245, 158, 11, 0.15);
    --re-shadow: 0 10px 30px rgba(180, 83, 9, 0.06);
    --re-shadow-hover: 0 20px 40px rgba(180, 83, 9, 0.12);
    --re-radius: 1.25rem;
    --re-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   PREMIUM FLOATING BACK TO MSTravel BUTTON
========================================== */

.mstravel-floating-home-btn {
    position: fixed;
    right: 24px;
    bottom: 60px;
    /* Increased from 24px */

    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 22px;

    text-decoration: none;
    color: #fff;

    background: linear-gradient(135deg,
            #0f172a 0%,
            #1e293b 100%);

    border: 1px solid rgba(255, 255, 255, .15);

    border-radius: 999px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .15),
        0 0 0 1px rgba(255, 255, 255, .05);

    font-weight: 700;
    font-size: 14px;

    transition: all .35s ease;

    animation: mstravelPulse 3s infinite;
}

.mstravel-floating-home-btn i {
    font-size: 18px;
    line-height: 1;
}

.mstravel-floating-home-btn:hover {
    color: #fff;
    text-decoration: none;

    transform: translateY(-4px) scale(1.03);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, .22),
        0 0 25px rgba(59, 130, 246, .25);
}

.mstravel-floating-home-btn:active {
    transform: scale(.97);
}

@keyframes mstravelPulse {

    0% {
        box-shadow:
            0 10px 25px rgba(0, 0, 0, .15),
            0 0 0 0 rgba(59, 130, 246, .18);
    }

    70% {
        box-shadow:
            0 10px 25px rgba(0, 0, 0, .15),
            0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow:
            0 10px 25px rgba(0, 0, 0, .15),
            0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .mstravel-floating-home-btn {
        right: 20px;
        bottom: 50px;
        /* Increased */

        padding: 12px 18px;
        font-size: 13px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 576px) {

    .mstravel-floating-home-btn {
        right: 15px;
        bottom: 40px;
        /* Increased */

        padding: 12px 16px;
        gap: 8px;

        font-size: 12px;

        max-width: calc(100vw - 30px);
    }

    .mstravel-floating-home-btn span {
        white-space: nowrap;
    }

    .mstravel-floating-home-btn i {
        font-size: 16px;
    }
}

/* ==========================================
   EXTRA SMALL DEVICES
========================================== */

@media (max-width: 380px) {

    .mstravel-floating-home-btn {
        right: 10px;
        bottom: 35px;

        padding: 10px 14px;
        font-size: 11px;
        gap: 6px;
    }

    .mstravel-floating-home-btn i {
        font-size: 14px;
    }
}

@keyframes mstravelPulse {
    0% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, .15), 0 0 0 0 rgba(59, 130, 246, .18);
    }

    70% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, .15), 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, .15), 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.re-section-padding {
    padding: 60px 0;
}

.re-section-bg-white {
    background: #fff;
}

.re-section-bg-light {
    background: #f8fafc;
}

.re-section-title {
    color: var(--re-brand-dark);
    font-weight: 800;
    margin-bottom: 24px;
    font-size: 2.5rem;
}

.re-section-subtitle {
    color: #6b7280;
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.re-grid-loading-box {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    color: #6b7280;
}

.re-loading-spinner {
    font-size: 38px;
    animation: spin 1.5s linear infinite;
    display: inline-block;
}

.re-loading-text {
    margin-top: 16px;
    font-weight: 600;
    font-size: 16px;
}

.re-contact-box {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--re-border);
}

.re-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 18px;
    color: #374151;
}

.re-no-results-box {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    color: #6b7280;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    border: 1px dashed rgba(245, 158, 11, 0.2);
}

.re-no-results-text {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.re-error-box {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    color: #dc3545;
}

.re-error-text {
    font-size: 18px;
    font-weight: 600;
}

.re-alert-info {
    background: rgba(180, 83, 9, 0.08);
    color: var(--re-brand);
    border: 1px solid rgba(180, 83, 9, 0.15);
}

.re-alert-success {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

/* ===========================
   3. NAVBAR
=========================== */
.re-navbar-shadow {
    border-bottom: 2px solid var(--re-brand);
}

.re-brand-logo-img {
    border-radius: 50%;
}

.re-brand-title {
    color: var(--re-brand);
    font-size: 1.25rem;
}

.re-menu-icon {
    color: var(--re-brand);
}

.re-nav-link {
    color: #4b5563;
}

/* ===========================
   4. HERO
=========================== */
.re-hero {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--re-brand-light) 0%, var(--re-amber-light) 100%);
    border-bottom: 1px solid var(--re-border);
    overflow: hidden;
}

.re-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.09) 0%, transparent 70%);
    top: -160px;
    right: -110px;
    pointer-events: none;
    z-index: 0;
}

.re-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.re-hero-title {
    font-size: 46px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--re-brand-dark) 0%, var(--re-brand) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.re-hero-subtitle {
    font-size: 19px;
    color: var(--re-amber);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

/* ===========================
   5. TABS
=========================== */
.re-tabs-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 0;
}

.re-scroll-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: var(--re-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    z-index: 2;
    line-height: 1;
    padding: 0;
}

.re-scroll-btn:hover {
    background: var(--re-brand);
    border-color: var(--re-brand);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.2);
    transform: scale(1.08);
}

.re-scroll-btn:disabled {
    opacity: 0.35;
    pointer-events: none;
}

.re-tabs-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 16px;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.re-tabs-container::-webkit-scrollbar {
    display: none;
}

.re-tab-btn {
    background: #ffffff;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: var(--re-transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
    cursor: pointer;
}

.re-tab-btn:hover {
    color: var(--re-brand);
    border-color: var(--re-brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.08);
}

.re-tab-btn.active {
    background: var(--re-brand);
    color: #ffffff;
    border-color: var(--re-brand);
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.28);
}

/* ===========================
   6. PROPERTY CARDS
=========================== */
.re-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.re-card {
    background: var(--re-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--re-border);
    border-radius: var(--re-radius);
    display: flex;
    flex-direction: column;
    transition: var(--re-transition);
    box-shadow: var(--re-shadow);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.re-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.03), transparent 60%);
    pointer-events: none;
}

.re-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: var(--re-shadow-hover);
}

.re-card-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f3f4f6;
}

.re-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--re-transition);
}

.re-card:hover .re-card-img {
    transform: scale(1.05);
}

.re-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.re-card-badge {
    background-color: var(--re-brand-light);
    color: var(--re-brand);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 999px;
    align-self: flex-start;
    margin-bottom: 10px;
    border: 1px solid rgba(180, 83, 9, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.re-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.4;
}

.re-card-price {
    font-weight: 800;
    color: var(--re-brand);
    font-size: 16.5px;
    margin-bottom: 18px;
}

.re-card-footer {
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.re-card-location {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

.re-card-btn {
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 999px;
    border: 1.5px solid var(--re-brand);
    color: var(--re-brand);
    background: transparent;
    transition: var(--re-transition);
    cursor: pointer;
}

.re-card:hover .re-card-btn {
    background: var(--re-brand);
    color: #fff;
}

/* ===========================
   7. MODAL (Centralized in base.css)
=========================== */
.re-whatsapp-btn {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

/* ===========================
   8. ENQUIRY FORM
=========================== */
.re-enquiry-box {
    background-color: var(--re-brand-light);
    border: 1px solid rgba(180, 83, 9, 0.15);
    border-radius: 1rem;
    padding: 24px;
}

.re-enquiry-header {
    font-size: 16px;
    font-weight: 800;
    color: var(--re-brand);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-form-group {
    margin-bottom: 14px;
}

.re-form-label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
    color: #374151;
}

.re-form-row {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.re-form-col {
    flex: 1;
    min-width: 190px;
}

.re-form-input {
    height: 48px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    padding-inline: 14px;
    font-size: 14.5px;
    width: 100%;
    transition: var(--re-transition);
}

.re-form-input:focus {
    border-color: var(--re-brand);
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
    outline: none;
}

.re-form-textarea {
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    padding: 12px 14px;
    font-size: 14.5px;
    width: 100%;
    transition: var(--re-transition);
}

.re-form-textarea:focus {
    border-color: var(--re-brand);
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
    outline: none;
}

.re-submit-btn {
    width: 100%;
    background: var(--re-brand);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    padding: 14px 0;
    transition: var(--re-transition);
    box-shadow: 0 4px 10px rgba(180, 83, 9, 0.2);
}

.re-submit-btn:hover {
    background: var(--re-brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(180, 83, 9, 0.3);
    color: white;
}

/* Premium Reviews Slider Styles removed and centralized in testimonial_slider.css */

/* ===========================
   10. FOOTER
=========================== */
.re-footer-dark {
    background-color: #111827;
    color: #fff;
}

.re-footer-title {
    color: var(--re-brand-light);
}

.re-footer-desc {
    color: #9ca3af;
}

.re-footer-links {
    line-height: 2;
}

.re-footer-link {
    color: #9ca3af;
    transition: var(--re-transition);
}

.re-footer-link:hover {
    color: #fff;
    text-decoration: underline !important;
}

.re-footer-contact {
    line-height: 2;
}

.re-footer-contact-item {
    color: #9ca3af;
}

.re-footer-contact-icon {
    color: var(--re-brand);
}

.re-footer-copyright {
    font-size: 14px;
}

.re-footer-legal-link {
    font-size: 14px;
    color: #9ca3af;
    transition: var(--re-transition);
}

.re-footer-legal-link:hover {
    color: #fff;
}

/* ===========================
   11. RESPONSIVE MEDIA QUERIES
=========================== */
@media (min-width: 768px) {
    .review-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 1024px) {
    .review-slide {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media(max-width:1200px) {
    .re-hero-title {
        font-size: 38px;
    }
}

@media(max-width:1024px) {
    .re-modal-content {
        max-width: 700px;
    }
}

@media(max-width:992px) {
    .re-hero-title {
        font-size: 36px;
    }

    .re-tabs-wrapper {
        margin-bottom: 20px;
    }

    .mstravel-floating-home-btn {
        right: 20px;
        bottom: 20px;
        padding: 12px 18px;
        font-size: 13px;
    }
}

@media(max-width:768px) {
    .re-hero {
        padding: 40px 0;
    }

    .re-hero-title {
        font-size: 32px;
    }

    .re-section-subtitle {
        font-size: 14px;
    }
}

@media(max-width:576px) {
    .re-hero {
        padding: 30px 0;
    }

    .re-hero-title {
        font-size: 28px;
    }

    .re-hero-subtitle {
        font-size: 15px;
    }

    .mstravel-floating-home-btn {
        right: 15px;
        bottom: 15px;
        padding: 12px 16px;
        gap: 8px;
        font-size: 12px;
    }

    .mstravel-floating-home-btn i {
        font-size: 16px;
    }
}