/* Space Theme CSS - تصميم فضائي شامل */

/* Space Background */
.space-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
}

/* Space Elements */
.space-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.planet {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(100,100,255,0.6), rgba(50,50,150,0.4));
    box-shadow: 0 0 50px rgba(100,100,255,0.3);
    animation: float 20s ease-in-out infinite;
}

.planet-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.planet-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 5%;
    background: radial-gradient(circle at 30% 30%, rgba(255,200,100,0.8), rgba(255,150,50,0.6), rgba(200,100,50,0.4));
    box-shadow: 0 0 40px rgba(255,150,50,0.3);
    animation-delay: -5s;
}

.planet-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    left: 80%;
    background: radial-gradient(circle at 30% 30%, rgba(100,255,200,0.8), rgba(50,200,100,0.6), rgba(50,150,100,0.4));
    box-shadow: 0 0 30px rgba(50,200,100,0.3);
    animation-delay: -10s;
}

.asteroid {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
    animation: meteor 8s linear infinite;
}

.asteroid-1 {
    top: 0;
    right: 20%;
    animation-delay: 0s;
}

.asteroid-2 {
    top: 0;
    right: 60%;
    animation-delay: -4s;
}

.nebula {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100,50,255,0.1), transparent);
    filter: blur(20px);
    animation: nebula-glow 15s ease-in-out infinite;
}

.nebula-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.nebula-2 {
    width: 200px;
    height: 200px;
    top: 70%;
    right: 20%;
    background: radial-gradient(circle, rgba(255,100,200,0.1), transparent);
    animation-delay: -7s;
}

.satellite {
    position: absolute;
    top: 15%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    animation: satellite-orbit 25s linear infinite;
}

.satellite::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: rgba(255,255,255,0.3);
}

/* Space Hero Section */
.space-hero {
    background: transparent !important;
    position: relative;
    overflow: hidden;
}

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

.space-badge {
    background: rgba(100,100,255,0.2) !important;
    border: 1px solid rgba(100,100,255,0.3);
    backdrop-filter: blur(10px);
    color: #fff !important;
}

.space-badge.text-primary {
    color: #fff !important;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(100,100,255,0.3);
}

.space-title {
    color: #fff !important;
    text-shadow: 0 0 20px rgba(100,100,255,0.5);
}

.glow-text {
    text-shadow: 0 0 30px rgba(100,100,255,0.8);
}

.nebula-text {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(102,126,234,0.8);
}

.space-text {
    color: rgba(255,255,255,0.9) !important;
}

.space-btn {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.space-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(100,100,255,0.3);
}

.glow-btn {
    box-shadow: 0 0 20px rgba(100,100,255,0.3);
}

.glow-btn:hover {
    box-shadow: 0 0 30px rgba(100,100,255,0.5);
}

.space-stats .stat-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 1.5rem;
}

.glow-number {
    color: #fff;
    text-shadow: 0 0 20px rgba(100,100,255,0.8);
    font-weight: bold;
}

.space-tech-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.space-tech-title {
    color: #fff;
    text-shadow: 0 0 15px rgba(100,100,255,0.5);
}

.space-tech-desc {
    color: rgba(255,255,255,0.8);
}

.floating-icon {
    animation: float-icon 3s ease-in-out infinite;
}

.floating-icon:nth-child(2) { animation-delay: -0.5s; }
.floating-icon:nth-child(3) { animation-delay: -1s; }
.floating-icon:nth-child(4) { animation-delay: -1.5s; }
.floating-icon:nth-child(5) { animation-delay: -2s; }

.glow-icon {
    text-shadow: 0 0 15px currentColor;
}

/* Space Sections */
.space-section {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.space-about-content {
    color: #fff;
}

.space-feature {
    color: rgba(255,255,255,0.9);
}

.space-feature-icon {
    color: #4CAF50;
}

.space-profile-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.space-avatar {
    background: linear-gradient(45deg, #667eea, #764ba2);
    box-shadow: 0 0 30px rgba(102,126,234,0.5);
}

.space-tech-badge {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Space Skills */
.space-skill-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    color: #fff;
    transition: all 0.3s ease;
}

.space-skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(100,100,255,0.2);
}

.space-skill-icon {
    box-shadow: 0 0 30px rgba(100,100,255,0.3);
}

.space-progress {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.space-progress-bar {
    background: linear-gradient(90deg, #667eea, #764ba2);
    box-shadow: 0 0 10px rgba(102,126,234,0.5);
}

/* Space Products */
.space-product-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.space-product-card .card-title {
    color: #fff;
}

.space-product-card .card-text {
    color: rgba(255,255,255,0.8);
}

.space-pagination .swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
}

.space-pagination .swiper-pagination-bullet-active {
    background: #667eea;
    box-shadow: 0 0 10px rgba(102,126,234,0.5);
}

.space-nav {
    color: #fff;
    text-shadow: 0 0 10px rgba(100,100,255,0.5);
}

/* Space Stats */
.space-stats-section {
    background: rgba(0,0,0,0.5);
}

.space-stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    color: #fff;
    transition: all 0.3s ease;
}

.space-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(100,100,255,0.2);
}

