/* AMP-compliant CSS for People Directory Platform */
/* Theme colors inspired by the blue checkmark design */
/* Font: Tajawal - loaded via link tag in HTML head */

:root {
    /* توثيق Theme Colors - Black, White & Blue */
    --primary-blue: #0056b3;        /* Primary button blue - darker shade */
    --secondary-blue: #003d82;      /* Even darker blue for hover */
    --accent-blue: #0056b3;         /* Blue for checkmarks and accents - darker for better contrast */
    --light-blue: #e3f2fd;          /* Light blue backgrounds */

    /* Main theme colors */
    --black: #000000;               /* Solid black for navbar */
    --white: #FFFFFF;               /* Pure white */
    --text-primary: #333333;        /* Primary text - dark gray to black */
    --text-secondary: #555555;      /* Secondary text - darker gray for better contrast */
    --text-light: #999999;          /* Light gray text */

    /* Background colors */
    --bg-white: #FFFFFF;
    --bg-gray: #f8f9fa;             /* Very light gray */
    --bg-black: #000000;            /* Solid black background */
    --bg-dark: #1a1a1a;             /* Slightly lighter black */

    /* Border colors */
    --border-gray: #E0E0E0;         /* Light gray borders */
    --border-light: #f0f0f0;        /* Very light borders */

    /* Premium colors (keeping existing) */
    --premium-gold: #D4AF37;
    --premium-gold-light: #F7E98E;

    /* Utility colors */
    --success-green: #28a745;
    --error-red: #dc3545;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-white);
    direction: rtl;
    text-align: right;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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


/* Header Styles - Compact Black Navbar */
.header {
    background: var(--black);
    color: var(--white);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-height: 50px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--white);
    font-family: 'Tajawal', sans-serif;
    letter-spacing: -0.01em;
    transition: opacity 0.2s ease;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo:hover {
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--accent-blue);
    transition: transform 0.2s ease;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-icon {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

/* Elegant Search Bar */
.search-container {
    position: relative;
    max-width: 420px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.95);
    outline: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.12);
    background: var(--white);
}

.search-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    pointer-events: none;
    opacity: 0.7;
}

/* Elegant Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-black) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 7rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '✓';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18rem;
    font-weight: 300;
    color: var(--white);
    opacity: 0.03;
    z-index: 1;
    filter: blur(1px);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    font-family: 'Tajawal', sans-serif;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    line-height: 1.6;
    font-weight: 300;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-blue);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* Elegant Card Styles */
.card {
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 12px 40px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 123, 255, 0.2);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-gray);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background: var(--bg-gray);
    border-top: 1px solid var(--border-gray);
}

/* Professional & Elegant Profile Cards */
.profile-card {
    position: relative;
    overflow: visible;
    background: #fbfbfb;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 3rem;
    text-align: center;
}

.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 16px 64px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

/* Premium Profile Cards - Same styling as regular cards */

/* Elegant Buttons in Profile Cards */
.profile-card .btn-primary {
    width: auto;
    min-width: 120px;
    background: #000000;
    border: none;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    border-radius: 0;
}

.profile-card .btn-primary:hover {
    background: #000000;
    transform: translateY(-1px);
}

.profile-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: -30px auto 1.25rem;
    display: block;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

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

.profile-info {
    padding: 0 2rem 2rem;
}

.profile-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
    font-family: 'Tajawal', sans-serif;
    line-height: 1.3;
}

.profile-profession {
    color: var(--accent-blue);
    font-weight: 500;
    margin: 0 auto 0.75rem;
    font-size: 0.85rem;
    display: block;
}

.profile-location {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-weight: 400;
}

.profile-location svg {
    opacity: 0.6;
    width: 12px;
    height: 12px;
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 14px;
    height: 14px;
    color: #FFC107;
}

.star.empty {
    color: #E0E0E0;
}

.rating-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Elegant Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    border: 1px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.25);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--bg-gray);
    color: var(--text-dark);
    border: 1px solid var(--border-gray);
}

.btn-secondary:hover {
    background: var(--border-gray);
}

.btn-premium {
    background: linear-gradient(135deg, var(--premium-gold) 0%, #B8860B 100%);
    color: white;
}

.btn-premium:hover {
    background: linear-gradient(135deg, #B8860B 0%, var(--premium-gold) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

/* Elegant Grid Layouts */
.grid {
    display: grid;
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .grid {
        gap: 2rem;
    }
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Elegant Section Styles */
.section {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

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

.section-header::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--accent-blue);
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: 'Tajawal', sans-serif;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
    font-weight: 400;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 0;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-item:hover {
    border-color: rgba(0, 123, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 20px 60px rgba(0, 0, 0, 0.04);
}

.category-item:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 56px;
    height: 56px;
    color: var(--text-primary);
    margin: 0 auto 1.5rem;
    stroke-width: 1.5;
}

.category-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-family: 'Tajawal', sans-serif;
    letter-spacing: -0.01em;
}

.category-count {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
}

/* Footer - Black Background */
.footer {
    background: var(--bg-black);
    color: var(--white);
    padding: 3.5rem 0 1.5rem;
}


.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0;
    margin-bottom: 1rem;
    border: 1px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success-green);
    color: #065f46;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error-red);
    color: #991b1b;
}

.alert-info {
    background: var(--light-blue);
    border-color: var(--accent-blue);
    color: var(--primary-blue);
}

/* Professional Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .header {
        padding: 0.75rem 0;
    }

    .category-item {
        padding: 2.5rem 2rem;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    .card-body,
    .card-header {
        padding: 1rem;
    }

    .profile-info {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }

    .card {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* AMP Specific Overrides */
amp-img {
    border-radius: 8px;
}

amp-carousel {
    margin: 1rem 0;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* توثيق Enhanced Service Cards */
.service-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 0;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 2px 12px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--shadow-medium);
    border-color: var(--accent-blue);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: var(--light-blue);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-blue);
    font-size: 2rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: 'Tajawal', sans-serif;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Verification Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.verified-badge::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--white);
    color: var(--accent-blue);
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
}

