:root{
  --blue:#cfe6fb;
  --dark:#0A2540;
  --accent:#CBA135;
  --muted:#6b7280;
  --warning:#f59e0b;
  --danger:#e53935;
}

/* Global */
body{
  font-family:'Tajawal',sans-serif;
  direction:rtl;
  background:#eef2f7;
  color:#111;
  padding:0px;
}

/* Form container */
.form-sheet{
  max-width:950px;
  margin:30px auto;
  border-radius:15px;
  padding:25px;
  background:linear-gradient(145deg,#fff,#e6f0fb);
  box-shadow: 8px 8px 20px #b8c6db, -8px -8px 20px #ffffff;
  border:1px solid var(--accent);
}

/* Header */
.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:20px;
}
.header .left, .header .right{
  display:flex;
  align-items:center;
  gap:15px;
}
.logo{height:70px;width:auto;}
.site-name{
  font-size:18px;color:var(--dark);font-weight:800;
}
.site-desc{
  font-size:14px;color:#555;margin-top:4px;
}

/* Form tables */
table.form-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:15px;
  margin-bottom:18px;
  border-radius:12px;
  overflow:hidden;
  box-shadow:4px 4px 15px #c9d4e0, -4px -4px 15px #ffffff;
  transition:0.3s;
}
table.form-table th, table.form-table td{
  border-bottom:1px solid #ddd;
  padding:10px;
  vertical-align:middle;
}
table.form-table th{
  background:var(--blue);
  font-weight:700;
  text-align:right;
}
table.form-table tr:last-child td{border-bottom:none;}
table.form-table tr:hover td{
  background:linear-gradient(90deg,#f0f8ff,#d0e4ff);
  transform:translateY(-2px);
}

/* Inputs */
input, select, textarea{
  width:100%;
  border:1px solid #bbb;
  padding:8px 10px;
  border-radius:10px;
  font-size:14px;
  box-shadow: inset 2px 2px 5px #dfe6ed, inset -2px -2px 5px #ffffff;
  transition:0.3s;
}
input:focus, select:focus, textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow: inset 1px 1px 6px #c3d0e5, inset -1px -1px 6px #ffffff;
  transform:scale(1.02);
}

/* Buttons */
button{
  width:100%;
  padding:14px;
  background:var(--dark);
  color:#fff;
  border:0;
  font-size:16px;
  border-radius:12px;
  cursor:pointer;
  transition:0.3s;
  box-shadow:4px 4px 12px #b0b8c1, -4px -4px 12px #ffffff;
}
button:hover{
  background:var(--accent);
  transform:translateY(-2px) scale(1.02);
  box-shadow:6px 6px 15px #b0b8c1, -6px -6px 15px #ffffff;
}

/* Notice */
.notice{
  background:linear-gradient(180deg,#fff59d,#fff176);
  border:2px solid var(--warning);
  padding:14px;
  margin:18px 0;
  font-weight:700;
  border-radius:12px;
  box-shadow: 2px 2px 8px #d4c37f, -2px -2px 8px #fff7a3;
}
.notice .whatsapp {
    margin-top: 8px;
    font-weight: 700;
    color: #0A2540;
    direction: ltr;        
    unicode-bidi: plaintext; 
    text-align: left;      
}

/* ===============================
   المهنة الحديثة
   =============================== */
.job-section {
    margin: 20px 0;
}
.job-section label {
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}
.job-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.job-card {
    flex: 1 1 120px;
    background: #f0f8ff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    box-shadow: 4px 4px 10px #cfdce8, -4px -4px 10px #ffffff;
    position: relative;
}
.job-card .icon {
    font-size: 28px;
    margin-bottom: 6px;
}
.job-card .text {
    font-weight: 600;
    font-size: 14px;
}
.job-card input[type="radio"] {
    display: none;
}
.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 15px #c9d4e0, -6px -6px 15px #ffffff;
    border-color: var(--accent);
}
.job-card input[type="radio"]:checked + .icon,
.job-card input[type="radio"]:checked + .text,
.job-card input[type="radio"]:checked {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 6px 6px 15px #b0b8c1, -6px -6px 15px #ffffff;
}

