/* =====================================================
   GENERAL
===================================================== */

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* =====================================================
   TOP BAR
===================================================== */

.top-bar {
    background: #222;
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar i {
    margin-right: 4px;
}

.top-social {
    color: #fff;
    margin-left: 15px;
    transition: 0.2s;
}

.top-social:hover {
    color: #f5b400;
}


/* =====================================================
   NAVBAR
===================================================== */

.main-navbar {
    min-height: 75px;
    border-bottom: 1px solid #eee;
}

.navbar-brand {
    font-size: 25px;
    color: #222 !important;
    letter-spacing: -0.5px;
}

.navbar-brand strong {
    font-weight: 700;
}

.navbar-brand span {
    color: #f5b400;
}

.navbar-nav .nav-link {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    padding: 28px 15px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #f5b400;
}

.submit-btn {
    border-radius: 3px;
    padding: 11px 18px;
}


/* =====================================================
   BUTTONS
===================================================== */

.btn-primary {
    background: #f5b400;
    border-color: #f5b400;
    color: #222;
}

.btn-primary:hover {
    background: #d99d00;
    border-color: #d99d00;
    color: #222;
}


/* =====================================================
   FOOTER
===================================================== */

.main-footer {
    background: #222;
    color: #bbb;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.main-footer h4,
.main-footer h5 {
    color: #fff;
    margin-bottom: 20px;
}

.main-footer h4 {
    font-size: 22px;
}

.main-footer p {
    line-height: 1.8;
    font-size: 14px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    font-size: 14px;
}

.footer-links a:hover {
    color: #f5b400;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i {
    color: #f5b400;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: #333;
    color: #fff;
    margin-right: 7px;
    border-radius: 50%;
}

.footer-social a:hover {
    background: #f5b400;
    color: #222;
}

.main-footer hr {
    border-color: #444;
    margin: 40px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
}

.footer-bottom a {
    color: #aaa;
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: #f5b400;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }

    .submit-btn {
        display: inline-block;
        margin-top: 8px;
    }

}


@media (max-width: 767px) {

    .top-bar .container > div {
        font-size: 11px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 15px;
    }

}





/* =====================================================
   HERO SECTION
===================================================== */

.hero-section {
    position: relative;

    min-height: 570px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url('/purvanchal_build/assets/images/hero.jpg')
        center center / cover no-repeat;

    color: #fff;
}


.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.15);
}


.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 60px;
    padding-bottom: 60px;
}


.hero-subtitle {
    color: #f5b400;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 2px;

    margin-bottom: 15px;
}


.hero-section h1 {
    font-size: 52px;

    font-weight: 700;

    line-height: 1.15;

    margin-bottom: 20px;
}


.hero-section h1 span {
    color: #f5b400;
}


.hero-text {
    font-size: 17px;

    color: #eee;

    margin-bottom: 35px;
}


/* =====================================================
   HOME SEARCH
===================================================== */

.home-search-box {
    background: #fff;

    padding: 25px;

    border-radius: 4px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.25);

    color: #333;
}


.search-title {
    font-size: 18px;

    font-weight: 600;

    margin-bottom: 18px;
}


.search-title i {
    color: #f5b400;

    margin-right: 8px;
}


.search-control {
    height: 52px;

    border-radius: 2px;

    border-color: #ddd;

    font-size: 14px;
}


.search-control:focus {
    border-color: #f5b400;

    box-shadow:
        0 0 0 0.15rem rgba(245, 180, 0, 0.15);
}


.search-button {
    height: 52px;

    border-radius: 2px;

    font-weight: 600;
}


/* =====================================================
   SECTION
===================================================== */

.section-padding {
    padding: 80px 0;
}


.section-heading {
    margin-bottom: 45px;
}


.section-small-title {
    color: #f5b400;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 2px;

    margin-bottom: 10px;
}