/* Mobile Sidebar Styles */
amp-sidebar {
    width: 280px;
    background: var(--black);
    color: var(--white);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: var(--white);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.sidebar-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--accent-blue);
    padding-right: 2rem;
}

/* Enhanced Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 44px;
    height: 44px;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn .nav-icon {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

/* Menu Toggle Button (Burger Menu) */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #555555;
    transition: all 0.2s ease;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    color: #d1d5db;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.menu-toggle amp-img {
    filter: brightness(0) saturate(100%) invert(68%) sepia(6%) saturate(318%) hue-rotate(182deg) brightness(92%) contrast(87%);
}

.menu-toggle:hover amp-img {
    filter: brightness(0) saturate(100%) invert(90%) sepia(4%) saturate(231%) hue-rotate(182deg) brightness(94%) contrast(89%);
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: nowrap;
        gap: 0;
        position: relative;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.3rem;
        order: 0;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav {
        display: none;
    }
}

/* Premium Features Enhancement */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--premium-gold) 0%, #B8860B 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    animation: premiumGlow 2s ease-in-out infinite alternate;
}

@keyframes premiumGlow {
    from { box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3); }
    to { box-shadow: 0 4px 16px rgba(212, 175, 55, 0.5); }
}

/* Premium Profile Card Sidebar Enhancement */
.profile-card-sidebar.premium {
    background: linear-gradient(145deg, #ffffff 0%, #fefcf3 100%);
    border: 2px solid var(--premium-gold);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
    position: relative;
}

.profile-card-sidebar.premium::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--premium-gold), #B8860B, var(--premium-gold));
    border-radius: inherit;
    z-index: -1;
    animation: premiumBorder 3s ease-in-out infinite;
}

@keyframes premiumBorder {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Premium QR Section */
.qr-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fefcf3 0%, #ffffff 100%);
    border-radius: 0;
    border: 1px solid var(--premium-gold);
    text-align: center;
}

/* Premium Stars */
.profile-card.premium .star {
    color: var(--premium-gold);
    filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.4));
}

/* Premium Name Styling */
.profile-card.premium .profile-name {
    color: #000000;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Premium Contact Items */
.profile-card.premium .contact-item {
    border-left: 3px solid var(--premium-gold);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
}

/* Premium Social Links */
.profile-card.premium .social-link {
    background: linear-gradient(135deg, var(--premium-gold) 0%, #B8860B 100%);
    color: white;
    transition: all 0.3s ease;
}

.profile-card.premium .social-link:hover {
    background: linear-gradient(135deg, #B8860B 0%, var(--premium-gold) 100%);
    transform: scale(1.1);
}

/* Premium Profile Image */
.profile-card.premium .profile-avatar {
    border: 3px solid var(--premium-gold);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

/* Premium Rating Display */
.profile-card.premium .rating-display {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Premium Statistics */
.profile-card.premium .stat-number {
    color: var(--premium-gold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Premium Buttons - Now Blue Like Regular */
.profile-card.premium .btn-primary {
    background: #000000;
    border: none;
    transition: all 0.3s ease;
}

.profile-card.premium .btn-primary:hover {
    background: #004a99;
    transform: translateY(-2px);
}

/* Premium Achievement Box - Removed as requested */

/* Premium Profile Features */
.premium-features {
    background: linear-gradient(135deg, #fefcf3 0%, #ffffff 100%);
    border: 2px solid var(--premium-gold);
    border-radius: 0;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.premium-features::before {
    content: "👑 مميز";
    position: absolute;
    top: -12px;
    right: 1rem;
    background: linear-gradient(135deg, var(--premium-gold) 0%, #B8860B 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: bold;
}/* Footer Styles */


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

.footer-section {
    padding: 0;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary-blue, #2196F3);
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social .social-icon:hover {
    background: var(--primary-blue, #2196F3);
    transform: translateY(-3px);
}

.footer-social .social-icon i {
    font-size: 1.2rem;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* User Dropdown Menu - AMP Compatible (CSS-only) */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    text-decoration: none;
}

.user-menu-toggle:hover,
.user-menu:focus-within .user-menu-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.user-menu-toggle .nav-icon {
    width: 20px;
    height: 20px;
}

.user-menu-toggle .dropdown-arrow {
    transition: transform 0.3s ease;
}

.user-menu:hover .dropdown-arrow,
.user-menu:focus-within .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary-blue);
}

.dropdown-icon {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .user-menu-toggle {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .user-dropdown {
        right: -50px;
        min-width: 180px;
    }
}
