/* ==========================================================================
   Global Variables
   ========================================================================== */
:root {
    --primary-color: #2196F3; /* Deep professional blue for primary elements */
    --secondary-color: #4a4a4a; /* Dark grey for text and secondary elements */
    --accent-color: #00a1d6; /* Vibrant cyan for highlights and interactive elements */
    --header-bg: #fafafa; /* Semi-transparent white for header */
    --menu-bg: #ffffff; /* Light grey for navigation menus */
    --dropdown-bg: #ffffff; /* White background for dropdowns */
    --dropdown-border: #e8ecef; /* Light grey border for dropdowns */
}


.top-header a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.3s ease;
    font-size: 1rem !important;
}

.top-header a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    background: var(--menu-bg);
    padding: 0.5rem 0;
    z-index: 1;
}

.navbar-brand img {
    height: 40px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar .nav-link.active {
    color: #2196F3;
}

.text-primary {
    color: #2196F3 !important;
}


/* ==========================================================================
   Dropdown Menu
   ========================================================================== */
.dropdown-menu {
    border: 1px solid var(--dropdown-border);
    border-radius: 8px;
    background: var(--dropdown-bg);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    margin-top: 0.3rem !important;
    font-weight: normal !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: #666;
    font-size: 0.90rem;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-weight: 300 !important;
}

.dropdown-divider {
    border-top: 1px solid var(--dropdown-border);

}

.dropdown-item:hover {
    background: transparent;
    color: var(--primary-color);
}

.dropdown-item i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Multi-column Dropdown for Cities */
.dropdown-menu.multi-column {
    width: 600px;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
}

.dropdown-menu.multi-column .dropdown-column {
    flex: 1;
    min-width: 150px;
}

.dropdown-menu.multi-column h6 {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.dropdown-menu.multi-column .dropdown-item {
    padding: 0.3rem 0;
}

/* ==========================================================================
   Offcanvas Menu
   ========================================================================== */
.offcanvas {
    background: var(--menu-bg);
    width: 300px;
}

.offcanvas-header {
    border-bottom: 1px solid var(--dropdown-border);
}

.offcanvas-body {
    padding: 1rem;
}

.offcanvas .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.offcanvas .nav-link:hover {
    background: rgba(0, 74, 173, 0.05);
    color: var(--primary-color);
}

.offcanvas .submenu {
    display: none;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.offcanvas .submenu.active {
    display: block;
}

.offcanvas .submenu-item {
    color: var(--secondary-color);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    display: block;
    transition: color 0.3s ease;
}

.offcanvas .submenu-item:hover {
    color: var(--primary-color);
}

.offcanvas .nav-item .toggle-icon {
    transition: transform 0.3s ease;
}

.offcanvas .nav-item.active .toggle-icon {
    transform: rotate(180deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 60vh;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
}

.hero-content {
    color: white;
    position: relative;
}

.hero-content.bottom {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0;
}

.hero-content.bottom_right {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    max-width: 300px;
    max-height: 300px;
    overflow: auto;
}

.hero-content.bottom_left {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    max-width: 300px;
    max-height: 300px;
    overflow: auto;
}

.hero-content.top {
    position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    width: 100%;
}

.hero-content.top_right {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    max-width: 300px;
    max-height: 300px;
    overflow: auto;
}

.hero-content.top_left {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    max-width: 300px;
    max-height: 300px;
    overflow: auto;
}

.hero-content.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    max-width: 60%;
}

.hero-content.center_right {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    max-width: 300px;
    max-height: 300px;
    overflow: auto;
}

.hero-content.center_left {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    max-width: 300px;
    max-height: 300px;
    overflow: auto;
}

.hero-content::-webkit-scrollbar {
    width: 4px;
}

.hero-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}

.hero-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
}

.hero-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 1);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Custom Cards
   ========================================================================== */
.custom-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.custom-card:hover .card-icon {
    transform: scale(1.2);
}

/* ==========================================================================
   Pricing Table
   ========================================================================== */
.pricing-card .card-header {
    background: var(--primary-color);
    color: white;
    border-radius: 16px 16px 0 0;
}

.pricing-card .btn {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: background 0.3s ease;
}

.pricing-card .btn:hover {
    background: var(--accent-color);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
}

