:root {
    --primary-color: #132d46;
    --secondary-color: #42fea7;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #fff;
    --text-size: 14px;
    --pill-success: #cdfee8;
    --pill-success-text: #12b367;
}

body {
    font-family: "Poppins" !important;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

a {
    /* font-size: 14px; */
    color: var(--secondary-color);
}

a:hover,
a:active {
    color: var(--secondary-color);
}

h1 {
    font-size: 38px;
    font-weight: 700;
}

h2 {
    font-size: 34px;
    font-weight: 650;
}

h4 {
    font-size: 28px;
    font-weight: 600;
}

h6 {
    font-size: 20px;
    font-weight: 550;
}

.header-transparent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
}

.header-scrolled {
    background-color: rgba(0, 0, 0, 0.85); /* Black with opacity */
}

.header-transparent .navbar {
    padding: 1rem 0;
    background: transparent;
    padding: 5px 0px 0px 0px;
}

.header-divider {
    margin: 1rem 0 0 0;
}

.header-logo {
    width: 66%;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0px 0px 10px;
    margin: 0px;
}

.nav-btn {
    padding-top: 8px;
}
.nav-location-dropdown {
    margin: 6px 0px -10px -32px;
}

.user-icon {
    width: 25px;
    height: 25px;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: #00d4aa;
    letter-spacing: 1px;
    margin-top: -5px;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 400;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.nav-separator {
    color: white;
    padding: 0.5rem 0.5rem;
    opacity: 0.7;
}

.post-btn {
    background-color: var(--secondary-color);
    color: black;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    align-items: center;
    padding: 10px 20px 10px 20px;
    /* transition: background-color 0.3s ease; */
    position: relative;
    /* overflow: hidden; */
    /* z-index: 1; */
}

.post-btn:hover {
    color: black;
    background-color: var(--secondary-color);
}

.login-btn {
    font-size: 14px;
    border: none;
    color: var(--secondary-color);
    padding-top: 11px;
    border-radius: 8px;
    font-weight: 500;
}

.login-btn:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-image: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 1) 0% /* Dark at top */,
            rgba(0, 0, 0, 0.8) 30% /* Medium dark */,
            rgba(0, 0, 0, 0.6) 60% /* Medium light */,
            rgba(0, 0, 0, 0.4) 100% /* Light at bottom */
        ),
        url("/images/home-banner.jpg");
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    color: white;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: 3px;
}

.verified-text {
    background-color: var(--secondary-color);
    color: black;
    /* padding: 0.2rem 1rem; */
    /* border-radius: 8px; */
    display: inline-block;
}

.search-container {
    margin: 0 auto;
}

.banner-search {
    margin-left: -8px;
}

.search-input {
    height: 50px;
    border: none;
    border-radius: 5px;
    padding: 0 1.5rem;
    font-size: var(--text-size);
    background: white;
}

.search-input:focus {
    box-shadow: none;
    /* border: 2px solid #00d4aa; */
}

.search-btn {
    height: 50px;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    font-size: var(--text-size);
    font-weight: 600;
    color: black;
}

.search-btn:hover {
    background-color: var(--secondary-color);
    color: black;
}

.hero-stats {
    color: white;
    font-size: var(--text-size);
    margin-top: 3rem;
    margin-left: 53px;
}

.stat-number {
    color: var(--secondary-color);
    font-weight: bold;
}

.stat-separator {
    margin: 0 1rem;
    opacity: 0.7;
}

.stat-item {
    font-weight: 500;
}

#navbarNav {
    align-items: end;
    justify-content: end;
}

li.nav-separator-div {
    margin-top: 7px;
}

