 /* Base Styles */
        :root {
            --primary-color: #1a1a2e;
            --secondary-color: #16213e;
            --accent-color: #0f3460;
            --highlight-color: #e94560;
            --text-color: #333;
            --light-text: #f1f1f1;
            --medium-gray: #777;
            --light-gray: #f5f5f5;
            --border-radius: 8px;
            --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: #fff;
            overflow-x: hidden;
            top: 0px !important;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Playfair Display', serif;
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 1rem;
        }
        
        p {
            margin-bottom: 1.5rem;
        }
        
        a {
            text-decoration: none;
            color: var(--accent-color);
            transition: var(--transition);
        }
        
        a:hover {
            color: var(--highlight-color);
        }
        
        img {
            max-width: 100%;
            height: auto;
        }
        
        ul {
            list-style: none;
        }
        
        /* Arabic content styling */
        .arabic {
            font-family: 'Noto Sans Arabic', sans-serif;
            direction: rtl;
            text-align: right;
        }
        
        /* Layout */
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        section {
            padding: 80px 0;
        }
        
        section:nth-child(even) {
            background-color: var(--light-gray);
        }
        
        /* Buttons */
        .btn {
            display: inline-block;
            padding: 12px 25px;
            background-color: var(--accent-color);
            color: white;
            border-radius: var(--border-radius);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            font-size: 14px;
            text-align: center;
        }
        
        .btn:hover {
            background-color: var(--highlight-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: var(--box-shadow);
        }
        
        .btn-outline {
            background-color: transparent;
            border: 2px solid var(--accent-color);
            color: var(--accent-color);
        }
        
        .btn-outline:hover {
            background-color: var(--accent-color);
            color: white;
        }
        
        /* Header */
        header {
            background-color: var(--primary-color);
            color: white;
            padding: 20px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logo img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
        }
        
        .logo h1 {
            font-size: 1.5rem;
            margin: 0;
        }
        
        .logo h1 a {
            color: white;
        }
        
        /* Navigation */
        nav ul {
            display: flex;
            gap: 25px;
        }
        
        nav ul li a {
            color: white;
            font-weight: 500;
            position: relative;
            padding-bottom: 5px;
        }
        
        nav ul li a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--highlight-color);
            bottom: 0;
            left: 0;
            transition: var(--transition);
        }
        
        nav ul li a:hover:after {
            width: 100%;
        }
        
        /* Google Translate Element */
        #google_translate_element {
            margin-left: 20px;
        }
        
        /* Style the language selector */
        .goog-te-gadget {
            font-family: 'Poppins', sans-serif !important;
        }
        
        .goog-te-gadget-simple {
            background-color: rgba(255, 255, 255, 0.1) !important;
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
            padding: 8px 12px !important;
            border-radius: var(--border-radius) !important;
            font-size: 14px !important;
            color: white !important;
        }
        
        .goog-te-gadget-simple .goog-te-menu-value span {
            color: white !important;
        }
        
        .goog-te-gadget-simple .goog-te-menu-value span:first-child {
            color: white !important;
        }
        
        /* Hide Google Translate branding */
        .goog-te-banner-frame.skiptranslate {
            display: none !important;
        }
        
        /* Mobile Navigation */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/Mostafa_EL_Masry.jpg') no-repeat center center/cover;
            color: white;
            text-align: center;
            padding: 180px 0 100px;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }
        
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }
        
        .social-links a {
            color: white;
            background-color: rgba(255, 255, 255, 0.1);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        
        .social-links a:hover {
            background-color: var(--highlight-color);
            transform: translateY(-3px);
        }
        
        /* Blog Content */
        .blog-container {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 40px;
            margin-top: 40px;
        }
        
        .blog-posts {
            display: grid;
            gap: 30px;
        }
        
        .blog-post {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
        }
        
        .blog-post:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .post-image {
            height: 250px;
            overflow: hidden;
        }
        
        .post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .blog-post:hover .post-image img {
            transform: scale(1.05);
        }
        
        .post-content {
            padding: 25px;
        }
        
        .post-meta {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            font-size: 0.9rem;
            color: var(--medium-gray);
        }
        
        .post-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 15px;
        }
        
        .tag {
            background-color: var(--light-gray);
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            color: var(--medium-gray);
        }
        
        .tag:hover {
            background-color: var(--accent-color);
            color: white;
        }
        
        .read-more {
            display: inline-block;
            margin-top: 15px;
            font-weight: 500;
            position: relative;
        }
        
        .read-more:after {
            content: '→';
            margin-left: 5px;
            transition: var(--transition);
        }
        
        .read-more:hover:after {
            margin-left: 10px;
        }
        
        .arabic .read-more:after {
            content: '←';
            margin-right: 5px;
            margin-left: 0;
        }
        
        .arabic .read-more:hover:after {
            margin-right: 10px;
        }
        
        /* Sidebar */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        .sidebar-widget {
            background: white;
            padding: 25px;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
        }
        
        .sidebar-widget h3 {
            color: var(--accent-color);
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .sidebar-widget h3:after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background: var(--highlight-color);
            bottom: 0;
            left: 0;
        }
        
        .arabic .sidebar-widget h3:after {
            left: auto;
            right: 0;
        }
        
        .categories-list li {
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .categories-list li:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .categories-list a {
            display: flex;
            justify-content: space-between;
        }
        
        .categories-list span {
            background-color: var(--light-gray);
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.8rem;
        }
        
        .recent-posts li {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .recent-posts li:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .recent-post-image {
            width: 80px;
            height: 80px;
            border-radius: var(--border-radius);
            overflow: hidden;
            flex-shrink: 0;
        }
        
        .recent-post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .recent-post-content h4 {
            font-size: 1rem;
            margin-bottom: 5px;
        }
        
        .recent-post-content p {
            font-size: 0.8rem;
            color: var(--medium-gray);
            margin-bottom: 0;
        }
        
        /* Newsletter */
        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .newsletter-form input {
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            font-family: 'Poppins', sans-serif;
        }
        
        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 50px;
            gap: 10px;
        }
        
        .pagination a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--light-gray);
            color: var(--text-color);
            transition: var(--transition);
        }
        
        .pagination a.active, .pagination a:hover {
            background-color: var(--accent-color);
            color: white;
        }
        
        /* Footer */
        footer {
            background-color: var(--primary-color);
            color: white;
            padding: 60px 0 0;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-col h3 {
            color: white;
            font-size: 1.3rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-col h3:after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background: var(--highlight-color);
            bottom: 0;
            left: 0;
        }
        
        .footer-col p, .footer-col li {
            margin-bottom: 15px;
            opacity: 0.8;
        }
        
        .footer-col a {
            color: white;
            opacity: 0.8;
        }
        
        .footer-col a:hover {
            opacity: 1;
            color: var(--highlight-color);
        }
        
        .footer-buttons {
            margin-top: 20px;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .footer-bottom p {
            margin-bottom: 20px;
            opacity: 0.7;
        }
        
        .footer-social-links {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .footer-social-links a {
            color: white;
            background-color: rgba(255, 255, 255, 0.1);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        
        .footer-social-links a:hover {
            background-color: var(--highlight-color);
            transform: translateY(-3px);
        }
        
        /* Contact Info */
        .contact-info {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .contact-info i {
            margin-right: 10px;
            color: var(--highlight-color);
        }
        
        /* Mobile Responsiveness */
        @media (max-width: 992px) {
            .blog-container {
                grid-template-columns: 1fr;
            }
            
            .sidebar {
                order: -1;
            }
        }
        
        @media (max-width: 768px) {
            section {
                padding: 60px 0;
            }
            
            .hero {
                padding: 150px 0 80px;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            nav ul, #google_translate_element {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .mobile-nav {
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                background-color: var(--primary-color);
                padding: 20px;
                transform: translateY(-100%);
                transition: var(--transition);
                z-index: 999;
            }
            
            .mobile-nav.active {
                transform: translateY(0);
            }
            
            .mobile-nav ul {
                display: flex;
                flex-direction: column;
                gap: 15px;
            }
            
            .mobile-nav #google_translate_element {
                display: block;
                margin: 20px 0 0;
            }
        }
        
        @media (max-width: 576px) {
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .logo h1 {
                font-size: 1.2rem;
            }
            
            .logo img {
                width: 50px;
                height: 50px;
            }
            
            .post-meta {
                flex-direction: column;
                gap: 10px;
            }
        }
/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

/* Admin Table Styles */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.admin-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.admin-table tr:hover {
    background-color: #f8f9fa;
}