/* Enhanced Mobile Responsive CSS - HBR Website */
/* CSS محسن للتجاوب مع الهواتف المحمولة - موقع هبر */

/* ===== GLOBAL MOBILE-FIRST APPROACH ===== */
/* نهج عالمي للهواتف أولاً */

* {
    box-sizing: border-box;
}

/* ===== CONTENT GRID - UNIVERSAL MOBILE FIX ===== */
/* شبكة المحتوى - إصلاح عالمي للهواتف */

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

.content-grid.mobile-responsive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* ===== DESKTOP OPTIMIZATION ===== */
/* تحسين نسخة الويب */

@media (min-width: 769px) {
    /* Desktop Content Grid */
    .content-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem !important;
        align-items: center !important;
    }
    
    .content-grid .content-image {
        order: unset !important;
        width: 100% !important;
        max-width: 500px !important;
        margin-bottom: 0 !important;
    }
    
    .content-grid .content-text {
        order: unset !important;
        width: 100% !important;
    }
    
    /* Desktop Image Optimization */
    .content-image img {
        width: 100% !important;
        height: auto !important;
        max-width: 500px !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        transition: transform 0.3s ease !important;
    }
    
    .content-image img:hover {
        transform: scale(1.02) !important;
    }
    
    /* Specific Desktop Fixes */
    .cctv-page .content-section .content-grid,
    .supplier-page .content-section .content-grid,
    .career-page .content-section .content-grid,
    .contact-page .content-section .content-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem !important;
        align-items: center !important;
    }
    
    .cctv-page .content-section .content-grid .content-image,
    .supplier-page .content-section .content-grid .content-image,
    .career-page .content-section .content-grid .content-image,
    .contact-page .content-section .content-grid .content-image {
        order: unset !important;
        width: 100% !important;
        max-width: 500px !important;
        margin-bottom: 0 !important;
    }
    
    .cctv-page .content-section .content-grid .content-text,
    .supplier-page .content-section .content-grid .content-text,
    .career-page .content-section .content-grid .content-text,
    .contact-page .content-section .content-grid .content-text {
        order: unset !important;
        width: 100% !important;
    }
    
    /* Desktop Services Grid */
    .services-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 2rem !important;
    }
    
    /* Desktop Applications Grid */
    .applications-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 1.5rem !important;
    }
    
    /* Desktop Products Slider */
    .products-slider {
        overflow: visible !important;
    }
    
    .products-track {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 1.5rem !important;
        padding: 0 !important;
    }
    
    .product-img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
        transition: transform 0.3s ease !important;
    }
    
    .product-img:hover {
        transform: scale(1.05) !important;
    }
    
    /* Desktop Senior Leadership */
    .senior-leadership-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 3rem !important;
    }
    
    .senior-leader-image {
        width: 200px !important;
        height: 200px !important;
    }
    
    /* Desktop Form Optimization */
    .contact-form {
        max-width: 800px !important;
        margin: 0 auto !important;
    }
    
    .form-group {
        margin-bottom: 1.5rem !important;
    }
    
    input, textarea, select {
        padding: 12px 15px !important;
        font-size: 16px !important;
    }
    
    .submit-btn {
        padding: 15px 30px !important;
        font-size: 1.1rem !important;
        width: auto !important;
    }
    
    /* Desktop Container Optimization */
    .container {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 2rem !important;
    }
    
    /* Desktop Section Spacing */
    .content-section {
        padding: 4rem 0 !important;
    }
    
    .section-header {
        margin-bottom: 3rem !important;
    }
    
    .section-title {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .section-subtitle {
        font-size: 1.2rem !important;
        color: #666 !important;
    }
    
    /* Desktop Text Optimization */
    .content-text h3 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
        color: #333 !important;
    }
    
    .content-text p {
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
        color: #555 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .content-text ul {
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
    }
    
    .content-text li {
        margin-bottom: 0.5rem !important;
    }
    
    /* Desktop Service Cards */
    .service-card {
        padding: 2rem !important;
        border-radius: 15px !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
    }
    
    .service-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    }
    
    .service-card h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .service-card p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    /* Desktop Application Items */
    .application-item {
        padding: 1.5rem !important;
        border-radius: 10px !important;
        background: #f8f9fa !important;
        transition: all 0.3s ease !important;
    }
    
    .application-item:hover {
        background: #e9ecef !important;
        transform: translateY(-2px) !important;
    }
    
    .application-item i {
        font-size: 2.5rem !important;
        color: #d32f2f !important;
        margin-bottom: 1rem !important;
    }
    
    .application-item span {
        font-size: 1.1rem !important;
        font-weight: 500 !important;
    }
    
    /* Desktop Navigation Enhancement */
    .nav-menu {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
    }
    
    .nav-list {
        display: flex !important;
        flex-direction: row !important;
        padding: 0 !important;
        gap: 2rem !important;
    }
    
    .nav-link {
        font-size: 1rem !important;
        font-weight: 500 !important;
        transition: color 0.3s ease !important;
    }
    
    .nav-link:hover {
        color: #d32f2f !important;
    }
    
    /* Desktop Page Header */
    .page-header {
        padding: 4rem 0 !important;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    }
    
    .page-title {
        font-size: 3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .page-subtitle {
        font-size: 1.3rem !important;
        color: #666 !important;
    }
    
    /* Desktop About Page Specific */
    .about-page .content-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem !important;
        align-items: center !important;
    }
    
    .about-page .content-grid .content-image {
        order: unset !important;
        width: 100% !important;
        max-width: 500px !important;
        margin-bottom: 0 !important;
    }
    
    .about-page .content-grid .content-text {
        order: unset !important;
        width: 100% !important;
    }
    
    /* Desktop Senior Leadership Enhancement */
    .senior-leadership-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        padding: 4rem 0 !important;
    }
    
    .senior-leadership-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4rem !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
    }
    
    .senior-leader-card {
        background: white !important;
        border-radius: 20px !important;
        padding: 3rem !important;
        text-align: center !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.4s ease !important;
        border: 3px solid transparent !important;
    }
    
    .senior-leader-card:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
        border-color: #d32f2f !important;
    }
    
    .senior-leader-image {
        width: 200px !important;
        height: 200px !important;
        border-radius: 50% !important;
        margin: 0 auto 2rem !important;
        box-shadow: 0 10px 30px rgba(211, 47, 47, 0.2) !important;
        transition: all 0.3s ease !important;
    }
    
    .senior-leader-card:hover .senior-leader-image {
        transform: scale(1.05) !important;
        box-shadow: 0 15px 40px rgba(211, 47, 47, 0.3) !important;
    }
    
    .senior-leader-name {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        color: #333 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .senior-leader-title {
        font-size: 1.1rem !important;
        color: #666 !important;
        font-weight: 500 !important;
    }
    
    /* Desktop Team Section */
    .team-section {
        padding: 4rem 0 !important;
    }
    
    .team-slider-enhanced {
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
    
    .team-track-enhanced {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 2rem !important;
        padding: 0 !important;
    }
    
    .team-member {
        background: white !important;
        border-radius: 15px !important;
        padding: 2rem !important;
        text-align: center !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
    }
    
    .team-member:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    }
    
    .member-image {
        width: 150px !important;
        height: 150px !important;
        border-radius: 50% !important;
        margin: 0 auto 1.5rem !important;
        overflow: hidden !important;
    }
    
    .member-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.3s ease !important;
    }
    
    .team-member:hover .member-img {
        transform: scale(1.1) !important;
    }
    
    .member-name {
        font-size: 1.3rem !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .member-position {
        font-size: 1rem !important;
        color: #666 !important;
    }
    
    /* Desktop Form Enhancement */
    .contact-form {
        background: white !important;
        border-radius: 20px !important;
        padding: 3rem !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
        max-width: 800px !important;
        margin: 0 auto !important;
    }
    
    .form-group {
        margin-bottom: 2rem !important;
    }
    
    .form-group label {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin-bottom: 0.5rem !important;
        display: block !important;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100% !important;
        padding: 15px 20px !important;
        border: 2px solid #e9ecef !important;
        border-radius: 10px !important;
        font-size: 1rem !important;
        transition: all 0.3s ease !important;
        background: #f8f9fa !important;
    }
    
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        border-color: #d32f2f !important;
        background: white !important;
        box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1) !important;
        outline: none !important;
    }
    
    .submit-btn {
        background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
        color: white !important;
        padding: 18px 40px !important;
        border: none !important;
        border-radius: 10px !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        width: auto !important;
        min-width: 200px !important;
    }
    
    .submit-btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3) !important;
    }
    
    /* Desktop Map Enhancement */
    .map-container {
        border-radius: 15px !important;
        overflow: hidden !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }
    
    .map-container iframe {
        border-radius: 15px !important;
    }
    
    /* Desktop Social Media Enhancement */
    .social-media-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        padding: 4rem 0 !important;
    }
    
    .social-media-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 2rem !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
    
    .social-media-card {
        background: white !important;
        border-radius: 15px !important;
        padding: 2.5rem !important;
        text-align: center !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
        border: 3px solid transparent !important;
    }
    
    .social-media-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
        border-color: #d32f2f !important;
    }
    
    .social-media-icon {
        font-size: 3rem !important;
        margin-bottom: 1.5rem !important;
        color: #d32f2f !important;
    }
    
    .social-media-name {
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin-bottom: 1rem !important;
    }
    
    .social-media-description {
        font-size: 1rem !important;
        color: #666 !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.6 !important;
    }
    
    .social-media-link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        background: #d32f2f !important;
        color: white !important;
        padding: 12px 25px !important;
        border-radius: 25px !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
    }
    
    .social-media-link:hover {
        background: #b71c1c !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3) !important;
    }
}

