/* دليل ابيار - Custom Styles */
:root {
    --primary-color: #007bff;
    --success-color: #28a745;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --border-color: #e9ecef;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --border-radius: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.loading-content {
    text-align: center;
}

.app-logo {
    font-family: 'Amiri', 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 3rem;
}

.loading-progress {
    height: 100%;
    background: white;
    border-radius: 2px;
    animation: loading 2s ease-in-out;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.developer-info {
    margin-top: 2rem;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.developer-name {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Onboarding Styles */
.onboarding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onboarding-content {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 2rem;
}

.onboarding-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.onboarding-slide.active {
    display: block;
}

.onboarding-image {
    margin-bottom: 2rem;
}

.onboarding-slide h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.onboarding-slide p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Auth Modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-hover);
}

/* Hero Section */
.hero-section {
    background: var(--primary-color);
    color: white;
    padding: 6rem 0 4rem;
    margin-top: -80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Hero Video Text */
.hero-logo {
    margin-bottom: 2rem;
}

.video-text {
    position: relative;
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    padding: 2rem 3rem;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(45deg, rgba(0,123,255,0.8), rgba(40,167,69,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.main-content {
    padding-bottom: 100px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-width: 60px;
}

.bottom-nav .nav-item:hover,
.bottom-nav .nav-item.active {
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
}

.bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.bottom-nav .nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Search Container */
.search-container {
    max-width: 500px;
    margin: 0 auto;
}

.search-container .input-group {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.search-container .form-control {
    border: none;
    padding: 1rem;
    font-size: 1rem;
}

.search-container .input-group-text {
    border: none;
    padding: 1rem;
}

/* Main Categories */
.main-category {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1rem;
}

.main-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.main-category i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.main-category h5 {
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Sub Categories Swiper */
.sub-categories-swiper {
    overflow-x: auto;
    padding: 1rem 0;
}

.swiper-wrapper {
    display: flex;
    gap: 1rem;
}

.sub-category {
    background: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 120px;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.sub-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.sub-category.active {
    border-color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
}

.sub-category i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.sub-category span {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-action {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    color: inherit;
}

.quick-action:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.quick-action i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.quick-action span {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

/* Category Filters */
.category-filters {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.category-filters .btn {
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-filters .btn.active {
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.directory-card .card-img-top {
    height: 120px;
    object-fit: cover;
    background: var(--primary-color);
}

.directory-card .card-body {
    padding: 1.5rem;
}

.directory-card .card-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.directory-card .card-text {
    color: #666;
    font-size: 0.9rem;
}

.directory-card .contact-buttons {
    margin-top: 1rem;
}

.directory-card .contact-buttons .btn {
    border-radius: 25px;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* Compact Cards */
.compact-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    cursor: pointer;
}

.compact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.compact-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-left: 1rem;
}

.compact-card .card-content h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.compact-card .card-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* News Feed */
.news-post {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-post:hover {
    box-shadow: var(--shadow-hover);
}

.news-post .post-header {
    padding: 1rem 1.5rem 0;
    display: flex;
    align-items: center;
}

.news-post .post-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-left: 1rem;
}

.news-post .post-content {
    padding: 1rem 1.5rem;
}

.news-post .post-actions {
    padding: 0 1.5rem 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
    padding-top: 1rem;
}

.news-post .post-actions .btn {
    border: none;
    background: none;
    color: #666;
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 0.5rem 1rem;
}

.news-post .post-actions .btn:hover {
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
}

.news-post .post-actions .btn.liked {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

/* Events */
.event-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-right: 4px solid var(--success-color);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.event-card .event-date {
    background: linear-gradient(135deg, var(--success-color), #20c997);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
}

.event-card .event-content {
    padding: 1.5rem;
}

.event-card .event-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.event-card .event-description {
    color: #666;
    margin-bottom: 1rem;
}

.event-card .event-actions {
    display: flex;
    gap: 0.5rem;
}

.event-card .event-actions .btn {
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Contact Modal */
.contact-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.contact-actions .btn {
    min-width: 120px;
}

#contactCustomFields {
    text-align: right;
    margin-top: 1rem;
}

#contactCustomFields .custom-field {
    background: var(--light-gray);
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* Notification Box */
.notification-box {
    position: fixed;
    top: 80px;
    left: 20px;
    width: 350px;
    max-height: 400px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    z-index: 9999;
    overflow: hidden;
}

.notification-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-header i {
    margin-left: 0.5rem;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.3s ease;
}

.notification-item:hover {
    background: var(--light-gray);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item .time {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

/* Notifications */
.notification-container {
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 9998;
    max-width: 350px;
}

.notification {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    margin-bottom: 1rem;
    border-right: 4px solid var(--primary-color);
    animation: slideIn 0.3s ease;
}

.notification.success {
    border-right-color: var(--success-color);
}

.notification.error {
    border-right-color: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #20c997);
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .quick-action {
        padding: 1rem 0.5rem;
    }
    
    .quick-action i {
        font-size: 1.5rem;
    }
    
    .quick-action span {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .directory-card .card-img-top {
        height: 100px;
    }
    
    .directory-card .card-body {
        padding: 1rem;
    }
    
    .contact-buttons .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .notification-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .main-content {
        padding-bottom: 120px;
    }
}

/* PWA Styles */
.install-prompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 9999;
    display: none;
}

.install-prompt .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}

/* Section Transitions */
.section-content {
    animation: fadeIn 0.3s ease;
}

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

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

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow);
}

.shadow-hover {
    box-shadow: var(--shadow-hover);
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1050;
    margin-top: 0.5rem;
}

.search-dropdown {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-dropdown-header {
    background: var(--light-gray);
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid var(--border-color);
}

.search-dropdown-body {
    max-height: 350px;
    overflow-y: auto;
}

.search-loading,
.search-no-results,
.search-error {
    padding: 2rem;
    text-align: center;
    color: var(--dark-gray);
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-result-item:hover {
    background: var(--light-gray);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-result-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    text-align: right;
}

.search-result-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.search-result-profession {
    color: var(--dark-gray);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.search-result-phone {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin: 0;
}

.search-result-arrow {
    color: var(--dark-gray);
    flex-shrink: 0;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
}

.search-result-item:hover {
    background: var(--light-gray);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-left: 1rem;
    flex-shrink: 0;
}

.search-result-content {
    flex-grow: 1;
}

.search-result-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.search-result-subtitle {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin: 0;
}

.search-result-type {
    font-size: 0.8rem;
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    margin-right: 1rem;
}

/* Profile Section */
.profile-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-top: 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
    margin-left: 1rem;
}

.profile-info h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

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

.profile-actions .btn {
    flex: 1;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 20px rgba(0,0,0,0.15);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: block;
}

.sidebar.show {
    transform: translateX(0);
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    color: white;
}

.sidebar-header h5 {
    margin: 0;
}

.sidebar-header .btn-close {
    filter: invert(1);
}

.sidebar-content {
    padding: 1rem 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: right;
}

.sidebar-item:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.sidebar-item i {
    margin-left: 1rem;
    width: 20px;
    text-align: center;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    display: block;
}

.sidebar-overlay.show {
    opacity: 1;
    pointer-events: all;
}

/* Featured Contacts Grid */
.featured-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.featured-contact-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.featured-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.featured-contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.featured-contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-contact-avatar .default-avatar {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.featured-contact-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.featured-contact-profession {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.featured-contact-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.featured-contact-actions .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 20px;
}

/* Responsive for featured contacts */
@media (max-width: 768px) {
    .featured-contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .featured-contact-card {
        padding: 1rem;
    }
    
    .featured-contact-avatar {
        width: 60px;
        height: 60px;
    }
    
    .video-overlay {
        font-size: 2rem;
    }
    
    .video-text {
        padding: 1.5rem 2rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}