/* FGMD Custom Styles */

/* Global Styles */
:root {
    --primary-color: #27ae60;
    --primary-rgb: 39, 174, 96;
    --secondary-color: #2980b9;
    --secondary-rgb: 41, 128, 185;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --info-color: #3498db;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 0.95rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
}

/* Header and Navigation */
.navbar {
    padding: 15px 0;
    transition: all 0.4s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.7); /* More translucent background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.navbar.scrolled .navbar-brand img {
    max-height: 35px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    overflow-x: hidden; /* Prevent horizontal overflow */
    overflow-y: visible; /* Allow vertical overflow for suggestions */
    padding-top: 80px; /* Add padding for fixed navbar */
}

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

.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
    overflow: visible; /* Allow suggestions to overflow */
}

.hero-content {
    margin-top: 20px; /* Increased from -50px to bring content down */
    animation: fadeInLeft 0.8s ease-out forwards;
}

.hero-content h1, 
.hero-content h2, 
.hero-content h5 {
    opacity: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content h5 {
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Hero content animations */
.animate-text {
    animation: fadeInUp 0.5s ease-out forwards;
}

.hero-content h5:nth-of-type(1) {
    animation-delay: 0.2s;
    display: block;
}

.hero-content h2 {
    animation-delay: 0.4s;
}

.hero-content h1 {
    animation-delay: 0.6s;
}

.hero-content h5:nth-of-type(2) {
    animation-delay: 0.8s;
    display: block;
}

.animate-btn {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 1s forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Hero Search Form */
.hero-search-form {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 1 !important; /* Make sure it's visible */
    position: relative;
    z-index: 100; /* Ensure search form has stacking context */
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
    max-width: 800px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    display: block !important; /* Ensure it's displayed */
    visibility: visible !important; /* Ensure it's visible */
}

.hero-search-form:hover {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-search-form .nav-tabs {
    border-bottom: none;
    margin-bottom: 15px;
}

.hero-search-form .nav-link {
    color: white;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-search-form .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
}

.hero-search-form h6 {
    color: white;
    margin-bottom: 15px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 0.95rem;
    opacity: 0.9;
}

.hero-search-form form {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hero-search-form .form-group {
    flex: 1;
    margin-bottom: 0;
    position: relative;
    z-index: 1000; /* Ensure form group has stacking context */
}

.hero-search-form .form-control {
    border-radius: 30px;
    padding: 12px 20px;
    margin-bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    height: 48px;
    transition: all 0.3s ease;
}

.hero-search-form .form-control:focus {
    background-color: white;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.3);
}

.hero-search-form .btn-success {
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    height: 48px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    min-width: 120px;
}

.hero-search-form .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background-color: #219651;
    border-color: #219651;
}

.hero-search-form .get-location {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: none;
}

.hero-search-form .get-location:hover {
    background-color: #219651;
    transform: translateY(-50%) scale(1.05);
}

.hero-search-form .get-location.loading {
    pointer-events: none;
    opacity: 0.8;
    animation: pulse 1.5s infinite;
}

.hero-search-form .search-fields-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

/* Suggestions container */
#suggestionsContainer {
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    margin-top: 5px;
    display: none;
}

/* Hero Search Autocomplete Styles */
.hero-suggestions-container {
    position: absolute;
    bottom: 100%; /* Position above the input instead of below */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background-color: white !important;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 5px; /* Margin below instead of above */
    z-index: 999999 !important; /* Extremely high z-index to appear above social media icons and everything else */
    opacity: 0;
    transform: translateY(10px); /* Move down initially, then up when shown */
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    isolation: isolate; /* Create new stacking context */
    display: none; /* Hidden by default */
}

.hero-suggestions-container.show {
    opacity: 1;
    transform: translateY(0); /* Move to final position above input */
    pointer-events: auto;
    display: block !important; /* Ensure it's visible */
}

.hero-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    background-color: white;
}

.hero-suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.hero-suggestion-item:first-child {
    border-radius: 12px 12px 0 0;
}

.hero-suggestion-item:hover,
.hero-suggestion-item.selected {
    background-color: #f8f9fa;
    background: linear-gradient(90deg, rgba(39, 174, 96, 0.05) 0%, rgba(39, 174, 96, 0.02) 100%);
    padding-left: 20px;
}

.hero-suggestion-item.no-results {
    color: #6c757d;
    font-style: italic;
    cursor: default;
    text-align: center;
    padding: 20px;
}

.hero-suggestion-item.no-results:hover {
    background-color: white;
    padding-left: 16px;
}

.suggestion-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.suggestion-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2c3e50;
    line-height: 1.4;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Show ellipsis for truncated text */
    max-width: 100%; /* Ensure it respects container width */
}

