

:root {
    --primary-color: #8b4513;
    --secondary-color: #d2691e;
    --accent-color: #ff8c00;
    --dark-color: #2c1810;
    --light-color: #faf9f7;
    --text-primary: #3e2723;
    --text-secondary: #5d4e37;
    --text-light: #8a7968;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #8b4513 0%, #d2691e 100%);
    --gradient-secondary: linear-gradient(135deg, #d2691e 0%, #ff8c00 100%);
    --shadow-light: 0 4px 20px rgba(139, 69, 19, 0.1);
    --shadow-medium: 0 8px 30px rgba(139, 69, 19, 0.15);
    --shadow-heavy: 0 15px 50px rgba(139, 69, 19, 0.2);
    --border-radius: 16px;
    --border-radius-large: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}


.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}


.hero-about {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--light-color) 0%, #f5f3f0 100%);
    overflow: hidden;
    position: relative;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 40%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(139, 69, 19, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.05) 0%, transparent 50%);
}


.about-story {
    padding: 6rem 0;
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content {
    animation: fadeInLeft 1s ease-out;
}

.story-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.story-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.story-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.highlight-text p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
}

.story-visual {
    animation: fadeInRight 1s ease-out;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}


.team-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f6f3 0%, var(--light-color) 100%);
}

.team-container {
    position: relative;
    overflow: hidden;
}

.team-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.team-scroll::-webkit-scrollbar {
    display: none;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    min-width: 350px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 200px;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-heavy);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image-left {
    position: relative;
    width: 120px;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.card-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .card-image img {
    transform: scale(1.1);
}

.team-card:hover .card-image-left img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.85) 0%, rgba(210, 105, 30, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--white);
}

.overlay-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.overlay-content span {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.position {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    display: block;
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.quick-actions a {
    width: 45px;
    height: 45px;
    background: rgba(139, 69, 19, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.quick-actions a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}


.news-section {
    padding: 6rem 0;
    background: var(--white);
}

.news-container {
    position: relative;
}

.news-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.news-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
    flex-grow: 1;
}

.news-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}


.scroll-indicators {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    box-shadow: var(--shadow-medium);
}

.scroll-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.scroll-left {
    left: -25px;
}

.scroll-right {
    right: -25px;
}


.values-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f6f3 0%, var(--light-color) 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: var(--transition);
}

.value-card:hover::before {
    transform: scale(1);
}

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-heavy);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(360deg);
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}


.cta-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-actions .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta-actions .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}


