/* Social Icons Styling - Header */
.socialIcons ul li a i {
    color: var(--white) !important;
    font-size: 22px !important;
    transition: all 0.3s ease;
}

.socialIcons ul li a:hover i {
    color: var(--primarycolor) !important;
    transform: scale(1.1);
}

/* Social Icons Styling - Footer */
.footer_contact ul li a i {
    color: var(--white) !important;
    font-size: 30px !important;
    transition: all 0.3s ease;
}

.footer_contact ul li a:hover i {
    color: var(--primarycolor) !important;
    transform: scale(1.1);
}

/* Property Navigation Dropdown */
.navigation .dropdown-menu {
    display: none;
    background-color: var(--white) !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 10px 0 !important;
    margin-top: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 220px;
}

.navigation .dropdown-menu.show {
    display: block;
}

.navigation .dropdown-item {
    color: var(--primarycolor) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.navigation .dropdown-item:hover {
    background-color: var(--white2) !important;
    color: var(--black) !important;
    padding-left: 25px !important;
}

.navigation .dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 8px;
    color: var(--white);
}

.navigation .dropdown-toggle.show {
    color: var(--primarycolor) !important;
}

.navigation .dropdown-toggle.show::after {
    color: var(--primarycolor);
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background: #D9D9D9 !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
    color: var(--black) !important;
    font-weight: 700 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primarycolor) !important;
    transform: scale(1.1);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: var(--white) !important;
}

.swiper-button-next {
    right: 0 !important;
}

.swiper-button-prev {
    left: 0 !important;
}

.socialIcons2 a {
    text-decoration: none !important;
}

.socialIcons2 a i {
    color: black;
    font-size: 20px;
    transition: color 0.3s ease;
}

.socialIcons2 a:hover i {
    color: white;
}


.review-form-wrapper {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.wsus__select_review ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wsus__select_review ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s;
}

.wsus__select_review ul li:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wsus__select_review ul li span {
    font-weight: 600;
    min-width: 140px;
    color: #333;
    font-size: 14px;
}

.wsus__select_review ul li i {
    cursor: pointer;
    margin-right: 5px;
    font-size: 20px;
    transition: all 0.2s;
    color: #ddd;
}

.wsus__select_review ul li i.fas.fa-star {
    color: #ffc107;
}

.wsus__select_review ul li i:hover {
    transform: scale(1.2);
}

.wsus__total_rating {
    background: linear-gradient(135deg, #800000 0%, #a00000 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
}

.wsus__total_rating h3 {
    font-size: 48px;
    font-weight: bold;
    margin: 10px 0;
    color: white;
}

.wsus__total_rating span {
    font-size: 14px;
    opacity: 0.9;
    display: block;
    margin-bottom: 5px;
}

.wsus__total_rating p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    opacity: 0.95;
}

.review-comment {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 20px;
    resize: vertical;
    transition: border-color 0.3s;
    background: white;
}

.review-comment:focus {
    outline: none;
    border-color: #800000;
}

.login-review-btn {
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.login-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.4);
}

.worning {
    margin: 20px 0 0 0;
}

.worning a {
    display: block;
}

@media (max-width: 767px) {
    .review-form-wrapper {
        padding: 20px;
        margin-top: 30px;
    }

    .wsus__total_rating {
        margin-top: 20px;
        padding: 10px;
        height: auto;
    }

    .wsus__total_rating h3 {
        font-size: 30px;
    }

}

/* 404 Page Styles */
.error404Section {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #000;
}

.error404Lyer {
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.15) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 1;
}

.error404Section .container {
    z-index: 2;
}

.error404Number {
    display: inline-block;
}

/* Decorative Circles */
.decorCircle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.decorCircle1 {
    top: -40px;
    right: -60px;
    animation-delay: 0s;
}

.decorCircle2 {
    bottom: -40px;
    left: -60px;
    animation-delay: 3s;
}

/* Secondary Button Style */
.btn_secondary_404 {
    min-width: 163px;
    min-height: 45px;
    background: transparent;
    color: var(--primarycolor);
    font-size: 18px;
    font-family: var(--Montserrat);
    font-weight: 500;
    text-decoration: none;
    border: 2px solid var(--primarycolor);
    border-radius: 9px;
    text-align: center;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 12px 30px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.btn_secondary_404:hover {
    background: var(--primarycolor);
    color: var(--black);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(211, 188, 141, 0.3);
}

/* Links Hover Effect */
.error404Links ul li a {
    position: relative;
    transition: all 0.3s ease;
}

.error404Links ul li a:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primarycolor);
    transition: width 0.3s ease;
}

.error404Links ul li a:hover:after {
    width: 100%;
}

