/* Elite Design Tokens 2026 */
:root {
    --primary: #2F8585;
    --primary-light: #4A9B9B;
    --secondary: #0E2A47;
    --gold: #D4AF37;
    --dark: #121212;
    --text-body: #444;
    --text-muted: #777;
    --white: #ffffff;
    --bg-light: #fbfbfb;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-dark: rgba(14, 42, 71, 0.05);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.1);
    --radius: 20px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: #444;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary);
}

/* NAVBAR MASTERPIECE 2026 */
.navbar {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-icon {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-item {
    text-decoration: none;
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
    opacity: 1;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

/* SMART SEARCH 2026 */
.nav-search-box {
    background: var(--glass-dark);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
    width: 260px;
}

.nav-search-box:focus-within {
    background: var(--white);
    width: 320px;
    border-color: var(--primary-light);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.nav-search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark);
}

.nav-search-box i {
    color: var(--primary);
    font-size: 0.9rem;
}


.nav-actions {
    display: none;
    /* Hide top CTA as per user request */
}

.mobile-search {
    display: none;
    /* Hidden on Desktop */
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO & HEADERS 2026 */
.hero {
    position: relative;
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1)), url('image.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.page-header {
    height: 450px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.7) 80%,
            rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.header-content h1 {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    animation: fadeInDown 0.8s ease;
}

.header-content p {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero h1 {
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1px;
}

.highlight-gold {
    color: var(--gold);
    font-style: italic;
}

.hero p {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 40px;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.btn-cta {
    background-color: var(--primary);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.btn-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.line-delimeter {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 60px auto;
}

/* PROPERTIES GRID */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* GRID SYSTEMS */
.properties-grid,
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

/* PROPERTY CARD 2026 */
.property-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.card-image {
    height: 240px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .card-image img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--glass);
    backdrop-filter: blur(8px);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
}

.location {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-price {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
}

.card-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.85rem;
}

.card-footer span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-footer i {
    color: var(--primary-light);
    font-size: 0.9rem;
}

.location {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}

.price-row {
    margin-bottom: 15px;
}

.price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.specs {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.specs i {
    color: #aaa;
    margin-right: 5px;
}

.btn-card {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* FILTER BAR ELITE */
.top-filter-bar {
    background: var(--white);
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    display: flex;
    gap: 25px;
    align-items: center;
    position: relative;
    margin-top: -65px;
    /* Use negative margin instead of transform for better flow */
    margin-bottom: 80px;
    /* Pushes the listings down to avoid overlap */
    z-index: 100;
    /* Higher z-index to stay on top of everything */
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.filter-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-group i {
    color: var(--primary);
    font-size: 1.1rem;
}

.filter-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    background: transparent;
}

#btn-filter:hover {
    background: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(47, 133, 133, 0.2);
}

/* CARD ENHANCEMENTS */
.card-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-price {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
}


/* FOOTER */
footer {
    background-color: #F0F2F5;
    padding: 60px 0 20px 0;
    font-size: 0.8rem;
    color: #555;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.footer-left h4 {
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-family: 'Lato', sans-serif;
    color: #444;
}

.footer-right p {
    margin-bottom: 8px;
    text-align: left;
}

.footer-right i {
    color: var(--primary);
    margin-right: 8px;
}

.socials-center {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.socials-center i {
    margin: 0 10px;
    cursor: pointer;
}

/* FOOTER ENHANCEMENTS */
footer {
    background: #f8f9fa;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

footer h4 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

footer i {
    width: 25px;
    color: var(--primary);
}

.fa-whatsapp {
    color: #25D366;
}


/* --- TOP FILTER BAR (SeLoger Premium Style) --- */
.top-filter-bar {
    max-width: 900px;
    margin: -40px auto 50px;
    background: #fff;
    padding: 10px 10px 10px 30px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.top-filter-bar .filter-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
}

.top-filter-bar .filter-group i {
    color: var(--primary);
    font-size: 1.1rem;
}

.top-filter-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--secondary);
}

/* FORCED PREMIUM BUTTON STYLE & GLOBAL SYSTEM */
.btn-premium,
.btn-filter,
button.btn-premium,
button.btn-filter,
#btn-filter,
.btn-cta {
    background: var(--primary) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    font-size: 0.95rem !important;
    letter-spacing: 1px !important;
    min-height: 50px !important;
    width: auto !important;
    min-width: 140px !important;
    box-shadow: 0 10px 25px rgba(47, 133, 133, 0.3) !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

/* Specific for Filter Buttons with Icons */
.btn-filter::before {
    content: "\f1de" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.btn-premium:hover,
.btn-filter:hover,
.btn-cta:hover {
    background: var(--secondary) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(14, 42, 71, 0.3) !important;
    color: white !important;
}

/* DROPDOWN SYSTEM (DESKTOP ONLY) */
.btn-filter-wrapper {
    position: relative;
    display: inline-block;
}

.filter-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 25px;
    z-index: 1000;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform-origin: top right;
    animation: filterDropdownIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-dropdown.active {
    display: block;
}

@keyframes filterDropdownIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.dropdown-section {
    margin-bottom: 20px;
}

.dropdown-section h4 {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.dropdown-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.dropdown-options .btn-option {
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.dropdown-options.tri-options {
    grid-template-columns: 1fr;
    gap: 8px;
}

.dropdown-options.tri-options .btn-option {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
}

.dropdown-options.tri-options .btn-option::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: inline-block;
}

.dropdown-options.tri-options .btn-option.active::before {
    border-color: white;
    background: white;
    box-shadow: inset 0 0 0 3px var(--primary);
}

/* --- PREMIUM FOOTER STYLE (WHITE THEME - ULTRA COMPACT) --- */
footer {
    background: #fbfbfb !important;
    color: var(--secondary) !important;
    padding: 20px 0 10px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    margin-top: 100px !important;
    /* Fix overlap with large margin */
}

.footer-content {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr !important;
    gap: 15px !important;
    margin-bottom: 15px !important;
    align-items: start;
}

footer h4 {
    position: relative !important;
    margin-bottom: 10px !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    color: var(--secondary) !important;
    text-transform: uppercase;
    font-weight: 800;
}

footer h4::after {
    content: "" !important;
    position: absolute !important;
    bottom: -6px !important;
    left: 0 !important;
    width: 25px !important;
    height: 2px !important;
    background: var(--primary) !important;
    border-radius: 2px !important;
}

footer p,
footer li {
    font-size: 0.8rem !important;
    color: #666 !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
}

/* Explicit Footer Icons Fix */
footer i,
footer .fa-solid,
footer .fa-brands {
    color: var(--primary) !important;
    font-size: 1rem !important;
    width: 20px !important;
    text-align: center !important;
    margin-right: 8px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

footer a {
    color: #444 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

footer a:hover {
    color: var(--primary) !important;
    padding-left: 3px;
}

footer .footer-right a {
    color: #444 !important;
}

footer .footer-right a:hover {
    color: var(--primary) !important;
}

.social-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
}

.social-links a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1) !important;
    background: var(--primary) !important;
    padding-left: 0 !important;
    /* Reset hover padding-left from generic rule */
}

.social-links a:hover i {
    color: white !important;
}

.social-links i {
    font-size: 1.1rem !important;
    margin-right: 0 !important;
}

footer ul li a,
footer p a {
    color: #666 !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
}

footer ul li a:hover,
footer p a:hover {
    color: var(--primary) !important;
    padding-left: 5px !important;
}

.footer-bottom {
    text-align: center !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #999 !important;
    font-size: 0.75rem !important;
}

.footer-bottom p {
    margin: 0 !important;
}

/* --- RESPONSIVE MASTER --- */

/* Specific Mobile Fix for Footer Grid */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        /* Stack on mobile */
        gap: 25px !important;
        text-align: center;
    }

    footer h4::after {
        left: 50% !important;
        transform: translateX(-50%);
    }

    .footer-left p {
        margin: 0 auto 15px !important;
    }
}

/* Mobile Menu Toggle (JavaScript handled) */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

@media (max-width: 900px) {
    .nav-container {
        padding: 0 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-item {
        font-size: 1.2rem;
    }

    .nav-search-box {
        margin: 10px 0;
        width: 100%;
        max-width: 300px;
    }

    /* Hide heavy search on mobile */

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section {
        padding: 60px 0;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    /* --- "SeLoger Style" Filter Bar --- */
    .top-filter-bar {
        margin: -35px 15px 30px 15px !important;
        flex-direction: row !important;
        /* One line */
        gap: 0 !important;
        padding: 5px 8px 5px 15px !important;
        background: #fff !important;
        border-radius: 50px !important;
        /* Round pill */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid #eee !important;
        height: 54px !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Hide individual separators we might have in HTML */
    .top-filter-bar>div[style*="width:1px"] {
        display: none !important;
    }

    .filter-group {
        border-bottom: none !important;
        padding: 0 !important;
        width: auto !important;
        flex: 1 !important;
        gap: 10px !important;
    }

    /* Hide Budget on search pill to keep it clean like SeLoger */
    .filter-group:nth-child(3) {
        display: none !important;
    }

    .filter-group i {
        color: #333 !important;
        font-size: 1.1rem !important;
    }

    .filter-group input {
        width: 100% !important;
        font-size: 0.95rem !important;
        color: #333 !important;
        font-weight: 400 !important;
    }

    /* Design unified by .btn-filter class */

    /* --- "SeLoger Style" Footer --- */
    footer {
        background: #fff !important;
        border-top: 1px solid #eee !important;
        padding: 40px 15px !important;
    }

    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .footer-left {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 20px 0 !important;
        border-bottom: 1px solid #f5f5f5 !important;
        width: 100% !important;
    }

    .footer-left p {
        text-align: center !important;
        max-width: 80% !important;
        margin: 0 auto 15px !important;
    }

    .social-links {
        justify-content: center !important;
    }

    .footer-center,
    .footer-right {
        width: 100% !important;
        text-align: left !important;
        border-bottom: 1px solid #f5f5f5 !important;
        padding: 20px 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .footer-center h4,
    .footer-right h4 {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        margin-bottom: 15px !important;
        color: #000 !important;
        letter-spacing: 0 !important;
        text-align: left !important;
    }

    .footer-center ul,
    .footer-right p {
        width: 100% !important;
        text-align: left !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .footer-center ul li,
    .footer-right p {
        margin-bottom: 12px !important;
        font-size: 0.95rem !important;
        color: #666 !important;
        text-align: left !important;
    }

    .footer-right p a {
        display: inline-block !important;
        padding: 5px 0 !important;
        position: relative !important;
        z-index: 2000 !important;
        /* Ensure it is above any other element */
        pointer-events: auto !important;
        color: var(--primary) !important;
        /* Explicit link color */
        text-decoration: underline !important;
        font-weight: 700 !important;
        transition: var(--transition);
        cursor: pointer !important;
    }

    .footer-right p a:hover {
        color: var(--secondary) !important;
        transform: translateY(-1px);
    }

    .footer-right i {
        display: none !important;
        /* Cleaner look without icons */
    }

    /* Bottom copyright section */
    footer>.container>div:last-child {
        border-top: none !important;
        margin-top: 20px !important;
        opacity: 0.5 !important;
        text-align: left !important;
        padding-top: 0 !important;
        width: 100% !important;
    }

    footer * {
        text-align: left !important;
    }


    .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .logo {
        flex-shrink: 0 !important;
    }

    .nav-search-box {
        flex: 1 !important;
        max-width: 200px !important;
        margin: 0 !important;
        padding: 8px 15px !important;
    }

    .mobile-toggle {
        margin: 0 !important;
    }

    /* --- Floating Action Buttons (SeLoger Style) --- */
    .floating-actions {
        position: fixed !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        gap: 10px !important;
        z-index: 1000 !important;
        width: 90% !important;
        max-width: 400px !important;
        justify-content: center !important;
        pointer-events: none !important;
        /* Allow clicks to pass through to elements below */
    }

    .btn-floating {
        padding: 12px 20px !important;
        border-radius: 30px !important;
        font-weight: 700 !important;
        font-size: 0.9rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
        text-decoration: none !important;
        transition: 0.3s !important;
        pointer-events: auto !important;
        /* Re-enable clicks on the buttons themselves */
    }

    .btn-floating.white {
        background: #fff !important;
        color: #333 !important;
        border: 1px solid #eee !important;
    }

    .btn-floating.red {
        background: #e0301e !important;
        /* SeLoger Red */
        color: #fff !important;
        flex: 1 !important;
        /* Take more space */
        justify-content: center !important;
    }

    .btn-floating:active {
        transform: scale(0.95) !important;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
    }
}

/* --- Filter Modal (SeLoger Style) --- */
.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2000;
    display: none;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.filter-modal.active {
    display: flex;
}

.filter-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-modal-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
}

.close-filter {
    font-size: 1.5rem;
    cursor: pointer;
}

.filter-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filter-section {
    margin-bottom: 30px;
}

.filter-section h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.filter-price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-price-inputs input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.9rem;
}

.btn-option {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    text-align: center;
    font-size: 0.85rem;
    transition: 0.2s;
    width: 100%;
}

.btn-option.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.filter-modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 15px;
}

.btn-reset {
    flex: 1;
    padding: 15px;
    border: none;
    background: #f5f5f5;
    border-radius: 12px;
    font-weight: 700;
}

.btn-apply {
    flex: 2;
    padding: 15px;
    border: none;
    background: var(--secondary);
    color: white;
    border-radius: 12px;
    font-weight: 700;
}

/* Utility Classes */
@media (max-width: 900px) {
    .mobile-only {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }
}

@media (min-width: 901px) {
    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: block !important;
    }
}

/* --- ULTIMATE FOOTER ICON FIX (MOBILE & DESKTOP) --- */
footer i.fa-solid,
footer .fa-solid {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    color: #2F8585 !important;
    /* Primary Green */
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 25px !important;
    margin-right: 5px !important;
    text-align: center !important;
}

footer i.fa-brands,
footer .fa-brands {
    font-family: 'Font Awesome 6 Brands' !important;
    font-weight: 400 !important;
    color: #2F8585 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 25px !important;
    margin-right: 5px !important;
    text-align: center !important;
}

/* Ensure container allows overflow if needed */
footer p {
    overflow: visible !important;
    display: block !important;
}


/* --- TAB SYSTEM FOR SERVICES --- */
.tabs-container {
    margin-top: 50px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
}

.tabs-header::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.tab-btn {
    padding: 18px 25px;
    border: none;
    background: none;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    background: white;
}

.tab-btn.active::after {
    width: 100%;
}

/* Mobile Tabs Optimization */
@media (max-width: 768px) {
    .tabs-header {
        padding: 10px;
        gap: 10px;
    }

    .tab-btn {
        padding: 10px 20px;
        background: #f0f2f5;
        border-radius: 50px;
        font-size: 0.85rem;
        border-bottom: none;
    }

    .tab-btn::after {
        display: none;
    }

    .tab-btn.active {
        background: var(--primary);
        color: white;
        box-shadow: 0 4px 12px rgba(47, 133, 133, 0.3);
    }

    .tab-content {
        padding: 25px !important;
    }
}

.tab-content {
    padding: 40px;
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.tab-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}