/*===================================================================================== 
THIS SECTION CONTROL THE LAYOUT OF THE RECENT CODE
=====================================================================================*/

/* custom color code: #2A047E */

:root {
    --site-color: #2A047E;
    --site-back-color: #c5acfa;
    --main-site-header: #23114a;
    --site-gold: #AD6D06;
}


/*===================================================================================== 
                        PROPERTY SECTION 
=====================================================================================*/
.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transition for scaling and shadow */
}

.card:hover {
    transform: scale(1.05);
    /* Scale up the card slightly on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    /* Add shadow */
}

.card:active {
    transform: scale(0.98);
    /* Scale down slightly on active (click) */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    /* Reduce shadow on active */
}


/*===================================================================================== 
                        SERVICE SECTION 
=====================================================================================*/

.site-header {
    color: var(--main-site-header) !important;
}

.services-2 {
    /* height: 350px; */
    /* Set a fixed height for the services card */
    display: flex;
    /* Make the card a flex container */
    flex-direction: column;
    /* Stack children vertically */
    justify-content: space-between;
    /* Space between content and footer */
}

.service-image {
    width: 100%;
    /* Make image fill the container */
    height: 200px;
    /* Fixed height for image */
    object-fit: cover;
    /* Scale image nicely to cover container */
    margin-bottom: 15px;
    /* Add margin to separate image from text */
}

.footer {
    margin-top: auto;
    /* Pushes the footer to the bottom of the card */
}



.card-container {
    display: flex;
    justify-content: space-between;
}

.card-service {
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    width: 30%;
    transition: transform 0.3s;
    position: relative;
}

.card-service:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 40px;
    color: #2C3E50;
    transition: transform 0.3s;
}

.card-service:hover .service-icon {
    transform: rotate(360deg);
}

.consulation-card {
    height: 250px;
    /* Set a fixed height for uniformity */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
    /* Smooth transition for rotation */
}

.consulation-icon-container>.icon {
    color: var(--site-gold);
}

.consulation-icon-container {
    font-size: 40px;
    /* Adjust icon size */
    margin-bottom: 15px;
    /* Space between icon and text */
}

.card-hover:hover {
    transform: rotateY(10deg);
    /* Rotate effect */
    cursor: pointer;
}

.consulation-header {
    padding: 60px 0;
    /* Adjust padding as needed */
}




.consultation-section-2 {
    display: flex;
    justify-content: space-between;
    padding: 40px;
}

.consultation-text {
    width: 50%;
}

.consultation-title {
    font-size: 2rem;
    color: var(--main-site-header);
}

.consultation-description {
    margin: 20px 0;
}

.consultation-cards {
    display: flex;
    gap: 20px;
    border-radius: 1px solid var(--site-back-color);
}

.consultation-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s;
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.consultation-card:hover {
    transform: rotateY(10deg);
    /* Rotate effect */
}

.consultation-card-icon img {
    width: 50px;
    /* Adjust icon size */
    margin-bottom: 10px;
}

.consultation-card-text h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    text-align: center !important;
    color: var(--main-site-header);
}

.consultation-card-text p {
    text-align: center;
}

.consultation-image {
    width: 50%;
    display: flex;
    justify-content: center;
    /* Center the image */
    align-items: center;
    /* Center the image vertically */
}

.consultation-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    /* Set a max width for the circle */
    border-radius: 50%;
    /* Makes the image circular */
    object-fit: cover;
    /* Ensures the image covers the circle without distortion */
}

.containconsulation-containerer {
    display: flex;
    flex-wrap: wrap;
}

.left-content {
    flex: 1;
    padding: 20px;
    /* Optional padding */
}

.business-consultation-title {
    font-size: 3em;
    /* Adjust size as needed */
    font-weight: bold;
    color: var(--main-site-header);
}

.business-consultation-description {
    margin: 20px 0;
}

.business-consultation-form {
    display: flex;
}

.email-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    flex: 1;
    /* Allow input to take available space */
}

.submit-button {
    padding: 10px 15px;
    background-color: #007BFF;
    /* Change to desired color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    /* Space between input and button */
}

.right-image {
    flex: 1;
    text-align: right;
}