.section-heading h2 {
    color: #222;

    font-size: 34px;

    font-weight: 700;

    margin-bottom: 12px;
}


.section-heading p {
    color: #777;

    font-size: 14px;

    margin: 0;
}


/* =====================================================
   PROPERTY CARD
===================================================== */

.property-card {
    background: #fff;

    border: 1px solid #eee;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

    height: 100%;
}


.property-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.12);
}


.property-card-image {
    position: relative;

    height: 250px;

    overflow: hidden;

    background: #eee;
}


.property-card-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}


.property-card:hover
.property-card-image img {
    transform: scale(1.05);
}


.property-badges {
    position: absolute;

    top: 15px;
    left: 15px;

    display: flex;

    gap: 7px;
}


.property-badges .badge {
    font-size: 10px;

    font-weight: 500;

    padding: 7px 10px;
}


.property-card-body {
    padding: 22px;
}


.property-type {
    color: #f5b400;

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 8px;
}


.property-card h3,
.hot-deal-card h3 {
    font-size: 19px;

    font-weight: 600;

    margin-bottom: 10px;
}


.property-card h3 a,
.hot-deal-card h3 a {
    color: #222;
}


.property-card h3 a:hover,
.hot-deal-card h3 a:hover {
    color: #f5b400;
}


.property-location {
    color: #777;

    font-size: 12px;

    margin-bottom: 15px;
}


.property-location i {
    color: #f5b400;

    margin-right: 5px;
}


.property-price {
    color: #222;

    font-size: 20px;

    font-weight: 700;

    margin-bottom: 15px;
}


.property-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    border-top: 1px solid #eee;

    padding-top: 15px;

    color: #777;

    font-size: 11px;
}


.property-meta i {
    color: #f5b400;

    margin-right: 4px;
}


.property-no-image {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 8px;

    color: #aaa;

    font-size: 13px;
}


.property-no-image i {
    font-size: 35px;
}


/* =====================================================
   VIEW ALL
===================================================== */

.view-all-btn {
    padding: 12px 25px;

    border-radius: 2px;

    font-size: 13px;

    font-weight: 600;
}


.view-all-btn i {
    margin-left: 8px;
}


/* =====================================================
   EMPTY SECTION
===================================================== */

.empty-home-section {
    text-align: center;

    padding: 50px 20px;

    background: #f8f8f8;

    color: #777;
}


.empty-home-section i {
    font-size: 45px;

    color: #ccc;

    display: block;

    margin-bottom: 15px;
}


.empty-home-section h4 {
    color: #333;
}


/* =====================================================
   LOCATIONS
===================================================== */

.locations-section {
    background: #f7f7f7;
}


.location-card {
    display: block;

    min-height: 180px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        linear-gradient(
            135deg,
            #555,
            #222
        );

    color: #fff;

    transition:
        transform 0.25s ease;
}


.location-card:hover {
    transform: translateY(-5px);

    color: #fff;
}


.location-card-content {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    text-align: center;

    padding: 20px;
}


.location-icon {
    font-size: 30px;

    color: #f5b400;

    margin-bottom: 10px;
}


.location-card h4 {
    font-size: 19px;

    margin-bottom: 7px;
}


.location-card span {
    color: #ddd;

    font-size: 12px;
}


/* =====================================================
   HOT DEAL
===================================================== */

.hot-deal-card {
    background: #fff;

    border: 1px solid #eee;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.07);
}


.hot-deal-image {
    height: 230px;

    position: relative;

    overflow: hidden;

    background: #eee;
}


.hot-deal-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.hot-deal-badge {
    position: absolute;

    top: 15px;
    left: 15px;

    background: #dc3545;

    color: #fff;

    padding: 7px 12px;

    font-size: 11px;

    font-weight: 600;
}


.hot-deal-body {
    padding: 22px;
}


/* =====================================================
   RESPONSIVE HERO
===================================================== */

