/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'BlinkMacSystemFont', '-apple-system', 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #262626;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Header Styles */
@keyframes cloudDrift {
    0% { background-position: 0px 0px, 0px 0px, 0px 0px; }
    100% { background-position: 2400px 0px, 1600px 0px, 0px 0px; }
}

.main-header {
    background-color: #003b95;
    background-image: 
        radial-gradient(800px 400px at 50% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 60%),
        radial-gradient(600px 300px at 50% 80%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
        linear-gradient(135deg, #003b95, #0056b3);
    background-size: 1200px 100%, 800px 100%, 100% 100%;
    animation: cloudDrift 20s linear infinite;
    color: #ffffff;
    padding-bottom: 60px; /* Space for the overlapping search bar */
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.flag-icon {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    object-fit: cover;
}

.nav-btn {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-light {
    background-color: #ffffff;
    color: #003b95;
}

.btn-light:hover {
    background-color: #f2f2f2;
}

/* Mobile Nav Icons */
.mobile-nav-icons {
    display: none;
    align-items: center;
    gap: 20px;
}

.mobile-icon {
    font-size: 24px;
    padding: 0;
    color: #ffffff;
    text-decoration: none;
}

.notification-dot {
    position: absolute;
    top: 0;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: #d4111e;
    border-radius: 50%;
    border: 1px solid #003b95;
}

/* Secondary Navigation */
.secondary-nav {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.secondary-nav::-webkit-scrollbar {
    display: none;
}

.sec-nav-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.sec-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sec-nav-item.active {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid #ffffff;
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
}

/* Search Box */
.search-section-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    margin-top: -32px; /* Overlap with header */
    z-index: 10;
}

.search-container {
    background-color: #febb02;
    padding: 4px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.search-form {
    display: flex;
    background-color: transparent;
    gap: 4px;
}

.search-field {
    background-color: #ffffff;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
}

.destination-field {
    flex: 1.5;
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 52px;
}

.search-icon {
    color: #262626;
    margin-right: 12px;
    font-size: 20px;
}

.search-input {
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    color: #262626;
    width: 100%;
}

.search-input::placeholder {
    color: #262626;
}

.clear-icon, .arrow-icon {
    color: #262626;
    margin-left: auto;
    font-size: 14px;
}

/* Dates */
.date-range-picker {
    flex: 2;
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 52px;
}

.date-label, .guest-label {
    display: none; /* Hidden on desktop */
}

.date-value, .guest-value {
    font-size: 15px;
    font-weight: 500;
    color: #262626;
    display: flex;
    align-items: center;
}

/* On desktop, simulate the icons before date/guest values */
@media (min-width: 769px) {
    .date-range-picker::before {
        content: "\f073"; /* FontAwesome calendar icon */
        font-family: "Font Awesome 6 Free";
        font-weight: 400;
        position: absolute;
        left: 15px;
        color: #262626;
        font-size: 20px;
        z-index: 1;
        pointer-events: none;
    }
    .date-range-picker input { padding-left: 32px; }

    .guests-picker::before {
        content: "\f007"; /* FontAwesome user icon */
        font-family: "Font Awesome 6 Free";
        font-weight: 400;
        position: absolute;
        left: 15px;
        color: #262626;
        font-size: 20px;
    }
    .guests-picker .guest-summary { padding-left: 32px; }
}

/* Guests Picker */
.guests-picker {
    flex: 1.5;
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 52px;
    cursor: pointer;
    position: relative;
}

.guest-summary {
    font-size: 15px;
    font-weight: 500;
    color: #262626;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-icon {
    font-size: 14px;
    color: #262626;
    margin-left: 10px;
}

/* Dropdown */
.guest-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.15);
    padding: 24px;
    width: 340px;
    z-index: 100;
    cursor: default;
}

.guest-dropdown.show {
    display: block;
}

.guest-dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.guest-dropdown-item:last-child {
    margin-bottom: 0;
}

.guest-dropdown-label {
    font-size: 16px;
    font-weight: 500;
    color: #262626;
}

.guest-dropdown-controls {
    display: flex;
    align-items: center;
    border: 1px solid #858585;
    border-radius: 4px;
    overflow: hidden;
}

.guest-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: none;
    font-size: 20px;
    color: #0071c2;
    cursor: pointer;
    outline: none;
}

.guest-btn:hover:not(:disabled) {
    background-color: #f2f2f2;
}

.guest-btn:disabled {
    color: #c6c6c6;
    cursor: not-allowed;
}

.guest-count {
    width: 36px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.search-submit-btn {
    background-color: #0071c2;
    color: #ffffff;
    border: none;
    font-size: 20px;
    font-weight: 500;
    padding: 0 32px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-submit-btn:hover {
    background-color: #005999;
}

@media (max-width: 900px) {
    .search-section-wrapper {
        margin-top: 15px !important;
    }
}

/* Responsive adjustments for Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-nav-icons { display: flex; }
    
    .secondary-nav {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        margin: 15px -15px 0 -15px;
        padding: 0 15px 5px 15px;
    }
    .secondary-nav::-webkit-scrollbar { display: none; }
    
    .main-header {
        padding-bottom: 10px;
    }
    
    .hero-section {
        background-color: #f5f5f5;
        margin: 0 -15px;
        padding: 30px 15px 40px 15px;
    }
    .hero-title, .hero-subtitle {
        color: #1a1a1a;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    
    .search-section-wrapper {
        margin-top: 15px !important;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .destination-field,
    .date-range-picker,
    .guests-picker {
        flex: none;
        align-items: center;
        padding: 0 15px;
        height: 52px;
        width: 100%;
    }
    
    .date-label, .guest-label {
        display: block;
        font-size: 12px;
        color: #262626;
        margin-bottom: 4px;
    }
    
    .date-value, .guest-value {
        font-size: 15px;
        font-weight: 700;
        gap: 0;
    }
    
    .guest-dropdown {
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
    }
    
    .search-submit-btn {
        height: 52px;
    }
    
    .carousel-btn {
        display: none;
    }
}

/* Property Types Section */
.property-types-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible;
    z-index: 1;
}

.carousel-track {
    display: grid;
    grid-auto-flow: column;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    width: 100%;
    padding: 4px 0;
}
#propTrack {
    grid-auto-columns: calc((100% - 48px) / 4);
}
#exploreTrack {
    grid-auto-columns: calc((100% - 80px) / 6);
}
.carousel-track::-webkit-scrollbar {
    display: none;
}

.property-card {
    cursor: pointer;
}

.property-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    background-size: cover;
    background-position: center;
}

