/********** Template CSS **********/

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:ital,wght@0,100..900;1,100..900&display=swap');


:root {
    --primary: #D4AF37;
    --secondary: #112A46;
    --light: #F8F9FA;
    --dark: #0A192F;
}

body {
    font-family: "Outfit", sans-serif;
}

h1 {
    font-family: "Outfit", sans-serif;
}

h5 {
    font-family: "Outfit", sans-serif;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.nav-bar {
    position: relative;
    margin-top: 45px;
    padding: 0 3rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: rgb(14, 202, 171);
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    /* Premium Dropdown Container */
    .navbar-collapse {
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
        padding: 15px;
        margin-top: 15px;
        margin-bottom: 15px;
        border: 1px solid rgba(212, 175, 55, 0.1);
    }

    .navbar-light .navbar-nav {
        border-top: none;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 15px;
        border-radius: 8px;
        margin-bottom: 5px;
        transition: 0.3s ease;
        font-weight: 600;
        color: #0A192F !important;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        background-color: rgba(212, 175, 55, 0.1);
        color: #D4AF37 !important;
    }

    /* Sub-dropdown styling */
    .navbar-nav .dropdown-menu {
        background-color: transparent;
        border: none;
        padding-left: 15px;
        box-shadow: none;
        margin-top: 0;
    }

    .navbar-nav .dropdown-item {
        padding: 10px 15px;
        border-radius: 8px;
        margin-bottom: 2px;
        font-weight: 500;
        color: #0A192F;
    }

    .navbar-nav .dropdown-item:hover {
        background-color: rgba(212, 175, 55, 0.1);
        color: #D4AF37;
    }

    /* Fix Contact Us button scaling */
    .navbar-collapse>a {
        display: block;
        text-align: center;
        margin-top: 15px;
        border-top: 1px dashed rgba(212, 175, 55, 0.2);
        padding-top: 15px;
        text-decoration: none;
    }

    .navbar-collapse .uiverse {
        width: 100%;
        margin: 0 auto;
    }

    .navbar-collapse .uiverse .wrapper {
        min-width: unset;
        width: 100%;
        padding: 15px;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;

    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header {
        margin-top: -120px;
    }
}

.header-carousel .owl-carousel-item img {
    height: 600px;
    object-fit: cover;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #D4AF37;
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #DDDDDD;
}



/* bannner buttons**/
.cssbuttons-io-button {
    background-image: linear-gradient(19deg, #AE8D28 0%, #112A46 100%);
    color: white;
    font-family: inherit;
    padding: 0.35em;
    padding-left: 1.2em;
    font-size: 17px;
    border-radius: 10em;
    border: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    height: 2.8em;
    padding-right: 3.3em;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 500;
    box-shadow: 0 0 1.6em rgba(183, 33, 255, 0.3), 0 0 1.6em hsla(45, 65%, 55%, 0.3);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.cssbuttons-io-button .icon {
    background: white;
    margin-left: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    border-radius: 10em;
    right: 0.3em;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.cssbuttons-io-button:hover .icon {
    width: calc(100% - 0.6em);
}

.cssbuttons-io-button .icon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: #D4AF37;
}

.cssbuttons-io-button:hover .icon svg {
    transform: translateX(0.1em);
}

.cssbuttons-io-button:active .icon {
    transform: scale(0.9);
}

/*** Icon ***/
/* .icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
} */


/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}


/*** Category ***/
/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(212, 175, 55, .3);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}

.cart-bg {
    background-color: #AE8D28;
}

/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(212, 175, 55, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(212, 175, 55, .3) !important;
}





.btn_active:hover {
    transform: translate(10px, 5px);
}


/** uiverse****/



.uiverse {
    --duration: 7s;
    --easing: linear;

    /* ✅ Makaan Theme Colors */
    --c-color-1: rgba(212, 175, 55, 0.6);
    --c-color-2: #0A192F;
    --c-color-3: #D4AF37;
    --c-color-4: rgba(212, 175, 55, 0.4);

    --c-shadow: rgba(212, 175, 55, 0.4);
    --c-shadow-inset-top: rgba(212, 175, 55, 0.7);
    --c-shadow-inset-bottom: rgba(255, 255, 255, 0.8);

    --c-radial-inner: #D4AF37;
    --c-radial-outer: #F5D77D;

    --c-color: #fff;

    position: relative;
    cursor: pointer;
    border: none;
    display: table;
    border-radius: 30px;
    padding: 0;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: var(--c-color);
    background: radial-gradient(circle, var(--c-radial-inner), var(--c-radial-outer) 80%);
    box-shadow: 0 0 18px var(--c-shadow);
    transition: all 0.3s ease;
}

/* Hover Effect */
.uiverse:hover {
    --duration: 1400ms;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}

/* Inner Glow */
.uiverse:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    box-shadow:
        inset 0 3px 12px var(--c-shadow-inset-top),
        inset 0 -3px 4px var(--c-shadow-inset-bottom);
}

/* Wrapper */
.uiverse .wrapper {
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: -webkit-radial-gradient(white, black);
    overflow: hidden;
    border-radius: 30px;
    min-width: 160px;
    padding: 14px 20px;
}

/* Text */
.uiverse .wrapper span {
    display: inline-block;
    position: relative;
    z-index: 2;
}

/* Circles */
.uiverse .wrapper .circle {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    filter: blur(var(--blur, 8px));
    background: var(--background, transparent);
    transform: translate(var(--x, 0), var(--y, 0)) translateZ(0);
    animation: var(--animation, none) var(--duration) var(--easing) infinite;
}

/* Color Assign */
.uiverse .wrapper .circle.circle-1,
.uiverse .wrapper .circle.circle-9,
.uiverse .wrapper .circle.circle-10 {
    --background: var(--c-color-4);
}

.uiverse .wrapper .circle.circle-3,
.uiverse .wrapper .circle.circle-4 {
    --background: var(--c-color-2);
    --blur: 14px;
}

.uiverse .wrapper .circle.circle-5,
.uiverse .wrapper .circle.circle-6 {
    --background: var(--c-color-3);
    --blur: 16px;
}

.uiverse .wrapper .circle.circle-2,
.uiverse .wrapper .circle.circle-7,
.uiverse .wrapper .circle.circle-8,
.uiverse .wrapper .circle.circle-11,
.uiverse .wrapper .circle.circle-12 {
    --background: var(--c-color-1);
    --blur: 12px;
}

/* Position + Animation */
.circle-1 {
    --x: 0;
    --y: -40px;
    --animation: circle-1;
}

.circle-2 {
    --x: 92px;
    --y: 8px;
    --animation: circle-2;
}

.circle-3 {
    --x: -12px;
    --y: -12px;
    --animation: circle-3;
}

.circle-4 {
    --x: 80px;
    --y: -12px;
    --animation: circle-4;
}

.circle-5 {
    --x: 12px;
    --y: -4px;
    --animation: circle-5;
}

.circle-6 {
    --x: 56px;
    --y: 16px;
    --animation: circle-6;
}

.circle-7 {
    --x: 8px;
    --y: 28px;
    --animation: circle-7;
}

.circle-8 {
    --x: 28px;
    --y: -4px;
    --animation: circle-8;
}

.circle-9 {
    --x: 20px;
    --y: -12px;
    --animation: circle-9;
}

.circle-10 {
    --x: 64px;
    --y: 16px;
    --animation: circle-10;
}

.circle-11 {
    --x: 4px;
    --y: 4px;
    --animation: circle-11;
}

.circle-12 {
    --blur: 14px;
    --x: 52px;
    --y: 4px;
    --animation: circle-12;
}

/* Animations */
@keyframes circle-1 {
    33% {
        transform: translate(0px, 16px);
    }

    66% {
        transform: translate(12px, 64px);
    }
}

@keyframes circle-2 {
    33% {
        transform: translate(80px, -10px);
    }

    66% {
        transform: translate(72px, -48px);
    }
}

@keyframes circle-3 {
    33% {
        transform: translate(20px, 12px);
    }

    66% {
        transform: translate(12px, 4px);
    }
}

@keyframes circle-4 {
    33% {
        transform: translate(76px, -12px);
    }

    66% {
        transform: translate(112px, -8px);
    }
}

@keyframes circle-5 {
    33% {
        transform: translate(84px, 28px);
    }

    66% {
        transform: translate(40px, -32px);
    }
}

@keyframes circle-6 {
    33% {
        transform: translate(28px, -16px);
    }

    66% {
        transform: translate(76px, -56px);
    }
}

@keyframes circle-7 {
    33% {
        transform: translate(8px, 28px);
    }

    66% {
        transform: translate(20px, -60px);
    }
}

@keyframes circle-8 {
    33% {
        transform: translate(32px, -4px);
    }

    66% {
        transform: translate(56px, -20px);
    }
}

@keyframes circle-9 {
    33% {
        transform: translate(20px, -12px);
    }

    66% {
        transform: translate(80px, -8px);
    }
}

@keyframes circle-10 {
    33% {
        transform: translate(68px, 20px);
    }

    66% {
        transform: translate(100px, 28px);
    }
}

@keyframes circle-11 {
    33% {
        transform: translate(4px, 4px);
    }

    66% {
        transform: translate(68px, 20px);
    }
}

@keyframes circle-12 {
    33% {
        transform: translate(56px, 0px);
    }

    66% {
        transform: translate(60px, -32px);
    }
}

/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(212, 175, 55, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Premium Gallery Styles ***/
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.gallery-card img {
    transition: transform 0.5s ease;
    object-fit: cover;
    height: 300px;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 46, 80, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.gallery-title {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.lightbox-trigger {
    align-self: flex-start;
    transform: translateY(20px) scale(0.8);
    opacity: 0;
    transition: all 0.4s ease 0.3s;
}

.gallery-card:hover .gallery-category,
.gallery-card:hover .gallery-title,
.gallery-card:hover .lightbox-trigger {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.filter-controls .btn {
    border-radius: 30px;
    padding: 8px 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.filter-controls .btn.active,
.filter-controls .btn:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/*** Custom Lightbox ***/
.custom-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(14, 46, 80, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    position: relative;
    animation-name: zoomIn;
    animation-duration: 0.4s;
}

.lightbox-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    text-align: center;
    color: #fff;
    padding: 15px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 100000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 100%;
        padding: 0 15px;
    }
}

/* Custom Premium Navbar Toggler */
.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    padding: 12px 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    /* Softer edges */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    background-color: rgba(212, 175, 55, 0.08) !important;
}

.toggle-icon {
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
}

.toggle-icon span {
    position: absolute;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #0A192F;
    /* Premium Dark Blue */
    border-radius: 5px;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base line positions */
.toggle-icon span:nth-child(1) {
    top: 0;
}

.toggle-icon span:nth-child(2) {
    top: 9px;
}

.toggle-icon span:nth-child(3) {
    top: 18px;
}

/* Active & Opened Animation */
.navbar-toggler[aria-expanded="true"] .toggle-icon span:nth-child(1),
.navbar-toggler.active .toggle-icon span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
    background-color: #D4AF37;
}

.navbar-toggler[aria-expanded="true"] .toggle-icon span:nth-child(2),
.navbar-toggler.active .toggle-icon span:nth-child(2) {
    opacity: 0;
    transform: scale(0.5);
}

.navbar-toggler[aria-expanded="true"] .toggle-icon span:nth-child(3),
.navbar-toggler.active .toggle-icon span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
    background-color: #D4AF37;
}

/* Hover styling */
.navbar-toggler:hover .toggle-icon span {
    background-color: #D4AF37;
}

/* Ensure mobile layout doesn't break navbar */
@media (max-width: 991.98px) {
    .navbar-toggler {
        margin-right: 0px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

/* Floating Contact Icons */
.floating-icon {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 9999;
}

.floating-icon:hover {
    transform: scale(1.1);
    color: white;
}

.whatsapp-icon {
    bottom: 100px;
    right: 30px;
    background-color: #25D366;
    animation: pulse-whatsapp 2s infinite;
}

.call-icon {
    bottom: 100px;
    left: 30px;
    background-color: #D4AF37;
    /* Makaan primary color */
    animation: pulse-call 2s infinite;
    animation-delay: 1s;
    /* stagger animation */
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-call {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

@media (max-width: 768px) {
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .call-icon {
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-icon {
        bottom: 80px;
        left: 20px;
        right: auto;
    }
}

/* ==========================================================================
   Full Website Responsive Fixes
   ========================================================================== */

/* Very Small Devices (Phones, less than 576px) */
@media (max-width: 575.98px) {
    .display-3 {
        font-size: 2.5rem !important;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .header .p-5 {
        padding: 2rem 1rem !important;
        text-align: center;
    }

    .about-img {
        padding: 2rem 0 !important;
    }

    .about-img::before {
        display: none;
    }

    .search-bar .col-md-4 {
        margin-bottom: 10px;
    }

    .container-fluid.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Fix Carousel Images on Mobile */
    .header-carousel .owl-carousel-item img {
        height: 300px;
        object-fit: cover;
    }

    /* Category Boxes */
    .cat-item .p-4 {
        padding: 1.5rem !important;
    }

    /* Footer adjustments */
    .footer .col-lg-3,
    .footer .col-md-6 {
        margin-bottom: 30px;
        text-align: center;
    }

    .footer .d-flex.pt-2 {
        justify-content: center;
    }

    .footer .copyright {
        text-align: center;
    }

    /* Testimonial slider adjustment */
    .testimonial-carousel {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Small Devices (Tablets, 576px and up to 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .display-3 {
        font-size: 3rem !important;
    }

    .display-4 {
        font-size: 2.5rem !important;
    }

    .header .p-5 {
        padding: 3rem !important;
        text-align: center;
    }

    .header-carousel .owl-carousel-item img {
        height: 400px;
        object-fit: cover;
    }

    .footer .col-lg-3,
    .footer .col-md-6 {
        margin-bottom: 30px;
    }
}

/* Medium Devices (Desktops, 768px and up to 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .display-3 {
        font-size: 3.5rem !important;
    }

    .header .p-5 {
        padding: 3rem !important;
    }
}

/* General Layout Fixes for Mobile */
@media (max-width: 991.98px) {

    /* Align buttons and search consistently on mobile */
    .btn_active {
        width: 100%;
        margin-top: 10px;
    }

    .cssbuttons-io-button {
        margin: 0 auto;
    }

    .nav-pills {
        justify-content: center !important;
        margin-top: 20px;
    }

    .nav-pills .nav-item {
        margin-bottom: 10px;
    }
}

/* Fix properties grid images to maintain aspect ratio */
.property-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Ensure images don't stretch */
img {
    max-width: 100%;
    height: auto;
}