@media (max-width: 991px) {

    .hero-section {
        min-height: 600px;
    }

    .hero-section h1 {
        font-size: 42px;
    }

}


@media (max-width: 767px) {

    .hero-section {
        min-height: 700px;
    }

    .hero-section h1 {
        font-size: 34px;
    }

    .hero-text {
        font-size: 14px;
    }

    .home-search-box {
        padding: 18px;
    }

    .section-padding {
        padding: 55px 0;
    }

    .section-heading h2 {
        font-size: 28px;
    }

}



/* =====================================================
   ADMIN BANNER MANAGEMENT
===================================================== */

.banner-admin-card {
    border: 0;
    border-radius: 10px;
    overflow: hidden;
}

.banner-admin-table {
    margin-bottom: 0;
}

.banner-admin-table thead th {
    background: #f8f9fa;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    padding: 14px 12px;
    border-bottom: 1px solid #e9ecef;
}

.banner-admin-table tbody td {
    padding: 13px 12px;
    font-size: 13px;
    vertical-align: middle;
}

.banner-admin-table tbody tr {
    transition: background 0.2s ease;
}

.banner-admin-table tbody tr:hover {
    background: #fafafa;
}

.banner-thumbnail {
    width: 90px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    display: block;
}

.banner-title {
    color: #222;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.banner-subtitle {
    color: #888;
    font-size: 12px;
    line-height: 1.5;
    max-width: 350px;
}

.banner-action-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.banner-action-buttons .btn {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.banner-status-active {
    display: inline-block;
    background: #198754;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.banner-status-inactive {
    display: inline-block;
    background: #6c757d;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}


/* =====================================================
   BANNER FORM
===================================================== */

.banner-form-card {
    border: 0;
    border-radius: 10px;
    overflow: hidden;
}

.banner-form-card .card-body {
    padding: 30px;
}

.banner-form-label {
    color: #333;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
}

.banner-form-control {
    border: 1px solid #ddd;
    border-radius: 6px;
    min-height: 42px;
    font-size: 13px;
    box-shadow: none !important;
}

.banner-form-control:focus {
    border-color: #f5b400;
    box-shadow: 0 0 0 0.15rem rgba(245, 180, 0, 0.12) !important;
}

textarea.banner-form-control {
    min-height: 100px;
    resize: vertical;
}

.banner-image-box {
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #fafafa;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-image-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.banner-current-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
}


/* =====================================================
   BANNER PAGE HEADER
===================================================== */

.banner-page-header h1 {
    color: #222;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.banner-page-header p {
    color: #888;
    font-size: 13px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .banner-form-card .card-body {
        padding: 20px;
    }

    .banner-thumbnail {
        width: 75px;
        height: 48px;
    }

    .banner-subtitle {
        max-width: 200px;
    }

    .banner-action-buttons {
        flex-wrap: wrap;
    }

}



/* ========================================
   Homepage Dynamic Banner Slider
======================================== */

.hero-slider {
    position: relative;
    width: 100%;
}

.hero-slider .carousel-item {
    height: 560px;
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.70),
        rgba(0, 0, 0, 0.30),
        rgba(0, 0, 0, 0.10)
    );
}

.hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    left: 10%;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
    text-align: left;
    max-width: 650px;
}

.hero-slider .carousel-caption h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.hero-slider .carousel-caption p {
    font-size: 21px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 30px;
}

.hero-slider .carousel-caption .btn {
    padding: 12px 28px;
    font-weight: 600;
}


/* Mobile */

@media (max-width: 768px) {

    .hero-slider .carousel-item {
        height: 450px;
    }

    .hero-slider .carousel-item img {
        height: 450px;
    }

    .hero-slider .carousel-caption {
        left: 8%;
        right: 8%;
        max-width: none;
    }

    .hero-slider .carousel-caption h1 {
        font-size: 32px;
    }

    .hero-slider .carousel-caption p {
        font-size: 16px;
    }

}