/* Custom styles for header */
.text-olive { color: #1E5359!important; }
.bg-olive { background: #1E5359 !important; }
.text-terra-olive { color: grey !important; }
.bg-terra-olive { background: grey !important; }
.text-jet { color: #343434 !important; }
.bg-jet { background: #343434 !important; }

body {
    background: #ffffff !important;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

html {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure main content starts at the top */
main, .main-content, [role="main"] {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any top spacing from the first section */
.intro-section:first-child,
section:first-child,
div:first-child {
    margin-top: 0 !important;
}

/* Fix container widths to prevent overflow */
* {
    box-sizing: border-box;
}

/* Eliminate any potential top gaps */
body > *:first-child,
.content-wrapper,
.page-wrapper,
.container:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.bg-gray-50 {
    margin: 0;
    padding: 0;
    /* padding-bottom: 3rem; */
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Welcome Section Mobile Fix */
.welcome-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    max-width: 100%;
    margin: 2rem auto;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: calc(100% - 2rem);
    margin-left: 1rem;
    margin-right: 1rem;
}

@media (max-width: 768px) {
    .welcome-section {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .welcome-section > * {
        flex: none;
        min-width: auto;
        width: 100%;
    }

    .welcome-section img {
        max-width: 100%;
        height: auto;
    }
}

/* Fix all sections to prevent overflow */
.categories-section,
.featured-listings-section,
.article-section,
.business-help-section,
.explore-locations-section,
.community-connect-section,
.section-card-grid,
.partners-section {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .categories-section,
    .featured-listings-section,
    .article-section,
    .business-help-section,
    .explore-locations-section,
    .community-connect-section,
    .section-card-grid,
    .partners-section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-left: 0;
        margin-right: 0;
    }
}

#main-header {
    transition: all 0.3s ease;
    background-color: transparent;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Dark text for transparent header */
#main-header .text-gray-800 {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Adjust text color when header is scrolled */
#main-header.scrolled .text-gray-800 {
    text-shadow: none;
}

.search-container {
    margin-top: 80px; /* Add space for fixed header */
}

/* Add a gradient overlay behind the transparent header for better text visibility */
#main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 1;
}

#main-header.scrolled::before {
    opacity: 0;
}

/* Bootstrap Carousel Styles */
.popular-categories-section {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 1rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure Popular Categories text is always visible */
.popular-categories-section .text-center {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.popular-categories-section h2,
.popular-categories-section p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #1E5359 !important;
}

.popular-categories-section p {
    color: grey !important;
}

/* Override animate-on-scroll and data-stagger hiding for popular categories */
.popular-categories-section.animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.popular-categories-section [data-stagger] {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.popular-categories-section .text-center[data-stagger] {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.categories-header {
    text-align: center;
    margin-bottom: 2rem;
}

.categories-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1E5359;
    margin-bottom: 0.5rem;
}

.categories-header p {
    color: #4b5563;
}

.popular-category-card {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.popular-category-card:hover {
    text-decoration: none;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.category-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.popular-category-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.popular-category-card p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}
/* Ensure header does not overlap intro section */
/* .intro,
[style*="background-image"] {

}
@media (max-width: 768px) {
  .intro,
  [style*="background-image"] {

  }
} */

/* Google-like Search Form Styles */
.intro-section {
    position: relative;
    min-height: 100vh;
    margin: 0 !important; /* Force no margins */
    padding: 0 !important; /* Force no padding initially */
    padding-top: 80px !important; /* Only header space */
    top: 0 !important; /* Ensure it's at the top */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: background-position 0.5s ease;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    backdrop-filter: blur(2px);
}

.intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.google-search-form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out 0.3s both;
}

.google-search-form:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.google-input {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    color: #333;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 45px;
}

.google-input::placeholder {
    color: #666;
    opacity: 0.8;
}

.google-input:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #808000;
    box-shadow: 0 4px 15px rgba(128, 128, 0, 0.2);
    transform: translateY(-1px);
}

.google-search-btn {
    background: linear-gradient(135deg, #808000 0%, #6E6E30 100%);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(128, 128, 0, 0.3);
    white-space: nowrap;
    min-height: 45px;
}

.google-search-btn:hover {
    background: linear-gradient(135deg, #6E6E30 0%, #808000 100%);
    box-shadow: 0 6px 20px rgba(128, 128, 0, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.2s both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .google-search-form {
        flex-direction: column !important;
        padding: 1.5rem;
        border-radius: 25px;
        gap: 0.75rem !important;
        max-width: 90% !important;
        margin: 0 auto;
    }

    .google-input, .google-search-btn {
        width: 100% !important;
        margin-bottom: 0;
        flex: none !important;
    }

    .google-input {
        min-height: 48px;
        font-size: 16px;
        border-radius: 25px !important;
        padding: 12px 20px;
    }

    .google-search-btn {
        min-height: 48px;
        border-radius: 25px !important;
        padding: 12px 20px;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .intro-section {
        background-attachment: scroll;
        min-height: 100vh;
        /* padding: 1rem; */
    }

    .intro-content {
        padding: 1rem;
    }

    .intro-content h1 {
        font-size: 2rem !important;
        line-height: 2.5rem;
        margin-bottom: 1rem;
    }

    .intro-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Enhanced hover effects */
.google-search-form * {
    transition: all 0.3s ease;
}

/* Glassmorphism enhancement */
.google-search-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 50px;
    pointer-events: none;
}

/* Original c icons */
.education-icon { background-color: #dcfce7; }
.education-icon svg { color: #1E5359; }
.healthcare-icon { background-color: #fee2e2; }
.healthcare-icon svg { color: #dc2626; }
.hotels-icon { background-color: #dbeafe; }
.hotels-icon svg { color: #2563eb; }
.services-icon { background-color: #f3e8ff; }
.services-icon svg { color: #9333ea; }

/* New category icons */
.clothes-icon { background-color: #fef3c7; }
.clothes-icon svg { color: #d97706; }
.hangouts-icon { background-color: #fce7f3; }
.hangouts-icon svg { color: #db2777; }
.influencers-icon { background-color: #dbeafe; }
.influencers-icon svg { color: #2563eb; }

.category-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    transition: all 0.8s ease;
}

.category-card p {
    font-size: 0.875rem;
    color: #4b5563;
    transition: all 0.8s ease;
}

/* Center item highlight effect */
.category-item.center-item .category-card {
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background-color: rgba(255, 255, 255, 1);
}

.category-item.center-item .category-icon {
    transform: scale(1.1);
}

.category-item.center-item .category-card h3 {
    color: #1E5359;
    transform: translateY(-2px);
}

.category-item.center-item .category-icon svg {
    transform: scale(1.2);
}

/* Hover effect */
.category-item:hover .category-card {
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.category-item:hover .category-icon {
    transform: scale(1.1);
}

.category-item:hover .category-card h3 {
    color: #1E5359;
    transform: translateY(-2px);
}

.category-item:hover .category-icon svg {
    transform: scale(1.2);
}

/* Pause animation on hover */
.categories-track:hover {
    animation-play-state: paused;
}

@media (max-width: 640px) {
    .category-item {
        flex: 0 0 250px;
    }
}

@media (max-width: 700px) {
    .categories-slider {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .categories-track {
        flex-wrap: nowrap;
    }
}

/* Explore Locations Section Styles */
.explore-locations-section {
    background: #fff;
    padding: 64px 0 32px 0;
    text-align: center;
}

.explore-header {
    margin-bottom: 2rem;
}

.explore-header h2 {
    font-size: 2.5rem;
    color: #1E5359;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.explore-header .subtitle {
    color: #4b5563;
    margin-bottom: 0.25rem;
}

.explore-header .desc {
    color: #6b7280;
    margin-bottom: 2rem;
}

.explore-icon {
    display: inline-block;
    margin-bottom: 1rem;
}

.explore-icon svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: #1E5359;
    stroke-width: 2;
}

.explore-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    overflow: visible;
}

.explore-slider {
    display: flex;
    transition: transform 0.7s cubic-bezier(.4,2,.6,1);
    will-change: transform;
    gap: 2rem;
}

.explore-card {
    min-width: 420px;
    max-width: 420px;
    height: 320px;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    position: relative;
    transition: transform 0.5s, box-shadow 0.5s, filter 0.5s, opacity 0.5s;
    opacity: 0.7;
    filter: blur(1px) grayscale(30%);
    z-index: 1;
    text-decoration: none;
}

.explore-card.center {
    opacity: 1;
    filter: none;
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(0,0,0,0.22);
    z-index: 2;
}

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

.explore-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 80%, rgba(0,0,0,0.1) 100%);
    color: #fff;
    padding: 24px 20px 16px 20px;
    text-align: left;
}

.explore-title {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    color: #fff;
    margin-top: 0.2rem;
}

.explore-overlay span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

.explore-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1E5359;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0.85;
    transition: background 0.2s;
}

.explore-nav.left {
    left: 0;
}

.explore-nav.right {
    right: 0;
}

.explore-nav:hover {
    background: #1E5359;
}

@media (max-width: 900px) {
    .explore-card {
        min-width: 300px;
        max-width: 300px;
        height: 180px;
        border-radius: 1.5rem;
    }
    .explore-slider-wrapper {
        max-width: 100vw;
    }
}

/* Bootstrap Carousel Styling for Popular Categories */
.popular-categories-section {
    background: #fff;
    padding: 64px 0 32px 0;
    text-align: center;
}

.popular-categories-carousel-wrapper {
    position: relative;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 50px;
}

#popularCategoriesCarousel {
    padding: 2rem 0;
}

#popularCategoriesCarousel .carousel-indicators {
    margin-bottom: -2rem;
    bottom: -40px;
}

#popularCategoriesCarousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(30, 83, 89, 0.3);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

#popularCategoriesCarousel .carousel-indicators li.active {
    background-color: #1E5359;
    transform: scale(1.2);
}

.popular-category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    margin: 0 10px;
}

.popular-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(30, 83, 89, 0.15);
    text-decoration: none;
    color: inherit;
}

.popular-category-card:focus {
    text-decoration: none;
    color: inherit;
    outline: 2px solid #1E5359;
    outline-offset: 2px;
}

.popular-category-card h3 {
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1E5359;
}

.popular-category-card p {
    padding: 0 1rem 1rem;
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 83, 89, 0.8), rgba(212, 175, 55, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popular-category-card:hover .category-img {
    transform: scale(1.1);
}

.popular-category-card:hover .category-overlay {
    opacity: 1;
}

/* Bootstrap Carousel Controls Styling */
#popularCategoriesCarousel .carousel-control-prev,
#popularCategoriesCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(30, 83, 89, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

#popularCategoriesCarousel .carousel-control-prev {
    left: -25px;
}

#popularCategoriesCarousel .carousel-control-next {
    right: -25px;
}

#popularCategoriesCarousel .carousel-control-prev:hover,
#popularCategoriesCarousel .carousel-control-next:hover {
    background: rgba(30, 83, 89, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(30, 83, 89, 0.3);
}

#popularCategoriesCarousel .carousel-control-prev-icon,
#popularCategoriesCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .popular-categories-carousel-wrapper {
        padding: 0 30px;
    }
    
    #popularCategoriesCarousel .carousel-control-prev {
        left: -15px;
    }

    #popularCategoriesCarousel .carousel-control-next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .category-image {
        height: 150px;
    }

    #popularCategoriesCarousel .carousel-control-prev,
    #popularCategoriesCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    #popularCategoriesCarousel .carousel-control-prev {
        left: -20px;
    }

    #popularCategoriesCarousel .carousel-control-next {
        right: -20px;
    }
    
    .popular-category-card h3 {
        font-size: 1.1rem;
    }
    
    .popular-category-card p {
        font-size: 0.85rem;
    }
    
    .popular-categories-carousel-wrapper {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .popular-categories-carousel-wrapper {
        padding: 0 10px;
    }
    
    .category-image {
        height: 120px;
    }
    
    .popular-category-card {
        margin: 0 5px;
    }
}

/* Bootstrap Carousel Styling for Featured Listings */
.featured-listings-section {
    background: #fff;
    padding: 64px 0 32px 0;
}

.featured-carousel-wrapper {
    position: relative;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 50px;
}

#featuredListingsCarousel {
    padding: 2rem 0;
}

#featuredListingsCarousel .carousel-indicators {
    margin-bottom: -2rem;
    bottom: -40px;
}

#featuredListingsCarousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(30, 83, 89, 0.3);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

#featuredListingsCarousel .carousel-indicators li.active {
    background-color: #1E5359;
    transform: scale(1.2);
}

#featuredListingsCarousel .featured-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

#featuredListingsCarousel .featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(30, 83, 89, 0.15);
    text-decoration: none;
    color: inherit;
}

#featuredListingsCarousel .featured-card:focus {
    text-decoration: none;
    color: inherit;
    outline: 2px solid #1E5359;
    outline-offset: 2px;
}

#featuredListingsCarousel .carousel-control-prev,
#featuredListingsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(30, 83, 89, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

#featuredListingsCarousel .carousel-control-prev {
    left: -25px;
}

#featuredListingsCarousel .carousel-control-next {
    right: -25px;
}

#featuredListingsCarousel .carousel-control-prev:hover,
#featuredListingsCarousel .carousel-control-next:hover {
    background: rgba(30, 83, 89, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(30, 83, 89, 0.3);
}

/* Bootstrap Carousel Styling for Featured Influencers */
.influencers-carousel-wrapper {
    position: relative;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 50px;
}

#featuredInfluencersCarousel {
    padding: 2rem 0;
}

