:root,
.c-app {
    --primary: #3e3edd !important;
    --primary-light: #21618c;
    --secondary: #2D2D45;
    --success: #2eb85c;
    --info: #39f;
    --warning: #f9b115;
    --danger: #e55353;
    --light: #ebedef;
    --dark: #383c44;
    --border-radius: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --accent: #f5f3fa;
    --transition-speed: 0.3s;
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

:root {
    --home-accent: #f5f3fa;
}

body {
    color: #333;
    background-color: #fff;
    font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif;
}

.btn-primary:hover {
    background-color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(148, 118, 182, 0.3);
}

.object-fit-cover {
    object-fit: cover !important;
}

.object-fit-contain {
    object-fit: contain !important;
}

.bs-icon {
    width: 20px !important;
    height: 20px !important;
}

.bs-icon.bs-icon-lg {
    width: 26px !important;
    height: 26px !important;
}

.c-app {
    color: #282828;
    --color: #282828;
}

.form-control {
    color: #272727 !important;
}

.uppy-Dashboard-browse {
    background: transparent;
    border: none;
}

.uppy-Dashboard-Item-progressIndicator,
.uppy-StatusBar-actionCircleBtn,
.uppy-Dashboard-Item-action {
    border: 0;
    background: transparent;
}

.uppy-c-btn {
    border: 0;
    border-radius: 4px;
}

.hover-mono > img {
    filter: grayscale(100%);
    transition-duration: .5s;
    cursor: pointer;
}

.hover-mono > img:hover {
    filter: none;
    transition-duration: .5s;
}

.font-light {
    font-weight: lighter !important;
}

.font-light-200 {
    font-weight: 200 !important;
}

.font-light-300 {
    font-weight: 300 !important;
}

.font-regular {
    font-weight: 400 !important;
}

.dp-text {
    text-align: inherit !important;
    color: #000;
    /* text-shadow: 0px 2px 2px #000; */
}

.text-shadow {
    text-shadow: 0px 2px 2px rgba(0, 0, 0, .8);
}

.text-shadow-light {
    text-shadow: 0px 1px 2px rgba(255, 255, 255, .8);
}

.c-header {
    transition: .5s !important;
    font-family: 'Julius Sans One', 'Open Sans', sans-serif;
}

.c-header-transparent {
    background-color: rgba(255, 255, 255, .5);
}

.c-header-transparent:hover {
    background-color: rgba(255, 255, 255, 1);
}

.home-header {
    font-size: 3rem;
    font-weight: 700;
}

.home-sub-header {
    font-size: 1.5rem;
}

.bg-content {
    overflow: hidden;
    position: relative;
}

.bg-content:after {
    top: 0;
    left: 100%;
    width: 100%;
    bottom: 0;
    background: #000;
    position: absolute;
    transform: skew(30deg);
    transform-origin: bottom;
    background: #fff;
}

.login-form {
    min-width: 350px;
}

.hover-slide-left,
.hover-slide-right {
    transition: .3s background;
}

.hover-slide-left:hover {
    background-position-x: -70% !important;
}

.hover-slide-right:hover {
    background-position-x: 170% !important;
}


/* Navbar */

.c-header .c-header-nav-item {
    text-transform: uppercase;
}

.hover-zoom {
    transition: .2s transform cubic-bezier(.68, -0.55, .27, 1.55);
}

.hover-zoom:hover {
    transform: scale(1.1);
    z-index: 10;
}

@media (min-width: 768px) {

    .hover-zoom-left {
        transform-origin: left;
    }

    .hover-zoom-right {
        transform-origin: right;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    }
}

.table-condensed tr,
.table-condensed td {
    white-space: nowrap;
}

tbody .day {
    width: 14.28571428571429% !important;
}

thead .switch {
    padding-top: 5px;
    padding-bottom: 5px;
}

tbody .year,
tbody .month,
tbody .day,
tbody .hour,
tbody .minute {
    border-radius: 0 !important;
}

tbody .year.active,
tbody .month.active,
tbody .day.active,
tbody .hour.active,
tbody .minute.active {
    background-color: #39f !important;
    background-image: none !important;
}

tbody .year:hover,
tbody .month:hover,
tbody .day:hover,
tbody .hour:hover,
tbody .minute:hover {
    background-color: #0d86ff !important;
    color: #fff;
}

.datetimepicker {
    font-size: 1rem !important;
}

.spin {
    animation: spin 2s infinite .5s;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.carousel-indicators.custom-carousel-indicators {
    display: block;
    height: auto;
    background: rgba(0, 0, 0, .5);
    width: 100%;
    margin: 0;
    overflow-x: scroll;
    position: absolute;
    left: 0;
    z-index: 10;
    bottom: 0;
    white-space: nowrap;
    overflow-y: hidden;
    padding: 10px;
}

.custom-carousel-indicators .btn-indicator {
    transition: .5s;
    opacity: .5 !important;
    background-size: cover;
    width: 100px;
    height: 100px;
}

.btn-indicator.active {
    opacity: 1 !important;
}

/* .carousel-item {
    transform: none;
    transition: transform;
}
.carousel-item.active {
    transform: scale(300%);
    transition: transform;
    transition-duration: 10s;
} */
.carousel-title-card {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 15px;
    background-color: rgba(255, 255, 255, .5);
}

.carousel-status-card {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    padding: 15px;
    background-color: rgba(255, 255, 255, .5);
}

.fc-day-future:hover {
    background-color: #39f;
}

.fc-day-future:hover.fc-day-other {
    color: rgba(255, 255, 255, .8);
}

.fc-day-future:hover.fc-day {
    color: rgba(255, 255, 255, 1);
}

.fc-button-primary {
    color: #fff !important;
    background-color: #39f !important;
    border-color: #39f !important;
}

.fc-button-primary:hover {
    color: #fff !important;
    background-color: #0d86ff !important;
    border-color: #0080ff !important;
}

.fc-button-primary:focus {
    color: #fff;
    background-color: #0d86ff;
    border-color: #0080ff;
    box-shadow: 0 0 0 0.2rem rgba(82, 168, 255, 0.5);
}

.fc-button-primary.fc-button-active {
    color: #fff !important;
    background-color: #0080ff !important;
    border-color: #0079f2 !important;
}

.fc .fc-button-primary:focus,
.fc .fc-button-primary:not(:disabled).fc-button-active:focus,
.fc .fc-button-primary:not(:disabled):active:focus {
    color: #fff !important;
    background-color: #0d86ff !important;
    border-color: #0080ff !important;
    box-shadow: 0 0 0 0.2rem rgba(82, 168, 255, 0.5) !important;
}

.fc-daygrid-event-dot {
    display: none !important;
}

.btn-youtube {
    background-color: #fe0000 !important;
}

.btn-youtube:hover,
.btn-youtube:focus {
    background-color: #db1b1b !important;
}

.btn-facebook {
    background-color: #0084ff !important;
}

.btn-facebook:hover,
.btn-facebook:focus {
    background-color: #026fd5 !important;
}

.btn-twitter {
    background-color: #28aae1 !important;
}

.btn-twitter:hover,
.btn-twitter:focus {
    background-color: #258db9 !important;
}

.btn-linkedin {
    background-color: #007bb6 !important;
}

.btn-linkedin:hover,
.btn-linkedin:focus {
    background-color: #014e73 !important;
}

.btn-pinterest {
    background-color: #cb1f27 !important;
}

.btn-pinterest:hover,
.btn-pinterest:focus {
    background-color: #bd060f !important;
}

.filename-toggle .filename {
    display: none;
}

.filename-toggle.filename-show .filename {
    display: inherit;
}

.btn-move {
    background-color: rgba(255, 255, 255, .5);
    border: none;
    color: #393939;
}

.btn-move:hover {
    background-color: rgba(255, 255, 255, .8);
    color: #000;
}

.reorder-wrapper .reorder-buttons {
    display: none;
}

.reorder-wrapper.reorder-show .reorder-buttons {
    display: inherit;
}

.c-sidebar-nav-dropdown-toggle.toggle-hidden::after {
    display: none;
}

.custom-sidebar {
    position: fixed;
    width: calc(50vw - 256px);
    height: 100%;
    background: #fff;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .8);
    transition: .5s ease-in-out;
    left: -100vw;
    padding-top: 3.75rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.custom-sidebar.show {
    left: 256px;
}

[data-dismis="custom-sidebar"] {
    /* margin-top: 50%;
    position: absolute;
    right: -15px;
    z-index: 1; */
    position: fixed;
    margin-right: auto;
    z-index: 1;
}

.has-read-more {
    transition: 1s ease-in-out;
}

.has-read-more.hide {
    max-height: 50vh;
    overflow: hidden;
}

.selling-card {
    min-height: 300px;
    color: #fff;
    text-shadow: 0px 1px 2px #000;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: 0s visibility .2s, 1s opacity 0s;
    cursor: pointer;
}

.selling-card .card-body {
    position: absolute;
    height: 100%;
    width: 100%;
}

.selling-card .selling-card-front,
.selling-card .selling-card-back {
    transition: .5s transform cubic-bezier(.68, -0.55, .27, 1.55);
}

.selling-card .selling-card-front {
    transform: scale(1);
}

.selling-card .selling-card-back {
    transform: scale(0);
}

.selling-card .selling-card-back p {
    font-size: 1.125rem;
}

@media (max-width: 991px) {
    .selling-card .selling-card-back p {
        font-size: 1rem;
    }
}

.selling-card:focus .selling-card-front,
.selling-card:hover .selling-card-front {
    transform: scale(0);
}

.selling-card:focus .selling-card-back,
.selling-card:hover .selling-card-back {
    transform: scale(1);
}

.selling-card-01 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/01.jpg');
}

.selling-card-02 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/02.jpg');
}

.selling-card-03 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/03.jpg');
}