@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .scroll-indicators {
        display: none;
    }
    
    .news-compact-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --border-radius: 12px;
        --border-radius-large: 20px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-about {
        padding: 6rem 0 3rem;
        min-height: auto;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .story-highlights {
        gap: 1rem;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline::before {
        left: 0.75rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .timeline-item::before {
        left: -0.4rem;
    }
    
    .team-card {
        min-width: 280px;
    }
    
    .team-card .card-image {
        height: 200px;
    }
    
    .team-card .card-content {
        padding: 1.5rem;
    }
    
    .news-compact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-card .news-image {
        height: 180px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .section-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .timeline-year {
        font-size: 1rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .team-card {
        min-width: 250px;
    }
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


@media print {
    .hero-about,
    .cta-section {
        background: white !important;
        color: black !important;
    }
    
    .scroll-indicators {
        display: none;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 1px solid #333;
        background: white;
        color: #333;
    }
}


.team-modal {
    z-index: 2000 !important;
}

.team-modal .property-card-mini {
    border: 2px solid rgba(139, 69, 19, 0.1);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.team-modal .property-card-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.15);
    border-color: rgba(139, 69, 19, 0.3);
}

.team-modal .property-image-mini {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.team-modal .property-image-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-modal .property-card-mini:hover .property-image-mini img {
    transform: scale(1.05);
}

.team-modal .property-badge-mini {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #8b4513;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.team-modal .property-price-mini {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.team-modal .property-content-mini {
    padding: 1rem;
}

.team-modal .property-title-mini {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #3e2723;
    line-height: 1.3;
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.team-modal .property-location-mini {
    margin: 0;
    color: #8b4513;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.team-modal .property-location-mini i {
    font-size: 0.7rem;
}

.team-modal .property-details-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #5d4e37;
    font-weight: 500;
}

.team-modal .broker-achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.team-modal .achievement-item {
    background: rgba(139, 69, 19, 0.05);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-modal .achievement-item:hover {
    background: rgba(139, 69, 19, 0.1);
    border-color: rgba(139, 69, 19, 0.2);
    transform: translateY(-2px);
}

.team-modal .achievement-icon {
    color: #d2691e;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.team-modal .achievement-text {
    color: #5d4e37;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.team-modal .contact-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #8b4513;
    text-decoration: none;
    padding: 0.8rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-modal .contact-card:hover {
    border-color: #8b4513;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
    text-decoration: none;
    color: #8b4513;
}

.team-modal .contact-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.team-modal .contact-info {
    flex: 1;
}

.team-modal .contact-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.team-modal .contact-value {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.2;
}

.team-modal .no-properties {
    text-align: center;
    padding: 2rem;
    color: #8b4513;
    background: rgba(139, 69, 19, 0.05);
    border-radius: 15px;
    border: 2px dashed rgba(139, 69, 19, 0.2);
}

.team-modal .no-properties-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    display: block;
}

.team-modal .no-properties-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-modal .no-properties-subtitle {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.team-modal .view-all-properties {
    background: linear-gradient(135deg, #8b4513 0%, #d2691e 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.team-modal .view-all-properties:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
    color: white;
    text-decoration: none;
}

.team-modal .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.team-modal .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.team-modal .broker-header {
    position: relative;
    background: linear-gradient(135deg, #8b4513 0%, #d2691e 100%);
    overflow: hidden;
}

.team-modal .broker-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.team-modal .broker-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    z-index: 2;
}

.team-modal .broker-avatar-container {
    display: flex;
    align-items: end;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.team-modal .broker-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.team-modal .broker-name {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.team-modal .broker-role {
    margin: 0.5rem 0 0 0;
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

.team-modal .broker-experience {
    margin: 0.3rem 0 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.team-modal .properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.team-modal .section-title {
    color: #3e2723;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-modal .section-icon {
    color: #8b4513;
}

.team-modal .properties-count {
    background: rgba(139, 69, 19, 0.1);
    color: #8b4513;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.team-modal .info-card {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05) 0%, rgba(210, 105, 30, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(139, 69, 19, 0.1);
    margin-bottom: 2rem;
}

.team-modal .specialization-highlight {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05) 0%, rgba(210, 105, 30, 0.05) 100%);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid #8b4513;
    margin-top: 1rem;
}

.team-modal .languages-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
}


@media (max-width: 768px) {
    .team-modal .broker-header {
        height: 200px;
    }
    
    .team-modal .broker-info {
        padding: 1.5rem;
    }
    
    .team-modal .broker-avatar {
        width: 60px;
        height: 60px;
    }
    
    .team-modal .broker-name {
        font-size: 1.5rem;
    }
    
    .team-modal .properties-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .property-card-modal {
        min-height: 320px;
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
    }
    
    .property-image-modal {
        height: 45%;
        width: 100%;
        flex-shrink: 0;
    }
    
    .property-info-modal {
        padding: 1rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 0;
        overflow: hidden;
    }
    
    .team-modal .broker-achievements {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .team-modal .contact-card {
        padding: 0.6rem;
    }
}


.team-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f6f3 0%, var(--light-color, #faf9f7) 100%);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(139,69,19,0.03)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.team-container {
    position: relative;
    overflow: hidden;
}

.team-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0 3rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.team-scroll::-webkit-scrollbar {
    display: none;
}


.team-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-width: 30%;
    flex-shrink: 0;
    position: relative;
    border: 1px solid rgba(139, 69, 19, 0.05);
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.15);
    border-color: rgba(139, 69, 19, 0.1);
}

.card-image {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.team-card:hover .card-image img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.85) 0%, rgba(210, 105, 30, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(15px);
    transition: transform 0.3s ease;
}

.team-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
}

.overlay-content span {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.properties-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #8b4513 0%, #d2691e 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: countFadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: scale(0.8);
}

.team-card:nth-child(1) .properties-count { animation-delay: 0.1s; }
.team-card:nth-child(2) .properties-count { animation-delay: 0.2s; }
.team-card:nth-child(3) .properties-count { animation-delay: 0.3s; }
.team-card:nth-child(4) .properties-count { animation-delay: 0.4s; }
.team-card:nth-child(5) .properties-count { animation-delay: 0.5s; }
.team-card:nth-child(6) .properties-count { animation-delay: 0.6s; }

@keyframes countFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.properties-count:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.5);
}


.card-content {
    padding: 2rem;
}

.card-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c1810;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.position {
    color: #8b4513;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    display: block;
}

.card-content p {
    color: #5d4e37;
    width: 250px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.broker-stats {
    margin-bottom: 1.5rem;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.08) 0%, rgba(210, 105, 30, 0.08) 100%);
    color: #8b4513;
    padding: 0.7rem 1.2rem;
    border-radius: 18px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid rgba(139, 69, 19, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
    animation: badgeFadeIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

.team-card:nth-child(1) .stat-badge { animation-delay: 0.2s; }
.team-card:nth-child(2) .stat-badge { animation-delay: 0.3s; }
.team-card:nth-child(3) .stat-badge { animation-delay: 0.4s; }
.team-card:nth-child(4) .stat-badge { animation-delay: 0.5s; }
.team-card:nth-child(5) .stat-badge { animation-delay: 0.6s; }
.team-card:nth-child(6) .stat-badge { animation-delay: 0.7s; }

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

.stat-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
    border-color: rgba(139, 69, 19, 0.2);
}

.stat-badge i {
    font-size: 0.9rem;
}


.quick-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.quick-actions a {
    width: 45px;
    height: 45px;
    background: rgba(139, 69, 19, 0.08);
    color: #8b4513;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid transparent;
}

.quick-actions a:hover {
    background: #8b4513;
    color: white;
    transform: scale(1.1);
    border-color: #8b4513;
}


.scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

.scroll-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid #8b4513;
    background: linear-gradient(135deg, #ffffff 0%, #f8f6f3 100%);
    color: #8b4513;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
    position: relative;
    overflow: hidden;
}

.scroll-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #8b4513 0%, #d2691e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.scroll-btn i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.25);
    border-color: #d2691e;
}

.scroll-btn:hover::before {
    opacity: 1;
}

.scroll-btn:hover i {
    color: white;
    transform: scale(1.1);
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
}

.scroll-btn:disabled:hover {
    background: white;
    color: #8b4513;
    transform: scale(0.9);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.1);
}

.scroll-btn:disabled::before {
    opacity: 0;
}


.team-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }
.team-card:nth-child(6) { animation-delay: 0.6s; }

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


@media (max-width: 1024px) {
    .team-card {
        min-width: 300px;
    }
    
    .card-image {
        height: 250px;
    }
    
    .scroll-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .team-card {
        min-width: 280px;
        flex-direction: column;
        min-height: auto;
    }
    
    .card-image-left {
        width: 100%;
        height: 200px;
    }
    
    .card-content {
        padding: 1.5rem;
        flex: none;
    }
    
    .card-image {
        height: 220px;
    }
    
    .scroll-indicators {
        display: none;
    }
    
    .team-modal .modal-content {
        max-height: 95vh;
        margin: 1rem;
        max-width: 95vw;
        width: 95vw;
    }
    
    .team-modal .modal-header {
        padding: 1.5rem;
    }
    
    .team-modal .member-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .team-modal .member-image {
        width: 70px;
        height: 70px;
    }
    
    .team-modal .member-details h3 {
        font-size: 1.5rem;
    }
    
    .team-modal .modal-body {
        padding: 1.5rem;
    }
    
    .team-modal .member-achievements ul {
        grid-template-columns: 1fr;
    }
    
    .team-modal .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .team-modal .broker-stats-modal {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .team-modal .broker-stats-modal .stat-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .property-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .properties-scroll-controls {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .team-card {
        min-width: 260px;
    }
    
    .card-content h4 {
        font-size: 1.2rem;
    }
    
    .properties-count {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .team-modal .modal-content {
        margin: 0.5rem;
        border-radius: 20px;
    }
    
    .team-modal .modal-header {
        padding: 1rem;
        border-radius: 20px 20px 0 0;
    }
    
    .team-modal .modal-body {
        padding: 1rem;
    }
    
    .broker-properties-section {
        padding: 1rem;
    }
    
    .properties-scroll {
        gap: 1rem;
    }
    
    .property-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .property-card-modal {
        min-height: 280px;
        max-width: 240px;
    }
    
    .property-image-modal {
        height: 40%;
    }
    
    .property-info-modal {
        padding: 0.8rem;
        justify-content: space-between;
        min-height: 0;
        overflow: hidden;
    }
    
    .property-info-modal h5 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .property-details-modal {
        gap: 0.4rem;
    }
    
    .property-location-modal,
    .property-price-modal,
    .property-area-modal {
        font-size: 0.75rem;
    }
}


@media (prefers-reduced-motion: reduce) {
    .team-card {
        animation: none;
        opacity: 1;
    }
    
    .team-card:hover {
        transform: none;
    }
    
    .card-image img,
    .overlay-content {
        transition: none;
    }
}


.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem;
}

.team-modal.show {
    opacity: 1;
    visibility: visible;
}

.team-modal .modal-content {
    background: white;
    border-radius: 30px;
    padding: 0;
    max-width: 1000px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.team-modal.show .modal-content {
    transform: scale(1) translateY(0);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.team-modal .modal-header {
    background: linear-gradient(135deg, #8b4513 0%, #d2691e 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 30px 30px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.team-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.team-modal .member-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.team-modal .member-image {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.team-modal .member-image:hover {
    transform: scale(1.05);
}

.member-details {
    text-align: left;
}

.team-modal .member-details h3 {
    margin: 0 0 0.5rem 0;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-modal .role {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.team-modal .experience {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.team-modal .broker-stats-modal {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.team-modal .broker-stats-modal .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.team-modal .broker-stats-modal .stat-item i {
    font-size: 0.9rem;
    opacity: 0.9;
}

.team-modal .modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.team-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.team-modal .modal-body {
    padding: 2rem;
}

.team-modal .member-description,
.team-modal .member-achievements,
.team-modal .member-specialization,
.team-modal .member-languages,
.team-modal .member-contact {
    margin-bottom: 2rem;
}

.team-modal h4 {
    color: #3e2723;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-modal .member-description h4::before {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #8b4513;
}

.team-modal .member-achievements h4::before {
    content: '\f091';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #8b4513;
}

.team-modal .member-specialization h4::before {
    content: '\f0b1';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #8b4513;
}

.team-modal .member-languages h4::before {
    content: '\f1ab';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #8b4513;
}

.team-modal .member-contact h4::before {
    content: '\f2a0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #8b4513;
}

.team-modal p {
    color: #5d4e37;
    line-height: 1.6;
    margin: 0;
}

.team-modal .member-achievements ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.team-modal .member-achievements li {
    background: linear-gradient(135deg, #f8f6f3 0%, #ffffff 100%);
    padding: 1.2rem;
    border-radius: 15px;
    border-left: 4px solid #8b4513;
    color: #5d4e37;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.08);
}

.team-modal .member-achievements li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.12);
    border-left-color: #d2691e;
}

.team-modal .member-achievements li i {
    color: #8b4513;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.team-modal .contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.team-modal .contact-card {
    background: #f8f6f3;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.team-modal .contact-card i {
    font-size: 1.5rem;
    color: #8b4513;
    width: 30px;
    text-align: center;
}

.team-modal .contact-card span {
    display: block;
    font-size: 0.8rem;
    color: #8b4513;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.team-modal .contact-card a {
    color: #3e2723;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.team-modal .contact-card a:hover {
    color: #8b4513;
}


.broker-properties-section {
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #f8f6f3 0%, #ffffff 100%);
    border-radius: 25px;
    padding: 1rem;
    border: 1px solid rgba(139, 69, 19, 0.1);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.08);
    position: relative;
    overflow: hidden;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
}

.broker-properties-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(139,69,19,0.02)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.broker-properties-section h4 {
    color: #3e2723;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 2;
}

.broker-properties-section h4::before {
    content: '\f015';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #8b4513;
}

.properties-scroll-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.properties-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 69, 19, 0.3) transparent;
}

.properties-scroll::-webkit-scrollbar {
    height: 6px;
}

.properties-scroll::-webkit-scrollbar-track {
    background: rgba(139, 69, 19, 0.1);
    border-radius: 3px;
}

.properties-scroll::-webkit-scrollbar-thumb {
    background: rgba(139, 69, 19, 0.3);
    border-radius: 3px;
}

.properties-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 69, 19, 0.5);
}

.property-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(139, 69, 19, 0.08);
    position: relative;
    z-index: 2;
    animation: propertyCardFadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.property-card-modal {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(139, 69, 19, 0.1);
    position: relative;
    z-index: 2;
    animation: propertyCardFadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:nth-child(1) { animation-delay: 0.1s; }
.property-card:nth-child(2) { animation-delay: 0.2s; }
.property-card:nth-child(3) { animation-delay: 0.3s; }
.property-card:nth-child(4) { animation-delay: 0.4s; }
.property-card:nth-child(5) { animation-delay: 0.5s; }

.property-card-modal:nth-child(1) { animation-delay: 0.1s; }
.property-card-modal:nth-child(2) { animation-delay: 0.2s; }
.property-card-modal:nth-child(3) { animation-delay: 0.3s; }
.property-card-modal:nth-child(4) { animation-delay: 0.4s; }
.property-card-modal:nth-child(5) { animation-delay: 0.5s; }

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

.property-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.25);
    border-color: rgba(139, 69, 19, 0.2);
}

.property-card-modal:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.3);
    border-color: rgba(139, 69, 19, 0.2);
}

.property-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.property-image-modal {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-image-modal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-card-modal:hover .property-image-modal img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(139, 69, 19, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.property-badge-modal {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(139, 69, 19, 0.95);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 18px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
    z-index: 2;
}

@media (max-width: 768px) {
    .property-badge-modal {
        top: 8px;
        left: 8px;
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }
}

.property-info {
    padding: 1rem;
}

.property-info-modal {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-info h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #3e2723;
    line-height: 1.3;
}

.property-info-modal h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #3e2723;
    line-height: 1.3;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .property-info-modal h5 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.4rem;
    }
    
    .property-info-modal {
        padding: 0.8rem;
    }
}

.property-location {
    color: #8b4513;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-location i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.property-price {
    color: #d2691e;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-price i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.property-area {
    color: #5d4e37;
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-area i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.property-details-modal {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: auto;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .property-details-modal {
        gap: 0.5rem;
    }
}

.property-location-modal,
.property-price-modal,
.property-area-modal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .property-location-modal,
    .property-price-modal,
    .property-area-modal {
        font-size: 0.85rem;
        gap: 0.4rem;
    }
}

.property-location-modal {
    color: #8b4513;
}

.property-location-modal i {
    font-size: 0.85rem;
    opacity: 0.8;
}

.property-price-modal {
    color: #d2691e;
    font-weight: 700;
}

.property-price-modal i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.property-area-modal {
    color: #5d4e37;
}

.property-area-modal i {
    font-size: 0.85rem;
    opacity: 0.7;
}

.properties-scroll-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.property-scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(139, 69, 19, 0.9);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.property-scroll-btn:hover {
    background: #8b4513;
    transform: scale(1.1);
}

.property-scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.view-all-properties {
    text-align: center;
}

.view-all-properties .btn {
    background: linear-gradient(135deg, #8b4513 0%, #d2691e 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
    position: relative;
    overflow: hidden;
}

.view-all-properties .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d2691e 0%, #8b4513 100%);
    transition: left 0.4s ease;
    z-index: 1;
}

.view-all-properties .btn span {
    position: relative;
    z-index: 2;
}

.view-all-properties .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.4);
}

.view-all-properties .btn:hover::before {
    left: 0;
}

.no-properties {
    text-align: center;
    color: #8b4513;
    padding: 3rem 2rem;
    background: rgba(139, 69, 19, 0.03);
    border-radius: 20px;
    border: 2px dashed rgba(139, 69, 19, 0.15);
    position: relative;
    z-index: 2;
}

.no-properties h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #8b4513;
}

.no-properties p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}