/* حقل الإدخال للمهنة الأخرى */
.styled-input {
    width: 100%;
    border:1px solid #bbb;
    padding:8px 10px;
    border-radius:10px;
    font-size:14px;
    box-shadow: inset 2px 2px 5px #dfe6ed, inset -2px -2px 5px #ffffff;
    transition:0.3s;
}
.styled-input:focus{
    outline:none;
    border-color:var(--accent);
    box-shadow: inset 1px 1px 6px #c3d0e5, inset -1px -1px 6px #ffffff;
}

/* ===============================
   تحسين التجاوب للجوال
   =============================== */
@media(max-width:768px){
  .header{flex-direction:column;align-items:flex-start; gap:12px;}
  .logo{height:50px;}
  table.form-table th, table.form-table td{font-size:13px;padding:8px;}
}

/* بطاقات للجوال */
@media (max-width: 600px) {

  .form-sheet {
    width: 95%;
    max-width: 95%;
    padding: 18px;
    margin: 10px auto;
  }

  table.form-table,
  table.form-table tbody,
  table.form-table tr,
  table.form-table th,
  table.form-table td {
    display: block;
    width: 100%;
  }

  table.form-table tr {
    margin-bottom: 12px;
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 2px 2px 10px #d0d8e4;
  }

  table.form-table th {
    background: transparent !important;
    border: none !important;
    font-size: 14px;
    padding: 0 0 4px 0;
  }

  table.form-table td {
    border: none !important;
    padding: 6px 0;
  }

  input, select, textarea {
    font-size: 14px;
    padding: 10px;
  }

  .header {
    text-align: center;
    justify-content: center;
  }

  .header .left {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    height: 60px;
  }

  button {
    font-size: 15px;
    padding: 12px;
  }

  .notice {
    font-size: 14px;
  }
}


/* Form container */
.form-sheet{
  max-width:950px;
  margin:30px auto;
  border-radius:15px;
  padding:25px;
  background:linear-gradient(145deg,#fff,#e6f0fb);
  box-shadow: 8px 8px 20px #b8c6db, -8px -8px 20px #ffffff;
  border:1px solid var(--accent);
}
/* اجعل كل النصوص في الهيدر بولد */
.header-center .site-name,
.header-center .site-desc,
.header-center .desc-highlight {
    font-weight: 900; /* بولد قوي */
}

/* HEADER PREMIUM EDITION */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: #f5f9ff;
    border-bottom: 5px solid #CBA135;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    flex-wrap: wrap; /* يسمح بالنزول عند الحاجة */
}