.consultation-img {
    max-width: 100%;
    /* Ensure image is responsive */
    height: auto;
    /* Maintain aspect ratio */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .business-consultation-title {
        font-size: 2em;
        /* Reduce title size for mobile */
    }

    .business-consultation-description {
        font-size: 1.2em;
        /* Adjust description font size */
    }

    .email-input {
        padding: 8px;
        /* Reduce padding for mobile */
        font-size: 1em;
        /* Scale input font size */
    }

    .submit-button {
        padding: 8px 12px;
        /* Adjust button size */
        font-size: 1em;
        /* Scale button font size */
    }

    .left-content {
        padding: 10px;
        /* Adjust left content padding */
    }
}

@media (max-width: 576px) {
    .business-consultation-title {
        font-size: 1.5em;
        /* Further reduce title size for smaller screens */
    }

    .business-consultation-description {
        font-size: 1em;
        /* Further adjust description font size */
    }

    .email-input {
        font-size: 0.9em;
        /* Further scale input font size */
    }

    .submit-button {
        font-size: 0.9em;
        /* Further scale button font size */
    }
}

.bussinnes-card {
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
    height: 100%;
}

.bussinnes-card:hover {
    transform: translateY(-5px);
}

.business-icon {
    font-size: 40px;
    color: var(--site-gold);
    transition: transform 0.3s;
}

.bussinnes-card:hover .business-icon {
    transform: rotate(360deg);
}

.business-section-2 {
    /* background-color: #f2f2f2; Light background to match the uploaded image   */
    padding: 40px 0;
    /* Adjust padding for visual appeal */
}

.business-img-team {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border-left: 10px solid #FF5733;
    /* Left border color */
    border-right: 10px solid var(--site-color);
    /* Right border color */
    padding: 5px;
    /* Optional: Add padding for spacing within the circle */
    box-sizing: border-box;
    /* Ensure padding doesn't affect width/height */
}

.bussiness-h2 {
    font-size: 28px;
    /* Adjust font size for the heading */
    font-weight: bold;
    /* Make font bold */
    color: var(--main-site-header);
    /* Dark text color for contrast */
    margin-bottom: 15px;
    /* Spacing below the heading */
}

.business-section {
    position: relative;
    /* background-image: url('public/makaland/landing/images/services/banner-bg.jpg'); */
    background-size: cover;
    background-position: center;
    min-height: 400px;
    /* Adjust as needed */
    display: flex;
    align-items: center;
    /* Center content vertically */
}

.business-section-container {
    position: relative;
    z-index: 2;
    /* Ensures text is above the background */
    padding: 20px;
    /* Optional padding */
}

.business-section-row {
    margin: 0;
    /* Reset any default margin */
}

.business-section-2 .container {
    display: flex;
    align-items: center;
}


.business-container.fit-screen {
    min-height: 50vh;
    /* Adjusted to be 75% of the viewport height */
    background-color: #f0f0f0;
    /* Light grey background */
}

/* Banner image style */
.financial-image-section {
    height: 60vh;
    /* Set image section height to be more compact */
    overflow: hidden;
    /* Hide overflow to prevent any unintended scrolling */
}

.financial-banner-img {
    width: 100%;
    /* Ensure it takes full width of its container */
    height: 100%;
    /* Fill the height of the container */
    object-fit: contain;
    /* Display full image within the container without cropping */
}

/* Prevent overlap in mobile view */
.financial-text-section {
    padding: 15px;
    /* Add padding for mobile view */
}

/* Mobile style adjustments */
@media (max-width: 768px) {
    .financial-row {
        flex-direction: column;
        /* Stacks image and text section in a column */
    }

    .financial-image-section {
        height: auto;
        /* Reset height for mobile view */
        margin-bottom: 20px;
        /* Space below the image */
    }

    .financial-banner-img {
        width: 100%;
        /* Ensure it fits the screen width */
        height: auto;
        /* Maintain aspect ratio */
        object-fit: cover;
        /* Cover the width and maintain quality */
    }
}

.ftco-section-about {
    padding: 60px 0;
}

.financial-image-container {
    text-align: center;
}

.financial-img-fluid-about {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /* Optional: Add some rounding */
}

.financial-text-content {
    padding: 20px;
}

.financial-text-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.financial-text-content p {
    margin-bottom: 15px;
}

.financial-text-content ul {
    list-style: none;
    padding: 0;
}

.financial-text-content ul li {
    margin-bottom: 10px;
}

.ceo-signature {
    margin-top: 20px;
}

.signature-img {
    width: 100px;
    /* Adjust to fit well */
    display: block;
    margin-top: 10px;
}

.financial-video-btn {
    display: inline-flex;
    align-items: center;
    height: 50px;
    justify-content: center;
    animation: zoom 1.5s infinite;
    /* Animation for zoom effect */
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        /* Zoom in */
    }

    100% {
        transform: scale(1);
        /* Zoom out */
    }
}