.bg-card {
    background-color: var(--primary-color); /* Update with your image path */
    background-size: cover;
    background-position: center;
    height: 250px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 1rem;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-card-text {
    color: var(--secondary-color);
}

.nav-design {
    background-image: url("/images/design-1.jpg");
    padding: 15px 15px 15px 15px;
    border-radius: 10px;
    width: 82%;
}

.post-add-text {
    padding-top: 10px;
    display: flex;
    justify-content: center;
}

/* Nav Bar Location CSS */

.dropdown-button {
    font-size: var(--text-size);
    color: var(--secondary-color);
    border: none;
}

.dropdown-button:hover,
.dropdown-buttonactive {
    color: var(--secondary-color);
    border: none;
}

.nav-location-dropdown .dropdown-menu,
.location-dropdown .dropdown-menu {
    background-color: var(--primary-color);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Change dropdown item colors */
.nav-location-dropdown .dropdown-item {
    color: white;
    padding: 0.5rem 1.5rem;
}

.dropdown-button:active,
.dropdown-button:focus,
.dropdown-button:checked,
.dropdown-button:checked .dropdown-button.show {
    color: var(--secondary-color) !important;
}

/* Hover state for dropdown items */
.nav-location-dropdown .dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Active/focus state */
.nav-location-dropdown .dropdown-item:active,
.nav-location-dropdown .dropdown-item:focus {
    color: var(--secondary-color);
}

/* Header Location CSS END */

/* Browse What You need loaction button CSS */

.adds-location-button {
    color: var(--pill-success-text);
    font-size: var(--text-size);
}

.location-dropdown {
    background-color: var(--pill-success);
    color: var(--pill-success-text);
    border-radius: 4px;
    border: none;
}

.adds-location-button:active,
.adds-location-button:focus,
.adds-location-button:checked,
.adds-location-button:checked .adds-location-button.show {
    color: var(--pill-success-text) !important;
    border: none;
}

.location-dropdown .dropdown-item {
    color: white;
}

.location-dropdown .dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--pill-success-text);
}

/* ENd Location CSS */

.filter-container {
    display: flex;
    justify-content: center;
}

.filter-section {
    justify-content: center;
    border: 1px solid #000;
    padding: 10px;
    border-radius: 4px;
}

.category-tab {
    padding: 8px 22px;
    /* border-radius: 20px; */
    cursor: pointer;
    font-size: var(--text-size);
    color: #272727;
    transition: all 0.3s ease;
    /* border: 1px solid #ddd; */
}

.category-tab:hover {
    background-color: var(--pill-success);
    color: var(--pill-success-text);
    border-radius: 5px;
}

.category-tab.active {
    background-color: var(--pill-success);
    color: var(--pill-success-text);
    border-radius: 5px;
    /* border-color: #0d6efd; */
}

.add-btn-icon {
    width: 14px;
    height: auto;
}

/* Hide the actual radio buttons */
.form-check-input.d-none {
    position: absolute;
    opacity: 0;
}

.property-card {
    transition: transform 0.2s ease-in-out;
    background: #fff;
}

.property-card:hover {
    transform: translateY(-5px);
}

.card-img-section {
    margin: 12px;
}

.product-image-card {
    border-radius: 5px;
}

.card-pro-title {
    font-size: 15px;
    font-weight: 600;
}

.product-feature {
    font-size: 12px;
    color: var(--pill-success-text);
}

.location-text {
    font-size: 12px;
}

.for-sale-badge {
    background-color: var(--pill-success-text);
}

.product-type {
    background-color: #f2f2f2;
    margin: -3px;
}

.type-seperator {
    color: #e1e1e1;
    font-size: 25px;
    font-weight: 200;
}

.product-type-detail {
    font-size: 13px;
}

.detail-colored {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-btn {
    font-size: 12px;
}

.call-now-btn,
.call-now-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.whatsapp-btn,
.whatsapp-btn:hover {
    background-color: var(--pill-success-text);
    color: white;
    border: none;
}

.carousel-caption.bottom-caption {
    bottom: 10px; /* how close to the bottom */
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    max-width: 70%; /* optional for shorter width */
}

.carousel-item {
    position: relative;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%; /* control height of shadow */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
}

.carousel-caption.bottom-caption {
    z-index: 2;
    bottom: 30px;
    left: 30px;
    color: white;
    /* margin: 0px 0px 0px -70px; */
}

.ad-detail-text {
    font-size: 12px;
}

.category-section {
    display: flex;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.category-box {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.3s ease;
    color: white;
}

.category-box h3 {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    color: white;
    font-size: 1.5rem;
    font-weight: 400;
    /* text-shadow: 0 0 8px rgba(0, 0, 0, 0.7); */
    z-index: 2;
}

.category-box:hover {
    transform: scale(1.02);
    z-index: 2;
}

.category-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1.1) 0%,
        rgba(0, 0, 0, 0.5) 20%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.1) 80%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.deal-section {
    display: flex;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.deal-box {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.3s ease;
    color: white;
    filter: grayscale(100%);
}

.deal-box h3 {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    color: white;
    font-size: 1.5rem;
    font-weight: 400;
    /* text-shadow: 0 0 8px rgba(0, 0, 0, 0.7); */
    z-index: 2;
}

.deal-box:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
    z-index: 2;
}