#featuredInfluencersCarousel .carousel-indicators {
    margin-bottom: -2rem;
    bottom: -40px;
}

#featuredInfluencersCarousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.3);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

#featuredInfluencersCarousel .carousel-indicators li.active {
    background-color: #d4af37;
    transform: scale(1.2);
}

#featuredInfluencersCarousel .carousel-control-prev,
#featuredInfluencersCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

#featuredInfluencersCarousel .carousel-control-prev {
    left: -25px;
}

#featuredInfluencersCarousel .carousel-control-next {
    right: -25px;
}

#featuredInfluencersCarousel .carousel-control-prev:hover,
#featuredInfluencersCarousel .carousel-control-next:hover {
    background: rgba(212, 175, 55, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* Bootstrap Carousel Styling for Explore Locations */
.explore-carousel-wrapper {
    position: relative;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 50px;
}

#exploreLocationsCarousel {
    padding: 2rem 0;
}

#exploreLocationsCarousel .carousel-indicators {
    margin-bottom: -2rem;
    bottom: -40px;
}

#exploreLocationsCarousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(30, 83, 89, 0.3);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

#exploreLocationsCarousel .carousel-indicators li.active {
    background-color: #1E5359;
    transform: scale(1.2);
}

#exploreLocationsCarousel .explore-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 250px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