.selling-card-04 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/04.jpg');
}

.selling-card-05 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/05.jpg');
}

.selling-card-06 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/06.jpg');
}

.selling-card-07 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/07.jpg');
}

.selling-card-08 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/08.jpg');
}

.selling-card-09 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/09.jpg');
}

.selling-card-10 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/10.jpg');
}

.selling-card-11 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/11.jpg');
}

.selling-card-12 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/12.jpg');
}

.selling-card-13 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/13.jpg');
}

.selling-card-14 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/14.jpg');
}

.selling-card-15 {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .45), rgba(20, 84, 147, 0.9)), url('../img/bg/15.jpg');
}

.c-sidebar .c-sidebar-nav-link,
.c-sidebar .c-sidebar-nav-dropdown-toggle {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 256'%3E%3Cpath fill='rgba(255, 255, 255, 0.5)' d='M155.454,0H512L356.546,256H0Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left;
    background-size: 150%;
    background-position-x: -200%;
}

.c-sidebar .c-sidebar-nav-link.c-active,
.c-sidebar .c-active.c-sidebar-nav-dropdown-toggle {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 256'%3E%3Cpath fill='rgba(255, 255, 255, 0.5)' d='M155.454,0H512L356.546,256H0Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left;
    background-size: 150%;
    background-position-x: -150%;
}