.deal-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1.1) 0%,
        rgba(0, 0, 0, 0.5) 20%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.1) 80%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.client-logo {
    width: 115px;
}

/* Carousel Icon */

.carousel-control-prev {
    position: absolute;
    left: -152px;
}

.carousel-control-next {
    position: absolute;
    right: -152px;
}

#featuredAdsCarousel .carousel-control-prev-icon,
#featuredAdsCarousel .carousel-control-next-icon {
    filter: invert(1) grayscale(100);
}

/* End */

.signup-section {
    background-image: url("/images/design-2.jpg");
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}

.signup-box {
    border: 1.5px solid #00000070;
    border-radius: 10px;
    padding: 30px;
    /* background: rgba(0, 0, 0, 0.1); */
}

.signup-box input,
.signup-box .btn {
    font-size: 12px;
    border-radius: 5px;
    background-color: #111;
    color: white;
    border: none;
}

.signup-box input::placeholder {
    color: #ccc;
}

.signup-box .btn {
    background-color: #111;
    padding: 12px 25px;
}

.signup-box .btn:hover {
    background-color: #222;
}

.form-control:focus {
    box-shadow: none;
}

.form-group {
    flex: 1;
}

.input-group-text {
    font-size: 12px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px 0 0 5px;
}

.phone-input-group input {
    border-radius: 0 5px 5px 0;
}

.signup-width {
    width: 25%;
}

.signup-heading {
    background-image: url("/images/design-2.jpg");
    position: relative;
    display: inline-block;
    background-size: auto;
    background-position: center;
    padding: 0 14px;
    z-index: 1;
    bottom: 50px;
}

.signup-form-wrapper {
    margin-top: -30px;
}

.footer-section {
    background-color: #0a0b0d;
}

.footer-content-container {
    margin: 30px 80px 30px 80px;
    font-size: 12px;
}

.footer-logo {
    width: 42%;
}

.footer-paragraph {
    margin-right: 35px;
}

.footer-links {
    margin-top: 80px;
}
.app-icons-div {
    position: absolute;
    display: flex;
    right: 290px;
}

.app-icons {
    width: 82%;
}

.social-logo {
    width: 18%;
}

.footer-links a {
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.3s;
    line-height: 30px;
}

.footer-links a:hover {
    color: #ccc !important;
}

.footer-bottom {
    color: #fff;
}

.footer-nav-link {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s;
}

.footer-nav-link:hover {
    color: #ccc;
}

.social-icons-container {
    padding: 15px 184px 0px 0px;
}

@media (max-width: 991px) {
    .hero-section {
        height: 100vh;
    }

    .navbar-nav {
        text-align: right !important;
        align-items: flex-end;
    }

    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }

    .nav-separator {
        display: none !important;
    }

    .navbar-collapse {
        text-align: right;
    }

    .nav-btn {
        text-align: right;
        margin-top: 1rem;
    }

    .login-container {
        background: linear-gradient(45deg, #42ec89, #39f7cb);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .search-input,
    .search-btn {
        height: 50px;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .search-btn {
        border-radius: 8px;
    }

    .hero-stats {
        font-size: 1rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }

    .nav-separator {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }
}

/* Remove container margin for full-width hero */
.hero-section + .container {
    margin-top: 0;
    padding-top: 2rem;
}