#exploreLocationsCarousel .explore-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(30, 83, 89, 0.15);
    text-decoration: none;
    color: inherit;
}

#exploreLocationsCarousel .explore-card:focus {
    text-decoration: none;
    color: inherit;
    outline: 2px solid #1E5359;
    outline-offset: 2px;
}

#exploreLocationsCarousel .explore-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#exploreLocationsCarousel .explore-card:hover .explore-img {
    transform: scale(1.1);
}

#exploreLocationsCarousel .explore-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 83, 89, 0.8), rgba(212, 175, 55, 0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
}

#exploreLocationsCarousel .explore-card:hover .explore-overlay {
    opacity: 1;
}

#exploreLocationsCarousel .explore-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

#exploreLocationsCarousel .carousel-control-prev,
#exploreLocationsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(30, 83, 89, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

#exploreLocationsCarousel .carousel-control-prev {
    left: -25px;
}

#exploreLocationsCarousel .carousel-control-next {
    right: -25px;
}

#exploreLocationsCarousel .carousel-control-prev:hover,
#exploreLocationsCarousel .carousel-control-next:hover {
    background: rgba(30, 83, 89, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(30, 83, 89, 0.3);
}

/* Responsive Design for All Carousels */
@media (max-width: 992px) {
    .featured-carousel-wrapper,
    .influencers-carousel-wrapper,
    .explore-carousel-wrapper {
        padding: 0 30px;
    }
    
    #featuredListingsCarousel .carousel-control-prev,
    #featuredInfluencersCarousel .carousel-control-prev,
    #exploreLocationsCarousel .carousel-control-prev {
        left: -15px;
    }

    #featuredListingsCarousel .carousel-control-next,
    #featuredInfluencersCarousel .carousel-control-next,
    #exploreLocationsCarousel .carousel-control-next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    #featuredListingsCarousel .carousel-control-prev,
    #featuredListingsCarousel .carousel-control-next,
    #featuredInfluencersCarousel .carousel-control-prev,
    #featuredInfluencersCarousel .carousel-control-next,
    #exploreLocationsCarousel .carousel-control-prev,
    #exploreLocationsCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    #featuredListingsCarousel .carousel-control-prev,
    #featuredInfluencersCarousel .carousel-control-prev,
    #exploreLocationsCarousel .carousel-control-prev {
        left: -20px;
    }

    #featuredListingsCarousel .carousel-control-next,
    #featuredInfluencersCarousel .carousel-control-next,
    #exploreLocationsCarousel .carousel-control-next {
        right: -20px;
    }
    
    .featured-carousel-wrapper,
    .influencers-carousel-wrapper,
    .explore-carousel-wrapper {
        padding: 0 20px;
    }
    
    #exploreLocationsCarousel .explore-card {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .featured-carousel-wrapper,
    .influencers-carousel-wrapper,
    .explore-carousel-wrapper {
        padding: 0 10px;
    }
    
    #exploreLocationsCarousel .explore-card {
        height: 150px;
    }
    
    #exploreLocationsCarousel .explore-title {
        font-size: 1.2rem;
    }
}

 /* Business Help/Contact Section Styles */
