.partner-section {
    position: relative;      
    width: 100%;
    min-height: 100vh;        
    display: flex;             
    justify-content: center;   
    align-items: center;       
    padding: 40px 0;
    overflow: hidden;          
  
}
.astronaut-partner {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
 
}

.side-frame {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
}

.left-frame {
  left: 90px;
}

.right-frame {
  right: 90px;
}

.partner-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   
    gap: 50px;
    position: relative;
    z-index: 5;                
    width: 100%;
    max-width: 600px;
    min-height: 100vh;       
}
.partner-card {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* الدائرة التي تحتوي على الأيقونة */
.partner-icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0px 10px 33px rgba(102, 45, 145, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.partner-card-title {
    color: #fff;
    font-size: 24px;
    font-family: 'Teko', sans-serif;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: 1.44px;
    margin: 0;
    text-transform: uppercase;
}

/* وصف البطاقة */
.partner-card-desc {
    color: #fff;
    font-size: 20px;
    font-family: 'Teko', sans-serif;
    font-weight: 400;
    line-height: 35px;
    letter-spacing: 1.2px;
    margin: 0;
}

/* النص الكبير في منتصف القسم */
.partner-center-text {
    font-family: 'Teko', sans-serif;
    font-size: 90px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255,255,255,0.2);
    z-index: 10;
}


@media (max-width: 768px) {
    /* 1. إخفاء الأقواس الجانبية تماماً */
    .side-frame, 
    .left-frame, 
    .right-frame, 
    .partner-frames-container {
        display: none !important;
    }

    /* 2. ضبط الحاوية الرئيسية */
    .partner-section {
        min-height: auto; /* السماح للطول بالتكيف مع المحتوى */
        padding: 60px 20px;
    }

    .partner-content-wrapper {
        min-height: auto; /* إلغاء الـ 100vh لعدم تشتت العناصر */
        gap: 120px;        /* تقليل الفجوات بين العناصر */
    }

    /* 3. تصغير النصوص لتناسب الموبايل */
    .partner-center-text {
        font-size: 48px; /* حجم أصغر ليتناسب مع عرض الموبايل */
        text-align: center;
    }

    .partner-card {
        width: 90%;      /* جعل البطاقة تأخذ أغلب العرض */
        padding: 15px;
    }

    .partner-card-title {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .partner-card-desc {
        font-size: 16px;
        line-height: 24px;
    }

    /* 4. تعديل رائد الفضاء إذا لزم الأمر */
    .astronaut-partner img {
        width: 80%; /* تصغير صورة الخلفية قليلاً لتناسب الشاشة */
        opacity: 0.5; /* تخفيف الشفافية لزيادة وضوح النص */
    }
}