.c-sidebar .c-sidebar-nav-link:hover,
.c-sidebar .c-sidebar-nav-dropdown-toggle:hover {
    background-color: transparent;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 256'%3E%3Cpath fill='rgba(255, 255, 255, 0.5)' d='M155.454,0H512L356.546,256H0Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left;
    background-size: 150%;
    background-position-x: 5%;
}

.c-sidebar.c-sidebar-theme {
    background-color: #24598e;
}

.c-subheader {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.c-subheader .breadcrumb-item.active {
    font-weight: 600;
}

#fr-logo {
    display: none;
}

.carousel-wrapper {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    left: 0;
    z-index: 10000;
    display: none;
    background-color: rgba(0, 0, 0, .8);
}

.carousel-wrapper.show {
    display: inherit;
}

.carousel-wrapper .carousel-inner {
    margin-top: 1rem;
}

.carousel-wrapper .carousel-item.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.carousel-wrapper .carousel-item {
    display: none;
    min-height: calc(100vh - 1rem);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: auto;
    margin-bottom: auto;
    top: auto;
}

#propertyCardThumbnail {
    width: 150px;
    height: 150px;
}

#thumbMessage {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 1;
}

#thumbLoader {
    position: absolute;
    top: 50%;
    color: #FFF;
    display: none;
}

#thumbLoader.show {
    display: block;
}

#thumbLoader .bs-icon {
    width: 30px !important;
    height: 30px !important;
}

.thumbnail-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    width: 100%;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .8));
}

.rb-hero-h1 {
    font-size: 3rem;
    font-weight: 700 !important;
    text-shadow: 0px .5rem 1rem rgba(0, 0, 0, .5);
}

.rb-hero-h2 {
    font-size: 2.25rem;
    font-weight: 700 !important;
    text-shadow: 0px .5rem 1rem rgba(0, 0, 0, .5);
}

.rb-hero-h3 {
    font-size: 1.75rem;
    font-weight: 700 !important;
    text-shadow: 0px .5rem 1rem rgba(0, 0, 0, .5);
}

.rb-hero-hr {
    content: " ";
    height: 32px;
    width: 100%;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 32'%3E%3Cpath fill='rgba(255, 255, 255, 1)' d='M291.498,18.000 L291.498,13.000 L500.000,13.000 L500.000,18.000 L291.498,18.000 ZM234.444,16.000 L250.000,0.444 L265.556,16.000 L250.000,31.556 L234.444,16.000 ZM-0.000,13.000 L208.502,13.000 L208.502,18.000 L-0.000,18.000 L-0.000,13.000 Z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    border: 0;
    min-width: 450px;
    max-width: 450px;
}

.f-100 {
    font-weight: 100 !important;
}

.f-200 {
    font-weight: 200 !important;
}

.f-300 {
    font-weight: 300 !important;
}

.f-400 {
    font-weight: 400 !important;
}

.f-500 {
    font-weight: 500 !important;
}

.f-600 {
    font-weight: 600 !important;
}

.f-700 {
    font-weight: 700 !important;
}

.f-800 {
    font-weight: 800 !important;
}

.f-900 {
    font-weight: 900 !important;
}

.search-container {
    max-width: 700px;
    width: 90%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    padding: 2.5rem;
    /*margin: 10rem auto 5rem auto;*/
}

.search-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.search-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.search-subtitle {
    color: var(--dark);
    font-size: 1rem;
}

.search-input-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-input {
    flex: 3;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    min-width: 0;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(148, 118, 182, 0.2);
}

.search-button {
    background: var(--primary);
    font-weight: 600;
    transition: all 0.2s ease;
    width: 100%;
    flex: 1;
    padding: 12px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    min-width: 140px;
}

.search-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card .property-url {
    color: inherit;
    text-decoration: unset;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.property-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.property-status {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-type {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.property-address {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text);
}

.feature i {
    color: var(--primary);
}

.property-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.property-mls {
    font-size: 0.8rem;
    color: var(--gray);
}

.property-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    border: none;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: var(--primary);
    color: white;
}


/* Modern Pagination Styles with Fixed Arrow Borders */
.pagination {
    --active-color: var(--primary);
    --hover-color: var(--primary-dark);
    --text-color: #374151;
    --disabled-color: #d1d5db;
    --border-color: #e5e7eb;
    --transition-speed: 150ms;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--border-color);
    background-color: white;
}

/* Arrow-specific styles */
.pagination .page-link[aria-label="Previous"],
.pagination .page-link[aria-label="Next"] {
    border: 1px solid var(--primary-dark);
    background: var(--primary-dark);
    color: white;
    border-radius: 5px;
    padding: 0.5rem;
}

.pagination .page-link:hover:not(.active) {
    background-color: var(--hover-color);
    transform: translateY(-1px);
    border-color: var(--border-color);
}