.space-stat-icon {
    color: #667eea;
}

.space-stat-label {
    color: rgba(255,255,255,0.8);
}

/* Space CTA */
.space-cta-section {
    background: linear-gradient(135deg, rgba(102,126,234,0.8), rgba(118,75,162,0.8));
    position: relative;
    overflow: hidden;
}

.space-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: twinkle 10s linear infinite;
}

.space-back-to-top {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    box-shadow: 0 0 20px rgba(100,100,255,0.3);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes meteor {
    0% { transform: translateY(-100px) translateX(0px); opacity: 1; }
    100% { transform: translateY(100vh) translateX(100px); opacity: 0; }
}

@keyframes nebula-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes satellite-orbit {
    0% { transform: rotate(0deg) translateX(200px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(200px) rotate(-360deg); }
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Responsive */
@media (max-width: 768px) {
    .planet {
        display: none;
    }
    
    .space-stats .stat-item {
        margin-bottom: 1rem;
    }
    
    .space-tech-card {
        padding: 1.5rem;
    }
}

/* Dark mode compatibility */
@media (prefers-color-scheme: dark) {
    .space-canvas {
        background: linear-gradient(135deg, #000000 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    }
}

/* ===== قواعد نهائية قوية لحل مشكلة التحديد والضغط ===== */

/* تجاوز جميع القواعد السابقة */
* {
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  pointer-events: auto !important;
}

/* استثناء العناصر الزخرفية فقط */
.space-canvas,
.space-elements,
.planet,
.asteroid,
.nebula,
.satellite,
.hero-bg-overlay,
.hero-wave,
.animated-astronaut,
.animated-astronaut img,
.hero-section::before,
.hero-section::after {
  user-select: none !important;
  pointer-events: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

/* تأكيد قوي للأزرار والروابط */
.btn, a, button, .space-btn, .glow-btn, .hero-buttons a, .hero-buttons .btn, .navbar-nav .nav-link, .tech-card, .tech-icon {
  pointer-events: auto !important;
  z-index: 99999 !important;
  position: relative !important;
  user-select: text !important;
  cursor: pointer !important;
}

/* تأكيد قوي للمحتوى النصي */
p, h1, h2, h3, h4, h5, h6, span, div, .lead, .card-title, .card-text, .stat-label, .stat-number, .price-section, .section-title, .section-subtitle {
  user-select: text !important;
  pointer-events: auto !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
} 
 
/* تحسينات التصميم المتجاوب الشاملة */

/* تحسينات للشاشات الصغيرة جداً (الهواتف) */
@media (max-width: 576px) {
    .space-hero {
        padding: 20px 0;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 15px;
    }
    
    .display-3 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
    
    .space-stats .row {
        margin: 0 -10px;
    }
    
    .space-stats .col-4 {
        padding: 0 10px;
    }
    
    .stat-item {
        padding: 15px 10px;
        margin-bottom: 15px;
    }
    
    .stat-item h4 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .stat-item small {
        font-size: 0.8rem;
    }
    
    .tech-showcase {
        transform: scale(0.7);
        margin-top: -30px;
    }
    
    .tech-hexagon-grid {
        transform: scale(0.6);
    }
    
    .tech-info-panel {
        padding: 20px 15px;
        margin-top: 20px;
    }
    
    .tech-main-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .tech-description-box p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .tech-capabilities {
        flex-direction: column;
        gap: 20px;
    }
    
    .capability-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .capability-icon {
        margin-bottom: 15px;
        margin-right: 0;
        font-size: 2rem;
    }
    
    .capability-info h4 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .capability-info p {
        font-size: 0.85rem;
        margin: 0;
    }
    
    .tech-metrics {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .metric-item {
        transform: scale(0.8);
        margin: 10px;
    }
    
    .metric-circle {
        width: 60px;
        height: 60px;
    }
    
    .metric-value {
        font-size: 0.9rem;
    }
    
    .metric-label {
        font-size: 0.75rem;
    }
    
    .language-switcher {
        position: fixed !important;
        top: 10px !important;
        left: 10px !important;
        z-index: 9999;
    }
    
    .language-switcher .btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    border-radius: 20px;
    }
    
    .space-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 20px;
}

.space-about-content {
        text-align: center;
        padding: 0 15px;
    }
    
    .about-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .about-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .professional-profile-container {
        margin-top: 30px;
    }
    
    .profile-card-modern {
        padding: 20px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .profile-info {
        text-align: center;
    }
    
    .profile-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item-modern {
        padding: 15px;
    }
    
    .profile-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .profile-actions .btn {
        width: 100%;
    }
    
    .navbar-container {
        flex-direction: column;
        align-items: stretch;
        padding: 0 5px;
    }
    .navbar-menu {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    width: 100%;
        margin-bottom: 10px;
        padding: 0;
    }
    .navbar-menu li, .navbar-menu .nav-item {
    width: 100%;
        text-align: center;
        margin-bottom: 5px;
        display: block;
    }
    .navbar-menu a, .navbar-menu .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        padding: 10px 0;
        gap: 6px;
    }
    .navbar-social {
        justify-content: center;
        margin-bottom: 10px;
        width: 100%;
    }
    .main-content, .container {
        padding-left: 2px !important;
        padding-right: 2px !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    .hero-section, .space-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .navbar-logo {
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }
    .navbar-logo img {
        width: 32px;
        height: 32px;
    }
    .navbar-logo span {
        font-size: 1.1rem;
    }
    .cart-badge {
        left: 60% !important;
        top: 0 !important;
        font-size: 0.7rem !important;
    }
    .main-navbar {
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        position: relative !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #10132b !important;
        z-index: 1000;
    }
    .navbar-container {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        margin: 0 !important;
        padding: 0 0 10px 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    background: transparent !important;
    }
    .navbar-logo {
        width: 100vw !important;
        justify-content: center;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        padding: 10px 0 0 0;
    }
    .language-switcher {
        width: 100vw !important;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
        margin-top: 0;
        position: static !important;
    }
    .navbar-menu {
        width: 100vw !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .navbar-menu li, .navbar-menu .nav-item {
        width: 100vw !important;
        text-align: center;
        margin-bottom: 8px;
        display: flex;
        justify-content: center;
    }
    .navbar-menu a, .navbar-menu .nav-link {
        width: 100vw !important;
        justify-content: center;
        font-size: 1.1rem;
        padding: 12px 0;
    color: #fff !important;
    font-weight: bold;
}
    .navbar-social {
        justify-content: center;
        margin-bottom: 10px;
        width: 100vw !important;
        display: flex;
    }
    .main-content, .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    .hero-section, .space-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* تحسينات للشاشات المتوسطة (الأجهزة اللوحية الصغيرة) */
@media (min-width: 577px) and (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .display-3 {
        font-size: 3rem !important;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 20px;
    }
    
    .hero-buttons .btn {
        min-width: 200px;
    }
    
    .tech-showcase {
        transform: scale(0.8);
        margin-top: 20px;
    }
    
    .tech-hexagon-grid {
        transform: scale(0.7);
    }
    
    .tech-info-panel {
        padding: 25px 20px;
        margin-top: 30px;
    }
    
    .tech-capabilities {
        flex-direction: column;
        gap: 25px;
    }
    
    .capability-card {
        padding: 25px 20px;
    }
    
    .tech-metrics {
        justify-content: center;
        gap: 30px;
    }
    
    .metric-item {
        transform: scale(0.9);
    }
    
    .space-section {
        padding: 50px 0;
    }
    
    .professional-profile-container {
        margin-top: 40px;
    }
    
    .profile-card-modern {
        padding: 30px;
    }
}

/* تحسينات للأجهزة اللوحية */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        padding-right: 20px;
    }
    
    .tech-showcase {
        padding-left: 20px;
        transform: scale(0.9);
    }
    
    .tech-hexagon-grid {
        transform: scale(0.8);
    }
    
    .tech-info-panel {
        padding: 30px 25px;
    }
    
    .tech-capabilities {
        gap: 20px;
    }
    
    .capability-card {
        padding: 25px 20px;
    }
    
    .tech-metrics {
        gap: 25px;
    }
    
    .space-section {
        padding: 60px 0;
    }
    
    .professional-profile-container {
        margin-top: 30px;
    }
}

/* تحسينات للشاشات الكبيرة */
@media (min-width: 1025px) {
    .hero-content {
        padding-right: 40px;
    }
    
    .tech-showcase {
        padding-left: 40px;
    }
    
    .tech-info-panel {
        padding: 40px 30px;
    }
    
    .tech-capabilities {
        gap: 30px;
    }
    
    .capability-card {
        padding: 30px 25px;
    }
    
    .tech-metrics {
        gap: 40px;
    }
    
    .space-section {
        padding: 80px 0;
    }
}

/* تحسينات للعرض العمودي على الأجهزة اللوحية */
@media (max-width: 1024px) and (orientation: portrait) {
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .row.align-items-center.min-vh-100 {
        min-height: auto !important;
    }
    
    .tech-showcase {
        margin-top: 40px;
    }
    
    .space-section {
        padding: 50px 0;
    }
}

/* تحسينات للعرض الأفقي على الأجهزة اللوحية */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }
    
    .tech-showcase {
        transform: scale(0.8);
    }
    
    .space-section {
        padding: 60px 0;
    }
}

/* تحسينات للأجهزة عالية الدقة */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .tech-hexagon {
        border: 2px solid rgba(255, 255, 255, 0.3);
}

.glow-effect {
        box-shadow: 0 0 30px rgba(100, 100, 255, 0.4);
    }
    
    .space-btn {
        border-width: 2px;
    }
}

/* تحسينات للوصول */
@media (prefers-reduced-motion: reduce) {
    .planet, .asteroid, .nebula, .satellite, .tech-hexagon, .glow-effect {
        animation: none !important;
    }
    
    .hero-title-typing {
        animation: none !important;
}

.space-btn:hover {
        transform: none !important;
    }
    
    .capability-card:hover {
        transform: none !important;
    }
}

/* تحسينات للوضع المظلم - محسنة */
@media (prefers-color-scheme: dark) {
    .language-switcher .btn {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: #fff;
    }
    
    .language-switcher .btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
}

.space-btn {
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .theme-toggle {
    color: #fff;
    }
    
    .theme-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* تحسينات إضافية للوضع الداكن */
[data-theme="dark"] .space-canvas {
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
}

[data-theme="dark"] .animated-astronaut img {
    filter: brightness(0.8) contrast(1.2);
}

[data-theme="dark"] .planet,
[data-theme="dark"] .asteroid,
[data-theme="dark"] .nebula,
[data-theme="dark"] .satellite {
    opacity: 0.7;
}

/* تحسينات للطباعة */
@media print {
    .space-elements, .animated-astronaut, .language-switcher {
        display: none !important;
    }
    
    .hero-section, .space-section {
        background: white !important;
        color: black !important;
    }
    
    .space-title, .space-text {
        color: black !important;
    }
    
    .space-btn {
        border: 1px solid #ccc !important;
        color: #333 !important;
        background: white !important;
    }
    
    .tech-hexagon {
        border: 1px solid #ccc !important;
        background: #f5f5f5 !important;
    }
}

/* تحسينات للأداء */
.tech-hexagon, .planet, .asteroid, .nebula, .satellite {
    will-change: transform;
}

.hero-title-typing {
    will-change: opacity;
}

.space-btn {
    will-change: transform;
}

/* تحسينات للتفاعل */
@media (hover: hover) {
    .tech-hexagon:hover {
        transform: scale(1.1) rotate(5deg);
    }
    
    .capability-card:hover {
        transform: translateY(-5px);
    }
    
    .space-btn:hover {
        transform: translateY(-3px);
    }
}

@media (hover: none) {
    .tech-hexagon:active {
        transform: scale(1.05);
    }
    
    .capability-card:active {
        transform: translateY(-2px);
    }
    
    .space-btn:active {
        transform: translateY(-1px);
    }
}

/* تحسينات إضافية للتناسق */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 1201px) {
    .container {
        max-width: 1400px;
    }
}

/* تحسينات للخطوط */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    h3, .h3 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* تحسينات للتباعد */
@media (max-width: 576px) {
    .space-section {
        padding: 30px 0;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .p-5 {
        padding: 1.5rem !important;
    }
}

/* تحسينات للصور */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
    
    .tech-hexagon img {
        width: 30px;
        height: 30px;
    }
}

/* تحسينات للقوائم */
@media (max-width: 576px) {
    .feature-item {
        margin-bottom: 15px;
    }
    
    .feature-icon {
        font-size: 1.2rem;
        margin-right: 10px;
    }
} 