.estimate-heading {
    color: var(--main-site-header);
    font-weight: 500;
}

.financial-video-btn i {
    font-size: 25px;
    /* Adjust size as needed */
    color: white;
    /* Change icon color if desired */

}

.insurance-name {
    padding: 20px;
    /* Add some padding */
}

.insurance-name h2 {
    color: var(--main-site-header);
    font-weight: 600;
}

.insurance-bullet-text {
    list-style-type: none;
    /* Remove default bullet */
    padding: 0;
    /* Remove padding */
    margin: 0;
    /* Remove margin */
}

.insurance-custom-bullet {
    position: relative;
    /* Position for the parent LI */
    padding-left: 30px;
    /* Space for the icon */
    margin-bottom: 15px;
    /* Space out bullet points vertically */
    font-size: 16px;
    /* Font size adjustment */
    line-height: 1.5;
    /* Increase line height for better spacing */
}

.insurance-custom-bullet:before {
    content: '\f00c';
    /* Font Awesome check icon (use your desired icon) */
    font-family: 'Font Awesome 5 Free';
    /* Font Awesome version used */
    font-weight: 900;
    /* Adjust depending on the icon style you use */
    position: absolute;
    /* Position it relative to LI */
    left: 0;
    /* Position on the left */
    top: 0;
    /* Vertically align */
    color: var(--site-gold);
    /* Change to your desired color */
}

.insurance-percentage-section {
    text-align: left;
    /* Align text left in percentage section */
}

.insurance-percentage-figure {
    font-size: 33px;
    /* Adjust size of percentage */
    font-weight: bold;
    /* Make percentage bold */
    margin-top: -10px;
}

.insurance-insurance-image {
    max-width: 100%;
    /* Ensure image does not overflow its container */
    height: auto;
    /* Maintain aspect ratio */
}

.digital-card {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    transition: transform 0.3s;
    padding: 2px;
}

.digital-card:hover {
    transform: scale(1.05);
}

.digital-card-title {
    font-size: 24px;
    margin: 0;
    /* Remove default margin for better alignment */
}

.digital-card-text {
    font-size: 16px;
}

.digital-icon {
    flex-shrink: 0;
    /* Prevent icon from shrinking */
}

@media (max-width: 576px) {
    .digital-card-title {
        font-size: 20px;
        /* Adjust for smaller screens */
    }

    .digital-card-text {
        font-size: 14px;
        /* Adjust for smaller screens */
    }
}

.digital-card-body i {
    color: var(--site-gold);
}

.digital-name .digital-card-body {
    text-align: center;
    transition: none;
    /* Remove hover effect on card */
}

.digital-name-card-title {
    font-size: 1.5rem;
    /* Adjust size */
    color: #333;
    /* Desired color */
}

.digital-role {
    font-size: 1rem;
    /* Adjust size */
    color: #666;
    /* Softer color */
    border-bottom: 2px solid #007bff;
    /* Custom underline */
    display: inline-block;
    /* Make underline work */
    margin: 10px 0;
    padding-bottom: 2px;
    /* Space under text */
}

.digital-social-icons {
    margin-top: 10px;
}

.digital-social-icon {
    margin: 0 5px;
    position: relative;
    /* Position for background */
}

.digital-social-icon i {
    font-size: 20px;
    /* Adjust icon size */
    color: var(--site-gold);
    /* Match with the color theme */
    transition: color 0.3s, background-color 0.3s;
    /* Smooth transitions */
    padding: 10px;
    /* Padding for background effect */
    border-radius: 50%;
    /* Round background */
}

.digital-social-icon:hover i {
    color: #fff;
    /* Change icon color on hover */
    background-color: #007bff;
    /* Bright background color on hover */
}