.property-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999 !important;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.carousel-btn i {
    font-size: 14px;
    color: #262626;
}

.carousel-btn:hover {
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.prev-btn {
    left: -18px;
}

.next-btn {
    right: -18px;
}

/* Explore Section */
.explore-section {
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 16px;
    color: #6b6b6b;
    margin-top: -15px;
    margin-bottom: 20px;
}

.destination-card {
    cursor: pointer;
}

.dest-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #e0e0e0;
    border-radius: 8px;
    margin-bottom: 8px;
}

.dest-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
}

.dest-subtitle {
    font-size: 14px;
    color: #6b6b6b;
    margin-top: 2px;
}



/* Unique Properties Section */
.unique-properties-section {
    margin-bottom: 40px;
}

/* Featured Destinations Grid Section */
.destinations-grid-section {
    width: 100%;
    margin: 35px 0 50px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dest-grid-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.dest-grid-top .dest-grid-card {
    flex: 1;
    height: 260px;
}

.dest-grid-bottom .dest-grid-card {
    flex: 1;
    height: 240px;
}

.dest-grid-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dest-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.dest-grid-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.dest-grid-card:hover .dest-grid-bg {
    transform: scale(1.06);
}

.dest-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.dest-grid-title {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    z-index: 2;
}

.dest-flag {
    height: 20px;
    width: auto;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Main Homepage Sections Flexbox Ordering */
.main-homepage-container {
    display: flex;
    flex-direction: column;
}
.property-types-section { order: 1; }
.explore-section { order: 2; }
.unique-properties-section { order: 3; }
.destinations-grid-section { order: 4; }
.partners-section { order: 5; }

/* Our Partners Section */
.partners-section {
    margin: 45px 0 35px 0;
    text-align: left;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 25px;
    align-items: center;
}

.partner-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 85px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    border-color: #0071c2;
}

.partner-img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .partner-card {
        height: 70px;
        padding: 10px 14px;
    }
}

