.main-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Poppins', sans-serif;
    z-index: 2;
    position: relative;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    transition: 0.3s;
}

/* The light blue pill for the Blog item */
.nav-item:hover, 
.nav-item.active-pill {
    background-color: var(--primary-light);
    color: var(--primary) !important;
    border-radius: 50px;
}

/* Right Side Styling */
.social-icons i {
    color: var(--primary);
    font-size: 18px;
}

.header-divider {
    width: 1px;
    height: 30px;
    background-color: #eee;
}

.hotline {
    color: var(--text-dark);
    font-weight: 600;
}

.hotline i {
    color: var(--primary);
}

.profile-icon i {
    font-size: 28px;
    color: var(--primary);
}

/* Adjustments for responsiveness */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        /* Hide for mobile - would need a burger menu */
    }
}
.search-filter-area {
    padding: 50px 0;
}

.search-wrapper {
    background-color: #eaf8ff;
    /* Light blue background */
    border-radius: 40px;
    padding: 30px;
    position: relative;
}

.main-search-bar {
    background: #fff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.search-input-group {
    flex: 1;
    padding: 10px 20px;
    border-right: 1px solid #eee;
}

.search-field,
.search-select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    color: #555;
    background: transparent;
}

.property-search-card {
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    padding: 22px 26px 12px;
    max-width: 1120px;
}

.property-search-row {
    display: grid;
    align-items: center;
    gap: 20px;
}

.property-search-top-row {
    grid-template-columns: minmax(260px, 1fr) auto;
    margin-bottom: 18px;
}

.property-search-bottom-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 0.75fr) auto;
}

.property-keyword-field {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 42px;
    padding-right: 22px;
    border-right: 1px solid #e7e7e7;
    min-width: 0;
}

.property-keyword-field i {
    color: #b5b5b5;
    font-size: 16px;
}

.property-status-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.property-status-pill {
    margin: 0;
    cursor: pointer;
}

.property-status-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.property-status-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    min-height: 34px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #f1f1f1;
    color: #111;
    font-size: 14px;
    font-weight: 500;
}

.property-status-pill input:checked + span {
    background: var(--primary);
    color: #fff;
}

.property-select-field {
    min-height: 40px;
    padding-right: 18px;
    border-right: 1px solid #e7e7e7;
    min-width: 0;
}

.property-select-field .search-select {
    height: 40px;
    cursor: pointer;
}

.property-search-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}

.property-search-card .btn-advance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e9f8ff;
    color: var(--primary);
    border: none;
    min-height: 36px;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
}

.property-search-card .btn-search-submit {
    min-height: 36px;
    padding: 8px 24px;
    border-radius: 999px;
}

.property-search-card .search-actions {
    margin-top: 0;
}

.property-search-card .features-toggle-btn {
    left: 0;
    bottom: -30px;
    transform: none;
    border-radius: 0 0 14px 14px;
}

.property-search-card .features-expandable.active {
    max-height: 1200px;
}

/* Feature Tags Styling */
.features-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-top: 0;
}

.features-expandable.active {
    max-height: 500px;
    /* Adjust based on content */
    padding-top: 25px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    border: 1.5px solid var(--primary);
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
}

/* Action Buttons */
.search-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.features-toggle-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 0 0 15px 15px;
    /* Matches tab look */
    position: absolute;
    top: 100%;
    left: 50px;
    transform: translateY(-20px);
    /* Overlaps bottom slightly */
    font-size: 14px;
    font-weight: 500;
}

/* Repositioning the toggle button when expanded */
.search-wrapper:has(.active) .features-toggle-btn {
    position: relative;
    top: auto;
    left: 0;
    transform: none;
    border-radius: 10px;
}

.action-buttons-right {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.btn-advance {
    border: 2px solid var(--primary);
    background: #eaf8ff;
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
}

.btn-search-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 40px;
    border-radius: 30px;
    font-weight: 600;
}

.main-footer {
    background-color: var(--primary-light);
    padding: 80px 0 30px;
    color: #666;
    position: relative;
    overflow: hidden;
}

/* Background image decoration placeholder (the blue leaves/birds) */
.main-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('../image/footer.png') no-repeat bottom right;
    pointer-events: none;
    opacity: 0.6;
    z-index: 1;
}

