/* إعادة ضبط التنسيقات الأساسية */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tajawal', sans-serif;
  background: linear-gradient(135deg, #0f1d2c 0%, #1e3a5f 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #ffffff;
}

/* بطاقة المحتوى المنتصفة */
.social-page-wrapper {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}

/**/
/* ==========================================
   تنسيقات زر الترجمة بالأعلام العائمة وإلغاء شريط جوجل
   ========================================== */
html, body {
    top: 0px !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-banner,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-spinner-pos,
.skiptranslate:not(.lang-switcher-fixed) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

.lang-switcher-fixed {
    position: fixed !important;
    top: 100px !important;
    left: 20px !important;
    z-index: 999999 !important;
}

.lang-dropdown-btn {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.lang-dropdown-btn i {
    color: #ffffff;
    font-size: 11px;
    transition: transform 0.3s ease;
}

/* تدوير السهم عند فتح القائمة بالنقر */
.lang-switcher-fixed.open .lang-dropdown-btn i {
    transform: rotate(180deg);
}

.flag-img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

/* القائمة مخفية افتراضياً وتجاهل الماوس تماماً */
.lang-dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    flex-direction: column;
    gap: 6px;
    align-items: center;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* إظهار القائمة فقط عندما تحوي الحاوية الفئة open عند الضغط بالنقر */
.lang-switcher-fixed.open .lang-dropdown-menu {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.lang-option {
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.2);
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* قسم النصوص */
.badge {
  display: inline-block;
  background: rgba(0, 136, 255, 0.2);
  color: #33a1ff;
  border: 1px solid rgba(0, 136, 255, 0.4);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.main-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.3;
}

.sub-title {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

/* حاوية الأيقونات */
.social-icons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 35px;
}

/* أزرار التواصل والأيقونات */
.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.social-btn i {
  font-size: 2.2rem;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.social-btn .platform-name {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}

/* التأثيرات عند مرور الماوس (Hover Styles) */
.social-btn:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.social-btn:hover i {
  transform: scale(1.15);
}

/* ألوان الشبكات الخاصة لكل منصة عند التمرير */
.social-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #dc2743;
}

.social-btn.snapchat:hover {
  background: #fffc00;
  border-color: #fffc00;
  color: #000000; /* لون الأيقونة والمسمى يتحول للأسود للوضوح */
}

.social-btn.linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

.social-btn.gmail:hover {
  background: #ea4335;
  border-color: #ea4335;
}

/* الملاحظة الختامية */
.footer-note p {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 600;
}

/* التوافق مع الهواتف الذكية */
@media (max-width: 600px) {
  .glass-card {
    padding: 35px 20px;
  }
  
  .main-title {
    font-size: 1.7rem;
  }
  
  .social-btn {
    width: 85px;
    height: 85px;
  }
  
  .social-btn i {
    font-size: 1.8rem;
  }
}

/* footer */