.suggestion-sector {
    font-size: 0.85rem;
    color: #27ae60;
    display: flex;
    align-items: center;
    gap: 6px;
}

.suggestion-sector i {
    font-size: 0.75rem;
}

.suggestion-location {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.suggestion-location i {
    font-size: 0.7rem;
    color: #95a5a6;
}

/* Text Highlighting */
.search-highlight {
    background-color: #fff3cd;
    color: #856404;
    font-weight: 600;
    padding: 0 2px;
    border-radius: 2px;
}

/* Search Loading Indicator */
.search-loading-indicator {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    z-index: 10001;
}

.search-loading-indicator i {
    font-size: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Google Places Autocomplete Styling */
.pac-container {
    z-index: 999999 !important; /* Match suggestions container z-index */
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    margin-top: 5px !important;
}

.pac-item {
    padding: 12px 16px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.pac-item:first-child {
    border-top: none !important;
}

.pac-item:hover,
.pac-item-selected {
    background-color: #f8f9fa !important;
    background: linear-gradient(90deg, rgba(39, 174, 96, 0.05) 0%, rgba(39, 174, 96, 0.02) 100%) !important;
}

.pac-icon {
    margin-right: 10px !important;
}

.pac-matched {
    font-weight: 600 !important;
    color: #27ae60 !important;
}

/* Smooth scrollbar for suggestions */
.hero-suggestions-container::-webkit-scrollbar {
    width: 6px;
}

.hero-suggestions-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.hero-suggestions-container::-webkit-scrollbar-thumb {
    background: #27ae60;
    border-radius: 10px;
}

.hero-suggestions-container::-webkit-scrollbar-thumb:hover {
    background: #219651;
}

/* Hero Social Buttons */
.hero-social-btn {
    display: flex;
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 50px;
    transition: none;
    animation: fadeInUp 0.8s ease-out 1.5s forwards;
    opacity: 0;
    z-index: 5;
    pointer-events: auto;
}

/* Centered Social Media Buttons */
.centered-social {
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    margin: 0 auto;
}

.social-title {
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.social-title h6 {
    margin-bottom: 0;
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.social-line {
    display: none;
}

.social-btns {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.social-btns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-align: center;
    margin-right: 10px;
    transition: none;
    transform-origin: center;
    position: relative;
    z-index: 1;
    pointer-events: auto;
    transform: none;
}

.social-btns a:last-child {
    margin-right: 0;
}

.social-btns a:hover {
    background: var(--primary-color);
    color: white;
    transform: none;
    box-shadow: none;
}

/* Mobile responsiveness for social media buttons */
@media (max-width: 767px) {
    .hero-social-btn {
        display: none; /* Hide the entire social media section on mobile */
    }
}

@media (max-width: 480px) {
    .hero-social-btn {
        bottom: 15px;
    }
    
    .social-title h6 {
        font-size: 0.8rem;
    }
    
    .social-btns a {
        width: 30px;
        height: 30px;
        margin: 0 4px 4px;
    }
}

/* Sectors Section */
.sectors-section {
    padding: 50px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.sectors-container {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    -ms-overflow-style: none;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.sectors-container::-webkit-scrollbar {
    height: 5px;
    background: #f1f1f1;
    border-radius: 10px;
}

.sectors-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.sectors-container::-webkit-scrollbar-thumb:hover {
    background: #219651;
}

#sectors {
    display: flex;
    flex-wrap: nowrap;
    padding: 10px 5px;
}

.sector-item {
    flex: 0 0 auto;
    width: 240px;
    height: 160px;
    margin-right: 20px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sector-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.sector-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
    z-index: 1;
    transition: all 0.3s ease;
}

.sector-item:hover::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
}

.sector-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.sector-item:hover img {
    transform: scale(1.1);
}

.sector-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    color: white;
    text-align: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.sector-content h6 {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.section-title.sectors-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title.sectors-title h4 {
    font-weight: 700;
    color: var(--dark-color);
    display: inline-block;
    position: relative;
}

.section-title.sectors-title h4::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.sectors-controls {
    text-align: center;
    margin-top: 25px;
}

.sector-nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.2);
    transition: all 0.3s ease;
}

.sector-nav-btn:hover {
    background: #219651;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .sector-item {
        width: 200px;
        height: 140px;
        margin-right: 15px;
    }
    
    .sectors-section {
        padding: 30px 0;
    }
    
    .sector-content h6 {
        font-size: 0.9rem;
    }
}

/* Featured Listings Section Enhancements */
.featured-listings-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.featured-listings-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.featured-listings-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.featured-listings-section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title span.text-dark {
    color: var(--dark-color) !important;
    position: relative;
}

.section-title span.text-dark::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.section-heading .lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    max-width: 800px;
    margin: 15px auto 0;
}

.listings-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.filter-title h5 {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--primary-color);
}

.filter-controls select {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    background-color: #fff;
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    appearance: none;
    background-image: url('../img/icons/arrow-down.svg');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 35px;
    min-width: 130px;
}

.filter-controls select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 3px 15px rgba(var(--primary-rgb), 0.2);
}