.error404Links ul li a:hover {
    color: var(--white) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .error404Number h1 {
        font-size: 120px !important;
    }

    .error404Message h2 {
        font-size: 36px !important;
    }

    .decorCircle {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 767px) {
    .error404Number h1 {
        font-size: 90px !important;
    }

    .error404Message h2 {
        font-size: 28px !important;
        margin-bottom: 16px !important;
    }

    .error404Message p {
        font-size: 16px !important;
    }

    .error404Actions {
        flex-direction: column;
        gap: 16px !important;
    }

    .btn_primary,
    .btn_secondary_404 {
        width: 100%;
        max-width: 300px;
    }

    .error404Links ul {
        flex-direction: column;
        gap: 12px !important;
    }

    .decorCircle {
        width: 60px;
        height: 60px;
    }

    .decorCircle1 {
        top: -20px;
        right: -30px;
    }

    .decorCircle2 {
        bottom: -20px;
        left: -30px;
    }

    .login-review-btn {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .error404Number h1 {
        font-size: 70px !important;
    }

    .error404Message h2 {
        font-size: 24px !important;
    }
}

#authTabs .nav-link:not(.active):hover {
    background: var(--primarycolor) !important;
    color: var(--black) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 188, 141, 0.3);
}

#authTabs .nav-link.active {
    background: var(--primarycolor) !important;
    color: var(--black) !important;
    box-shadow: 0 4px 12px rgba(211, 188, 141, 0.3);
}

#authTabs .nav-link:not(.active) {
    background: transparent !important;
}

/* Form enhancements */
.form_fields input[type="email"],
.form_fields input[type="text"],
.form_fields input[type="password"] {
    transition: all 0.3s ease;
}

.form_fields input[type="email"]:focus,
.form_fields input[type="text"]:focus,
.form_fields input[type="password"]:focus {
    border-color: var(--primarycolor) !important;
    box-shadow: 0 0 0 3px rgba(211, 188, 141, 0.1) !important;
}

.form_fields_btn input[type="submit"] {
    transition: all 0.3s ease;
}

.form_fields_btn input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.3) !important;
}

.form-check-input:checked {
    background-color: var(--primarycolor2);
    border-color: var(--primarycolor2);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #authTabs .nav-link {
        min-width: 140px !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
    }

    #authTabs {
        gap: 12px !important;
    }
}

/* Tab Navigation Hover Effects */
#cbAuthTabs .nav-link:not(.active):hover {
    background: var(--primarycolor) !important;
    color: var(--black) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 188, 141, 0.3);
}

#cbAuthTabs .nav-link.active {
    background: var(--primarycolor) !important;
    color: var(--black) !important;
    box-shadow: 0 4px 12px rgba(211, 188, 141, 0.3);
}

#cbAuthTabs .nav-link:not(.active) {
    background: transparent !important;
}

/* Form enhancements */
.form_fields input[type="email"],
.form_fields input[type="text"],
.form_fields input[type="password"] {
    transition: all 0.3s ease;
}

.form_fields input[type="email"]:focus,
.form_fields input[type="text"]:focus,
.form_fields input[type="password"]:focus {
    border-color: var(--primarycolor) !important;
    box-shadow: 0 0 0 3px rgba(211, 188, 141, 0.1) !important;
}

.form_fields_btn input[type="submit"] {
    transition: all 0.3s ease;
}

.form_fields_btn input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.3) !important;
}

.form-check-input:checked {
    background-color: var(--primarycolor2);
    border-color: var(--primarycolor2);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #cbAuthTabs .nav-link {
        min-width: 140px !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
    }

    #cbAuthTabs {
        gap: 12px !important;
    }
}

/* Tab Navigation Hover Effects */
#authTabs .nav-link:not(.active):hover {
    background: var(--primarycolor) !important;
    color: var(--black) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 188, 141, 0.3);
}

#authTabs .nav-link.active {
    background: var(--primarycolor) !important;
    color: var(--black) !important;
    box-shadow: 0 4px 12px rgba(211, 188, 141, 0.3);
}

#authTabs .nav-link:not(.active) {
    background: transparent !important;
}

/* Form enhancements */
.form_fields input[type="email"],
.form_fields input[type="text"],
.form_fields input[type="password"] {
    transition: all 0.3s ease;
}

.form_fields input[type="email"]:focus,
.form_fields input[type="text"]:focus,
.form_fields input[type="password"]:focus {
    border-color: var(--primarycolor) !important;
    box-shadow: 0 0 0 3px rgba(211, 188, 141, 0.1) !important;
}

.form_fields_btn input[type="submit"] {
    transition: all 0.3s ease;
}

.form_fields_btn input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.3) !important;
}