.testimonial-card img {
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

/* ==========================================================================
   Scroll to Top
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    z-index: 1000;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* ==========================================================================
   List View Styles
   ========================================================================== */
.list-view {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    background: #ffffff;
}

.list-view:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.list-view img {
    object-fit: cover;
    height: 100%;
    transition: transform 0.5s ease;
}

.list-view:hover img {
    transform: scale(1.05);
}

.list-view .btn {
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
}

.list-view .sub-title {
    font-weight: 500;
    margin-top: 5px;
}

/* Area List View */
.area-list-view {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    border-left: 4px solid #28a745;
}

.area-list-view h5 {
    color: #28a745;
    font-weight: 600;
}

.area-list-view .btn-primary {
    background-color: #28a745;
    border-color: #28a745;
}

.area-list-view .btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.area-list-view .sub-title {
    color: #5a8f69;
}

.area-list-view .text-muted {
    color: #6c757d;
}

/* Post List View */
.post-list-view {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    border-left: 4px solid #007bff;
}

.post-list-view h5 {
    color: #007bff;
    font-weight: 600;
}

.post-list-view .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.post-list-view .btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.post-list-view .sub-title {
    color: #5596cf;
}

.post-list-view .text-muted {
    color: #6c757d;
}

/* Hotel List View */
.hotel-list-view {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    border-left: 4px solid #6f42c1;
}

.hotel-list-view h5 {
    color: #6f42c1;
    font-weight: 600;
}

.hotel-list-view .btn-primary {
    background-color: #6f42c1;
    border-color: #6f42c1;
}

.hotel-list-view .btn-primary:hover {
    background-color: #5e37a6;
    border-color: #59339d;
}

.hotel-list-view .sub-title {
    color: #9370db;
}

.hotel-list-view .text-muted {
    color: #6c757d;
}

/* Restaurant List View */
.restaurant-list-view {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    border-left: 4px solid #fd7e14;
}

.restaurant-list-view h5 {
    color: #fd7e14;
    font-weight: 600;
}

.restaurant-list-view .btn-primary {
    background-color: #fd7e14;
    border-color: #fd7e14;
}

.restaurant-list-view .btn-primary:hover {
    background-color: #e56c05;
    border-color: #d96604;
}

.restaurant-list-view .sub-title {
    color: #e88c4f;
}

.restaurant-list-view .text-muted {
    color: #6c757d;
}

/* ==========================================================================
   Grid View Styles
   ========================================================================== */
.grid-view {
    transition: all 0.35s ease;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
    margin-bottom: 1.75rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.grid-view::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    z-index: 1;
}

.grid-view:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.15);
}

.grid-view .card-img-container {
    overflow: hidden;
    position: relative;
    height: 200px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.grid-view .card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.grid-view:hover .card-img-container img {
    transform: scale(1.1);
}

.grid-view .card-content {
    padding: 1.5rem;
    position: relative;
}

.grid-view .card-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
}