.main-footer .container{
    z-index: 2;
    position: relative;
}

.footer-socials a i {
    color: var(--primary);
    font-size: 18px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
}

/* Search Input Styling */
.footer-search-group {
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    padding: 5px;
}

.footer-search-input {
    border: none;
    padding: 10px 20px;
    flex-grow: 1;
    outline: none;
    width: calc( 100% - 120px );
}

.footer-search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    width: 120px;
}

/* Help Bar Styling */
.help-bar-container {
    background: rgb(216 242 255);
    border-radius: 60px;
    padding: 25px;
}

.contact-pill {
    background: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.contact-pill i {
    color: var(--primary);
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 13px;
}

/* Scroll To Top Button */
.scroll-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 5px;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
    z-index: 1000;
    transition: 0.3s;
}

.scroll-btn:hover {
    background: #0086cc;
    transform: translateY(-5px);
}
/* Isolated Blog Styles */
.blog-section-wrapper {
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
}

/* Breadcrumb */
.blog-breadcrumb {
    font-size: 14px;
    color: #666;
}

.blog-breadcrumb a {
    text-decoration: none;
    color: #666;
}

.blog-breadcrumb i {
    font-size: 10px;
    margin: 0 5px;
}

.blog-breadcrumb .active {
    color: var(--primary);
    font-weight: 500;
}

.blog-main-title {
    font-weight: 700;
    color: #222;
}

.blog-main-subtitle {
    color: #888;
    font-size: 15px;
}

/* Post Card */
.blog-post-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.post-image-box {
    position: relative;
}

.author-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.author-badge img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.post-body {
    padding: 25px;
}

.post-meta {
    font-size: 13px;
    color: var(--primary);
}

.category-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--primary);
}

.post-title {
    font-size: 22px;
    font-weight: 700;
}

.post-title a {
    color: #222;
    text-decoration: none;
}

/* Pagination */
.page-num,
.page-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f4f8fb;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.page-num.active {
    background: var(--primary);
    color: #fff;
}

.page-num.disabled,
.page-next.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.page-next {
    width: auto;
    border-radius: 20px;
    padding: 0 20px;
}

/* Sidebar Widgets */
.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Sidebar Search */
.sidebar-search-box {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50px;
    padding: 5px;
}

.sidebar-search-box input {
    border: none;
    outline: none;
    padding-left: 20px;
}

.btn-blue-search {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

/* Recent Posts List */
.recent-posts-list {
    list-style: none;
    padding: 0;
}

.recent-posts-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 14px;
}

.recent-posts-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.recent-posts-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* Agent Card */
.agent-avatar {
    position: relative;
    margin-right: 15px;
}

.agent-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.verify-icon {
    position: absolute;
    bottom: 5px;
    right: 0;
    color: var(--primary);
    background: #fff;
    border-radius: 50%;
}

.agent-details h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.agent-details a,
.agent-details p {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    margin: 0;
}

.agent-details i {
    color: var(--primary);
    width: 20px;
}

/* Property Types */
.property-types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.type-item {
    font-size: 14px;
    position: relative;
    padding-left: 15px;
}