.listing-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.listing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(var(--primary-rgb), 0.1);
}

.listing-card .image-container {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.listing-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.listing-card:hover img {
    transform: scale(1.08);
}

.price-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: all 0.3s ease;
}

.listing-card:hover .price-badge {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ratings-map {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.ratings-map .rating {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ratings-map .rating:before {
    content: '★';
    margin-right: 5px;
    color: #FFC107;
}

.ratings-map .map-icon {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ratings-map .map-icon:hover, 
.ratings-map .rating:hover {
    background-color: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.ratings-map .map-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.listing-content {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sector-link p {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.sector-link i {
    margin-right: 5px;
}

.listing-title h5 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.listing-card:hover .listing-title h5 {
    color: var(--primary-color);
}

.description p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.btn-claim {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-claim:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.verified-badge {
    color: #4CAF50;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-badge i {
    font-size: 1rem;
}

.listing-favourite a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.listing-favourite a:hover, 
.listing-favourite a:focus {
    background-color: #ffecee;
    color: #ff4757;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.listing-favourite a i.fas {
    color: #ff4757;
}

/* Favorite animation */
@keyframes heartBeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.3); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

.favorite-animation {
    animation: heartBeat 1s ease-in-out;
}

/* Animation for listing cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.listings-container .col-lg-4 {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.listings-container .col-lg-4:nth-child(2) {
    animation-delay: 0.1s;
}

.listings-container .col-lg-4:nth-child(3) {
    animation-delay: 0.2s;
}

.listings-container .col-lg-4:nth-child(4) {
    animation-delay: 0.3s;
}

.listings-container .col-lg-4:nth-child(5) {
    animation-delay: 0.4s;
}

.listings-container .col-lg-4:nth-child(6) {
    animation-delay: 0.5s;
}

.listings-container .col-lg-4:nth-child(7) {
    animation-delay: 0.6s;
}

.listings-container .col-lg-4:nth-child(8) {
    animation-delay: 0.7s;
}

/* View all button */
.featured-listings-section .btn-primary {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
    border: none;
}

.featured-listings-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

.featured-listings-section .btn-primary i {
    transition: transform 0.3s ease;
}

.featured-listings-section .btn-primary:hover i {
    transform: translateX(5px);
}

/* Responsive styles */
@media (max-width: 991px) {
    .featured-listings-section {
        padding: 60px 0;
    }
    
    .section-title h2, .section-title h4 {
        font-size: 1.75rem;
    }
    
    .section-heading .lead {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .listings-filter {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .listing-card .image-container {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .featured-listings-section {
        padding: 50px 0;
    }
    
    .section-title h2, .section-title h4 {
        font-size: 1.5rem;
    }
    
    .listing-title h5 {
        font-size: 1.1rem;
    }
    
    .description p {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
    
    .listing-content {
        padding: 20px 15px;
    }
}

@media (max-width: 575px) {
    .featured-listings-section {
        padding: 40px 0;
    }
    
    .listings-container {
        margin: 0 -10px;
    }
    
    .listings-container .col-lg-4 {
        padding: 0 10px;
    }
    
    .listing-card {
        margin-bottom: 20px;
    }
    
    .listing-card .image-container {
        height: 180px;
    }
    
    .filter-controls select {
        width: 100%;
        min-width: 200px;
    }
}

/* About Section */
.about-section {
    padding: 70px 0;
    background-color: white;
}

.about-content h4 {
    margin-bottom: 20px;
    font-weight: 700;
}

.qr-code-link {
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.qr-code-link:hover {
    transform: scale(1.05);
}

/* Editor's Pick Section */
.editors-pick-section {
    padding: 70px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.editors-pick-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.editors-pick-section .container {
    position: relative;
    z-index: 2;
}

.editors-pick-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.editors-pick-item.large {
    height: 100%;
}

.editors-pick-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editors-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.destinations {
    flex-direction: column;
}

.destinations a {
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.destinations a:last-child {
    font-size: 0.8rem;
    opacity: 0.8;
}

.add-more a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    padding: 70px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

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

/* Community Section */
.community-section {
    padding: 70px 0;
    background-color: white;
}

/* News and Events Section */
.news-events-section {
    padding: 80px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.news-events-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.95));
    z-index: 1;
}

.news-events-section .container {
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    background: rgba(39, 174, 96, 0.2);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 30px;
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

.section-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.section-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.blog-card-modern {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.blog-card-modern:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.blog-card-modern::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    transition: all 2s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
}

.blog-card-modern:hover::after {
    left: 100%;
    top: 100%;
    opacity: 1;
}

.blog-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease;
}

.blog-card-modern:hover .blog-thumb img {
    transform: scale(1.1) rotate(2deg);
}

.blog-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.blog-card-modern:hover .blog-category {
    background: var(--secondary-color);
    padding: 5px 15px;
}

.blog-content-wrapper {
    padding: 25px;
    color: white;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.blog-date {
    display: flex;
    align-items: center;
}

.blog-date i {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog-stats {
    display: flex;
    gap: 15px;
}

.blog-stats span {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-stats span:hover {
    color: var(--primary-color);
}

.blog-stats i {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.blog-card-modern:hover .blog-title {
    color: var(--primary-color);
}

.blog-excerpt {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: auto;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: white;
    letter-spacing: 0.5px;
}

.read-more:hover i {
    transform: translateX(5px);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.blog-card-modern:hover .author-img {
    transform: scale(1.1);
}

.blog-author span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.view-more-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid white;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.4s ease;
    z-index: -1;
}

.view-more-btn:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.view-more-btn:hover::before {
    left: 0;
}

.view-more-btn:hover i {
    animation: bounceRight 0.8s infinite;
}

@keyframes bounceRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

@media (max-width: 767px) {
    .news-events-section {
        padding: 60px 0;
    }
    
    .blog-card-modern {
        margin-bottom: 30px;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }
    
    .blog-thumb {
        height: 180px;
    }
}

/* Beautified Footer Styles */
.footer-section {
    position: relative;
    background-color: #1a1a1a;
    color: #a0a0a0;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.1) 0%, rgba(39, 174, 96, 0) 70%);
    border-radius: 50%;
}

.footer-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.05) 0%, rgba(39, 174, 96, 0) 70%);
    border-radius: 50%;
}

.footer-top {
    padding: 80px 0 50px;
    position: relative;
    z-index: 1;
}

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

.footer-logo img {
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #a0a0a0;
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.widget-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.footer-line {
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.footer-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0a0a0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a i {
    font-size: 0.8rem;
    margin-right: 5px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .icon-box {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.contact-item .text h6 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-item .text p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-item .text a {
    color: #a0a0a0;
    transition: all 0.3s ease;
}

.contact-item .text a:hover {
    color: var(--primary-color);
}

.newsletter-form {
    margin-top: 20px;
    position: relative;
}

.newsletter-form .form-group {
    position: relative;
    margin-bottom: 0;
}

.newsletter-form .form-control {
    height: 48px;
    border-radius: 30px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border-color: var(--primary-color);
}

.newsletter-form .form-control::placeholder {
    color: #a0a0a0;
}

.newsletter-form button {
    position: absolute;
    top: 4px;
    right: 4px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.newsletter-note p {
    font-size: 0.8rem !important;
    color: #777;
    margin-bottom: 0;
}

.footer-bottom {
    background: #151515;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.copyright p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #777;
}

.footer-bottom-links a {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .footer-top {
        padding: 50px 0 20px;
    }
    
    .footer-bottom-links {
        text-align: center;
        margin-top: 15px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
    
    .copyright {
        text-align: center;
    }
    
    .blog-card-modern {
        margin-bottom: 30px;
    }
    
    .news-events-section {
        padding: 60px 0;
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.scroll-reveal-left.animated,
.scroll-reveal-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Parallax effect */
.parallax-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

/* Custom Overlay for Advertisements */
.custom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-overlay.show {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    background: white;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.custom-overlay.show .overlay-content {
    transform: scale(1);
}

.overlay-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.overlay-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

.overlay-content h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.overlay-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.overlay-action-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.overlay-action-btn:hover {
    background-color: #219651;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
}

/* Bottom page special effect */
.page-bottom-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-bottom-indicator.visible {
    opacity: 1;
    transform: scale(1);
}

/* Global text standardization */
p, .description, .blog-content p, .promo-banner-text p, 
.custom-promo-details p, .sector-link p, .hero-search-form h6,
.custom-promo-feature, .overlay-content p, .about-content p,
.service-description, .intro-text, .callout-text, .feature-text,
.cta-text, .section-description, .hero-content .lead, 
.card-text, div[class*="text"], div[class*="description"] {
    font-size: 0.95rem !important;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Blog and listing descriptions */
.description, .blog-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* Promo text */
.promo-banner-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 5px 0 0 0;
    font-size: 0.95rem;
}

/* Overlay content */
.overlay-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.lead, p.lead {
    font-size: 0.95rem !important;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: normal;
}

/* Hero content positioning adjustment */
.hero-content.text-start {
    padding-left: 20%;
}

@media (max-width: 992px) {
    .hero-content.text-start {
        padding-left: 10%;
    }
}

@media (max-width: 767px) {
    .hero-content.text-start {
        padding-left: 0;
    }
    
    /* Reduced text size for mobile hero section */
    .mobile-reduced-h2 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .mobile-reduced-h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
}

/* Even smaller screens */
@media (max-width: 480px) {
    .mobile-reduced-h2 {
        font-size: 2rem !important;
    }
    
    .mobile-reduced-h1 {
        font-size: 1.7rem !important;
    }
}

/* Mobile responsiveness for listings */
@media (max-width: 767px) {
    .listings-container .col-lg-4 {
        display: flex;
        justify-content: center;
    }
    
    .listing-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* Ensure badges are properly positioned */
    .price-badge, .unclaimed-badge {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
}

/* Unclaimed badge styling */
.unclaimed-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #f39c12 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: all 0.3s ease;
}

.listing-card:hover .unclaimed-badge {
    background: linear-gradient(135deg, #f39c12 0%, #ff6b6b 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Load more button styling */
.load-more-btn {
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    margin: 20px auto;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.load-more-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.4);
}

.load-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(2px);
}

/* Improved QR Code Section Styling */
.qr-code-section {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.qr-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(39, 174, 96, 0.1);
}

.qr-card:hover {
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.2);
    transform: translateY(-5px);
}

.qr-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 20px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.qr-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s infinite;
}

.qr-header h5 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
}

.qr-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.qr-body {
    padding: 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.qr-animation {
    position: relative;
    margin-right: 20px;
    flex: 0 0 auto;
}

.qr-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    animation: scanAnimation 2s infinite;
    border-radius: 10px;
    pointer-events: none;
}

.qr-animation svg {
    display: block;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.1));
}

.scan-instructions {
    flex: 1;
    min-width: 200px;
    padding-left: 15px;
}

.scan-instructions p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #444;
}

.scan-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 15px;
}

.scan-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 70px;
    padding: 10px;
}

.scan-step i {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(39, 174, 96, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.scan-step span {
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
}

.qr-footer {
    padding: 20px;
    background-color: #f8f9fa;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Animations for QR code */
@keyframes scanAnimation {
    0% {
        border-color: rgba(39, 174, 96, 0.5);
        transform: scale(0.95);
    }
    50% {
        border-color: rgba(39, 174, 96, 0);
        transform: scale(1.05);
    }
    100% {
        border-color: rgba(39, 174, 96, 0.5);
        transform: scale(0.95);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.5;
    }
}

/* Responsive styles for QR section */
@media (max-width: 767px) {
    .qr-body {
        flex-direction: column;
        text-align: center;
    }
    
    .qr-animation {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .scan-instructions {
        padding-left: 0;
    }
    
    .scan-steps {
        justify-content: center;
    }
}

/* Floating Promo Banner */
.floating-promo-banner {
    position: fixed;
    right: 20px;
    bottom: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 997;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    max-width: 320px;
    width: auto;
    opacity: 0;
}

.floating-promo-banner.show {
    transform: translateX(0);
    opacity: 1;
}

.floating-promo-banner.hide-on-scroll {
    transform: translateX(120%);
    opacity: 0;
}

.floating-promo-banner:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px) translateX(0);
}

.promo-banner-content {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    position: relative;
    overflow: hidden;
}

.promo-banner-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

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

.promo-banner-text {
    margin-right: 15px;
    position: relative;
    z-index: 1;
}

.discount-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 30px;
    margin-bottom: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.promo-banner-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 3px 0;
    color: white;
}

.promo-banner-text p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.promo-banner-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    padding: 7px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.promo-banner-btn i {
    margin-right: 5px;
}

.promo-banner-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Custom Promo Modal Styling */
.custom-promo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-promo-modal.show {
    opacity: 1;
    visibility: visible;
}

.custom-promo-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.custom-promo-modal.show .custom-promo-content {
    transform: scale(1);
}

.custom-promo-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.custom-promo-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.custom-promo-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.discount-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 30px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.custom-promo-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.custom-promo-body {
    padding: 25px;
}

.custom-promo-logo {
    text-align: center;
    margin-bottom: 20px;
}

.custom-promo-logo img {
    max-height: 60px;
}

.custom-promo-details {
    text-align: center;
    margin-bottom: 20px;
}

.custom-promo-price {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.new-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-right: 15px;
}

.old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.custom-promo-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.custom-promo-feature {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.custom-promo-feature i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-info {
    text-align: center;
}

.custom-promo-cta {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.cta-primary, .cta-secondary {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.cta-primary {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-primary i {
    margin-right: 5px;
}

.cta-secondary {
    background-color: #f8f9fa;
    color: #666;
}

.cta-primary:hover {
    background-color: #219651;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2);
}

.cta-secondary:hover {
    background-color: #e9ecef;
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .floating-promo-banner {
        right: 10px;
        bottom: 70px;
        max-width: 280px;
    }
    
    .promo-banner-text h4 {
        font-size: 0.9rem;
    }
    
    .promo-banner-text p {
        font-size: 0.8rem;
    }
    
    .promo-banner-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .custom-promo-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .floating-promo-banner {
        max-width: 240px;
    }
    
    .promo-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .promo-banner-text {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Mobile responsiveness for hero search form */
@media (max-width: 767px) {
    .hero-search-form {
        border-radius: 25px;
        padding: 15px 20px;
    }
    
    .hero-search-form form {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-search-form .form-group {
        width: 100%;
        margin-bottom: 0;
    }
    
    .hero-search-form .btn-success {
        width: 100%;
        margin-top: 5px;
    }
}

@media (max-width: 575px) {
    .hero-search-form {
        width: 92%;
        padding: 15px;
    }
    
    .hero-search-form h6 {
        font-size: 0.85rem;
    }
}

/* Mobile responsiveness for static pages (about, privacy, terms) */
@media (max-width: 767px) {
    .about-content .col-lg-10.mx-auto,
    .privacy-content .col-lg-10.mx-auto,
    .terms-content .col-lg-10.mx-auto {
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .about-content .card,
    .privacy-content .card,
    .terms-content .card {
        border-radius: 8px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    
    .about-content .card-body,
    .privacy-content .card-body,
    .terms-content .card-body {
        padding: 20px !important;
    }
    
    .about-content .container,
    .privacy-content .container,
    .terms-content .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    /* Ensure text and elements stay within viewable area */
    .about-content p, 
    .privacy-content p, 
    .terms-content p,
    .about-content .lead,
    .privacy-content .lead,
    .terms-content .lead,
    .policy-section,
    .list-group-item {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
} 