.grid-view h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.grid-view .sub-title {
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.grid-view .sub-title i {
    margin-right: 0.35rem;
    opacity: 0.7;
}

.grid-view .text-muted {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-view .card-footer {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.grid-view .btn {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Area Grid View */
.area-grid-view::before {
    background: linear-gradient(to right, #28a745, #75c994);
}

.area-grid-view .card-img-overlay {
    background: linear-gradient(to top, rgba(40, 167, 69, 0.7), rgba(40, 167, 69, 0.1), transparent);
}

.area-grid-view h5 {
    color: #28a745;
}

.area-grid-view .btn {
    background-image: linear-gradient(to right, #28a745, #56c072);
    border: none;
    color: white;
}

.area-grid-view .btn:hover {
    background-image: linear-gradient(to right, #218838, #40b85c);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.area-grid-view .sub-title {
    color: #5a8f69;
}

/* Post Grid View */
.post-grid-view::before {
    background: linear-gradient(to right, #007bff, #66b0ff);
}

.post-grid-view .card-img-overlay {
    background: linear-gradient(to top, rgba(0, 123, 255, 0.7), rgba(0, 123, 255, 0.1), transparent);
}

.post-grid-view h5 {
    color: #007bff;
}

.post-grid-view .btn {
    background-image: linear-gradient(to right, #007bff, #4da3ff);
    border: none;
    color: white;
}

.post-grid-view .btn:hover {
    background-image: linear-gradient(to right, #0069d9, #3696ff);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.post-grid-view .sub-title {
    color: #5596cf;
}

/* Hotel Grid View */
.hotel-grid-view::before {
    background: linear-gradient(to right, #6f42c1, #9a75d1);
}

.hotel-grid-view .card-img-overlay {
    background: linear-gradient(to top, rgba(111, 66, 193, 0.7), rgba(111, 66, 193, 0.1), transparent);
}

.hotel-grid-view h5 {
    color: #6f42c1;
}

.hotel-grid-view .btn {
    background-image: linear-gradient(to right, #6f42c1, #9a75d1);
    border: none;
    color: white;
}

.hotel-grid-view .btn:hover {
    background-image: linear-gradient(to right, #5e37a6, #8360c0);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.3);
}

.hotel-grid-view .sub-title {
    color: #9370db;
}

/* Restaurant Grid View */
.restaurant-grid-view::before {
    background: linear-gradient(to right, #fd7e14, #ffaa61);
}

.restaurant-grid-view .card-img-overlay {
    background: linear-gradient(to top, rgba(253, 126, 20, 0.7), rgba(253, 126, 20, 0.1), transparent);
}

.restaurant-grid-view h5 {
    color: #fd7e14;
}

.restaurant-grid-view .btn {
    background-image: linear-gradient(to right, #fd7e14, #ff9d4c);
    border: none;
    color: white;
}

.restaurant-grid-view .btn:hover {
    background-image: linear-gradient(to right, #e56c05, #ff8f2f);
    box-shadow: 0 5px 15px rgba(253, 126, 20, 0.3);
}

.restaurant-grid-view .sub-title {
    color: #e88c4f;
}

/* ==========================================================================
   Feature Badges
   ========================================================================== */
.grid-view .features-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    gap: 0.35rem;
}

.grid-view .feature-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-weight: 500;
}

.area-grid-view .feature-badge {
    background-color: rgba(40, 167, 69, 0.1);
    color: #218838;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.post-grid-view .feature-badge {
    background-color: rgba(0, 123, 255, 0.1);
    color: #0062cc;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.hotel-grid-view .feature-badge {
    background-color: rgba(111, 66, 193, 0.1);
    color: #5e37a6;
    border: 1px solid rgba(111, 66, 193, 0.2);
}

.restaurant-grid-view .feature-badge {
    background-color: rgba(253, 126, 20, 0.1);
    color: #e56c05;
    border: 1px solid rgba(253, 126, 20, 0.2);
}

/* ==========================================================================
   Rating Styles
   ========================================================================== */
.grid-view .rating {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.grid-view .rating i {
    color: #ffc107;
    font-size: 0.9rem;
    margin-right: 0.15rem;
}

.grid-view .rating .rating-value {
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.hotel-grid-view .rating .rating-value {
    color: #6f42c1;
}

.restaurant-grid-view .rating .rating-value {
    color: #fd7e14;
}

/* ==========================================================================
   Price Indicators
   ========================================================================== */
.grid-view .price {
    font-weight: 700;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.hotel-grid-view .price {
    color: #6f42c1;
    border-left: 3px solid #6f42c1;
}

.restaurant-grid-view .price {
    color: #fd7e14;
    border-left: 3px solid #fd7e14;
}

/* ==========================================================================
   Featured Labels
   ========================================================================== */
.grid-view .featured-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.area-grid-view .featured-label {
    color: #28a745;
    border-left: 3px solid #28a745;
}

.post-grid-view .featured-label {
    color: #007bff;
    border-left: 3px solid #007bff;
}

.hotel-grid-view .featured-label {
    color: #6f42c1;
    border-left: 3px solid #6f42c1;
}

.restaurant-grid-view .featured-label {
    color: #fd7e14;
    border-left: 3px solid #fd7e14;
}

/* ==========================================================================
   Stats in Footer
   ========================================================================== */
.grid-view .stats {
    display: flex;
    gap: 1rem;
}

.grid-view .stat-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #6c757d;
}

.grid-view .stat-item i {
    margin-right: 0.3rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    margin: 1.5rem 0;
    gap: 0.25rem;
    display: flex;
    justify-content: center;
}

.pagination .page-item .page-link {
    border-radius: 6px;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
}

.pagination .page-item .page-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
    z-index: 1;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    font-weight: 500;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    color: #333;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

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

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #4e7cff;
}

.footer ul {
    padding-left: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.footer ul li a:hover {
    color: #333;
    padding-left: 5px;
}

.footer-subscribe .input-group {
    border-radius: 30px;
    overflow: hidden;
}

.footer-subscribe .form-control {
    border-radius: 30px 0 0 30px;
    border: none;
    padding: 12px 20px;
}

.footer-subscribe .btn {
    border-radius: 0 30px 30px 0;
    padding: 12px 20px;
    background: #4e7cff;
    border: none;
    font-weight: 600;
}

.footer-subscribe .btn:hover {
    background: #3d62cf;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 40px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #333;
    margin-right: 10px;
    transition: all 0.3s;
    padding: 6px;
}

.social-links a:hover {
    color: #2196F3;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 992px) {
    .list-view img {
        max-height: 220px;
        width: 100%;
        object-fit: cover;
    }

    .list-view {
        padding: 1rem;
    }

    .grid-view .card-img-container {
        height: 180px;
    }

    .grid-view .card-content {
        padding: 1.25rem;
    }

    .grid-view .card-footer {
        padding: 0.75rem 1.25rem;
    }
}

@media (max-width: 767px) {
    .footer-logo {
        margin-bottom: 30px;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .grid-view {
        margin-bottom: 1.25rem;
    }

    .grid-view .card-img-container {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .pagination .page-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   WordPress Image Block
   ========================================================================== */
figure.wp-block-image.aligncenter.size-full img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.form-control {
    border-radius: 8px;
    padding: 0.7rem 1rem;
    border: 1px solid #e8ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 74, 173, 0.25);
}

.swiper {
    width: 100%;
    min-height: 400px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.swiper-slide .caption {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: start;
    overflow: auto;
    padding: 10px;
}

/* lets create a tiny scrollbar for caption */
.swiper-slide .caption::-webkit-scrollbar {
    width: 5px;
}

.swiper-slide .caption::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

.swiper-slide .caption::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.swiper-slide .btn {
    font-size: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid #999;
}

.swiper-slide .caption.bottom {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 150px;
}

.swiper-slide .caption.top {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 120px;
}

.swiper-slide .caption.top_left {
    top: 10px;
    left: 10px;
    padding: 10px 20px;
    max-width: 300px;
    max-height: 150px;
}

.swiper-slide .caption.top_right {
    top: 10px;
    right: 10px;
    padding: 10px 20px;
    max-width: 300px;
    max-height: 150px;
}

.swiper-slide .caption.bottom_left {
    bottom: 10px;
    left: 10px;
    padding: 10px 20px;
    max-width: 300px;
    max-height: 150px;
}

.swiper-slide .caption.bottom_right {
    bottom: 10px;
    right: 10px;
    padding: 10px 20px;
    max-width: 300px;
    max-height: 150px;
}

.swiper-slide .caption.left_panel {
    top: 0;
    left: 0;
    max-width: 35%;
    height: 100%;
}

.swiper-slide .caption.right_panel {
    top: 0;
    right: 0;
    max-width: 35%;
    height: 100%;
}

.swiper-slide .caption.center_left {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    max-width: 35%;
    max-height: 150px;
}

.swiper-slide .caption.center_right {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    max-width: 35%;
    max-height: 150px;
}

.swiper-slide .title {
    font-size: 20px;
    font-weight: 300;
    color: #fff !important;
    margin: 0 !important;
    margin-bottom: 5px !important;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide .text {
    font-size: 14px;

    color: #fff !important;
    text-align: start;
    margin-bottom: 5px !important;
}

.parallax-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 130%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
}

.caption {
    color: #fff;
}

.caption .text-dark, .caption .text-muted {
    color: #fff !important;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
}

@keyframes l5 {
    0% {
        box-shadow: 20px 0 #000, -20px 0 #0002;
        background: #000
    }
    33% {
        box-shadow: 20px 0 #000, -20px 0 #0002;
        background: #0002
    }
    66% {
        box-shadow: 20px 0 #0002, -20px 0 #000;
        background: #0002
    }
    100% {
        box-shadow: 20px 0 #0002, -20px 0 #000;
        background: #000
    }
}

.imagePreviewModal {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagePreviewModal .modal-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    max-width: 100%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.imagePreviewModal .modal-content img {
    max-width: 100%;
    max-height: 70vh; /* Limit image height to fit within viewport */
    object-fit: contain;
    border-radius: 4px;
}

.button-container {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.button-container button {
    padding: 6px 6px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s;
}

.closeBtn {
    background-color: #ccc;
    color: #333;
    font-size: 14px;

}

.closeBtn:hover {
    background-color: #bbb;
}

.downloadImageBtn {
    background-color: #ccc;
    color: #333;
}

.downloadImageBtn:hover {
    background-color: #ccc;
}

@media (max-width: 768px) {
    .imagePreviewModal .modal-content {
        max-width: 90%;
        max-height: 80vh;
    }

    .hero-section {
        height: 210px !important;
    }

    h1 {
        font-size: 1.2rem;
    }

    h2, h3, h4, h5, h6 {
        font-size: 1rem;
    }

    .header-logo {
        width: 120px !important;
    }
}

.location-filter-form {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
}

.locations-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.location-item {
    flex: 0 0 auto;
    padding: 10px;
    padding-bottom: 7px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    text-align: center;
}

.location-item:hover {
    border-color: rgba(226, 201, 168, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-check-label {
    cursor: pointer;
    margin: 0;
}