.form-check-input:checked {
    background-color: var(--primarycolor2);
    border-color: var(--primarycolor2);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #authTabs .nav-link {
        min-width: 140px !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
    }

    #authTabs {
        gap: 12px !important;
    }
}


/* Blog Content Styling */
.blog-description {
    font-size: 15px;
    line-height: 1.85;
    color: #333;
}

.blog-description p {
    margin-bottom: 20px;
}

.blog-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-description h1,
.blog-description h2,
.blog-description h3,
.blog-description h4,
.blog-description h5,
.blog-description h6 {
    margin-top: 28px;
    margin-bottom: 16px;
    font-weight: 600;
    color: #000;
}

.blog-description ul,
.blog-description ol {
    margin-bottom: 20px;
    padding-left: 28px;
}

.blog-description blockquote {
    border-left: 4px solid #800000;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

/* Line Height Utilities */
.line-height-175 {
    line-height: 1.75;
}

.line-height-185 {
    line-height: 1.85;
}

/* Featured Image */
.blog-featured-image img {
    border-radius: 15px 15px 0 0;
}

/* Meta Information */
.blog-meta {
    border-bottom: 1px solid #e5e5e5;
}

.meta-item i {
    font-size: 14px;
}

/* Search Widget */
.search-widget input:focus {
    outline: none;
    border-color: #800000 !important;
    box-shadow: 0 0 0 0.2rem rgba(128, 0, 0, 0.1);
}

.search-widget button:hover {
    background-color: #600000 !important;
}

/* Categories Widget */
.category-item a:hover {
    background-color: #f8f8f8;
    border-radius: 8px;
}

.category-item a:hover span:first-child {
    color: #800000;
}

.badge.rounded-pill {
    font-size: 13px;
    font-weight: 600;
}

/* Popular Posts */
.popular-post-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.popular-post-item img {
    transition: transform 0.3s ease;
}

.popular-post-item:hover img {
    transform: scale(1.05);
}

.popular-post-item a:hover {
    color: #800000 !important;
}

/* Comments */
.comment-item:last-child {
    border-bottom: none !important;
}

/* Form Controls */
.form-control:focus {
    border-color: #800000;
    box-shadow: 0 0 0 0.2rem rgba(128, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .p-lg-5 {
        padding: 2rem !important;
    }

    .blog-title {
        font-size: 24px !important;
    }
}

@media (max-width: 575px) {
    .p-4 {
        padding: 1.5rem !important;
    }

    .blog-title {
        font-size: 22px !important;
    }

    .popular-post-item .post-thumbnail img {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 767px) {

    /* Agent Login & Homeowners Login */
    #login-panel .d-flex.justify-content-between,
    /* Collaborating Brokers Login */
    #cb-login-panel .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px;
    }

    #login-panel .form-check,
    #cb-login-panel .form-check {
        margin-bottom: 0;
    }

    .footer_contact ul li a i { font-size:24px !important; }
}
@media (max-width: 375px) {
    .wsus__select_review ul li {
        flex-wrap: wrap;
    }

    .wsus__select_review ul li span {
        margin-bottom: 10px;
        width: 100%;
    }
}

/* Language Dropdown with Flag Icons */
.language-dropdown .selected-language .fi,
.language-dropdown .language-option .fi {
    font-size: 16px;
    width: 20px;
    height: auto;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
}

.language-dropdown .language-option {
    display: flex;
    align-items: center;
}

/* Desktop header language dropdown */
@media (min-width: 992px) {
    .MainHeader .language-dropdown .selected-language .fi {
        font-size: 18px;
        width: 20px;
    }

    .MainHeader .language-dropdown .language-option .fi {
        font-size: 16px;
    }
}

/* Mobile header language dropdown */
@media (max-width: 991px) {
    .hdr_sec_mobile .language-dropdown {
        position: relative;
    }

    .hdr_sec_mobile .language-dropdown .selected-language {
        padding: 8px 12px;
        gap: 6px;
    }

    .hdr_sec_mobile .language-dropdown .selected-language .fi {
        font-size: 18px;
        width: 22px;
    }

    .hdr_sec_mobile .language-dropdown .language-list {
        right: 0;
        left: auto;
        min-width: 100px;
    }

    .hdr_sec_mobile .language-dropdown .language-option {
        padding: 10px 12px;
        font-size: 14px;
    }

    .hdr_sec_mobile .language-dropdown .language-option .fi {
        font-size: 16px;
        width: 20px;
    }
}

/* Very small screens */
@media (max-width: 576px) {
    .hdr_sec_mobile .language-dropdown .selected-language {
        padding: 6px 0px 6px 10px;
        font-size: 14px !important;
    }

    .hdr_sec_mobile .language-dropdown .selected-language .fi {
        font-size: 16px;
        width: 18px;
    }
}