/*===================================================================================== 
                        PROPERTY DETAILS SECTION 
=====================================================================================*/
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-links a {
    font-size: 24px;
    color: var(--site-gold);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: 40px;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.social-links a:hover {
    color: #007bff;
}

.call-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.call-number {
    font-size: 1rem;
    white-space: nowrap;
}

.social-links a img,
.social-links a span {
    max-height: 30px;
    max-width: 30px;
}

/* Responsive design for tablet and mobile views */
@media (max-width: 768px) {
    .social-links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-links a {
        height: auto;
    }
}

@media (max-width: 480px) {
    .social-links a {
        font-size: 20px;
    }

    .call-number {
        font-size: 0.9rem;
    }
}

.social-divider {
    border: 1px solid #ddd;
    width: 80%;
    margin: 20px auto;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .call-number {
        font-size: 1rem;
    }

    .social-links a {
        font-size: 20px;
    }

    .call-icon {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .call-number {
        font-size: 1.1rem;
    }
}



/*===================================================================================== 
                        TEAM SECTION 
=====================================================================================*/
.card-img-team {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.team-details-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-details-social-icon {
    color: var(--site-gold);
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s;
}

.team-details-social-icon:hover {
    color: #007bff;
}


.description-alignment p {
    text-align: justify;
}

.case-studies-heading {
    font-size: 28px;
    /* Adjust heading size */
    margin-bottom: 20px;
    /* Space below the heading */
}

.case-study-card {
    position: relative;
    /* For absolute positioning of overlay */
    overflow: hidden;
    /* Hide overflow */
    border: 1px solid #ddd;
    /* Card border */
    border-radius: 8px;
    /* Rounded corners */
    transition: transform 0.3s;
    /* Animation effect */
}

.case-study-card:hover {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

.case-study-link {
    text-decoration: none;
    /* No underline on links */
    color: inherit;
    /* Inherit color */
    display: block;
    /* Block display for full area */
}

.case-study-title {
    padding: 15px;
    /* Add padding around title */
    font-size: 18px;
    /* Adjust title size */
    text-align: center;
    /* Center align title */
}

.digital-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent overlay */
    display: flex;
    align-items: center;
    /* Center icon vertically */
    justify-content: center;
    /* Center icon horizontally */
    opacity: 0;
    /* Start hidden */
    transition: opacity 0.3s;
    /* Transition for fade effect */
}

.case-study-card:hover .digital-overlay {
    opacity: 1;
    /* Show overlay on hover */
}

.digital-overlay i {
    color: white;
    /* Icon color */
    font-size: 24px;
    /* Icon size */
}

/* MAKA-SERVICE */
.service-sidebar {
    background-color: #f8f9fa;
    padding: 0 20px 20px 20px;
    border-radius: 8px;
}


.planner-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.planner-tabs li {
    margin-bottom: 10px;
}

.planner-tabs a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: #007BFF;
    border: 1px solid var(--site-back-color);
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-size: 18px;
    font-weight: 600;
}

.planner-tabs .active a {
    background-color: var(--site-gold);
    color: white;
}

.planner-tabs a:hover {
    background-color: var(--site-gold);
    color: white;
}

.planner-arrow-icon {
    float: right;
    margin-left: 5px;
}

.planner-main-heading {
    font-size: 1.8em;
    font-weight: bold;
}

.planner-sub-heading {
    font-size: 1.4em;
    margin: 10px 0;
}

.planner-main-description {
    margin-bottom: 20px;
    font-size: 1em;
}

.planner-image-section {
    display: flex;
}

.planner-image-container {
    text-align: center;
}

.planner-service-image {
    max-width: 100%;
    height: auto;
}

.planner-content-container {
    padding-left: 20px;
}

.planner-content-heading {
    font-size: 1.5em;
    font-weight: bold;
}

.planner-content-description {
    margin: 10px 0;
}

.planner-bullet-points {
    list-style-type: disc;
    padding-left: 20px;
}

.planner-bullet-points li {
    margin-bottom: 5px;
}



.liabilit-planner-container {
    max-width: 1200px;
    margin: auto;
}

.liabilit-planner-data-analytics-heading {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.liabilit-planner-data-analytics-description {
    margin-bottom: 30px;
    font-size: 1em;
}

.liabilit-planner-data-analytics-section {
    display: flex;
    flex-direction: column;
    /* Stack cards and image vertically on small screens */
}

@media (min-width: 768px) {
    .liabilit-planner-data-analytics-section {
        flex-direction: row;
        /* Change to row layout on larger screens */
    }
}

.liabilit-planner-cards-container {
    display: flex;
    flex-direction: column;
}

.liabilit-planner-data-analytics-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align items to the start */
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px;
    /* Reduced padding */
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
    text-align: left;
    /* Align text to the left */
}

.liabilit-planner-data-analytics-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.liabilit-planner-card-icon {
    margin-right: 10px;
    /* Space between icon and title */
    vertical-align: middle;
    /* Align icon vertically with text */
    display: inline-block;
}

.liabilit-planner-card-icon img {
    width: 30px;
    /* Reduced icon size */
    height: auto;
    /* Maintain aspect ratio */
}

.liabilit-planner-card-title {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    display: flex;
    /* Use flex to align items (icon and title) */
    align-items: center;
    /* Center align title with icon */
}

.liabilit-planner-card-description {
    font-size: 0.9em;
    /* Adjusted description size */
    margin: 5px 0 0 0;
    /* Added some space above the description */
}

.liabilit-planner-image-container {
    text-align: center;
}

.liabilit-planner-data-analytics-image {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    /* Added margin for spacing */
    max-height: 400px;
    /* Set a max height for the image */
}



.liability-planner-faq-section {
    margin-top: 40px;
    /* Spacing from previous content */
}

.liability-planner-faq-heading {
    font-size: 1.5em;
    /* Heading size */
    font-weight: bold;
    margin-bottom: 20px;
    /* Spacing below the heading */
}

.liability-planner-faq-item {
    border: 1px solid #dee2e6;
    /* Border for each item */
    border-radius: 5px;
    /* Rounded corners */
    margin-bottom: 10px;
    /* Spacing between items */
}

.liability-planner-faq-question {
    padding: 15px;
    /* Padding for the question */
    background-color: #007BFF;
    /* Blue background for question */
    color: white;
    /* White text */
    cursor: pointer;
    /* Pointer cursor on hover */
}

.liability-planner-faq-answer {
    padding: 15px;
    /* Padding for the answer */
    display: none;
    /* Hidden by default */
    background-color: #f8f9fa;
    /* Light background for answer */
}


.liability-planner-contact-card {
    background-color: var(--site-back-color);
    color: var(--site-gold);
    /* Text color */
    border-radius: 8px;
    /* Rounded corners */
    padding: 20px;
    /* Padding inside the card */
    text-align: center;
    /* Center align text */
    margin-top: 20px;
    /* Spacing above the card */
}

.liability-planner-contact-card h3 {
    margin: 0;
    /* Reset margin */
    font-size: 1.5em;
    /* Heading size */
}

.liability-planner-contact-card p {
    margin: 10px 0;
    /* Spacing above and below */
    font-size: 1em;
    /* Paragraph size */
}

.liability-planner-contact-button {
    display: inline-block;
    /* Inline block for the button */
    background-color: #0056b3;
    /* Button background color */
    color: white;
    /* Button text color */
    padding: 10px 20px;
    /* Button padding */
    border-radius: 5px;
    /* Rounded corners */
    text-decoration: none;
    /* No underline */
    font-size: 1em;
    /* Button font size */
    transition: background-color 0.3s;
    /* Transition for hover effect */
}

.liability-planner-contact-button:hover {
    background-color: #003f7f;
    /* Darker shade on hover */
}

.liability-planner-phone-icon {
    margin-right: 8px;
    /* Space between icon and text */
    font-size: 1.2em;
    /* Icon size */
}


.liability-planner-contact-form {
    background-color: #f8f9fa;
    padding: 0 25px 20px 25px;
    border-radius: 8px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.liability-planner-contact-form h2 {
    margin-bottom: 2px;
    font-size: 1.5em;
    text-align: center;
}

.service-select>.dropdown-menu a:hover {
    color: var(--site-gold) !important;
}


.for-sale-tag {
    position: absolute;
    top: 10px;
    /* Adjusted to move it higher on the image */
    left: 10px;
    background-color: rgba(216, 138, 13, 0.7);
    /* Red with transparency */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 10;
    /* Ensures it appears above the image */
    animation: blink 2s step-end infinite;
    /* Blinking effect */
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}



.real-estate-thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    margin: 0 5px;
    transition: border-color 0.3s, transform 0.3s;
    width: 70px;
    height: 70px;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.real-estate-thumbnail:hover {
    border-color: var(--site-gold);
}

.real-estate-thumbnail.active {
    border-color: var(--site-gold);
    transform: scale(1.1);
}

.real-estate-thumbnail img {
    width: 100%;
    height: auto;
}

.real-estate-thumbnail-container {
    display: flex;
    justify-content: center;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.real-estate-thumbnail-row {
    display: flex;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
    border-radius: 50%;
}

.scroll-button.left {
    left: 10px;
}

.scroll-button.right {
    right: 10px;
}




/* FOR PAGINATION */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination li {
    margin: 0 5px;
}

@media (max-width: 576px) {

    /* Make pagination smaller on small screens */
    .pagination {
        font-size: 14px;
    }
}