.business-help-section {
    background: #fff;
    padding: 3rem 0;
    margin: 3rem 0;
  }

.business-help-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.08);
    overflow: hidden;
  }

.business-help-image {
    flex: 1 1 350px;
    min-width: 280px;
    height: 100%;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: #fff;
    overflow: hidden;
}

.business-help-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 2rem 0 0 2rem;
    display: block;
    background: #fff;
}

.business-help-contact-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: #F2CEA2;
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }

.business-help-content {
    flex: 2 1 400px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

.business-help-opportunity {
    color: #1E5359;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }

.business-help-title {
    color: #1E5359;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
  }

.business-help-desc {
    color: #4b5563;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

.business-help-highlight {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #F2CEA2;
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 1.2rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }

.business-help-icon {
    font-size: 1.5rem;
  }

.business-help-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }

.business-help-search-btn {
    background: #F2CEA2;
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.10);
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

.business-help-search-btn:hover {
    background: #f0d5b3;
}

.business-help-apply-btn {
    background: #fff;
    color: #F2CEA2;
    border: 2px solid #F2CEA2;
    border-radius: 0.75rem;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.business-help-apply-btn:hover {
    background: #f0d5b3;
    color: #fff;
}

@media (max-width: 900px) {
    .business-help-container {
      flex-direction: column;
      border-radius: 1.5rem;
    }
    .business-help-image img {
      border-radius: 1.5rem 1.5rem 0 0;
      max-height: 250px;
    }
    .business-help-content {
      padding: 2rem 1rem;
    }
}

@media (max-width: 600px) {
    .business-help-section {
      padding: 1.5rem 0;
      margin: 1.5rem 0;
    }
    .business-help-container {
      border-radius: 1rem;
    }
    .business-help-image {
      min-height: 180px;
      height: 220px;
    }
    .business-help-image img {
      border-radius: 1rem 1rem 0 0;
    }
    .business-help-content {
      padding: 1rem 0.5rem;
    }
    .business-help-title {
      font-size: 1.3rem;
    }
    .business-help-actions {
      flex-direction: column;
      gap: 0.5rem;
    }
}

/* State Grid */
.state-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 2rem;
  padding: 2.5rem 2rem 2.5rem 2rem;
  margin: 0 auto 2rem auto;
  max-width: 1100px;
  border-radius: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
}
.state-links a {
  color: grey;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  transition: color 0.2s;
}
.state-links a:hover {
  color: #4b8086;
  text-decoration: underline;
}

.community-connect-section {
  max-width: 1100px;
  margin: 3rem auto 3rem auto;
  padding: 0 1rem;
}
.community-connect-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6rem;
  justify-content: flex-start;
  align-items: flex-start;
}
.community-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem 2rem 1.5rem 2rem;
  flex: 1 1 340px;
  max-width: 480px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.community-icon, .community-icon-green {
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  margin-right: 0;
  flex-shrink: 0;
}
.community-icon-green {
  margin-right: 1.2rem;
}
.community-icon svg, .community-icon-green svg {
  width: 32px;
  height: 32px;
  stroke: #1E5359 !important;
  fill: #1E5359 !important;
}
.community-card h3 {
  color: #1E5359 !important;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  margin-top: 0;
  text-align: left;
}
.community-card p {
  color: #4b5563;
  font-size: 1rem;
  margin-bottom: 0;
  text-align: left;
}
@media (max-width: 900px) {
  .community-connect-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .community-card {
    max-width: 100%;
  }
}

.community-card-green {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem 2rem 1.5rem 2rem;
  margin-bottom: 2rem;
  max-width: 480px;
  min-width: 280px;
}
.community-icon-green {
  background: #2c7982;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.2rem;
  flex-shrink: 0;
}
.community-icon-green svg {
  width: 32px;
  height: 32px;
}
.community-card-green h3 {
  color: #181d23;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  margin-top: 0;
}
.community-card-green p {
  color: #4b5563;
  font-size: 1rem;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .community-card-green {
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .community-icon-green {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

.section-card-green {
  background: #1E5359;
  border-radius: 1.5rem;
  margin: 2.5rem auto 2rem auto;
  max-width: 1100px;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.section-card-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
}
.section-card-icon {
  background: #1E5359;
  border-radius: 1rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.section-card-headline {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.section-card-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
}
.section-card-btn {
  background: #fff;
  color: #1E5359;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  margin-left: auto;
  margin-right: 0;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(34,197,94,0.10);
  transition: background 0.2s, color 0.2s;
  border: none;
  display: inline-block;
}
.section-card-btn:hover {
  background: #46a0aa;
  color: #fff;
}
@media (max-width: 900px) {
  .section-card-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .section-card-btn {
    margin-left: 0;
    margin-top: 1rem;
  }
}

/* --- Revert Split Card to Centered Max-Width --- */
.section-card-split {
  max-width: 1100px;
  margin: 2.5rem auto 2rem auto;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  background: #1E5359;
  display: flex;
  flex-direction: column;
}
.section-card-split-img {
  background-size: cover;
  background-position: center;
  height: 160px;
  width: 100%;
}
.section-card-split-content {
  background: #1E5359;
  color: #fff;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .section-card-split-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 2rem 1rem;
  }
  .section-card-split-img {
    height: 120px;
  }
}

/* --- Improved Partners Section --- */
.partners-section {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  left: 0;
  right: 0;
  position: relative;
  padding: 3.5rem 0 2.5rem 0;
  text-align: center;
  border-radius: 0;
}
.partners-header {
  background: #1E5359;
  padding: 1.5rem 0 1.5rem 0;
  text-align: center;
  border-radius: 0;
}
.partners-header h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.partners-header p {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}
.partners-logos-card {
  border-radius: 1rem;
  padding: 1rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  max-width: 700px;
  margin: 0 auto 1rem auto;
}
.partner-logo {
  margin-top: 1rem;
  height: 90px;
  object-fit: contain;
  filter: grayscale(0%);
  transition: filter 0.2s;
}
.partner-logo:hover {
  filter: grayscale(0%) brightness(1.2);
}
@media (max-width: 700px) {
  .partners-logos-card {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.2rem 0.5rem;
  }
  .partner-logo {
    height: 60px;
  }
}

.section-card-blend {
  position: relative;
  background-size: cover;
  background-position: center left;
  border-radius: 1.5rem;
  margin: 2.5rem auto 2rem auto;
  max-width: 1100px;
  min-height: 260px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.section-card-blend-overlay {
  background: linear-gradient(90deg, #1E5359 70%, #25575d 100%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.section-card-blend-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  color: #fff;
}
.section-card-headline {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.section-card-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
  max-width: 500px;
}
.section-card-btn {
  background: #fff;
  color: #1E5359;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  margin-left: 2rem;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(34,197,94,0.10);
  transition: background 0.2s, color 0.2s;
  border: none;
  display: inline-block;
  white-space: nowrap;
}
.section-card-btn:hover {
  background: #1E5359;
  color: #fff;
}
@media (max-width: 900px) {
  .section-card-blend-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 2rem 1rem;
  }
  .section-card-btn {
    margin-left: 0;
    margin-top: 1rem;
  }
  .section-card-title {
    max-width: 100%;
  }
}

/* --- Section Card Grid Layout --- */
.section-card-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  max-width: 1100px;
  margin: 2.5rem auto 2rem auto;
  /* border-radius: 2rem; */
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  min-height: 260px;
  background: #fff;
}
.section-card-grid-img {
  background-size: cover;
  background-position: center;
  min-height: 260px;
  height: 100%;
}
.section-card-grid-content {
  background: linear-gradient(90deg, #1E5359 0%, #55afb9 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  gap: 1.5rem;
}
.section-card-grid-content .section-card-headline {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.section-card-grid-content .section-card-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
  max-width: 500px;
}
.section-card-grid-content .section-card-btn {
  background: #fff;
  color: #1E5359;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(34,197,94,0.10);
  transition: background 0.2s, color 0.2s;
  border: none;
  display: inline-block;
  white-space: nowrap;
}
.section-card-grid-content .section-card-btn:hover {
  background: #1E5359;
  color: #fff;
}
@media (max-width: 900px) {
  .section-card-grid {
    grid-template-columns: 1fr;
    border-radius: 1.2rem;
  }
  .section-card-grid-img {
    min-height: 160px;
    border-radius: 1.2rem 1.2rem 0 0;
  }
  .section-card-grid-content {
    padding: 2rem 1rem;
    border-radius: 0 0 1.2rem 1.2rem;
  }
}

/* Welcome Section Styles - Clean and Simple */
.welcome-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    max-width: 72rem;
    margin: 4rem auto;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.welcome-section > * {
    flex: 1 1 0;
    min-width: 300px;
}

.welcome-content {
    color: #1E5359;
}

.welcome-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1E5359;
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #6b7280;
}

/* Media Queries */
@media (min-width: 768px) {
    .welcome-content {
        width: 50%;
    }

    .welcome-title {
        font-size: 1.875rem;
    }
}

.welcome-content-featured  {
  color: #1E5359 !important;
}
.featured-list {
  color: #1E5359 !important;
}
.featured-title {
  color: #1E5359 !important;
}
.featured-desc {
  color: #1E5359 !important;
}

/* Featured Listings Section Styles */
.featured-listings-section {
    max-width: 72rem;
    margin: 4rem auto 0;
    color: var(--olive);
}

.featured-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.featured-header-content {
    color: #1E5359;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.featured-label {
    color: var(--olive);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-label svg {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
}

.featured-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--olive);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.featured-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

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

.featured-image-container {
    height: 8rem;
    width: 100%;
    background: #f3f4f6;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.featured-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 0.75rem;
}

.featured-placeholder {
    color: #9ca3af;
    font-size: 2.25rem;
    font-weight: 700;
}

.featured-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.featured-tag {
    background: var(--olive);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.featured-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--olive);
    margin-bottom: 0.25rem;
}

.featured-description {
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.featured-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.featured-category {
    display: inline-block;
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.featured-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.featured-info svg {
    width: 1rem;
    height: 1rem;
}

.featured-info.location svg {
    color: #ef4444;
}

.featured-info.contact svg {
    color: #ec4899;
}

.featured-empty {
    grid-column: span 3;
    text-align: center;
    color: #6b7280;
    padding: 2rem 0;
}

/* Media Queries for Featured Listings */
@media (min-width: 768px) {
    .featured-title {
        font-size: 2.25rem;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Article Section on Homepage */
.article-section {
    background: #f8f9fa;
    margin-top: 2rem;
    padding: 3rem 0;
}

.article-section .text-center {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.article-section h2 {
    color: #1e5959 !important;
}

.article-section p {
    color: grey !important;
}

.article-card {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.article-card:hover {
    text-decoration: none;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.article-image {
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-content {
    color: inherit;
}

.article-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.article-content p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.article-date {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Carousel for Articles */
@media (max-width: 768px) {
    .article-section #articleRow {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        gap: 1rem;
    }
    
    .article-section #articleRow > div {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
    
    .article-section #articleRow::-webkit-scrollbar {
        display: none;
    }
    
    .article-section #articleRow {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* Mobile Carousel Navigation for Articles */
#mobileArticleCarouselNav .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(30, 83, 89, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

#mobileArticleCarouselNav .carousel-dot.active {
    background: #1e5959;
    transform: scale(1.2);
}

#mobileArticleCarouselNav .carousel-dot:hover {
    background: #1e5959;
    transform: scale(1.1);
}

@media (min-width: 769px) {
    #mobileArticleCarouselNav {
        display: none;
    }
}

/* Ensure article section is visible */
.article-section.animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.article-section [data-stagger] {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.article-section .text-center[data-stagger] {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Articles Index Page */
.articles-index-section {
    height: 65vh;
    max-width: 1100px;
    margin: 3rem auto 2rem auto;
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 2px 8px rgba(30,83,89,0.08);
}
.articles-index-title {
    color: #1E5359;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
}
.articles-index-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.article-card {
    background: #f9fafb;
    border-radius: 1rem;
    box-shadow: 0 1px 4px rgba(30,83,89,0.07);
    padding: 1.5rem 1rem;
    width: 320px;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
    text-align: left;
}
.article-card:hover {
    box-shadow: 0 4px 16px rgba(30,83,89,0.13);
    transform: translateY(-4px) scale(1.02);
}
.article-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}
.article-card-date {
    color: #A6523F;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.article-card-title {
    color: #1E5359;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.article-card-summary {
    color: #4b5563;
    font-size: 1rem;
}
.no-articles {
    color: #888;
    text-align: center;
    width: 100%;
    margin: 2rem 0;
}

/* Article Detail Page */
.article-detail-section {
    height: 60vh;
    max-width: 800px;
    margin: 3rem auto 2rem auto;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 2px 8px rgba(30,83,89,0.08);
    padding: 2.5rem 2rem;
}
.article-detail-header {
    text-align: center;
    margin-bottom: 2rem;
}
.article-detail-img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}
.article-detail-meta {
    color: #A6523F;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.article-detail-title {
    color: #1E5359;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.article-detail-summary {
    color: #4b5563;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.article-detail-content {
    color: #222;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: left;
}

/* Global Loader Spinner */
.global-loader {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.loader-spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #1E5359;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

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

.global-loader.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

/* Messenger-inspired Messages Page */
.messages-page-container {
  max-width: 900px;
  margin: 3rem auto 2rem auto;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 8px rgba(30,83,89,0.08);
  padding: 2.5rem 2rem;
}
.messages-title {
  color: #1E5359;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}
.messages-list {
  min-height: 300px;
  background: #f9fafb;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(30,83,89,0.07);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.messages-placeholder {
  color: #888;
  text-align: center;
  font-size: 1.1rem;
  margin: 2rem 0;
}


/* Featured Listings Slider Styles */
.featured-listings-section {
  background: #fff;
  padding: 64px 0 32px 0;
  text-align: center;
}

.featured-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  overflow: visible;
}

.featured-slider {
  display: flex;
  transition: transform 0.7s cubic-bezier(.4,2,.6,1);
  will-change: transform;
  gap: 2rem;
}

.featured-card {
  min-width: 420px;
  max-width: 420px;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  position: relative;
  transition: transform 0.5s, box-shadow 0.5s, filter 0.5s, opacity 0.5s;
  opacity: 0.7;
  filter: blur(1px) grayscale(30%);
  z-index: 1;
  text-decoration: none;
  color: inherit;
  padding: 1.5rem;
}

.featured-card.center {
  opacity: 1;
  filter: none;
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
  z-index: 2;
}

.featured-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #1E5359;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  opacity: 0.85;
  transition: background 0.2s;
}

.featured-nav.left {
  left: 0;
}

.featured-nav.right {
  right: 0;
}

.featured-nav:hover {
  background:#f0d5b3;
}

@media (max-width: 900px) {
  .featured-card {
      min-width: 300px;
      max-width: 300px;
  }
  .featured-slider-wrapper {
      max-width: 100vw;
  }
}

/* Enhanced Dynamic Animations for All Sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Dynamic Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out both;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out both;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out both;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out both;
}

.animate-slide-in-bottom {
    animation: slideInFromBottom 0.8s ease-out both;
}

/* Stagger Animation Delays */
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }
.animate-delay-600 { animation-delay: 0.6s; }
.animate-delay-700 { animation-delay: 0.7s; }
.animate-delay-800 { animation-delay: 0.8s; }

/* Popular Categories Enhanced Animations */
.popular-categories-section {
    background: #fff;
    padding: 64px 0 32px 0;
    text-align: center;
    animation: fadeInUp 1s ease-out both;
}

.categories-header {
    animation: fadeInUp 0.8s ease-out both;
}

.categories-header h2 {
    animation: scaleIn 0.8s ease-out 0.2s both;
}

.popular-category-card {
    min-width: 300px;
    max-width: 300px;
    margin: 0 16px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    position: relative;
    background: #fff;
    transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease, opacity 0.5s ease;
    opacity: 0.5;
    filter: blur(2px) grayscale(40%);
    z-index: 1;
    padding: 1.5rem 1rem 1.5rem 1rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out both;
}

.popular-category-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Welcome Section Enhanced */
.welcome-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    box-sizing: border-box;
    max-width: 100vw;
    width: 100%;
    animation: fadeInUp 1s ease-out both;
}

.welcome-content {
    width: 100%;
    color: #1E5359;
    animation: fadeInLeft 0.8s ease-out 0.3s both;
}

.welcome-content img {
    animation: fadeInRight 0.8s ease-out 0.5s both;
    transition: transform 0.3s ease;
}

.welcome-content img:hover {
    transform: scale(1.05) rotate(2deg);
}

.welcome-content ul li {
    animation: fadeInLeft 0.6s ease-out both;
    transition: transform 0.3s ease, color 0.3s ease;
}

.welcome-content ul li:nth-child(1) { animation-delay: 0.6s; }
.welcome-content ul li:nth-child(2) { animation-delay: 0.7s; }
.welcome-content ul li:nth-child(3) { animation-delay: 0.8s; }
.welcome-content ul li:nth-child(4) { animation-delay: 0.9s; }
.welcome-content ul li:nth-child(5) { animation-delay: 1s; }

.welcome-content ul li:hover {
    transform: translateX(10px);
    color: #1E5359;
}

/* Featured Listings Enhanced */
.featured-listings-section {
    max-width: 72rem;
    margin: 4rem auto 0;
    color: var(--olive);
    animation: fadeInUp 1s ease-out both;
}

.featured-header {
    animation: scaleIn 0.8s ease-out 0.2s both;
}

.featured-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    color: inherit;
    animation: fadeInUp 0.8s ease-out both;
}

.featured-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.featured-card:nth-child(1) { animation-delay: 0.1s; }
.featured-card:nth-child(2) { animation-delay: 0.2s; }
.featured-card:nth-child(3) { animation-delay: 0.3s; }
.featured-card:nth-child(4) { animation-delay: 0.4s; }

/* Article Section Enhanced */
.article-section {
    background: #f8f9fa;
    margin-top: 2rem;
    padding: 3rem 0;
    animation: fadeInUp 1s ease-out both;
}

.article-section .text-center {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.article-section h2 {
    color: #1e5959 !important;
}

.article-section p {
    color: grey !important;
}

.article-card {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 0.75rem;
    padding: 15px 15px 15px 15px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.article-card:hover {
    text-decoration: none;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.article-image {
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-content {
    color: inherit;
}

.article-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.article-content p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.article-date {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Carousel for Articles */
@media (max-width: 768px) {
    .article-section #articleRow {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        gap: 1rem;
    }
    
    .article-section #articleRow > div {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
    
    .article-section #articleRow::-webkit-scrollbar {
        display: none;
    }
    
    .article-section #articleRow {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* Mobile Carousel Navigation for Articles */
#mobileArticleCarouselNav .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(30, 83, 89, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

#mobileArticleCarouselNav .carousel-dot.active {
    background: #1e5959;
    transform: scale(1.2);
}

#mobileArticleCarouselNav .carousel-dot:hover {
    background: #1e5959;
    transform: scale(1.1);
}

@media (min-width: 769px) {
    #mobileArticleCarouselNav {
        display: none;
    }
}

/* Ensure article section is visible */
.article-section.animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.article-section [data-stagger] {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.article-section .text-center[data-stagger] {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.business-help-section {
    background: #fff;
    padding: 3rem 0;
    margin: 3rem 0;
    animation: fadeInUp 1s ease-out both;
}

.business-help-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-help-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(4, 120, 87, 0.15);
}

.business-help-image {
    animation: fadeInLeft 0.8s ease-out 0.3s both;
}

.business-help-content {
    animation: fadeInRight 0.8s ease-out 0.5s both;
}

/* Simple button styles - no animations */

/* Explore Locations Enhanced */
.explore-locations-section {
    background: #fff;
    padding: 64px 0 32px 0;
    text-align: center;
    animation: fadeInUp 1s ease-out both;
}

.explore-header {
    animation: scaleIn 0.8s ease-out 0.2s both;
}

.explore-card {
    min-width: 420px;
    max-width: 420px;
    height: 320px;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    position: relative;
    transition: transform 0.5s, box-shadow 0.5s, filter 0.5s, opacity 0.5s;
    opacity: 0.7;
    filter: blur(1px) grayscale(30%);
    z-index: 1;
    text-decoration: none;
    animation: fadeInUp 0.8s ease-out both;
}

.explore-card:nth-child(1) { animation-delay: 0.2s; }
.explore-card:nth-child(2) { animation-delay: 0.3s; }
.explore-card:nth-child(3) { animation-delay: 0.4s; }
.explore-card:nth-child(4) { animation-delay: 0.5s; }

.explore-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    filter: none;
    opacity: 1;
}

/* Community Section Enhanced */
.community-connect-section {
    max-width: 1100px;
    margin: 3rem auto 3rem auto;
    padding: 0 1rem;
    animation: fadeInUp 1s ease-out both;
}

.community-card,
.community-card-green {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.community-card:nth-child(1) { animation-delay: 0.2s; }
.community-card:nth-child(2) { animation-delay: 0.4s; }

.community-card:hover,
.community-card-green:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Section Cards Enhanced */
.section-card-green,
.section-card-grid,
.section-card-blend {
    animation: fadeInUp 1s ease-out both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card-green:hover,
.section-card-grid:hover,
.section-card-blend:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Partners Section Enhanced */
.partners-section {
    animation: fadeInUp 1s ease-out both;
}

.partners-header {
    animation: scaleIn 0.8s ease-out 0.2s both;
}

.partner-logo {
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: bounceIn 0.8s ease-out both;
}

.partner-logo:nth-child(1) { animation-delay: 0.3s; }
.partner-logo:nth-child(2) { animation-delay: 0.4s; }
.partner-logo:nth-child(3) { animation-delay: 0.5s; }

.partner-logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: grayscale(0%) brightness(1.3);
}

/* State Links Enhanced */
.state-links {
    animation: fadeInUp 1s ease-out both;
}

.state-links a {
    transition: all 0.3s ease;
}

.state-links a:hover {
    transform: translateX(5px) scale(1.05);
    color: #1E5359;
}

/* Scroll-triggered animations */
@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .animate-on-scroll.in-view {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced button animations */
button, .btn, a[class*="btn"] {
    transition: all 0.3s ease;
}

button:hover, .btn:hover, a[class*="btn"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

button:active, .btn:active, a[class*="btn"]:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Override animations for contact button */
.business-help-contact-btn,
.business-help-contact-btn:hover,
.business-help-contact-btn:active,
.business-help-contact-btn:focus {
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* Floating animation for special elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse animation for attention-grabbing elements */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-pulse-slow {
    animation: pulse 2s ease-in-out infinite;
}

/* Stagger animation for child elements */
[data-stagger] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

[data-stagger].animate-fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Remove any conflicting margins/padding that might cause white space */
.intro-section {
  margin: 0;
  padding: 0;
}

.bg-gray-50 {
  margin: 0;
  padding: 0;
  padding-bottom: 3rem;
}

/* Header spacer - ensure proper spacing for fixed header */
.header-spacer {
    height: 80px !important;
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

@media (max-width: 768px) {
    .header-spacer {
        height: 70px !important;
    }
}

/* Center article cards when there are few items */
.article-section #articleRow {
    justify-content: center !important;
}

@media (max-width: 768px) {
    .article-section #articleRow {
        justify-content: flex-start !important;
    }
}

/* Promo Banner Styles */
.promo-banner-container {
    width: 90%;
    max-width: 800px;
    margin: 0.5rem auto;
    background: #53939a;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.promo-banner-slide {
    width: 100%;
    transition: all 0.5s ease;
}

.promo-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.promo-banner-link:hover {
    background: #53939a;
    text-decoration: none;
    color: inherit;
}

.promo-banner-content {
    margin-top: 50px;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    color: #ffffff !important;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.promo-banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.promo-nav-btn {
    width: 24px;
    height: 48px;
    background: #53939a;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.2s ease;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.promo-nav-btn:hover {
    background: #53939a;
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .promo-banner-container {
        margin: 0.5rem 1rem;
    }
    
    .promo-banner-content {
        padding: 10px 15px;
        font-size: 13px;
    }

    .promo-nav-btn {
        width: 20px;
        height: 40px;
        font-size: 12px;
    }
}
