/* Romooz Team Display Styles */
.romooz-team-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    direction: ltr;
}

/* Filters Section */
.romooz-team-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding: 20px;
       background: linear-gradient(135deg, #4db177 0%, #158142 100%);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.filter-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
        background: rgb(11 83 41);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.3);
}

/* Team Grid */
.romooz-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Team Member Card */
.team-member-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Image Container */
.team-member-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.team-member-card:hover .team-member-image img {
    transform: scale(1.1);
}

/* Image Overlay */
.team-member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover .team-member-image::before {
    opacity: 1;
}

/* Content Section */
.team-member-content {
    padding: 25px;
    text-align: center;
}

.team-member-name {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.team-member-title {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Contact Info */
.team-member-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #34495e;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #667eea;
}

.contact-item i {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Branch Badge */
.branch-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Category Badge */
.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(238, 90, 36, 0.3);
}

/* Loading Animation */
.romooz-team-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 18px;
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .romooz-team-container {
        padding: 15px;
    }
    
    .romooz-team-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .romooz-team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-member-image {
        height: 250px;
    }
    
    .team-member-content {
        padding: 20px;
    }
    
    .team-member-name {
        font-size: 18px;
    }
    
    .team-member-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .romooz-team-filters {
        padding: 15px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .team-member-image {
        height: 220px;
    }
    
    .team-member-content {
        padding: 15px;
    }
}

/* Animation for cards appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member-card {
    animation: fadeInUp 0.6s ease forwards;
}

.team-member-card:nth-child(1) { animation-delay: 0.1s; }
.team-member-card:nth-child(2) { animation-delay: 0.2s; }
.team-member-card:nth-child(3) { animation-delay: 0.3s; }
.team-member-card:nth-child(4) { animation-delay: 0.4s; }
.team-member-card:nth-child(5) { animation-delay: 0.5s; }
.team-member-card:nth-child(6) { animation-delay: 0.6s; }

/* Hover effects for contact items */
.contact-item a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #667eea;
    text-decoration: underline;
}

/* Branch colors */
.branch-head { background: linear-gradient(135deg, #667eea, #764ba2); }
.branch-central { background: linear-gradient(135deg, #f093fb, #f5576c); }
.branch-western { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.branch-eastern { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.branch-southern { background: linear-gradient(135deg, #fa709a, #fee140); }
.branch-northern { background: linear-gradient(135deg, #a8edea, #fed6e3); }

/* Search Box */
.team-search {
    margin: 20px 0;
    text-align: center;
}

.team-search input {
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 25px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-search input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.team-search input::placeholder {
    color: #95a5a6;
    font-style: italic;
}

/* Error and No Results */
.error-message, .no-results {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #7f8c8d;
    background: #f8f9fa;
    border-radius: 15px;
    margin: 20px 0;
}

.error-message {
    color: #e74c3c;
    background: #fdf2f2;
    border: 1px solid #fadbd8;
} 