html,
body {
    color: #000000;
    font-family: 'Sora', sans-serif; /* Default for body */
    font-weight: 300; /* Light */
    font-size: 15px;
    position: relative;
    min-height: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6, a {
    font-family: 'Philosopher', sans-serif; /* Headers use Philosopher */
}

/* Top Header Styling */
.site-logo {
    transition: transform 0.3s ease;
}

    .site-logo:hover {
        transform: scale(1.05);
    }

/* Language Dropdown */
#languageDropdown {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

    #languageDropdown:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.dropdown-item.active {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .site-logo {
        max-height: 80px !important;
    }

    #languageDropdown {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--bs-primary);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

main {
    flex: 1;
}

footer {
    position: relative;
    width: 100%;
    bottom: 0;
}

.light-text {
    font-weight: 300;
}

.bold-text {
    font-weight: 800;
}

.italic-text {
    font-style: italic;
}

.site-logo {
    display: block;
    max-height: 100%;
    width: auto;
}

/* Updated Navigation - Modern Clean Style */
.site-nav-container {
    background-color: var(--bs-primary);
    padding: 0.5rem 0;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.navbar-nav {
    gap: 0.5rem;
}

    .navbar-nav > li.nav-item > a {
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        position: relative;
        display: block;
        padding: 0.75rem 1.25rem;
        transition: all 0.3s ease;
        border-radius: 4px;
    }

.site-nav-container .navbar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.site-nav-container .navbar li.active > a {
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: 3px solid #fff;
    padding-bottom: calc(0.75rem - 3px); /* Adjust for border */
}

/* Navbar Toggler Styling */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0.75rem;
}

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu spacing */
@media (max-width: 991px) {
    .navbar-nav {
        gap: 0.25rem;
        padding-top: 1rem;
    }

        .navbar-nav > li.nav-item > a {
            padding: 0.5rem 1rem;
            margin: 0.25rem 0;
        }
}

/* Updated Footer */
.site-footer {
    background-color: #1a1a1a;
    padding: 40px 0 20px;
    color: #fff;
    border-top: 3px solid var(--bs-primary);
}

    .site-footer a {
        text-decoration: none;
        text-transform: capitalize;
        transition: color 0.3s ease;
    }

.c-social-links-item {
    display: inline-block;
}

.site-footer a.c-social-links-item-anchor {
    color: #fff;
    text-decoration: none;
    /*font-size: 1.5rem;*/
    padding: 10px;
    transition: all 0.3s ease;
    display: inline-block;
}

.c-social-links-item-anchor:hover {
    color: var(--bs-primary);
    transform: translateY(-2px);
}

/* Card Hover Effects */
a.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

a.card {
    cursor: pointer;
    transition: all 0.3s ease;
}


/* Carousel Image Wrapper - Responsive Heights */
.carousel-img-wrapper {
    position: relative;
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    background-color: #000;
}

    .carousel-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

/* Responsive carousel heights */
@media (max-width: 991px) {
    .carousel-img-wrapper {
        height: 350px;
    }
}

@media (max-width: 575px) {
    .carousel-img-wrapper {
        height: 250px;
    }
}

/* Ensure carousel items take full height */
.carousel-item {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

/* Required Field Indicator */
.form-label:has(+ .form-control[required])::after,
.form-label:has(+ textarea[required])::after,
.form-label:has(+ select[required])::after {
    content: " *";
    color: var(--bs-danger);
    font-weight: bold;
}

/* Card Transitions */
.transition-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .transition-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    }

/* Profile Image Wrapper */
.agent-img-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: -50px auto 0;
    z-index: 1;
}

.agent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Divider Line */
.divider-line {
    width: 40px;
    height: 3px;
    background: var(--bs-primary);
    border-radius: 2px;
}

/* Button Styling */
.agent-details-btn {
    transition: all 0.25s ease;
    border-radius: 20px;
}

    .agent-details-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.35);
    }

/* Pagination Styling */
.pagination .page-link {
    border-radius: 4px;
    margin: 0 2px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

    .pagination .page-link:hover {
        background-color: var(--bs-primary);
        border-color: var(--bs-primary);
        color: #fff;
        transform: translateY(-1px);
    }

.pagination .page-item.active .page-link {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.pagination .page-item.disabled .page-link {
    background-color: transparent;
    border-color: #dee2e6;
}

/* Footer Links */
.footer-cities,
.footer-cities-for-condos,
.footer-provinces {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-cities li,
    .footer-cities-for-condos li,
    .footer-provinces li {
        margin-bottom: 10px;
    }

    .footer-cities a,
    .footer-cities-for-condos a,
    .footer-provinces a {
        text-decoration: none;
        color: var(--bs-secondary-color);
        transition: all 0.2s ease;
    }

        .footer-cities a:hover,
        .footer-cities-for-condos a:hover,
        .footer-provinces a:hover {
            color: var(--bs-primary);
            text-decoration: none;
            padding-left: 5px;
        }

.site-footer a:hover {
    color: var(--bs-primary) !important;
    text-decoration: none;
    padding-left: 5px;
}

.site-footer li {
    margin-bottom: 10px;
}

.footer-provinces {
    column-count: 2;
    column-gap: 25px;
}

/* Hover effect for sidebar cards */
.hover-bg {
    transition: background-color 0.2s ease;
}

    .hover-bg:hover {
        background-color: rgba(var(--bs-primary-rgb), 0.05);
    }

/* Sticky positioning */
.sticky-top {
    position: sticky;
    z-index: 1020;
}

/* Carousel enhancements */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

    .carousel-fade .carousel-item.active {
        opacity: 1;
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

.carousel-caption {
    bottom: 3rem;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    display: none;
    z-index: 9999;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
}

    .cookie-banner.show {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        animation: slideUp 0.4s ease-out;
    }

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

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

.cookie-text {
    flex: 1;
}

    .cookie-text strong {
        font-size: 1.1rem;
        color: #333;
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .cookie-text p {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .cookie-text a {
        color: var(--bs-primary);
        text-decoration: none;
        font-weight: 500;
        border-bottom: 1px solid transparent;
        transition: border-color 0.2s ease;
    }

        .cookie-text a:hover {
            border-bottom-color: var(--bs-primary);
        }

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

    .cookie-actions .btn {
        padding: 8px 24px;
        font-weight: 500;
        border-radius: 6px;
        white-space: nowrap;
        transition: all 0.2s ease;
    }

    .cookie-actions .btn-outline-primary {
        border-width: 2px;
    }

        .cookie-actions .btn-outline-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.2);
        }

    .cookie-actions .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.35);
    }

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 20px;
    }

        .cookie-banner.show {
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
        }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }

        .cookie-actions .btn {
            flex: 1;
            max-width: 120px;
        }
}

/**Extra small*/
@media (max-width: 576px) {
    .cookie-text strong {
        font-size: 1rem;
    }

    .cookie-text p {
        font-size: 0.85rem;
    }

    .cookie-actions {
        flex-direction: row;
        width: 100%;
    }

        .cookie-actions .btn {
            flex: 1;
            max-width: none;
            padding: 10px 16px;
        }
}

/* Mobile only (xs + sm) */
@media (max-width: 767.98px) {
    .slider-Title{
        font-size: 18px;
    }
    .slider-description{
        font-size: 14px;
    }
}