/* الشعارات */
.header-side {
    width: 20%;
    display: flex;
    justify-content: center;
}
.logo {
    height: 80px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* النص في المنتصف */
.header-center {
    width: 100%; /* عرض كامل أسفل الشعارات */
    text-align: right; /* من اليمين لليسار */
    margin-top: 15px;
}
.site-name {
    font-size: 32px;
    font-weight: 900; /* بولد */
    color: #0A2540;
    margin-bottom: 10px;
}
.title-divider {
    width: 80px;
    height: 4px;
    background: #CBA135;
    margin: 6px 0;
    border-radius: 5px;
}
.site-desc {
    font-size: 16px;
    font-weight: 900; /* بولد */
    line-height: 1.8;
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
    border-left: 5px solid #CBA135;
    border-right: 5px solid #CBA135;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.desc-highlight {
    font-weight: 900; /* بولد */
    font-size: 18px;
    margin-top: 8px;
}

/* === موبايل === */
@media (max-width: 768px) {
    .header {
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
        padding: 15px;
    }

    .header-left, .header-right {
        width: 20%;
    }

    .header-center {
        width: 100%; 
        margin-top: 10px;
        text-align: right; 
    }

    .logo {
        height: 60px;
    }

    .site-name {
        font-size: 24px;
    }
    .site-desc {
        font-size: 14px;
        padding: 12px;
        line-height: 1.6;
    }
    .desc-highlight {
        font-size: 16px;
    }
}
.site-name {
    font-size: 40px;
    font-weight: 900;
    color: #0A2540;
    letter-spacing: 1px;
    margin-bottom: 15px;
    position: relative;
    animation: fadeIn 1.2s ease;
}
.header-center {
    width: 100%; /* عرض كامل أسفل الشعارات */
    text-align: right; /* من اليمين لليسار */
    margin-top: 15px;
}
.title-divider {
    width: 90px;
    height: 4px;
    background: #CBA135;
    margin: 8px auto 0 auto;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(203,161,53,0.6);
}

.site-desc {
    background: #ffffff;
    padding: 22px 26px;
    border-radius: 16px;
    font-size: 17px;
    line-height: 2;
    color: #333;
    border-right: 6px solid #CBA135;
    border-left: 6px solid #CBA135;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    animation: fadeIn 1.4s ease;
}

.site-desc p {
    margin: 10px 0;
}

.desc-highlight {
    font-weight: 700;
    color: #0A2540;
    font-size: 18px;
}
@media (max-width: 480px) {
    .header-left, .header-right { width: 25%; }
    .logo { height: 50px; }
    .site-name { font-size: 20px; }
    .site-desc { font-size: 12px; line-height: 1.4; padding: 10px; }
    .desc-highlight { font-size: 14px; }
}
/* Animations */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0px); } }

/* Responsive Header for Mobile */
@media(max-width:768px){
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 10px;
        gap: 10px;
    }
    .header-side { width: 20%; }
    .header-center { width: 100%; text-align: center; padding:0 5px; }
    .logo { height: 60px; }
    .site-name { font-size: 24px; font-weight: 900; text-transform: uppercase; }
    .site-desc { font-size: 14px; line-height:1.6; padding: 12px; border-left:4px solid var(--accent); border-right:4px solid var(--accent); }
}

/* باقي CSS مثل الفورم والأزرار والجدول */
input, select, textarea{
  width:100%;
  border:1px solid #bbb;
  padding:8px 10px;
  border-radius:10px;
  font-size:14px;
  box-shadow: inset 2px 2px 5px #dfe6ed, inset -2px -2px 5px #ffffff;
  transition:0.3s;
}
input:focus, select:focus, textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow: inset 1px 1px 6px #c3d0e5, inset -1px -1px 6px #ffffff;
  transform:scale(1.02);
}
button{
  width:100%;
  padding:14px;
  background:var(--dark);
  color:#fff;
  border:0;
  font-size:16px;
  border-radius:12px;
  cursor:pointer;
  transition:0.3s;
  box-shadow:4px 4px 12px #b0b8c1, -4px -4px 12px #ffffff;
}
button:hover{
  background:var(--accent);
  transform:translateY(-2px) scale(1.02);
  box-shadow:6px 6px 15px #b0b8c1, -6px -6px 15px #ffffff;
}
.notice{
  background:linear-gradient(180deg,#fff59d,#fff176);
  border:2px solid var(--warning);
  padding:14px;
  margin:18px 0;
  font-weight:700;
  border-radius:12px;
  box-shadow: 2px 2px 8px #d4c37f, -2px -2px 8px #fff7a3;
}
.notice .whatsapp {
    margin-top: 8px;
    font-weight: 700;
    color: #0A2540;
    direction: ltr;        
    unicode-bidi: plaintext; 
    text-align: left;      
}
.scroll-container {
    width: 100%;
    background: #CBA135;
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    font-size: 18px;
    font-weight: bold;
    direction: rtl;
}

.scroll-text {
    white-space: nowrap;
    display: inline-block;
    padding-right: 100%;
    animation: scroll-left 55s linear infinite; /* السرعة الجديدة */
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
