* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: #fcfcfc; font-family: Tahoma, Arial, sans-serif; -webkit-font-smoothing: antialiased; }

.site-container { width: 100%; margin: 0; background: #ffffff; padding: 12px 15px; min-height: 100vh; position: relative; }

.main-header { width: 100%; display: block; margin-bottom: 15px; position: relative; background-color: #ffffff; }
.header-logo-container { width: 100%; position: relative; display: block; text-align: center; }
.header-img { width: 100%; height: auto; display: block; max-width: 100%; border: none; }

.lang-switcher { 
  position: absolute; 
  top: 42% !important; 
  left: 3% !important; 
  right: auto !important;
  color: #c1272d; 
  font-family: Arial, sans-serif; 
  font-size: 19px; 
  font-weight: bold; 
  text-decoration: underline; 
  background: none; 
  border: none; 
  cursor: pointer; 
  z-index: 9999; 
  padding: 5px;
  outline: none;
}

.toggle-container { border-top: 1px solid #dddddd; padding-top: 12px; margin-top: 5px; text-align: right; margin-bottom: 15px; clear: both; }
.menu-toggle-btn { background: #ffffff; border: 1px solid #5bc0de; padding: 10px 12px; border-radius: 4px; cursor: pointer; display: inline-flex; flex-direction: column; gap: 4px; outline: none; }
.menu-toggle-btn .line { display: block; width: 22px; height: 2px; background-color: #5bc0de; }

.main-dropdown { display: none; background: #ffffff; border: 1px solid #dddddd; border-radius: 4px; margin-bottom: 20px; overflow: hidden; }
.dropdown-tabs { list-style: none; padding: 0; margin: 0; text-align: center; }
.dropdown-tabs li { border-bottom: 1px solid #eeeeee; }
.dropdown-tabs li a { display: flex; flex-direction: column; align-items: center; padding: 14px 10px; color: #555555; text-decoration: none; font-size: 14px; font-weight: bold; }
.tab-icon { font-size: 24px; margin-bottom: 6px; display: block; }

.news-box { border: 1px solid #5bc0de; border-radius: 4px; margin-bottom: 25px; overflow: hidden; background: #ffffff; }
.news-title { background: #0099cc; color: #ffffff; padding: 5px 12px; font-size: 14px; font-weight: bold; text-align: right; }
.news-marquee-holder { padding: 8px; overflow: hidden; background: #ffffff; display: block; height: auto; }
.news-body { color: #cc0000; font-size: 17px; font-weight: bold; text-align: right; line-height: 1.6; border: none; background: none; width: 100%; display: block; margin: 0; padding: 0; }

.intro-area { text-align: right; margin-bottom: 25px; }
.intro-area h2 { color: #006699; font-size: 26px; font-weight: bold; margin: 0 0 15px 0; }
.intro-p { color: #333333; font-size: 21px !important; line-height: 1.85 !important; text-align: justify; font-family: Tahoma, Arial, sans-serif !important; margin-bottom: 10px; }
.read-more { color: #cc0000; text-decoration: none; font-size: 18px; font-weight: bold; display: inline-block; margin-top: 5px; }

/* 🎯 قمنا بتصغير عرض الصورة إلى 85% مع جعلها تتوسط المساحة تلقائياً لإبراز الخط */
.new-image-section { width: 100%; margin-bottom: 25px; cursor: pointer; text-align: center; }
.new-services-img { width: 85% !important; height: auto; display: inline-block; max-width: 100%; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

.check-page-layer { display: none; background: #ffffff; padding: 10px 5px; text-align: right; clear: both; }
.form-main-title { color: #006699; font-size: 24px; font-weight: bold; margin-bottom: 15px; border-bottom: 2px solid #006699; padding-bottom: 5px; }
.search-criteria-title { background-color: #e0f2fe; color: #0369a1; padding: 8px 12px; font-size: 18px; font-weight: bold; margin-bottom: 20px; border-radius: 2px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 18px; font-weight: bold; color: #444; margin-bottom: 5px; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #cccccc; border-radius: 4px; font-size: 18px; outline: none; text-align: right; }

.captcha-main-wrapper { display: flex; flex-direction: column; gap: 10px; }
.captcha-box-holder { display: flex; align-items: center; gap: 10px; background: #ffffff; padding: 5px; border-radius: 4px; }
.captcha-box-container { position: relative; background: #ffffff !important; border: 1px solid #bbbbbb; padding: 8px 25px; border-radius: 4px; display: inline-block; overflow: hidden; user-select: none; }
.captcha-styled-text { color: #111111 !important; font-weight: 900; letter-spacing: 7px; font-style: italic; font-size: 26px; font-family: 'Courier New', Courier, monospace; position: relative; z-index: 5; }
.captcha-noise-line { position: absolute; height: 2px; background-color: rgba(17, 17, 17, 0.4) !important; z-index: 2; pointer-events: none; }
.captcha-refresh-arrow { background: none; border: none; font-size: 24px; cursor: pointer; outline: none; }
.captcha-input-field { width: 100% !important; padding: 12px; font-size: 18px; border: 1px solid #cccccc; border-radius: 4px; }

.verify-submit-btn { width: 100%; background: #2e7d32; color: #ffffff; border: none; padding: 14px; font-size: 19px; font-weight: bold; border-radius: 4px; cursor: pointer; margin-top: 10px; }
.back-home-btn { width: 100%; background: #666; color: #fff; margin-top: 10px; border: none; padding: 12px; font-size: 18px; border-radius: 4px; cursor: pointer; }

.site-footer { background-color: #7a7a7a; color: #ffffff; padding: 25px 20px; margin: 25px -15px -15px -15px; text-align: right; }
.footer-section { margin-bottom: 20px; }
.site-footer h3 { font-size: 18px; font-weight: bold; border-bottom: 1px solid rgba(250,250,250,0.2); padding-bottom: 5px; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul li a { color: #e2e8f0; text-decoration: none; font-size: 16px; }
.live-link { color: #bae6fd !important; font-weight: bold; }
.copyright-line { text-align: center; font-size: 15px; color: #cbd5e1; border-top: 1px solid rgba(250,250,250,0.15); padding-top: 15px; margin-top: 15px; }

.popup-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); justify-content: center; align-items: center; z-index: 9999; }
.popup-box { background: #ffffff; padding: 25px 40px; border-radius: 8px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.loading-spinner { border: 4px solid #f3f3f3; border-top: 4px solid #0099cc; border-radius: 50%; width: 28px; height: 28px; animation: spin 1s linear infinite; margin: 0 auto 10px; }
.checkmark-icon { color: #2e7d32; font-size: 48px; margin-bottom: 10px; }
.confirm-btn { background: #2e7d32; color: #fff; padding: 8px 20px; border: none; margin-top: 15px; border-radius: 4px; cursor: pointer; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.lang-fr-mode { direction: ltr !important; text-align: left !important; }
.lang-fr-mode .lang-switcher { left: 3% !important; right: auto !important; top: 42% !important; }
.lang-fr-mode .toggle-container { text-align: left !important; }
.lang-fr-mode .news-title { text-align: left !important; }
.lang-fr-mode .news-body { text-align: left !important; }
.lang-fr-mode .search-criteria-title { text-align: left !important; }
.lang-fr-mode .check-page-layer { text-align: left !important; }
.lang-fr-mode .form-group input { text-align: left !important; }
.lang-fr-mode .site-footer { text-align: left !important; }