.pagination .active .page-link {
    background-color: var(--active-color);
    color: white;
    box-shadow: 0 1px 3px rgba(148, 118, 182, 0.2);
    border-color: var(--active-color);
}

.pagination .disabled .page-link {
    color: var(--disabled-color);
    pointer-events: none;
    border-color: var(--border-color);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: white;
}

/* Modern ellipsis styling */
.pagination .disabled span.page-link {
    background: transparent;
    color: var(--text-color);
    pointer-events: none;
    min-width: auto;
    border: none;
}


/* Full-Width Gallery Styles */
.gallery-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* Main Gallery Full-Width */
.property-gallery {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border-radius: 14px;
}

.property-gallery .swiper-slide {
    width: 100%;
    height: 100%;
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

/* Improved Navigation Arrows */
.swiper-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px !important;
    height: 56px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    z-index: 10;
    border: none;
    outline: none;
    color: var(--primary) !important;
}

.swiper-button-prev {
    left: 30px;
}

.swiper-button-next {
    right: 30px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: white !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.swiper-button-prev svg,
.swiper-button-next svg {
    width: 24px !important;
    height: 24px !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

/* Image Counter */
.image-counter {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    backdrop-filter: blur(4px);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    z-index: 5;
}

.thumbnail-swiper {
    width: 100%;
    height: 100px;
    padding: 0 60px;
}

.thumbnail-swiper .swiper-slide {
    width: 120px;
    height: 80px;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.thumbnail-swiper .swiper-slide-thumb-active {
    opacity: 1;
    transform: translateY(-5px);
}

.thumbnail-container {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail-swiper .swiper-slide-thumb-active .thumbnail-container {
    border-color: white;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 480px) {
    .property-gallery {
        height: 50vh;
        min-height: 300px;
    }

    .image-counter {
        bottom: 20px;
        right: 20px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .thumbnail-gallery {
        padding: 15px 0;
    }

    .thumbnail-swiper {
        padding: 0 20px;
        height: 80px;
    }

    .thumbnail-swiper .swiper-slide {
        width: 60px;
        height: 50px;
    }
}

/* Modern Thumbnail Gallery */
.thumbnail-gallery {
    padding: 16px 40px;
    background: white;
}

.thumbnail-swiper {
    height: 100px;
}

.thumbnail-swiper .swiper-slide {
    width: 120px;
    height: 80px;
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.thumbnail-swiper .swiper-slide-thumb-active {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-container {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.thumbnail-swiper .swiper-slide-thumb-active .thumbnail-container {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modern Fallback States */
.single-image-fallback {
    width: 100%;
    height: 65vh;
    max-height: 800px;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f8f8;
}

.single-image-fallback .image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.no-image-placeholder {
    width: 100%;
    height: 65vh;
    max-height: 800px;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.placeholder-content {
    text-align: center;
    color: #64748b;
}

.placeholder-content svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.placeholder-content p {
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .property-gallery {
        height: 60vh;
        min-height: 400px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 44px;
        height: 44px;
    }

    .swiper-button-prev {
        left: 15px;
    }

    .swiper-button-next {
        right: 15px;
    }

    .thumbnail-swiper {
        padding: 0 40px;
    }

    .thumbnail-swiper .swiper-slide {
        width: 80px;
        height: 60px;
    }

    .property-gallery {
        height: 50vh;
        min-height: 400px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .thumbnail-gallery {
        padding: 12px 20px;
    }

    .thumbnail-swiper .swiper-slide {
        width: 80px;
        height: 60px;
    }
}

/* Enhanced Property Header Styles */
.property-header-container {
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.property-header-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    border: #ffffff !important;
}

.property-header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.address-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 80px;
    text-align: center;
}

.status-badge.for-sale {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #34d399;
}

.status-badge.pending {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.status-badge.sold {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 1.125rem;
    background: rgba(241, 245, 249, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    margin-top: 0.5rem;
    transition: background 0.2s ease;
}

.location:hover {
    background: rgba(241, 245, 249, 1);
}

.location-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1;
}

.price-sqft {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 500;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 2px solid #e2e8f0;
    margin-top: 0.75rem;
}


.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.meta-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.meta-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.3rem;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .property-header-container {
        padding: 1.5rem;
    }

    .price {
        font-size: 1.75rem;
    }
}

/* Main Content Layout */
.property-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1280px;
    /*margin: 0 auto;*/
    padding: 0 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-category {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem;
}

.feature-category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.category-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.feature-icon {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    color: var(--gray);
    margin-top: 0.2rem;
}

/* Contact Card */
.contact-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    position: sticky;
    top: 1.5rem;
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--dark);
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--primary-light);
}

/* Map */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    margin-top: 1rem;
}

/* Similar Properties */
.similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}


/* Responsive adjustments */
@media (max-width: 640px) {
    .pagination {
        gap: 0.25rem;
    }

    .pagination .page-link {
        min-width: 2rem;
        height: 2rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 992px) {
    .display-price .dp-text {
        text-align: center !important;
    }
}

@media (min-width: 992px) {
    .display-price .dp-text {
        text-align: end !important;
    }
}

@media (max-width: 768px) {
    .search-container {
        padding: 1.5rem;
    }

    .search-input-container {
        flex-direction: column;
    }

    .search-title {
        font-size: 1.5rem;
    }

    .property-image {
        height: 180px;
    }

    .property-details {
        padding: 1rem;
    }

    .property-price {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .property-container {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
    }
}


.modal-content {
    border-radius: 10px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.custom-form-group {
    display: flex;
    flex-direction: column;
}

.custom-form-group.full-width {
    grid-column: span 2;
}

.custom-form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
}

.custom-select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.custom-select:focus {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    outline: none;
}

.custom-btn {
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

.custom-btn.primary {
    background-color: var(--primary);
    color: #fff;
}

.custom-btn.primary:hover {
    background-color: var(--primary-dark);
}

.custom-btn.secondary {
    background-color: #6c757d;
    color: #fff;
}

.custom-btn.secondary:hover {
    background-color: #565e64;
}

.modal-header, .modal-footer {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    border-top: 1px solid #f0f0f0;
}

.modal-title {
    font-weight: 700;
    color: #333;
}

.modal-body {
    padding: 20px;
}

/*Ad card*/
.ad-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns content to the top */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background-color: #ffffff;
    max-width: 100%;
    padding: 0;
    height: 450px;

}

.ad-card-header {
    background-color: #f7f7f7;
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 6px 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    /*height: 40px; !* Fixed height for the header *!*/
    border-bottom: 1px solid #e0e0e0;
}

.ad-card-body {
    /*padding: 15px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ad-card-body {
        padding: 10px;
    }

    .ad-card {
        height: 400px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 576px) {
    .ad-card {
        margin: 15px;
        height: 350px;
    }
}


/*home page */
.hero-blog-container {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    overflow-y: auto;
    background-color: var(--home-accent); /* Using existing accent color */
}

/* Hero Section */
.hero-blog-container {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    overflow-y: auto;
    background-color: var(--home-accent);
}

/* Hero Section (Entire Left Side) */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
    flex: 1 1 50%;
}

/* Overlay for entire left section */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .7;
    z-index: -1;
}

/* Background image for entire left section */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-top-content {
    display: flex;
    gap: 1rem;
}

.hero-image {
    justify-content: center;
    align-items: center;
    display: flex;
}

.hero-content, .hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.testimonial-quote {
    width: 100%; /* Full width below both text and image */
    border-left: 5px solid var(--primary);
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 0.75rem;
    font-style: italic;
    color: #ffffff;
    position: relative;
    /*backdrop-filter: blur(5px);*/
    text-align: center;
    font-size: 1.50rem;
}

/*.testimonial-quote::before {
    content: '“';
    font-size: 4rem;
    color: rgba(148, 118, 182, 0.3);
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
}
*/
.testimonial-author {
    margin-top: 1rem;
    font-weight: 600;
    color: #ffffff;
}

/* Image Container on Left */
.hero-image {
    flex: 1 1 40%;
    margin-left: 2rem;
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    /*box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);*/
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Enhanced Text Content on Right */
.hero-content {
    flex: 1 1 85%;
    /*background: rgba(255, 255, 255, 0.1);*/
    padding: 0.5rem 1.5rem .5rem .5rem;
    border-radius: 1.5rem;
    z-index: 2;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 1.50rem;
    font-style: italic;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: clamp(.95rem, .6293rem + .4756vw, 1.2rem);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 300;
}

/* Enhanced CTA Button */
.hero-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 0.85rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(148, 118, 182, 0.3);
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(148, 118, 182, 0.4);
    color: #ffffff;
    text-decoration: unset;
}

/* Testimonial Quote */
.testimonial-quote {
    border-left: 5px solid var(--primary);
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    border-radius: 0.75rem;
    font-style: italic;
    color: #ffffff;
    position: relative;
    /*backdrop-filter: blur(5px);*/
}

.testimonial-quote::before {
    content: '“';
    font-size: 4rem;
    color: rgba(148, 118, 182, 0.3);
    position: absolute;
    top: -1rem;
    left: -1rem;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: 600;
    color: #ffffff;
}

/* Right Side (Updated for Services) */
.latest-blog-right {
    flex: 1 1 50%;
    padding: 4rem 3rem;
    background-color: #fff;
}

.services-header-container {
    display: flex;
    flex-direction: column;
    /*align-items: end; !* center image and title horizontally *!*/
    position: relative;
}

.price-image-container {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.price-image-container {
    position: relative;
    display: inline-block;
}

.discount-tag {
    position: absolute;
    top: -2.9rem;
    right: 1.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    min-height: 30px;
    background: #ffe14d;
    border: 3px solid #ffe14d;
    border-radius: 14px 14px 12px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    transform: skew(-12deg) rotate(-14deg);
    padding: 0.12rem 0.5rem 0.22rem 0.5rem;
    font-family: 'Arial Black', Arial, sans-serif;
    overflow: visible;
}

.discount-tag > div {
    display: block;
    transform: skew(12deg); /* Unskew text inside */
    text-align: center;
}

.discount-title {
    font-size: 0.48rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 0.03rem;
    color: #222;
}

.discount-price {
    font-size: 0.78rem;
    color: #e53935;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0.03rem;
}

.discount-only {
    font-size: 0.6rem;
    color: #111;
    font-weight: 900;
    letter-spacing: 1px;
    margin-top: 0.03rem;
}

.discount-tag::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -16px; /* Move arrow further down */
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 18px solid #ffe14d;
    z-index: 2;
}

.discount-tag::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -21px; /* Move border further down */
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 22px solid #ffe14d;
    z-index: 1;
}

.services-wrapper h2 {
    position: relative;
    display: inline-block;
    font-size: 2.3rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    padding: 0.5rem 3.5rem;
    background-color: var(--primary);
    margin: 1rem auto 0 auto;
    text-align: center;
    letter-spacing: 0.1rem;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.1;
    clip-path: polygon(2% 10%, 100% 0, 95% 100%, 0 95%);
    -webkit-clip-path: polygon(2% 10%, 100% 0, 95% 100%, 0 95%);
    z-index: 4;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 1.8rem 2rem; /* row and column gaps */
}

.services-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(148, 118, 182, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.services-item:hover {
    transform: translateX(8px);
}

.service-image-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 10px; /* match image rounding */
    overflow: visible; /* allow pseudo-elements outside */
    width: 120px;
    height: 120px;
}

/* Top-left corner border */
.service-image-wrapper::before {
    content: "";
    position: absolute;
    top: 9px;
    left: -10px;
    width: 20%;
    aspect-ratio: 1;
    border-top: 4px solid var(--primary);
    border-left: 4px solid var(--primary);
    border-bottom: none;
    border-right: none;
    pointer-events: none;
    box-sizing: border-box;
}

/* Bottom-right corner border */
.service-image-wrapper::after {
    content: "";
    position: absolute;
    bottom: 23px;
    right: -11px;
    width: 20%;
    aspect-ratio: 1;
    border-bottom: 4px solid var(--primary);
    border-right: 4px solid var(--primary);
    border-top: none;
    border-left: none;
    pointer-events: none;
    box-sizing: border-box;

}

.services-item img {
    width: 100px;
    height: 69px;
    object-fit: cover;
    margin-top: 1.2rem;
    transform-origin: center;
    transform: rotate(-2.5deg);
    transition: all 175ms ease-in-out;
}

.services-item:hover img {
    transform: rotate(-2.5deg) scale(1.05);
}

.services-item h5 {
    color: #0a0c0e;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.6rem 0;
    position: relative; /* For shape behind wording */
}

.services-item h5::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -1rem;
    width: 100%;
    height: 60%;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    z-index: -1;
    transform: translateY(-50%) rotate(-5deg); /* Slight tilt for dynamic effect */
}

.services-item p {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.8rem;
}

.services-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.services-item a:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-blog-container {
        flex-direction: column;
    }

    .hero-section {
        flex: 1 1 100%;
        padding: 3rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-bottom: 2rem;
        margin-left: 0;
        width: 100%;
        max-width: 400px;
    }

    .hero-content {
        flex: 1 1 100%;
        padding: 2rem;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .services-wrapper h2 {
        font-size: 1.8rem;
    }

    .services-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-item img {
        width: 100%;
        height: 180px;
    }
}

.price-box-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.price-box-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-tag {
    background: var(--primary);
    color: #ffffff;
    font-family: 'Arial Black', Arial, sans-serif;
    font-weight: 900;
    text-align: center;
    padding: 1rem 1rem;
    border-radius: 15px 15px 15px 5px;
    position: relative;
    width: 120px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: skew(-10deg);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-tag:hover {
    transform: skew(-10deg) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.price-tag-text-top {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    color: #ffffff;
    transform: skew(10deg);
}

.price-tag-amount {
    font-size: 1rem;
    color: #0a0c0e; /* Red color for price */
    line-height: 1;
    transform: skew(10deg);
}

.price-tag-text-bottom {
    font-size: 1rem;
    font-weight: 900;
    color: #ffffff;
    margin-top: 0.2rem;
    transform: skew(10deg);
}

/* Responsive */
@media (max-width: 992px) {
    .price-box-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .price-box-list {
        grid-template-columns: 1fr;
    }
}

/*navbar*/
:root {
    --navbar-accent: #f5f3fa;
}

.navbar-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    padding: 0.75rem 0;
    width: 100%;
    z-index: 1030;
}

.navbar-fixed {
    position: sticky;
    top: 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar-toggle {
    background: transparent;
    border: none;
    color: var(--primary);
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.navbar-toggle:hover {
    color: #7e5fa0;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo-svg {
    width: 200px; /* Increased from 160px */
    height: 60px;
    /*width: 160px;*/
    /*height: 48px;*/
    color: #0a0c0e;
}

.header-navbar-nav {
    display: flex;
    gap: 2.2rem;
    margin-left: 2rem;
}

.navbar-link {
    color: #333;
    /*font-weight: 600;*/
    font-size: 1.2rem;
    text-decoration: none;
    padding: 1rem 0;
    position: relative;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.navbar-link:hover {
    color: var(--primary);
    text-decoration: unset !important;
}

.navbar-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-auth {
    display: flex;
    align-items: center;
}

.navbar-btn {
    padding: 0.7rem 1.7rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.navbar-btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.navbar-btn-outline:hover {
    background-color: var(--primary);
    color: white;
    text-decoration: unset;
}

.navbar-dropdown {
    position: relative;
}

.navbar-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
}

.navbar-icon {
    width: 24px;
    height: 24px;
}

.navbar-icon-sm {
    width: 16px;
    height: 16px;
}

.navbar-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-width: 180px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    z-index: 1001;
}

.navbar-dropdown:hover .navbar-dropdown-menu,
.navbar-dropdown:focus-within .navbar-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #333;
    font-size: 1.05rem;
    text-decoration: none;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.navbar-dropdown-item:hover {
    background-color: var(--navbar-accent);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .navbar-logo {
        margin: 0 auto;
    }

    .navbar-auth {
        display: none;
    }

    .navbar-nav {
        display: none !important;
    }
}

.section-title {
    background: #2c3e50;
    /*color: #2c3e50;*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #5dade2, #21618c);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.modern-input {
    font-size: 1.25rem;
    padding: 1rem 4rem 1rem 1.5rem;
    border-radius: 1rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    width: 100%;
}

.modern-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(148, 118, 182, 0.2);
    outline: none;
}

.search-btn {
    position: absolute;
    right: 2.7rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--primary);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 20px rgba(148, 118, 182, 0.35);
}

@media (max-width: 576px) {
    .modern-input {
        padding-right: 8rem;
        font-size: 1rem;
    }

    .search-btn {
        right: 1rem;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}


/* Blog Posts CSS */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.blog-post {
    background: #f0f0f5; /* Light subtle color different from white */
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h5 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-list {
        grid-template-columns: 1fr;
    }

    .navbar-logo-svg {
        width: 180px;
        height: 54px;
    }
}

.service-text {
    position: relative;
    padding-top: 2rem; /* space for badge */
}

.discount-badge {
    position: absolute;
    top: 0.5rem;
    right: 0;
    background-color: #007bff; /* Bootstrap primary blue */
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.3rem 1rem 0.3rem 1rem;
    border-radius: 0 0 0 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.5);
    display: inline-flex;
    align-items: center;
    user-select: none;
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.discount-badge .arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5rem;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid white; /* white arrow pointing right */
}

.service-text {
    position: relative;
    padding-top: 2rem; /* space for badge */
}

.discount-badge {
    position: absolute;
    top: -10px;
    right: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #ff4e50 100%);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.3rem 1rem;
    border-radius: 0 0 0 0.5rem;
    box-shadow: 0 4px 6px rgba(255, 78, 80, 0.4);
    transform: skew(-20deg);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Footer container */
.footer-container {
    background-color: #ffffff;
    color: #333;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    border-top: 1px solid #e2e8f0;
}

/* Logo column */
.footer-logo-col {
    border-right: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .footer-logo-col {
        border-right: none;
        margin-bottom: 2rem;
    }
}

/* Logo link */
.footer-logo-link svg {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
    transition: filter 0.3s ease;
}

.footer-logo-link:hover svg {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
}

/* Copyright text */
.footer-copy {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

/* Footer nav */
.footer-nav {
    padding-left: 0;
    margin: 0;
}

/* Footer links */
.footer-link {
    color: #4b5563;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.3rem 0;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 6px;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: #2563eb;
    /*background-color: #dbeafe;*/
    text-decoration: none;
}

/* Footer icons */
.footer-icon {
    fill: #6b7280;
    transition: fill 0.3s ease;
    flex-shrink: 0;
}

.footer-link:hover .footer-icon {
    fill: #2563eb;
}

/* Remove default nav-link padding */
.nav-link {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Responsive spacing */
@media (max-width: 767.98px) {
    .footer-container .col-md-3 {
        border-right: none !important;
        padding-bottom: 1.5rem;
    }
}


.c-main {
    padding: 0;
}

body {
    background-color: var(--light);
    line-height: 1.6;
}

/* Modern Hero Styles */
.about-content-hero {
    padding: 5rem 2rem;
    background: #f8f9ff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-content {
    position: relative;
    padding-right: 2rem;
}

.about-hero-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(62, 62, 221, 0.1);
    background: #fff;
}

.about-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.about-hero-title {
    font-size: 2.5rem;
    color: #2d2d45;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-hero-title em {
    color: #3e3edd;
    font-style: normal;
    display: block;
    margin-bottom: 0.5rem;
}

.about-hero-text {
    font-size: 1.1rem;
    color: #4a4a6a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-highlight-block {
    padding: 1.5rem;
    background: rgba(62, 62, 221, 0.05);
    border-left: 4px solid #3e3edd;
    border-radius: 8px;
    margin: 2rem 0;
}


@media (max-width: 1024px) {
    .about-hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-hero-content {
        padding-right: 0;
    }

    .about-highlight-block {
        margin: 1.5rem auto;
        max-width: 600px;
    }

    .about-hero-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-content-hero {
        padding: 3rem 1.5rem;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .tagline {
        font-size: 0.9rem;
    }
}

/* Enhanced Feature Cards */
.about-key-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 8rem auto;
    padding: 0 1rem;
}

.about-feature-card {
    background: #F8F9FF;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-speed);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.about-feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(62, 62, 221, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    transition: all var(--transition-speed);
}

.about-feature-card:hover .about-feature-icon {
    background: var(--primary);
    color: #F8F9FF;
}

.about-feature-card h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Modern Contact Form */
.about-contact-section {
    /*background: #F8F9FF;*/
    padding: 2rem 2rem;
    margin-top: 4rem;
}

.about-contact-card {
    background: #F8F9FF;
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.about-contact-card input,
.about-contact-card textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e0e0ff;
    border-radius: 8px;
    transition: all var(--transition-speed);
    font-size: 1rem;
}

.about-contact-card input:focus,
.about-contact-card textarea:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(62, 62, 221, 0.1);
}

/* Modern Button Styles */
.about-btn-modern {
    background: var(--primary);
    color: #F8F9FF;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition-speed);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.about-btn-modern:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-key-features {
        margin: 4rem 0;
    }

    .about-contact-card {
        padding: 2rem;
    }
}


.pricing-hero-content {
    max-width: 800px; /* Constrain content width */
    margin: 0 auto;
    padding: 1rem; /* Minimal padding */
}

.pricing-hero-section h1 {
    font-size: 3rem; /* Large, impactful title */
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.pricing-hero-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #e0e0e0;
    opacity: 0.9;
}

.pricing-hero-section .price-display {
    display: inline-block;
    padding: 1rem 2.5rem; /* Adjusted padding */
    border-radius: 10px;
    margin-bottom: 3rem;
    background-color: #4CAF50; /* Vibrant green */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pricing-hero-section .price-display h2 {
    font-size: 4rem; /* Prominent price */
    font-weight: 600;
    color: white;
    margin: 0;
    letter-spacing: -2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pricing-hero-section .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 1.2rem 3.5rem;
    font-size: 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
}

.pricing-hero-section .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 123, 255, 0.4);
}

/* Section Styling */
.section-spacing {
    padding: 5rem 0; /* Consistent padding for sections */
}

.pricing-section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
}

/* pricing-card Styling */
.pricing-card {
    border: none;
    border-radius: 1rem; /* More rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Softer, larger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card-body {
    padding: 2.5rem; /* More padding inside pricing-cards */
}


.ai-chat-container {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 2px 24px 0 rgba(80, 120, 200, 0.10);
    padding: 2.5rem 2rem 1.5rem 2rem;
}

.ai-input-row {
    background: #f4f6fb;
    border-radius: 2rem;
    padding: 0.5rem 0.5rem 0.5rem 1.2rem;
    margin-top: 1.5rem;
}

.ai-input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.13rem;
    padding: 0.7rem 0;
    box-shadow: none;
}

.ai-input:focus {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.ai-send-btn {
    transition: background 0.2s;
}

.ai-send-btn:hover, .ai-send-btn:focus {
    background: #2746a0 !important;
    color: #fff !important;
}

.answer-card {
    background: linear-gradient(90deg, #f8fafc 60%, #e9f0ff 100%);
    border-radius: 1.5rem;
    box-shadow: 0 2px 16px 0 rgba(80, 120, 200, 0.08);
    padding: 1.5rem 2rem;
    font-size: 1.13rem;
    color: #2d3a4a;
    margin-bottom: 1.2rem;
    animation: fadeIn 0.5s;
    word-break: break-word;
}

.answer-label {
    font-weight: 600;
    color: #3b5bdb;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.answer-label svg {
    margin-right: 0.5em;
}

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


.eval-chat-bg {
    min-height: 100vh;
}

.eval-chat-container {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem 1.5rem 2rem;
    max-width: 700px;
}

.eval-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.eval-form-group {
    flex: 1 1 180px;
    min-width: 150px;
    display: flex;
    flex-direction: column;
}

.eval-label {
    font-weight: 500;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.eval-input {
    background: #f4f6fb;
    border-radius: 0.8rem;
    border: 1.5px solid #e0e6ed;
    font-size: 1.08rem;
    padding: 0.7rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.eval-input:focus {
    border-color: #3b5bdb;
    box-shadow: 0 0 0 2px rgba(16, 59, 241, 0.53);
}

.eval-btn {
    background: #3b5bdb;
    color: #fff;
    border-radius: 2rem;
    font-weight: 600;
    border: none;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    margin-top: 1.2rem;
    box-shadow: 0 2px 8px 0 rgba(27, 127, 90, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.eval-btn:hover, .eval-btn:focus {
    background: #103bf1;
    color: #fff;
    box-shadow: 0 4px 16px 0 rgba(27, 127, 90, 0.13);
}

.eval-card {
    background: linear-gradient(90deg, #e6f9f1 60%, rgba(16, 59, 241, 0.32) 100%);
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px 0 rgba(27, 127, 90, 0.08);
    padding: 1.2rem 1.5rem;
    font-size: 1.13rem;
    color: #103bf1;
    margin-bottom: 1.2rem;
    animation: fadeIn 0.5s;
    word-break: break-word;
    border-left: 6px solid #3b5bdb;
}

.eval-label {
    font-weight: 600;
    color: #3b5bdb;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.eval-label svg {
    margin-right: 0.5em;
}

.eval-address {
    font-size: 0.98rem;
    color: #3b5bdb;
    margin-bottom: 0.2rem;
}

.eval-time {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.2rem;
}

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

.service-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
    position: relative;
    cursor: pointer;
    white-space: normal;
}

/* Fancy Tooltip Styles */
.fancy-tooltip {
    position: fixed;
    z-index: 9999;
    background: linear-gradient(135deg, #222 80%, #4e54c8 100%);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 1rem;
    min-width: 220px;
    max-width: 350px;
    box-shadow: 0 8px 32px rgba(30, 30, 60, 0.18), 0 1.5px 8px rgba(0, 0, 0, 0.10);
    white-space: pre-line;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.18s cubic-bezier(.4, 0, .2, 1), transform 0.18s cubic-bezier(.4, 0, .2, 1);
    backdrop-filter: blur(2px);
    border: 1px solid #4e54c8;
}

.fancy-tooltip.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