.type-item::before {
    content: "—";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.type-item a {
    text-decoration: none;
    color: #333;
}

/* Contact Widget Styling */
.contact-form-box {
    background: #eaf8ff;
    padding: 25px;
    border-radius: 20px;
}

.input-wrap {
    background: #fff;
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.input-wrap i {
    color: #ccc;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.input-wrap input,
.input-wrap textarea {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
}

.textarea-wrap {
    border-radius: 20px;
    align-items: flex-start;
}

.textarea-wrap textarea {
    height: 100px;
    padding-top: 5px;
    resize: none;
}

.gdpr-check {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #555;
    margin-bottom: 20px;
}

.btn-submit-message {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
}
/* Sidebar Widget General */
.right-widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
}

/* Property Types Styling */
.right-property-types a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 12px;
    transition: 0.3s;
}

.right-property-types a i {
    color: var(--primary);
    font-size: 12px;
    margin-right: 8px;
}

.right-property-types a:hover {
    color: var(--primary);
}

/* Featured Property Card */
.right-property-card {
    background: #eaf8ff;
    /* Light blue background from your image */
    border-radius: 30px;
    padding: 25px;
    max-width: 400px;
}

.right-prop-name {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 5px;
}

.right-prop-location {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
}

.right-prop-location i {
    color: var(--primary);
}

/* Image Container */
.right-card-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.right-main-img {
    width: 100%;
    display: block;
    height: 220px;
    object-fit: cover;
}

/* Badges */
.right-badge-group {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.right-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.right-badge.white {
    background: #fff;
    color: #333;
}

.right-badge.blue {
    background: var(--primary);
    color: #fff;
}

.right-build-year {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Overlay Controls */
.right-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.7);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.right-nav-btn.prev {
    left: 10px;
}

.right-nav-btn.next {
    right: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
}

.right-card-footer-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-price {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.right-action-circle {
    width: 32px;
    height: 32px;
    background: #333;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    margin-left: 5px;
}

/* Pagination Dots */
.right-card-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.right-card-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.3;
}

.right-card-dots .dot.active {
    opacity: 1;
    border: 1px solid var(--primary);
    background: transparent;
    transform: scale(1.2);
}
/* Contact Page Scoping */
.right-contact-page {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.right-breadcrumb {
    font-size: 14px;
    color: #888;
}

.right-breadcrumb a {
    text-decoration: none;
    color: #888;
}

.right-breadcrumb .active {
    color: var(--primary);
    font-weight: 500;
}

.right-page-title {
    font-weight: 700;
    font-size: 32px;
}

/* Map Overlay */
.right-map-container {
    position: relative;
    padding-bottom: 80px;
    /* Space for the floating info box */
}

.right-info-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 85%;
    border-radius: 20px;
    padding: 30px;
    z-index: 10;
}

.right-info-icon {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 10px;
}

/* Contact Form */
.right-contact-form-wrapper {
    background-color: #eaf8ff;
    padding: 40px;
    border-radius: 30px;
}

.right-input-group {
    background: #fff;
    border-radius: 40px;
    display: flex;
    align-items: center;
    padding: 5px 20px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.right-input-group:focus-within {
    border-color: var(--primary);
}

.right-input-group i {
    color: #ccc;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.right-input-group .form-control {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 10px 0;
}

.right-gdpr-box {
    background: rgba(0, 168, 255, 0.05);
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid rgba(0, 168, 255, 0.1);
    font-size: 13px;
    color: #666;
}

.right-btn-send {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.right-btn-send:hover {
    background: #0086cc;
}

/* Partners Section */
.right-section-title {
    font-weight: 700;
    font-size: 24px;
}

.right-partner-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 100px; */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f1f1;
    transition: 0.3s;
}

.right-partner-card img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);    
    opacity: 1;
}

.right-partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.right-partner-card:hover {
    border: 1px solid var(--primary);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .right-info-overlay {
        position: static;
        transform: none;
        width: 100%;
        margin-top: -50px;
    }

    .right-info-overlay .border-end {
        border-end: none !important;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}
.home-page .search-filter-area{
    position: absolute;
    top: 180px;
    left: 0;
    z-index: 10;
}
.home-page .search-wrapper {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 0 0 26px 26px;
}
.home-page .sweet-home,
.home-page .all-beds-option,
.home-page .all-status-option,
.home-page .all-status-btns{
    display: block !important;
}
.choose-property .btn{
    border-radius: 26px;
}
.choose-property{
    gap: 10px;
    display: flex;
    align-items: center;
    background-color: var(--primary-light);
    border-radius: 20px;
    padding: 40px;
}

.rhea-ultra-main-detail-wrapper {
    position: absolute;
    z-index: 99999;
    bottom: -60px;
    left: 0;
    right: 0;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rhea-ultra-main-slider-detail {
    position: relative;
    background: #fff;
    max-width: 1140px;
    width: 100%;
    border-radius: 25px;
    display: flex;
    flex-wrap: wrap;
    -moz-column-gap: 60px;
    column-gap: 60px;
    row-gap: 25px;
    padding: 35px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 0px 7px -2px rgba(0, 0, 0, .19);
    -webkit-box-shadow: 0px 0px 7px -2px rgba(0, 0, 0, .19);
    -moz-box-shadow: 0px 0px 7px -2px rgba(0, 0, 0, .19);
}
.rhea-ultra-slider-featured-tag {
    position: absolute;
    top: -13px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    background: var(--sky);
    padding: 4px 13px;
    border-radius: 20px;
    display: block;
    line-height: 1.3;
}
.rhea-ultra-main-slider-detail h3 {
    margin: 0;
    flex: 1 0 285px;
    font-size: 24px;
}
.rhea-ultra-main-slider-detail h3 a {
    color: #1a1a1a;
    font-weight: bold;
}
.rhea-ultra-main-slider-detail h3 span {
    color: gray;
    font-size: 14px;
    white-space: nowrap;
    margin-left: 5px;
    margin-right: 5px;
}
.rvr_card_info_wrap {
    padding: 15px 0 0;
    display: flex;
}
.rvr_card_info_wrap .added-date {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: gray;
}
.rvr_card_info_wrap .added-date .added-title {
    color: #333;
}
.rh_prop_card_meta_wrap_ultra {
    display: inline-flex;
    flex-wrap: wrap;
    -moz-column-gap: 15px;
    column-gap: 15px;
    row-gap: 5px;
}
.rhea_ultra_meta_icon_wrapper {
    display: flex;
    align-items: center;
    -moz-column-gap: 10px;
    column-gap: 10px;
}
.rhea_ultra_meta_icon_wrapper .rhea_ultra_meta_icon {
    display: flex;
    margin: 0;
    cursor: default;
}
.rhea-ultra-main-slider-detail .rhea_ultra_meta_box {
    font-size: 14px;
}
.rhea_ultra_meta_box .figure {
    color: #333;
    font-size: 13px;
    font-weight: 500;
}
.rhea-ultra-slider-price .rhea-ultra-slider-property-status {
    font-size: 14px;
    font-weight: 700;
    color: var(--sky);
    margin-bottom: 8px;
    display: block;
}
.rhea-ultra-slider-price .ere-price-display {
    font-size: 30px;
    color: #1a1a1a;
    font-weight: 700;
}
.hero-section{
    position: relative;
}
.home-page .swiper-button-next,
.home-page .swiper-button-prev {
    display: block;
}
.hero-section .slider-item{
    position: relative;
}
.rhea-ultra-main-detail-wrapper svg{
    color: var(--sky);
}
body .property-detail-scope .pd-slider-wrapper .pd-main-container {
    /* display: none; */
}
.pd-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.pd-slider-wrapper .pd-main-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.pd-slider-wrapper .pd-main-container.active {
    position: relative;
    /* gives wrapper its height */
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.pd-slider-wrapper .pd-main-container.leaving {
    position: absolute;
    opacity: 0;
    visibility: visible;
    transform: translateX(-40px);
    pointer-events: none;
}
/* Scoped to the specific offcanvas ID */
#offcanvasExample {
    width: 320px;
    background-color: #fcfcfc;
}

#offcanvasExample .offcanvas-header {
    padding: 1.5rem;
}

#offcanvasExample .offcanvas-body {
    padding: 1.5rem;
}

/* Navigation Link Styling */
#offcanvasExample .nav-menu .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#offcanvasExample .nav-menu .nav-link .icon {
    margin-right: 12px;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

/* Hover & Active States */
#offcanvasExample .nav-menu .nav-link:hover {
    background-color: #f0f4f8;
    color: #007bff;
    /* Primary Brand Color */
}

#offcanvasExample .nav-menu .nav-link:hover .icon {
    transform: scale(1.2);
}

#offcanvasExample .nav-menu .nav-link.active {
    background-color: #007bff;
    color: #ffffff;
}

/* Footer Section */
#offcanvasExample .offcanvas-footer {
    margin-top: auto;
}

#offcanvasExample .offcanvas-footer a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

#offcanvasExample .offcanvas-footer a:hover {
    opacity: 0.7;
}
/* Scope to the parent ID */
#offcanvasExample .custom-close-btn {
    background: none;
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #333;
    /* Icon color */
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    outline: none;
}

/* Icon size within the button */
#offcanvasExample .custom-close-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Interaction States */
#offcanvasExample .custom-close-btn:hover {
    background-color: #f0f0f0;
    color: #ff4d4d;
    /* Changes icon to red on hover */
    transform: rotate(90deg);
    /* Subtle animation effect */
}

#offcanvasExample .custom-close-btn:active {
    background-color: #e0e0e0;
    transform: scale(0.9);
}