@media (max-width: 768px) {
    .destinations-grid-section {
        order: 0; /* Moves grid section above property-types-section on mobile */
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 0;
        margin: 5px 0 15px 0; /* Tight margins to remove top & bottom empty spaces */
        scrollbar-width: none; /* Firefox */
    }
    .destinations-grid-section::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    .dest-grid-row {
        display: contents; /* Flatten row wrappers so all 5 cards slide together */
    }
    .dest-grid-top .dest-grid-card,
    .dest-grid-bottom .dest-grid-card,
    .dest-grid-card {
        flex: 0 0 88%;
        width: 88%;
        height: 185px !important;
        scroll-snap-align: center;
        border-radius: 12px;
    }
    .dest-grid-title {
        font-size: 18px;
        top: 15px;
        left: 15px;
    }
}

#uniqueTrack {
    grid-auto-columns: calc((100% - 48px) / 4); /* 4 visible on desktop */
}

.unique-property-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    cursor: pointer;
}

.unique-img-wrapper {
    position: relative;
}

.unique-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #e0e0e0;
    background-size: cover;
    background-position: center;
}

.heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 16px;
    color: #1a1a1a;
    transition: background-color 0.2s;
}

.heart-btn:hover {
    background: #f2f2f2;
}

.unique-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.unique-type-row {
    font-size: 12px;
    color: #6b6b6b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.unique-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.thumbs-up-icon {
    background: #febb02;
    color: #ffffff;
    border-radius: 2px;
    padding: 2px 3px;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
}

.unique-badge {
    background: #003b95;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 4px;
}

.unique-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.unique-location {
    font-size: 13px;
    color: #6b6b6b;
}

.unique-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.rating-score {
    background: #003b95;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 6px;
    border-radius: 4px 4px 4px 0;
}

.rating-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.rating-word {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}

.rating-reviews {
    font-size: 12px;
    color: #6b6b6b;
}

.unique-price-row {
    margin-top: auto;
    text-align: right;
    padding-top: 10px;
}

.price-label {
    font-size: 12px;
    color: #6b6b6b;
}

.old-price {
    font-size: 14px;
    color: #d4111e;
    text-decoration: line-through;
}

.new-price {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Modern Footer */
.modern-footer {
    background-color: #f2f2f2;
    padding: 60px 0 20px 0;
    font-size: 14px;
    color: #1a1a1a;
    margin-top: 60px;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
@media (max-width: 900px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}
@media (max-width: 550px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.footer-contact-info {
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}
.footer-col i {
    color: #0071c2;
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}
.footer-col a {
    display: block;
    color: #1a1a1a;
    text-decoration: none;
    margin-bottom: 12px;
    font-weight: 400;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: #0071c2;
    text-decoration: underline;
}
.footer-bottom {
    border-top: 1px solid #dcdcdc;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.footer-locale {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
}
.footer-copyright {
    text-align: center;
    font-size: 12px;
    color: #6b6b6b;
    line-height: 1.6;
}

/* Footer Social Media Links */
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #e4e6eb;
    color: #1a1a1a;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.footer-social .social-icon:hover {
    color: #ffffff;
    transform: translateY(-2px);
}
.footer-social .social-icon.facebook:hover {
    background-color: #1877f2;
}
.footer-social .social-icon.youtube:hover {
    background-color: #ff0000;
}
.footer-social .social-icon.whatsapp:hover {
    background-color: #25D366;
}
@media (max-width: 600px) {
    .footer-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .footer-locale {
        align-self: center !important;
    }
}

/* Ensure mobile overrides apply correctly (placed at the bottom for higher precedence) */
@media (max-width: 768px) {
    #propTrack {
        grid-auto-columns: calc((100% - 16px) / 2.2);
    }
    #exploreTrack {
        grid-auto-columns: calc((100% - 16px) / 2.5);
    }
    #uniqueTrack {
        grid-auto-columns: calc((100% - 16px) / 2); /* Show exactly 2 cards on mobile */
    }
    
    /* Adjust text sizes for unique property card on mobile to look nicer */
    .unique-title {
        font-size: 14px;
    }
    .unique-location {
        font-size: 12px;
    }
    .new-price {
        font-size: 15px;
    }
    .old-price {
        font-size: 11px;
    }
    .rating-score {
        font-size: 12px;
        padding: 3px 5px;
    }
    .rating-word {
        font-size: 11px;
    }
    .rating-reviews {
        font-size: 10px;
    }
    .unique-content {
        padding: 8px;
    }
}