/* ===== MOBILE BREAKPOINTS ===== */
/* نقاط التوقف للهواتف */

@media (max-width: 768px) {
    /* ===== UNIVERSAL CONTENT GRID FIX ===== */
    /* إصلاح عالمي لشبكة المحتوى */
    
    .content-grid,
    .content-grid.mobile-responsive {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* ===== FORCE IMAGE FIRST - ALL PAGES ===== */
    /* إجبار الصورة أولاً - جميع الصفحات */
    
    .content-grid .content-image,
    .content-grid.mobile-responsive .content-image,
    .content-image {
        order: -1 !important; /* الصورة أولاً */
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .content-grid .content-text,
    .content-grid.mobile-responsive .content-text,
    .content-text {
        order: 1 !important; /* النص ثانياً */
        width: 100% !important;
    }
    
    /* ===== SPECIFIC PAGE FIXES ===== */
    /* إصلاحات خاصة بالصفحات */
    
    /* About Page */
    .about-content {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .about-image,
    .about-img {
        order: -1 !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .about-text {
        order: 1 !important;
        width: 100% !important;
    }
    
    /* Careers Page */
    .careers-content,
    .career-content {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .careers-images,
    .career-images {
        order: -1 !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .careers-text,
    .career-text {
        order: 1 !important;
        width: 100% !important;
    }
    
    /* Supplier Page */
    .supplier-content {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .supplier-images {
        order: -1 !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .supplier-text {
        order: 1 !important;
        width: 100% !important;
    }
    
    /* CCTV Page */
    .cctv-content {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .cctv-images {
        order: -1 !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .cctv-text {
        order: 1 !important;
        width: 100% !important;
    }
    
    /* Contact Page */
    .contact-content {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .contact-image {
        order: -1 !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .contact-text {
        order: 1 !important;
        width: 100% !important;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .service-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Team Section */
    .team-section .content-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .team-section .content-image {
        order: -1 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .team-section .content-text {
        order: 1 !important;
    }
    
    /* Prayer Section */
    .prayer-section .content-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .prayer-section .content-image {
        order: -1 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .prayer-section .content-text {
        order: 1 !important;
    }
    
    /* Chairman Section */
    .chairman-section .content-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .chairman-section .content-image {
        order: -1 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .chairman-section .content-text {
        order: 1 !important;
    }
    
    /* Executive Leadership Section */
    .executive-leadership .content-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .executive-leadership .content-image {
        order: -1 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .executive-leadership .content-text {
        order: 1 !important;
    }
    
    /* CSR Section */
    .csr-content {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .csr-image {
        order: -1 !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .csr-text {
        order: 1 !important;
        width: 100% !important;
    }
    
    /* ===== IMAGE OPTIMIZATION ===== */
    /* تحسين الصور */
    
    .content-image img,
    .about-img,
    .career-img,
    .cctv-img,
    .supplier-img,
    .csr-img,
    .chairman-img,
    .founder-img,
    .executive-leadership-img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    }
    
    /* ===== NAVIGATION MOBILE ===== */
    /* التنقل في الهاتف */
    
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: rgba(211, 47, 47, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        transition: 0.3s !important;
        z-index: 1000 !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-list {
        flex-direction: column !important;
        padding: 2rem !important;
        gap: 1rem !important;
    }
    
    .nav-link {
        font-size: 1.2rem !important;
        padding: 1rem !important;
        border-radius: 8px !important;
        transition: 0.3s !important;
    }
    
    .dropdown-menu {
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 1rem !important;
        margin-top: 0.5rem !important;
    }
    
    .dropdown-menu li a {
        color: white !important;
        padding: 0.5rem 1rem !important;
        border-radius: 5px !important;
        font-size: 1rem !important;
    }
    
    /* ===== LANGUAGE SWITCHER MOBILE ===== */
    /* مبدل اللغة في الهاتف */
    
    .language-switcher {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 1001 !important;
    }
    
    .language-switcher .lang-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
        border-radius: 5px !important;
    }
    
    /* ===== ADMIN LOGIN MOBILE ===== */
    /* تسجيل دخول الإدارة في الهاتف */
    
    .admin-login {
        position: fixed !important;
        top: 20px !important;
        left: 20px !important;
        z-index: 1001 !important;
    }
    
    .admin-login-btn {
        padding: 0.5rem !important;
        font-size: 1.2rem !important;
        border-radius: 50% !important;
    }
}

/* ===== SMALL MOBILE DEVICES ===== */
/* الأجهزة الصغيرة */

@media (max-width: 480px) {
    /* ===== CONTENT GRID - SMALL MOBILE ===== */
    /* شبكة المحتوى - الهاتف الصغير */
    
    .content-grid,
    .content-grid.mobile-responsive {
        gap: 1.5rem !important;
    }
    
    .content-image img,
    .about-img,
    .career-img,
    .cctv-img,
    .supplier-img,
    .csr-img,
    .chairman-img,
    .founder-img,
    .executive-leadership-img {
        border-radius: 8px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    }
    
    /* ===== SERVICE CARDS - SMALL MOBILE ===== */
    /* بطاقات الخدمات - الهاتف الصغير */
    
    .service-card {
        padding: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .service-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .service-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* ===== TEAM MEMBERS - SMALL MOBILE ===== */
    /* أعضاء الفريق - الهاتف الصغير */
    
    .team-track-enhanced .team-member {
        min-width: 150px !important;
        margin: 0 0.5rem !important;
    }
    
    .team-track-enhanced .member-img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .team-track-enhanced .member-name {
        font-size: 0.9rem !important;
    }
    
    .team-track-enhanced .member-position {
        font-size: 0.8rem !important;
    }
    
    /* ===== PARTNERS & CERTIFICATES - SMALL MOBILE ===== */
    /* الشركاء والشهادات - الهاتف الصغير */
    
    .partners-track {
        gap: 1rem !important;
    }
    
    .partners-track img,
    .certificates-track img {
        width: 80px !important;
        height: 60px !important;
    }
    
    .certificates-track {
        gap: 1rem !important;
    }
    
    /* ===== CONTACT FORM - SMALL MOBILE ===== */
    /* نموذج الاتصال - الهاتف الصغير */
    
    .contact-form {
        padding: 1rem !important;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.8rem !important;
        font-size: 0.9rem !important;
    }
    
    .cta-button,
    .submit-btn {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
}

/* ===== RTL SUPPORT - MOBILE ===== */
/* دعم RTL - الهاتف */

@media (max-width: 768px) {
    [dir="rtl"] .content-grid .content-image,
    [dir="rtl"] .content-grid.mobile-responsive .content-image,
    [dir="rtl"] .content-image {
        order: -1 !important; /* الصورة أولاً في RTL أيضاً */
    }
    
    [dir="rtl"] .content-grid .content-text,
    [dir="rtl"] .content-grid.mobile-responsive .content-text,
    [dir="rtl"] .content-text {
        order: 1 !important; /* النص ثانياً في RTL أيضاً */
    }
    
    [dir="rtl"] .about-image,
    [dir="rtl"] .about-img {
        order: -1 !important;
    }
    
    [dir="rtl"] .about-text {
        order: 1 !important;
    }
    
    [dir="rtl"] .careers-images,
    [dir="rtl"] .career-images {
        order: -1 !important;
    }
    
    [dir="rtl"] .careers-text,
    [dir="rtl"] .career-text {
        order: 1 !important;
    }
    
    [dir="rtl"] .supplier-images {
        order: -1 !important;
    }
    
    [dir="rtl"] .supplier-text {
        order: 1 !important;
    }
    
    [dir="rtl"] .csr-image {
        order: -1 !important;
    }
    
    [dir="rtl"] .csr-text {
        order: 1 !important;
    }
    
    [dir="rtl"] .cctv-images {
        order: -1 !important;
    }
    
    [dir="rtl"] .cctv-text {
        order: 1 !important;
    }
    
    [dir="rtl"] .team-section .content-image {
        order: -1 !important;
    }
    
    [dir="rtl"] .team-section .content-text {
        order: 1 !important;
    }
    
    [dir="rtl"] .prayer-section .content-image {
        order: -1 !important;
    }
    
    [dir="rtl"] .prayer-section .content-text {
        order: 1 !important;
    }
    
    [dir="rtl"] .chairman-section .content-image {
        order: -1 !important;
    }
    
    [dir="rtl"] .chairman-section .content-text {
        order: 1 !important;
    }
    
    [dir="rtl"] .executive-leadership .content-image {
        order: -1 !important;
    }
    
    [dir="rtl"] .executive-leadership .content-text {
        order: 1 !important;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* تحسينات الأداء */

@media (max-width: 768px) {
    /* ===== REDUCE ANIMATIONS ON MOBILE ===== */
    /* تقليل الحركات في الهاتف */
    
    .animated {
        animation-duration: 0.5s !important;
    }
    
    /* ===== OPTIMIZE SLIDERS FOR MOBILE ===== */
    /* تحسين الشرائح للهاتف */
    
    .team-track-enhanced {
        scroll-behavior: smooth !important;
    }
    
    .partners-track {
        scroll-behavior: smooth !important;
    }
    
    .certificates-track {
        scroll-behavior: smooth !important;
    }
    
    /* ===== ENHANCE TOUCH INTERACTIONS ===== */
    /* تحسين التفاعل باللمس */
    
    .content-image img,
    .service-card,
    .team-member,
    .event-card {
        transition: transform 0.2s ease !important;
    }
    
    .content-image img:active,
    .service-card:active,
    .team-member:active,
    .event-card:active {
        transform: scale(0.98) !important;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
/* تحسينات إمكانية الوصول */

@media (max-width: 768px) {
    /* ===== LARGER TOUCH TARGETS ===== */
    /* أهداف لمس أكبر */
    
    .nav-link,
    .cta-button,
    .submit-btn,
    .lang-btn {
        min-height: 44px !important;
        min-width: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* ===== BETTER TEXT CONTRAST ===== */
    /* تباين نص أفضل */
    
    .hero-title,
    .section-title {
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
    }
    
    .nav-link,
    .service-card h3,
    .team-member h4 {
        font-weight: 600 !important;
    }
    
    .nav-link:focus,
    .cta-button:focus,
    .submit-btn:focus {
        outline: 2px solid #fff !important;
        outline-offset: 2px !important;
    }
}

/* ===== PRINT STYLES ===== */
/* أنماط الطباعة */

@media print {
    .nav-menu,
    .nav-toggle,
    .language-switcher,
    .admin-login,
    .floating-visitor-counter,
    .whatsapp-support {
        display: none !important;
    }
    
    .content-grid,
    .content-grid.mobile-responsive {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .content-image,
    .about-image,
    .career-image,
    .cctv-image,
    .supplier-image {
        order: -1 !important;
        margin-bottom: 1rem !important;
    }
    
    .content-image img,
    .about-img,
    .career-img,
    .cctv-img,
    .supplier-img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* ===== SPECIFIC PAGE ENHANCEMENTS ===== */
/* تحسينات خاصة بالصفحات */

/* CCTV Page Specific Fixes */
.content-section .content-grid {
    display: flex !important;
    flex-direction: column !important;
}

.content-section .content-grid .content-image {
    order: -1 !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
}

.content-section .content-grid .content-text {
    order: 1 !important;
    width: 100% !important;
}

/* Applications Grid Mobile Fix */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Products Slider Mobile Fix */
.products-slider {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.products-track {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
}

.product-img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Mobile Enhancements for Specific Pages */
@media (max-width: 768px) {
    /* CCTV Page */
    .content-section .content-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .content-section .content-grid .content-image {
        order: -1 !important;
        width: 100% !important;
        margin-bottom: 1.5rem !important;
    }
    
    .content-section .content-grid .content-text {
        order: 1 !important;
        width: 100% !important;
    }
    
    /* Applications Grid */
    .applications-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .application-item {
        padding: 1rem !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    .application-item i {
        font-size: 2rem !important;
        color: #d32f2f !important;
    }
    
    /* Products Slider */
    .products-track {
        gap: 0.75rem !important;
        padding: 0.75rem 0 !important;
    }
    
    .product-img {
        width: 200px !important;
        height: 150px !important;
        border-radius: 8px !important;
    }
    
    /* Supplier Page */
    .supplier-img,
    .requirements-img {
        width: 100% !important;
        height: auto !important;
        border-radius: 10px !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Career Page */
    .career-img,
    .process-img {
        width: 100% !important;
        height: auto !important;
        border-radius: 10px !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Contact Page */
    .profile-img {
        width: 100% !important;
        height: auto !important;
        border-radius: 10px !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    /* Enhanced fixes for small screens */
    .content-section .content-grid .content-image {
        margin-bottom: 1.5rem !important;
    }
    
    .applications-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    
    .application-item {
        padding: 0.75rem !important;
        font-size: 0.9rem !important;
    }
    
    .application-item i {
        font-size: 1.5rem !important;
    }
    
    .product-img {
        width: 150px !important;
        height: 120px !important;
    }
    
    /* Form improvements for small screens */
    .contact-form {
        padding: 1rem !important;
    }
    
    .form-group {
        margin-bottom: 1rem !important;
    }
    
    input, textarea, select {
        font-size: 16px !important;
        padding: 10px !important;
    }
    
    .submit-btn {
        padding: 12px !important;
        font-size: 1rem !important;
    }
}

/* RTL Support for Specific Pages */
@media (max-width: 768px) {
    [dir="rtl"] .content-section .content-grid .content-image {
        order: -1 !important;
    }
    
    [dir="rtl"] .content-section .content-grid .content-text {
        order: 1 !important;
    }
    
    [dir="rtl"] .applications-grid {
        direction: rtl !important;
    }
    
    [dir="rtl"] .application-item {
        text-align: center !important;
    }
    
    [dir="rtl"] .products-track {
        direction: rtl !important;
    }
}

/* ===== PAGE-SPECIFIC CLASSES ===== */
/* classes خاصة بالصفحات */

/* CCTV Page */
.cctv-page .content-section .content-grid {
    display: flex !important;
    flex-direction: column !important;
}

.cctv-page .content-section .content-grid .content-image {
    order: -1 !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
}

.cctv-page .content-section .content-grid .content-text {
    order: 1 !important;
    width: 100% !important;
}

/* Supplier Page */
.supplier-page .content-section .content-grid {
    display: flex !important;
    flex-direction: column !important;
}

.supplier-page .content-section .content-grid .content-image {
    order: -1 !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
}

.supplier-page .content-section .content-grid .content-text {
    order: 1 !important;
    width: 100% !important;
}

/* Career Page */
.career-page .content-section .content-grid {
    display: flex !important;
    flex-direction: column !important;
}

.career-page .content-section .content-grid .content-image {
    order: -1 !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
}

.career-page .content-section .content-grid .content-text {
    order: 1 !important;
    width: 100% !important;
}

/* Contact Page */
.contact-page .content-section .content-grid {
    display: flex !important;
    flex-direction: column !important;
}

.contact-page .content-section .content-grid .content-image {
    order: -1 !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
}

.contact-page .content-section .content-grid .content-text {
    order: 1 !important;
    width: 100% !important;
}

/* Mobile Overrides for Page Classes */
@media (max-width: 768px) {
    .cctv-page .content-section .content-grid,
    .supplier-page .content-section .content-grid,
    .career-page .content-section .content-grid,
    .contact-page .content-section .content-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .cctv-page .content-section .content-grid .content-image,
    .supplier-page .content-section .content-grid .content-image,
    .career-page .content-section .content-grid .content-image,
    .contact-page .content-section .content-grid .content-image {
        order: -1 !important;
        width: 100% !important;
        margin-bottom: 1.5rem !important;
    }
    
    .cctv-page .content-section .content-grid .content-text,
    .supplier-page .content-section .content-grid .content-text,
    .career-page .content-section .content-grid .content-text,
    .contact-page .content-section .content-grid .content-text {
        order: 1 !important;
        width: 100% !important;
    }
}

/* RTL Support for Page Classes */
@media (max-width: 768px) {
    [dir="rtl"] .cctv-page .content-section .content-grid .content-image,
    [dir="rtl"] .supplier-page .content-section .content-grid .content-image,
    [dir="rtl"] .career-page .content-section .content-grid .content-image,
    [dir="rtl"] .contact-page .content-section .content-grid .content-image {
        order: -1 !important;
    }
    
    [dir="rtl"] .cctv-page .content-section .content-grid .content-text,
    [dir="rtl"] .supplier-page .content-section .content-grid .content-text,
    [dir="rtl"] .career-page .content-section .content-grid .content-text,
    [dir="rtl"] .contact-page .content-section .content-grid .content-text {
        order: 1 !important;
    }
} 

/* ===== ABOUT PAGE SPECIFIC DESKTOP ENHANCEMENTS ===== */
/* تحسينات خاصة بصفحة من نحن للديسكتوب */

@media (min-width: 769px) {
    /* About Page Specific Enhancements */
    .about-page {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }
    
    .about-page .page-header {
        background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
        color: white;
        padding: 4rem 0;
        text-align: center;
        margin-bottom: 0;
    }
    
    .about-page .page-title {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }
    
    .about-page .page-subtitle {
        font-size: 1.3rem;
        opacity: 0.9;
    }
    
    /* Page Decoration */
    .about-page .page-decoration {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .about-page .decoration-line {
        width: 100px;
        height: 3px;
        background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.3) 100%);
        border-radius: 2px;
    }
    
    .about-page .decoration-icon {
        width: 50px;
        height: 50px;
        background: rgba(255,255,255,0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255,255,255,0.3);
    }
    
    .about-page .decoration-icon i {
        font-size: 1.5rem;
        color: white;
        animation: rotate 3s linear infinite;
    }
    
    @keyframes rotate {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    /* Enhanced Content Sections */
    .about-page .content-section {
        padding: 5rem 0;
        background: white;
        margin: 2rem 0;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .about-page .content-section:nth-child(even) {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }
    
    .about-page .section-header {
        text-align: center;
        margin-bottom: 4rem;
    }
    
    .about-page .section-title {
        font-size: 2.8rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 1rem;
        position: relative;
    }
    
    .about-page .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
        border-radius: 2px;
    }
    
    /* Enhanced Content Grid */
    .about-page .content-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4rem !important;
        align-items: center !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
    
    .about-page .content-image {
        order: unset !important;
        text-align: center !important;
    }
    
    .about-page .content-image img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 20px !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
        transition: all 0.4s ease !important;
    }
    
    .about-page .content-image img:hover {
        transform: scale(1.05) !important;
        box-shadow: 0 20px 50px rgba(0,0,0,0.2) !important;
    }
    
    .about-page .content-text {
        order: unset !important;
        padding: 2rem !important;
    }
    
    .about-page .content-text h3 {
        font-size: 2.2rem !important;
        font-weight: 700 !important;
        color: #d32f2f !important;
        margin-bottom: 1.5rem !important;
    }
    
    .about-page .content-text p {
        font-size: 1.2rem !important;
        line-height: 1.8 !important;
        color: #555 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .about-page .content-text ul {
        font-size: 1.1rem !important;
        line-height: 1.8 !important;
    }
    
    .about-page .content-text li {
        margin-bottom: 0.8rem !important;
        padding-left: 1.5rem !important;
        position: relative !important;
    }
    
    .about-page .content-text li::before {
        content: '✓' !important;
        position: absolute !important;
        left: 0 !important;
        color: #d32f2f !important;
        font-weight: bold !important;
    }
    
    /* Services Areas Grid Enhancement */
    .about-page .services-areas-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 2rem !important;
        margin-top: 3rem !important;
    }
    
    .about-page .service-area-item {
        background: white !important;
        padding: 2rem !important;
        border-radius: 15px !important;
        text-align: center !important;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
        transition: all 0.3s ease !important;
        border: 3px solid transparent !important;
    }
    
    .about-page .service-area-item:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
        border-color: #d32f2f !important;
    }
    
    .about-page .service-area-item i {
        font-size: 3rem !important;
        color: #d32f2f !important;
        margin-bottom: 1rem !important;
    }
    
    .about-page .service-area-item span {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        color: #333 !important;
    }
    
    /* Subsidiaries Grid Enhancement */
    .about-page .subsidiaries-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 2rem !important;
        margin-top: 3rem !important;
    }
    
    .about-page .subsidiary-item {
        background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
        color: white !important;
        padding: 2.5rem !important;
        border-radius: 20px !important;
        text-align: center !important;
        box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3) !important;
        transition: all 0.3s ease !important;
    }
    
    .about-page .subsidiary-item:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 20px 40px rgba(211, 47, 47, 0.4) !important;
    }
    
    .about-page .subsidiary-item i {
        font-size: 3.5rem !important;
        margin-bottom: 1.5rem !important;
        opacity: 0.9 !important;
    }
    
    .about-page .subsidiary-item h4 {
        font-size: 1.3rem !important;
        font-weight: 600 !important;
        margin: 0 !important;
    }
    
    /* Enhanced Senior Leadership Section */
    .about-page .senior-leadership-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        padding: 5rem 0 !important;
        margin: 3rem 0 !important;
    }
    
    .about-page .senior-leadership-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4rem !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
    }
    
    .about-page .senior-leader-card {
        background: white !important;
        border-radius: 25px !important;
        padding: 3rem !important;
        text-align: center !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
        transition: all 0.4s ease !important;
        border: 3px solid transparent !important;
    }
    
    .about-page .senior-leader-card:hover {
        transform: translateY(-15px) !important;
        box-shadow: 0 25px 60px rgba(0,0,0,0.15) !important;
        border-color: #d32f2f !important;
    }
    
    .about-page .senior-leader-image {
        width: 250px !important;
        height: 250px !important;
        border-radius: 50% !important;
        margin: 0 auto 2rem !important;
        box-shadow: 0 15px 40px rgba(211, 47, 47, 0.2) !important;
        transition: all 0.3s ease !important;
        overflow: hidden !important;
    }
    
    .about-page .senior-leader-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.3s ease !important;
    }
    
    .about-page .senior-leader-card:hover .senior-leader-img {
        transform: scale(1.1) !important;
    }
    
    .about-page .senior-leader-name {
        font-size: 2rem !important;
        font-weight: 700 !important;
        color: #333 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .about-page .senior-leader-title {
        font-size: 1.2rem !important;
        color: #666 !important;
        font-weight: 500 !important;
    }
    
    /* Enhanced Team Section */
    .about-page .team-section {
        background: white !important;
        padding: 5rem 0 !important;
        margin: 3rem 0 !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    }
    
    .about-page .team-slider-enhanced {
        max-width: 1400px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }
    
    .about-page .team-track-enhanced {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 2rem !important;
        padding: 2rem 0 !important;
        animation: slideTeam 30s linear infinite !important;
    }
    
    @keyframes slideTeam {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    
    .about-page .team-member {
        flex: 0 0 300px !important;
        background: white !important;
        border-radius: 20px !important;
        padding: 2rem !important;
        text-align: center !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
        transition: all 0.3s ease !important;
        border: 3px solid transparent !important;
    }
    
    .about-page .team-member:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
        border-color: #d32f2f !important;
    }
    
    .about-page .member-image {
        width: 180px !important;
        height: 180px !important;
        border-radius: 50% !important;
        margin: 0 auto 1.5rem !important;
        overflow: hidden !important;
        box-shadow: 0 10px 30px rgba(211, 47, 47, 0.2) !important;
    }
    
    .about-page .member-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.3s ease !important;
    }
    
    .about-page .team-member:hover .member-img {
        transform: scale(1.1) !important;
    }
    
    .about-page .member-name {
        font-size: 1.4rem !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .about-page .member-position {
        font-size: 1rem !important;
        color: #666 !important;
        font-weight: 500 !important;
    }
    
    /* Enhanced Signature Sections */
    .about-page .chairman-signature,
    .about-page .executive-signature,
    .about-page .founder-signature {
        background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
        color: white !important;
        padding: 1.5rem !important;
        border-radius: 15px !important;
        margin-top: 1rem !important;
        text-align: center !important;
        box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3) !important;
    }
    
    .about-page .chairman-signature h4,
    .about-page .executive-signature h4,
    .about-page .founder-signature h4 {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .about-page .chairman-signature p,
    .about-page .executive-signature p,
    .about-page .founder-signature p {
        font-size: 1rem !important;
        opacity: 0.9 !important;
        margin: 0 !important;
    }
    
    /* Enhanced Prayer Section */
    .about-page .prayer-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        padding: 5rem 0 !important;
        margin: 3rem 0 !important;
    }
    
    .about-page .prayer-audio {
        margin-top: 2rem !important;
        text-align: center !important;
    }
    
    .about-page .prayer-audio audio {
        width: 100% !important;
        max-width: 400px !important;
        border-radius: 10px !important;
    }
    
    /* Enhanced Message Content */
    .about-page .message-content {
        background: white !important;
        padding: 2rem !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
    }
    
    .about-page .bismillah {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        color: #d32f2f !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
        font-family: 'Cairo', sans-serif !important;
    }
    
    /* Enhanced Executive Highlights */
    .about-page .executive-highlights {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        padding: 2rem !important;
        border-radius: 15px !important;
        margin-top: 2rem !important;
    }
    
    .about-page .executive-highlights h4 {
        font-size: 1.3rem !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin-bottom: 1rem !important;
    }
    
    .about-page .executive-highlights ul {
        list-style: none !important;
        padding: 0 !important;
    }
    
    .about-page .executive-highlights li {
        padding: 0.8rem 0 !important;
        border-bottom: 1px solid #e9ecef !important;
        position: relative !important;
        padding-left: 2rem !important;
    }
    
    .about-page .executive-highlights li::before {
        content: '→' !important;
        position: absolute !important;
        left: 0 !important;
        color: #d32f2f !important;
        font-weight: bold !important;
    }
    
    .about-page .executive-highlights li:last-child {
        border-bottom: none !important;
    }
} 

/* ===== ENHANCED CHAIRMAN MESSAGE LAYOUT ===== */
/* تحسين تخطيط رسالة الرئيس التنفيذي */

/* Desktop Chairman Message Layout */
@media (min-width: 769px) {
    .chairman-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        padding: 5rem 0 !important;
        margin: 3rem 0 !important;
    }
    .chairman-section .content-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* عرض متساوي للصورة والنص */
        gap: 4rem !important;
        align-items: start !important;
        max-width: 1400px !important;
        margin: 0 auto !important;
    }
    .chairman-section .content-image {
        order: unset !important;
        text-align: center !important;
        position: sticky !important;
        top: 2rem !important;
    }
    .chairman-section .chairman-img {
        width: 100% !important;
        max-width: 350px !important; /* Reduced from 400px */
        height: auto !important;
        border-radius: 20px !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
        transition: all 0.4s ease !important;
    }
    .chairman-section .content-text {
        padding: 0 !important;
        margin: 0 !important;
    }
    .chairman-section .bismillah {
        font-size: 1.6rem !important; /* Reduced from 1.8rem */
        font-weight: 600 !important;
        color: #d32f2f !important;
        text-align: center !important;
        margin-bottom: 2rem !important; /* Reduced from 2.5rem */
        padding: 0.8rem !important; /* Reduced from 1rem */
        background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%) !important;
        border-radius: 15px !important;
        border: 2px solid #ff9800 !important;
        text-align-last: center !important;
        direction: rtl !important;
    }
    .chairman-section .message-content p {
        font-size: 1rem !important; /* Reduced from 1.1rem */
        line-height: 1.7 !important; /* Reduced from 1.8 */
        margin-bottom: 1.2rem !important; /* Reduced from 1.5rem */
        padding: 0.7rem !important; /* Reduced from 0.8rem */
        text-align: justify !important;
        color: #333 !important;
        background: rgba(255, 255, 255, 0.8) !important;
        border-radius: 10px !important;
        border-right: 4px solid #d32f2f !important;
    }
    .chairman-section .chairman-signature {
        background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
        color: white !important;
        padding: 1.5rem !important; /* Reduced from 2rem */
        border-radius: 15px !important;
        margin-top: 1.5rem !important; /* Reduced from 2rem */
        text-align: center !important;
        box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
    }
    .chairman-section .chairman-signature h4 {
        font-size: 1.2rem !important; /* Reduced from 1.3rem */
        margin-bottom: 0.8rem !important; /* Reduced from 1rem */
        color: white !important;
        font-weight: 600 !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    }
    .chairman-section .chairman-signature p {
        font-size: 1rem !important; /* Reduced from 1.1rem */
        color: white !important;
        font-weight: 500 !important;
        margin: 0 !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
    }
}

/* ===== COMPANY FLAG IMAGE ENHANCEMENT ===== */
/* تحسين صورة العلم في بداية الصفحة */

/* Desktop Company Flag */
@media (min-width: 769px) {
    .content-section .flag-img {
        max-width: 180px !important; /* تصغير أكثر من 250px */
        height: auto !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
        transition: all 0.4s ease !important;
        border: 3px solid #d32f2f !important;
    }
    
    .content-section .flag-img:hover {
        transform: scale(1.05) !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
    }
}

/* Mobile Company Flag */
@media (max-width: 768px) {
    .content-section .flag-img {
        max-width: 150px !important; /* تصغير أكثر للموبايل */
        margin: 0 auto 1rem auto !important;
        display: block !important;
        border-radius: 12px !important;
        border: 2px solid #d32f2f !important;
    }
}

/* Small Mobile Company Flag */
@media (max-width: 480px) {
    .content-section .flag-img {
        max-width: 120px !important; /* تصغير أكثر للشاشات الصغيرة */
        border-radius: 10px !important;
    }
}

/* ===== PRAYER FOR OUR FOUNDER SECTION ENHANCEMENTS ===== */
/* تحسينات قسم دعاء لمؤسس الشركة */

/* Desktop Prayer Section Layout */
@media (min-width: 769px) {
    .prayer-section {
        background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%) !important;
        padding: 4rem 0 !important;
        margin: 2rem 0 !important;
    }
    
    /* تصغير صورة العلم في قسم الدعاء */
    .prayer-section .founder-img {
        width: 100% !important;
        max-width: 280px !important; /* تصغير من الحجم الأصلي */
        height: auto !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
        transition: all 0.4s ease !important;
    }
    
    /* جعل التوقيع أبيض في قسم الدعاء */
    .prayer-section .founder-signature {
        background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
        color: white !important;
        padding: 1.5rem !important;
        border-radius: 12px !important;
        margin-top: 1.5rem !important;
        text-align: center !important;
        box-shadow: 0 6px 20px rgba(211, 47, 47, 0.25) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .prayer-section .founder-signature h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
        color: white !important;
        font-weight: 600 !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    }
    
    .prayer-section .founder-signature p {
        font-size: 0.95rem !important;
        color: white !important;
        font-weight: 500 !important;
        margin: 0 !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
    }
    
    /* تنسيق النص الإنجليزي في قسم الدعاء - اللون الذهبي المستخدم في الموقع */
    .prayer-section .content-text h3 {
        color: #d32f2f !important;
        font-size: 1.4rem !important;
        font-weight: 600 !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    }
    
    /* تغيير اللون إلى الذهبي المستخدم في الموقع أو الرمادي الخفيف */
    .prayer-section .content-text p {
        background: #c28f33 !important; /* اللون المحدد */
        color: white !important; /* نص أبيض */
        padding: 1.2rem !important;
        border-radius: 12px !important;
        margin-bottom: 1.5rem !important;
        text-align: left !important; /* من اليسار لليمين */
        line-height: 1.8 !important;
        font-size: 1.05rem !important;
        font-weight: 500 !important;
        border: 2px solid #a67c2a !important; /* حدود بنفس اللون */
        box-shadow: 0 4px 15px rgba(194, 143, 51, 0.3) !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    }
    
    /* خيار بديل للون الذهبي المستخدم في الموقع */
    .prayer-section .content-text p.golden-bg {
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%) !important; /* ذهبي */
        color: #333 !important;
        border: 2px solid #ffb300 !important;
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
    }
    
    /* ضمان أن نص البسملة يبدأ من بداية السطر */
    .prayer-section .content-text p:first-of-type {
        text-align: right !important;
        direction: rtl !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        color: #d32f2f !important;
        background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%) !important;
        padding: 1rem !important;
        border-radius: 10px !important;
        border: 2px solid #ff9800 !important;
        margin-bottom: 1.5rem !important;
        text-align-last: right !important;
    }
    
    /* تنسيق مشغل الصوت */
    .prayer-section .prayer-audio {
        margin-top: 2rem !important;
        text-align: center !important;
    }
    
    .prayer-section .prayer-audio audio {
        width: 100% !important;
        max-width: 400px !important;
        border-radius: 25px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    }
}

/* Mobile Prayer Section Layout */
@media (max-width: 768px) {
    .prayer-section {
        padding: 2rem 0 !important;
        margin: 1rem 0 !important;
    }
    
    .prayer-section .founder-img {
        max-width: 200px !important; /* تصغير أكثر للموبايل */
        margin: 0 auto 1rem auto !important;
        display: block !important;
    }
    
    .prayer-section .founder-signature {
        background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
        color: white !important;
        padding: 1rem !important;
        border-radius: 10px !important;
        margin-top: 1rem !important;
        text-align: center !important;
    }
    
    .prayer-section .founder-signature h4 {
        font-size: 1rem !important;
        color: white !important;
        margin-bottom: 0.5rem !important;
    }
    
    .prayer-section .founder-signature p {
        font-size: 0.9rem !important;
        color: white !important;
        margin: 0 !important;
    }
    
    /* تنسيق النص الإنجليزي في الموبايل - رمادي خفيف */
    .prayer-section .content-text h3 {
        color: #d32f2f !important;
        font-size: 1.2rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    .prayer-section .content-text p {
        background: #c28f33 !important; /* اللون المحدد */
        color: white !important; /* نص أبيض */
        padding: 1rem !important;
        border-radius: 10px !important;
        margin-bottom: 1rem !important;
        text-align: left !important; /* من اليسار لليمين */
        line-height: 1.7 !important;
        font-size: 1rem !important;
        border: 2px solid #a67c2a !important; /* حدود بنفس اللون */
        box-shadow: 0 3px 10px rgba(194, 143, 51, 0.3) !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    }
    
    /* خيار بديل للون الذهبي في الموبايل */
    .prayer-section .content-text p.golden-bg {
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%) !important; /* ذهبي */
        border: 2px solid #ffb300 !important;
        box-shadow: 0 3px 10px rgba(255, 215, 0, 0.25) !important;
    }
    
    /* ضمان أن نص البسملة يبدأ من بداية السطر في الموبايل */
    .prayer-section .content-text p:first-of-type {
        text-align: right !important;
        direction: rtl !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        color: #d32f2f !important;
        background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%) !important;
        padding: 0.8rem !important;
        border-radius: 8px !important;
        border: 2px solid #ff9800 !important;
        margin-bottom: 1rem !important;
        text-align-last: right !important;
    }
    
    /* تنسيق مشغل الصوت في الموبايل */
    .prayer-section .prayer-audio {
        margin-top: 1.5rem !important;
        text-align: center !important;
    }
    
    .prayer-section .prayer-audio audio {
        width: 100% !important;
        max-width: 300px !important;
        border-radius: 20px !important;
    }
}

/* Small Mobile Prayer Section */
@media (max-width: 480px) {
    .prayer-section .founder-img {
        max-width: 180px !important; /* تصغير أكثر للشاشات الصغيرة */
    }
    
    .prayer-section .founder-signature {
        padding: 0.8rem !important;
    }
    
    .prayer-section .founder-signature h4 {
        font-size: 0.9rem !important;
    }
    
    .prayer-section .founder-signature p {
        font-size: 0.8rem !important;
    }
    
    .prayer-section .content-text h3 {
        font-size: 1.1rem !important;
    }
    
    .prayer-section .content-text p {
        font-size: 0.95rem !important;
        padding: 0.8rem !important;
        line-height: 1.6 !important;
    }
    
    .prayer-section .content-text p:first-of-type {
        font-size: 1rem !important;
        padding: 0.6rem !important;
    }
    
    .prayer-section .prayer-audio audio {
        max-width: 250px !important;
    }
}

/* RTL Support for Prayer Section */
[dir="rtl"] .prayer-section .founder-signature {
    text-align: center !important;
}

[dir="rtl"] .prayer-section .content-text p:first-of-type {
    text-align: right !important;
    direction: rtl !important;
}

[dir="rtl"] .prayer-section .content-text p {
    text-align: justify !important;
    text-align-last: right !important;
}

@media (min-width: 769px) {
    [dir="rtl"] .chairman-section .message-content p {
        text-align-last: left !important;
        border-right: none !important;
        border-left: 4px solid #d32f2f !important;
    }
} 

/* ===== ENHANCED MOBILE NAVIGATION BUTTONS ===== */
/* تحسين أزرار التنقل للموبايل */

/* Language Switcher Mobile Enhancement */
@media (max-width: 768px) {
    .language-switcher {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        margin-left: auto !important;
        margin-right: 1rem !important;
        order: 2 !important;
    }
    
    .language-switcher .lang-btn {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        border: 2px solid #d32f2f !important;
        background: transparent !important;
        color: #d32f2f !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        min-width: 45px !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }
    
    .language-switcher .lang-btn.active {
        background: #d32f2f !important;
        color: white !important;
        box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3) !important;
    }
    
    .language-switcher .lang-btn:hover {
        background: #d32f2f !important;
        color: white !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4) !important;
    }
    
    .language-switcher .lang-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 6px rgba(211, 47, 47, 0.3) !important;
    }
}

/* Admin Login Button Mobile Enhancement */
@media (max-width: 768px) {
    .admin-login {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        order: 3 !important;
        margin-left: 0.5rem !important;
    }
    
    .admin-login-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: linear-gradient(135deg, #d32f2f, #b71c1c) !important;
        color: white !important;
        border: none !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3) !important;
        font-size: 1rem !important;
    }
    
    .admin-login-btn:hover {
        background: linear-gradient(135deg, #b71c1c, #d32f2f) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 16px rgba(211, 47, 47, 0.4) !important;
    }
    
    .admin-login-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 6px rgba(211, 47, 47, 0.3) !important;
    }
    
    .admin-login-btn i {
        font-size: 1.1rem !important;
    }
}

/* Navigation Container Mobile Enhancement */
@media (max-width: 768px) {
    .nav-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.75rem 1rem !important;
        gap: 0.5rem !important;
    }
    
    .nav-logo {
        order: 1 !important;
        flex-shrink: 0 !important;
    }
    
    .nav-logo .logo {
        height: 40px !important;
        width: auto !important;
    }
    
    .nav-toggle {
        order: 4 !important;
        margin-left: 0.5rem !important;
    }
}

/* Extra Small Mobile Enhancement */
@media (max-width: 480px) {
    .language-switcher {
        margin-right: 0.5rem !important;
        gap: 0.25rem !important;
    }
    
    .language-switcher .lang-btn {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.75rem !important;
        min-width: 40px !important;
    }
    
    .admin-login-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }
    
    .admin-login-btn i {
        font-size: 1rem !important;
    }
    
    .nav-container {
        padding: 0.5rem 0.75rem !important;
    }
    
    .nav-logo .logo {
        height: 35px !important;
    }
}

/* RTL Language Support for Mobile */
@media (max-width: 768px) {
    [dir="rtl"] .language-switcher {
        margin-left: 1rem !important;
        margin-right: auto !important;
    }
    
    [dir="rtl"] .admin-login {
        margin-right: 0.5rem !important;
        margin-left: 0 !important;
    }
    
    [dir="rtl"] .nav-toggle {
        margin-right: 0.5rem !important;
        margin-left: 0 !important;
    }
}

/* Touch Target Enhancement for Mobile */
@media (max-width: 768px) {
    .language-switcher .lang-btn,
    .admin-login-btn,
    .nav-toggle {
        min-height: 44px !important;
        min-width: 44px !important;
        touch-action: manipulation !important;
    }
    
    .nav-toggle .bar {
        transition: all 0.3s ease !important;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0 !important;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }
}

/* Focus States for Accessibility */
@media (max-width: 768px) {
    .language-switcher .lang-btn:focus,
    .admin-login-btn:focus,
    .nav-toggle:focus {
        outline: 2px solid #d32f2f !important;
        outline-offset: 2px !important;
    }
    
    .language-switcher .lang-btn:focus-visible,
    .admin-login-btn:focus-visible,
    .nav-toggle:focus-visible {
        outline: 2px solid #d32f2f !important;
        outline-offset: 2px !important;
    }
}