/* ==========================================
   Page Loader Animation Styles
   ========================================== */
#bm-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: radial-gradient(circle at 50% 45%, #0044b3 0%, #001f54 75%, #000f2e 100%);
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.45s ease, transform 0.45s ease;
    transform: scale(1);
    user-select: none;
    pointer-events: all;
    overflow: hidden;
}

#bm-page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    pointer-events: none;
}

.bm-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.bm-loader-logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.bm-loader-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: #febb02;
    border-right-color: #00d2ff;
    animation: bmSpin 1.1s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.25), inset 0 0 15px rgba(254, 187, 2, 0.15);
}

.bm-loader-logo-badge {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 25px rgba(254, 187, 2, 0.35);
    animation: bmPulse 2s ease-in-out infinite alternate;
    z-index: 3;
    padding: 8px;
}

.bm-loader-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.bm-loader-brand {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 2px;
}

.bm-loader-brand span.dot-com {
    color: #febb02;
}

.bm-loader-progress-track {
    width: 170px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin: 16px 0 12px;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.bm-loader-progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #febb02, #00d2ff, #febb02);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: bmShimmer 1.4s linear infinite;
}

.bm-loader-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.bm-loader-particles {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    animation: bmGlowPulse 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes bmSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bmPulse {
    0% { transform: scale(0.96); box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 15px rgba(254,187,2,0.3); }
    100% { transform: scale(1.04); box-shadow: 0 14px 35px rgba(0,0,0,0.4), 0 0 35px rgba(0,210,255,0.5); }
}

@keyframes bmShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes bmGlowPulse {
    0% { transform: scale(0.8); opacity: 0.4; }
    100% { transform: scale(1.3); opacity: 0.8; }
}

/* ==========================================
   Global Card Image Loader & Shimmer Animation
   ========================================== */
@keyframes propImgShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes propImgSpinner {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.property-img-placeholder,
.dest-img-placeholder,
.unique-img-placeholder,
.dest-grid-card,
.main-img-box,
.gallery-thumb-box,
.more-photos-overlay {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #edf2f7 0%, #e2e8f0 50%, #edf2f7 100%);
    background-size: 200% 100%;
    animation: propImgShimmer 1.5s infinite linear;
}

.property-img-placeholder::before,
.dest-img-placeholder::before,
.unique-img-placeholder::before,
.dest-grid-card::before,
.main-img-box::before,
.gallery-thumb-box::before,
.more-photos-overlay::before {
    content: "\f03e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 26px;
    color: #cbd5e1;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.property-img-placeholder::after,
.dest-img-placeholder::after,
.unique-img-placeholder::after,
.dest-grid-card::after,
.main-img-box::after,
.gallery-thumb-box::after,
.more-photos-overlay::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 59, 149, 0.18);
    border-top-color: #003b95;
    border-radius: 50%;
    animation: propImgSpinner 0.75s linear infinite;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
    box-sizing: border-box;
}

.property-img-placeholder.img-loaded,
.dest-img-placeholder.img-loaded,
.unique-img-placeholder.img-loaded,
.dest-grid-card.img-loaded,
.main-img-box.img-loaded,
.gallery-thumb-box.img-loaded,
.more-photos-overlay.img-loaded {
    animation: none;
    background: #f1f5f9;
}

.property-img-placeholder.img-loaded::before,
.property-img-placeholder.img-loaded::after,
.dest-img-placeholder.img-loaded::before,
.dest-img-placeholder.img-loaded::after,
.unique-img-placeholder.img-loaded::before,
.unique-img-placeholder.img-loaded::after,
.dest-grid-card.img-loaded::before,
.dest-grid-card.img-loaded::after,
.main-img-box.img-loaded::before,
.main-img-box.img-loaded::after,
.gallery-thumb-box.img-loaded::before,
.gallery-thumb-box.img-loaded::after,
.more-photos-overlay.img-loaded::before,
.more-photos-overlay.img-loaded::after {
    opacity: 0 !important;
}

.card-img,
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
    display: block;
}

.card-img.loaded,
.gallery-img.loaded {
    opacity: 1;
}



