ب/* ===========================
   ثانوية الكرخ المهنية — CSS
   =========================== */

:root {
  --primary: #0a1628;
  --accent: #e8a020;
  --white: #ffffff;
  --dark-bg: #070e1a;
  --muted: rgba(255,255,255,0.6);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family:'Cairo',sans-serif; background:var(--dark-bg); color:#fff; overflow-x:hidden; }

/* ====== NAVBAR ====== */
nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(10,22,40,0.97); backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(232,160,32,0.3);
  padding:0 5%; height:70px;
  display:flex; align-items:center; justify-content:space-between;
  transition:background 0.3s;
}
.nav-logo { display:flex; align-items:center; gap:12px; text-decoration:none; }
.nav-logo-icon {
  width:42px; height:42px;
  background:linear-gradient(135deg,var(--accent),#f0b840);
  border-radius:10px; display:flex; align-items:center; justify-content:center;
  font-size:20px; box-shadow:0 4px 15px rgba(232,160,32,0.4);
}
.nav-logo-text { color:#fff; font-size:15px; font-weight:700; line-height:1.2; }
.nav-logo-text span { display:block; color:var(--accent); font-size:11px; font-weight:400; letter-spacing:1px; }
.nav-links { display:flex; gap:8px; list-style:none; }
.nav-links a {
  color:rgba(255,255,255,0.8); text-decoration:none; font-size:13px;
  font-weight:600; padding:8px 16px; border-radius:8px; transition:all 0.3s;
}
.nav-links a:hover { color:var(--accent); background:rgba(232,160,32,0.1); }
.nav-toggle { display:none; flex-direction:column; gap:5px; cursor:pointer; background:transparent; border:none; padding:4px; }
.nav-toggle span { display:block; width:24px; height:2px; background:#fff; border-radius:2px; transition:all 0.3s; }

/* ====== HERO ====== */
.hero {
  min-height:100vh; background:var(--primary);
  position:relative; overflow:hidden; display:flex; align-items:center; padding-top:70px;
}
.hero-bg {
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%,rgba(26,107,170,0.25) 0%,transparent 60%),
    radial-gradient(ellipse 50% 80% at 80% 20%,rgba(232,160,32,0.12) 0%,transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 80%,rgba(26,107,170,0.15) 0%,transparent 50%);
}
.hero-grid {
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(232,160,32,0.05) 1px,transparent 1px),linear-gradient(90deg,rgba(232,160,32,0.05) 1px,transparent 1px);
  background-size:60px 60px;
}
.hero-content {
  position:relative; z-index:2; max-width:1200px; margin:0 auto;
  padding:60px 5%; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(232,160,32,0.15); border:1px solid rgba(232,160,32,0.4);
  color:var(--accent); padding:6px 16px; border-radius:100px;
  font-size:12px; font-weight:600; margin-bottom:24px; letter-spacing:1px;
  animation:fadeInUp 0.8s ease both;
}
.hero-title {
  font-family: 'Tajawal', sans-serif;
  /* قمنا بتقليل الحجم الأدنى من 36px إلى 28px والحجم الأقصى من 64px إلى 54px */
  font-size: clamp(28px, 4.5vw, 54px); 
  font-weight: 900;
  color: #fff;
  line-height: 1.3; /* زدنا المسافة قليلاً لراحة العين */
  margin-bottom: 24px;
  white-space: nowrap; /* هذا السطر يمنع النص من الانقسام التلقائي */
  animation: fadeInUp 0.8s ease 0.15s both;
}
.hero-title .accent { color:var(--accent); }
.hero-subtitle { font-size:16px; color:rgba(255,255,255,0.65); line-height:1.8; margin-bottom:40px; animation:fadeInUp 0.8s ease 0.3s both; }
.hero-btns { display:flex; gap:16px; flex-wrap:wrap; animation:fadeInUp 0.8s ease 0.45s both; }
.hero-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; animation:fadeInUp 0.8s ease 0.6s both; }
.stat-card {
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1);
  border-radius:16px; padding:24px 16px; text-align:center;
  backdrop-filter:blur(10px); transition:all 0.3s;
}
.stat-card:hover { background:rgba(232,160,32,0.1); border-color:rgba(232,160,32,0.4); transform:translateY(-4px); }
.stat-number { font-family:'Tajawal',sans-serif; font-size:36px; font-weight:900; color:var(--accent); line-height:1; margin-bottom:6px; }
.stat-label { font-size:12px; color:rgba(255,255,255,0.6); font-weight:500; }

/* ====== BUTTONS ====== */
.btn-primary {
  background:linear-gradient(135deg,var(--accent),#f0b840); color:var(--primary);
  padding:14px 32px; border-radius:12px; font-size:14px; font-weight:700;
  text-decoration:none; border:none; cursor:pointer; transition:all 0.3s;
  box-shadow:0 8px 25px rgba(232,160,32,0.35); font-family:'Cairo',sans-serif; display:inline-block;
}
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 12px 35px rgba(232,160,32,0.5); }
.btn-outline {
  border:1.5px solid rgba(255,255,255,0.3); color:#fff; padding:14px 32px;
  border-radius:12px; font-size:14px; font-weight:600; text-decoration:none;
  cursor:pointer; transition:all 0.3s; background:transparent;
  font-family:'Cairo',sans-serif; display:inline-block;
}
.btn-outline:hover { border-color:var(--accent); color:var(--accent); background:rgba(232,160,32,0.08); }

/* ====== SECTION COMMONS ====== */
.section { padding:100px 5%; max-width:1200px; margin:0 auto; }
.section-header { text-align:center; margin-bottom:60px; }
.section-tag {
  display:inline-block; background:rgba(232,160,32,0.12); color:var(--accent);
  border:1px solid rgba(232,160,32,0.3); padding:5px 18px; border-radius:100px;
  font-size:12px; font-weight:700; letter-spacing:1.5px; margin-bottom:16px;
}
.section-title { font-family:'Tajawal',sans-serif; font-size:clamp(28px,4vw,44px); font-weight:900; color:#fff; margin-bottom:16px; }
.section-desc { font-size:15px; color:var(--muted); max-width:600px; margin:0 auto; line-height:1.8; }

/* ====== ABOUT ====== */
#about { background:var(--primary); padding:100px 0; }
.about-inner { max-width:1200px; margin:0 auto; padding:0 5%; display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.about-label { color:var(--accent); font-size:12px; font-weight:700; letter-spacing:2px; margin-bottom:16px; }
.about-title { font-family:'Tajawal',sans-serif; font-size:clamp(28px,3.5vw,44px); font-weight:900; color:#fff; line-height:1.2; margin-bottom:24px; }
.about-text { color:rgba(255,255,255,0.65); font-size:15px; line-height:1.9; margin-bottom:20px; }
.about-cards { display:flex; flex-direction:column; gap:16px; }
.about-card { background:rgba(255,255,255,0.04); border:1px solid rgba(232,160,32,0.2); border-radius:16px; padding:24px; transition:all 0.3s; }
.about-card:hover { background:rgba(232,160,32,0.08); border-color:rgba(232,160,32,0.4); transform:translateX(-4px); }
.about-card-icon { font-size:22px; margin-bottom:10px; }
.about-card h4 { color:var(--accent); font-size:14px; font-weight:700; margin-bottom:6px; }
.about-card p { color:rgba(255,255,255,0.6); font-size:13px; line-height:1.7; }

/* ====== DEPARTMENT PANELS ====== */
.dept-panels { background:var(--dark-bg); }
.panel { position:relative; width:100%; min-height:100vh; display:flex; align-items:center; overflow:hidden; border-bottom:1px solid rgba(255,255,255,0.05); }
.panel-bg { position:absolute; inset:0; z-index:0; }
.panel-bg img { width:100%; height:100%; object-fit:cover; display:block; filter:brightness(0.591) saturate(1.2); }
.panel-overlay { position:absolute; inset:0; z-index:1; }
.text-right .panel-overlay { background:linear-gradient(to right,rgba(7,14,26,0) 0%,rgba(7,14,26,0.95) 100%); }
.text-left .panel-overlay  { background:linear-gradient(to left, rgba(7,14,26,0) 0%,rgba(7,14,26,0.95) 100%); }
.panel-content { position:relative; z-index:2; width:100%; max-width:1200px; margin:0 auto; padding:80px 6%; }
.text-left .panel-content  { text-align:left; }
.text-right .panel-content { text-align:right; }
.panel-badge {
  display:inline-flex; align-items:center; gap:8px; padding:8px 20px;
  border-radius:50px; font-size:15px; font-weight:700; margin-bottom:25px;
  background:rgba(255,255,255,0.1); border:1px solid currentColor; backdrop-filter:blur(8px);
}
.panel-title { font-family:'Tajawal',sans-serif; font-size:clamp(2rem,5vw,3.8rem); font-weight:900; line-height:1.1; margin-bottom:20px; color:#fff; text-shadow:0 4px 10px rgba(0,0,0,0.3); }
.panel-desc { font-size:19px; line-height:1.8; color:rgba(255,255,255,0.9); margin-bottom:30px; max-width:620px; }
.text-left .panel-desc { margin-left:auto; }
.panel-list { list-style:none; display:flex; flex-direction:column; gap:18px; }
.panel-list li { display:flex; align-items:center; gap:14px; font-size:17px; font-weight:600; }
.panel-list li::before { content:''; width:8px; height:8px; border-radius:50%; background:currentColor; box-shadow:0 0 12px currentColor; flex-shrink:0; }
.panel-btn {
  display:inline-block; margin-top:30px; padding:12px 35px;
  border:2px solid currentColor; border-radius:50px; font-weight:700;
  text-decoration:none; transition:all 0.3s; color:inherit; font-family:'Cairo',sans-serif;
}
.panel-btn:hover { box-shadow:0 0 25px currentColor; }

/* ====== DEPT CARDS ====== */
#departments { background:var(--dark-bg); padding:80px 0; }
#departments .section { padding-top:0; }
.depts-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:24px; }
.dept-card {
  background:rgba(255,255,255,0.03); border:1px solid var(--dept-border,rgba(232,160,32,0.3));
  border-radius:20px; padding:32px; transition:all 0.35s ease;
  display:flex; flex-direction:column; gap:12px;
  text-decoration:none; color:inherit; position:relative; overflow:hidden;
}
.dept-card:hover { background:rgba(255,255,255,0.06); transform:translateY(-8px); box-shadow:0 20px 40px rgba(0,0,0,0.4),0 0 20px var(--dept-border,rgba(232,160,32,0.2)); }
.dept-icon { font-size:40px; display:block; }
.dept-title { font-family:'Tajawal',sans-serif; font-size:22px; font-weight:800; color:#fff; }
.dept-desc { font-size:14px; color:rgba(255,255,255,0.6); line-height:1.75; flex:1; }
.dept-tag { display:inline-block; align-self:flex-start; margin-top:8px; padding:5px 14px; border-radius:100px; font-size:11px; font-weight:700; background:var(--dept-tag-bg,rgba(232,160,32,0.1)); color:var(--dept-tag-color,var(--accent)); }

/* ====== AFTER GRADUATION ====== */
#after-graduation { background:var(--dark-bg); padding:100px 0; }
#after-graduation .inner { max-width:1200px; margin:0 auto; padding:0 5%; }
.grad-header { text-align:center; margin-bottom:60px; }
.grad-box { background:rgba(255,255,255,0.03); border:1px solid rgba(139,92,246,0.25); border-radius:24px; padding:48px; margin-bottom:40px; }
.grad-box-head { display:flex; align-items:center; gap:12px; margin-bottom:32px; }
.grad-box-icon { width:48px; height:48px; background:rgba(139,92,246,0.15); border:1px solid rgba(139,92,246,0.4); border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.grad-subtitle { color:#a78bfa; font-size:12px; font-weight:700; letter-spacing:1.5px; margin-bottom:4px; }
.grad-title { color:#fff; font-family:'Tajawal',sans-serif; font-size:22px; font-weight:900; }
.grad-desc { color:rgba(255,255,255,0.7); font-size:15px; line-height:1.9; max-width:800px; }
.tracks-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.track-card { border-radius:20px; padding:36px; position:relative; overflow:hidden; }
.track-card.success { background:rgba(34,197,94,0.05); border:1px solid rgba(34,197,94,0.3); }
.track-card.warning { background:rgba(232,160,32,0.05); border:1px solid rgba(232,160,32,0.3); }
.track-card-bg { position:absolute; top:-20px; width:120px; height:120px; border-radius:50%; }
.track-card.success .track-card-bg { left:-20px; background:rgba(34,197,94,0.06); }
.track-card.warning .track-card-bg { right:-20px; background:rgba(232,160,32,0.06); }
.track-inner { position:relative; z-index:1; }
.track-badge { display:inline-flex; align-items:center; gap:8px; padding:6px 16px; border-radius:100px; font-size:12px; font-weight:700; margin-bottom:20px; }
.track-badge.success { background:rgba(34,197,94,0.15); border:1px solid rgba(34,197,94,0.4); color:#22c55e; }
.track-badge.warning { background:rgba(232,160,32,0.15); border:1px solid rgba(232,160,32,0.4); color:#e8a020; }
.track-title { font-family:'Tajawal',sans-serif; font-size:24px; font-weight:900; color:#fff; margin-bottom:16px; line-height:1.3; }
.track-desc { color:rgba(255,255,255,0.65); font-size:14px; line-height:1.85; margin-bottom:24px; }
.track-list { list-style:none; display:flex; flex-direction:column; gap:14px; }
.track-list li { display:flex; align-items:flex-start; gap:12px; color:rgba(255,255,255,0.8); font-size:14px; font-weight:600; }
.track-dot { width:8px; height:8px; border-radius:50%; margin-top:6px; flex-shrink:0; }
.track-dot.success { background:#22c55e; box-shadow:0 0 10px #22c55e; }
.track-dot.warning { background:#e8a020; box-shadow:0 0 10px #e8a020; }
.grad-note { margin-top:32px; padding:24px 32px; background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.07); border-radius:16px; display:flex; align-items:flex-start; gap:14px; }
.grad-note p { color:rgba(255,255,255,0.5); font-size:13px; line-height:1.9; margin:0; }

/* ====== NEWS ====== */
#news { background:var(--dark-bg); padding:100px 0; }
#news .inner { max-width:1200px; margin:0 auto; padding:0 5%; }
.news-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:28px; }
.news-card { background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.08); border-radius:20px; overflow:hidden; transition:all 0.4s ease; display:flex; flex-direction:column; }
.news-card:hover { transform:translateY(-8px); background:rgba(255,255,255,0.06); border-color:rgba(59,130,246,0.4); box-shadow:0 20px 40px rgba(0,0,0,0.4); }
.news-card.featured { border-color:rgba(59,130,246,0.3); }
.news-card-img { height:200px; display:flex; align-items:center; justify-content:center; font-size:60px; border-bottom:1px solid rgba(255,255,255,0.05); }
.news-card-body { padding:28px; flex:1; }
.news-date { color:#3b82f6; font-size:13px; font-weight:700; margin-bottom:12px; display:block; letter-spacing:1px; }
.news-title { font-family:'Tajawal',sans-serif; font-size:20px; font-weight:800; color:#fff; margin-bottom:12px; line-height:1.4; }
.news-text { font-size:14px; color:rgba(255,255,255,0.6); line-height:1.8; }

/* ====== CALCULATOR ====== */
#calculator { background:var(--primary); padding:100px 0; }
#calculator .inner { max-width:900px; margin:0 auto; padding:0 5%; }
.calc-mode-toggle { display:inline-flex; background:rgba(255,255,255,0.05); padding:5px; border-radius:12px; margin-top:20px; border:1px solid rgba(255,255,255,0.1); }
.tab-btn { padding:10px 24px; border-radius:8px; border:none; cursor:pointer; font-family:'Cairo',sans-serif; font-weight:700; font-size:14px; transition:all 0.3s; }
.tab-btn.active-partial { background:var(--accent); color:#000; }
.tab-btn.active-total   { background:#22c55e; color:#000; }
.tab-btn.inactive       { background:transparent; color:#fff; }
.calc-mode-desc { border-radius:16px; padding:20px; text-align:center; margin:28px 0; }
.calc-box { background:rgba(255,255,255,0.05); border:1px solid rgba(232,160,32,0.25); border-radius:24px; padding:32px; }
.calc-grid-header { display:grid; grid-template-columns:2fr 1fr 1fr 1fr 1fr 36px; gap:8px; margin-bottom:15px; padding:0 4px; }
.calc-col-label { color:rgba(255,255,255,0.4); font-size:11px; font-weight:700; text-align:center; }
#subjectsContainer { display:flex; flex-direction:column; gap:12px; }
.subject-row { display:grid; gap:8px; align-items:center; }
.calc-input-text,
.calc-input-num { background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.12); border-radius:10px; padding:10px; color:#fff; font-family:'Cairo',sans-serif; font-size:13px; outline:none; width:100%; transition:border-color 0.3s; }
.calc-input-num { font-size:14px; font-weight:700; text-align:center; }
.calc-input-text:focus,
.calc-input-num:focus { border-color:var(--accent); }
.avg-display { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08); border-radius:10px; padding:10px 5px; color:rgba(255,255,255,0.4); font-size:13px; font-weight:700; text-align:center; min-height:40px; display:flex; align-items:center; justify-content:center; }
.remove-btn { background:rgba(239,68,68,0.1); border:none; color:#ef4444; border-radius:8px; width:36px; height:36px; cursor:pointer; font-size:18px; transition:background 0.2s; }
.remove-btn:hover { background:rgba(239,68,68,0.2); }
#add-btn-container { margin-top:15px; display:none; }
.add-subject-btn { background:rgba(232,160,32,0.1); border:1px dashed rgba(232,160,32,0.4); color:var(--accent); width:100%; padding:10px; border-radius:10px; cursor:pointer; font-family:'Cairo',sans-serif; font-size:13px; }
.add-subject-btn:hover { background:rgba(232,160,32,0.15); }
.calc-btn { width:100%; background:linear-gradient(135deg,var(--accent),#f0b840); color:var(--primary); border:none; border-radius:14px; padding:16px; font-family:'Cairo',sans-serif; font-size:16px; font-weight:800; cursor:pointer; transition:all 0.3s; box-shadow:0 8px 25px rgba(232,160,32,0.3); margin-top:24px; }
.calc-btn:hover { transform:translateY(-3px); box-shadow:0 12px 35px rgba(232,160,32,0.5); }
#finalResult { display:none; margin-top:28px; border-radius:18px; overflow:hidden; }
.result-content { padding:24px; text-align:center; }
.result-avg { font-size:14px; color:rgba(255,255,255,0.7); margin-bottom:8px; }
.result-value { font-size:32px; font-weight:900; }
.result-status { margin-top:10px; font-weight:700; color:#fff; }
.calc-note { color:rgba(255,255,255,0.2); font-size:11px; margin-top:16px; text-align:center; }

/* ====== GALLERY ====== */
#gallery { background:var(--dark-bg); }
.gallery-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.gallery-item { border-radius:16px; overflow:hidden; position:relative; cursor:pointer; background:var(--primary); }
.gallery-item:nth-child(1) { grid-column:1/3; grid-row:1/3; height:360px; }
.gallery-item:nth-child(2) { height:170px; }
.gallery-item:nth-child(3) { height:170px; }
.gallery-item:nth-child(4) { height:170px; }
.gallery-item:nth-child(5) { height:170px; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s; display:block; }
.gallery-item:hover img { transform:scale(1.05); }
.gallery-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(10,22,40,0.85),transparent 50%); opacity:0; transition:all 0.3s; display:flex; align-items:flex-end; padding:20px; }
.gallery-item:hover .gallery-overlay { opacity:1; }
.gallery-caption { color:#fff; font-size:14px; font-weight:700; }

/* ====== CONTACT ====== */
#contact { background:var(--primary); padding:100px 0; }
.contact-inner { max-width:1200px; margin:0 auto; padding:0 5%; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.contact-info-title { font-family:'Tajawal',sans-serif; font-size:clamp(28px,3.5vw,44px); font-weight:900; color:#fff; margin-bottom:20px; }
.contact-intro { color:rgba(255,255,255,0.6); font-size:15px; line-height:1.8; margin-bottom:40px; }
.contact-details { display:flex; flex-direction:column; gap:20px; }
.contact-item { display:flex; align-items:flex-start; gap:16px; }
.contact-item-icon { width:44px; height:44px; background:rgba(232,160,32,0.15); border:1px solid rgba(232,160,32,0.3); border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.contact-item-text strong { display:block; color:var(--accent); font-size:12px; font-weight:700; letter-spacing:1px; margin-bottom:4px; }
.contact-item-text span { color:rgba(255,255,255,0.75); font-size:14px; }
.contact-form { background:rgba(255,255,255,0.04); border:1px solid rgba(232,160,32,0.2); border-radius:24px; padding:40px; }
.form-group { margin-bottom:20px; }
.form-group label { display:block; color:rgba(255,255,255,0.7); font-size:13px; font-weight:600; margin-bottom:8px; }
.form-group input,
.form-group textarea { width:100%; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); border-radius:12px; padding:14px 16px; color:#fff; font-family:'Cairo',sans-serif; font-size:14px; outline:none; transition:border-color 0.3s,background 0.3s; resize:vertical; }
.form-group input:focus,
.form-group textarea:focus { border-color:var(--accent); background:rgba(232,160,32,0.06); }

/* ====== FOOTER ====== */
footer { background:#050d1a; padding:60px 5% 30px; border-top:1px solid rgba(232,160,32,0.15); }
.footer-top { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr; gap:60px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.06); margin-bottom:30px; }
.footer-brand h3 { font-family:'Tajawal',sans-serif; font-size:22px; font-weight:900; color:#fff; margin-bottom:12px; }
.footer-brand p { color:rgba(255,255,255,0.45); font-size:13px; line-height:1.8; margin-bottom:24px; }
.social-links { display:flex; gap:10px; }
.social-link { width:36px; height:36px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:16px; cursor:pointer; transition:all 0.3s; text-decoration:none; }
.social-link:hover { background:rgba(232,160,32,0.15); border-color:rgba(232,160,32,0.4); transform:translateY(-2px); }
.footer-col h4 { color:var(--accent); font-size:12px; font-weight:700; letter-spacing:1.5px; margin-bottom:20px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul a { color:rgba(255,255,255,0.5); font-size:13px; text-decoration:none; transition:color 0.3s; }
.footer-col ul a:hover { color:var(--accent); }
/* تنسيق قسم الحقوق بالكامل */
.footer-bottom {
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
    font-size: 22px;          /* حجم خط كبير وواضح */
    color: #ffffff;           /* لون أبيض ناصع للحقوق */
    font-weight: 600;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* التنسيق الخاص باسمك (أيهم أنور) ليضيء دائماً */
.student-name {
    color: #f1c40f;           /* لون سماوي مميز (يمكنك تغييره لـ #f1c40f للذهبي) */
    font-weight: 800;         /* خط عريض جداً للاسم */
    display: inline-block;    /* للسماح ببعض التأثيرات الحركية */
    
    /* تفعيل حركة الإضاءة المستمرة */
    animation: continuous-glow 2s ease-in-out infinite alternate;
}

/* كود حركة الإضاءة (توهج مستمر) */
@keyframes continuous-glow {
    from {
        text-shadow: 0 0 5px #f1c40f, 0 0 10px #f1c40f, 0 0 15px #f1c40f;
        transform: scale(1);
    }
    to {
        text-shadow: 0 0 15px #f1c40f, 0 0 25px #f1c40f, 0 0 35px #f1c40f;
        transform: scale(1.05); /* تكبير طفيف جداً مع الإضاءة */
    }
}
/* ====== CHATBOT ====== */
.chat-launch { position:fixed; bottom:24px; right:24px; width:56px; height:56px; border-radius:50%; border:0; cursor:pointer; z-index:1100; background:linear-gradient(135deg,var(--accent),#f0b840); box-shadow:0 12px 30px rgba(232,160,32,0.35); transition:transform 0.25s,box-shadow 0.2s; display:grid; place-items:center; }
.chat-launch:hover { transform:translateY(-3px); box-shadow:0 16px 40px rgba(232,160,32,0.45); }
.chat-launch svg { width:26px; height:26px; fill:var(--primary); }
.chat-panel { position:fixed; bottom:90px; right:24px; width:360px; max-width:calc(100% - 48px); height:500px; background:#fff; border:1px solid rgba(0,0,0,0.1); border-radius:16px; box-shadow:0 24px 60px rgba(0,0,0,0.15); display:none; overflow:hidden; z-index:1100; opacity:0; transform:translateY(20px); transition:all 0.3s cubic-bezier(0.16,1,0.3,1); flex-direction:column; }
.chat-panel.visible { opacity:1; transform:translateY(0); display:flex; }
.chat-header { padding:16px; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:space-between; }
.chat-title { font-weight:700; font-size:15px; }
.chat-close { background:transparent; border:0; color:rgba(255,255,255,0.7); cursor:pointer; font-size:18px; }
.chat-body { flex:1; padding:16px; overflow-y:auto; display:flex; flex-direction:column; gap:12px; background:#f9fafb; }
.chat-msg { max-width:85%; padding:10px 14px; border-radius:12px; font-size:14px; line-height:1.5; }
.chat-msg.user { align-self:flex-end; background:var(--accent); color:var(--primary); border-bottom-left-radius:2px; font-weight:600; }
.chat-msg.bot  { align-self:flex-start; background:#fff; color:#1a1a2e; border:1px solid rgba(0,0,0,0.05); border-bottom-right-radius:2px; }
.chat-input-area { padding:12px; background:#fff; border-top:1px solid rgba(0,0,0,0.05); }
.chat-input-row { display:flex; gap:8px; }
.chat-input { flex:1; padding:10px 14px; border-radius:50px; border:1px solid rgba(0,0,0,0.1); font-family:inherit; font-size:14px; outline:none; }
.chat-input:focus { border-color:var(--accent); }
.chat-send { background:var(--primary); color:var(--accent); border:0; width:40px; height:40px; border-radius:50%; cursor:pointer; display:grid; place-items:center; }
.suggest-row { display:flex; gap:8px; overflow-x:auto; padding:8px 4px 0; scrollbar-width:none; }
.pill { white-space:nowrap; padding:6px 12px; border-radius:50px; background:rgba(232,160,32,0.1); color:var(--primary); font-size:12px; font-weight:600; cursor:pointer; border:1px solid rgba(232,160,32,0.2); transition:all 0.2s; }
.pill:hover { background:var(--accent); }

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.reveal { opacity:0; transform:translateY(30px); transition:all 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity:1; transform:translateY(0); }
/* ===========================
   ثانوية الكرخ المهنية — CSS (نسخة محسنة للوضوح)
   =========================== */

:root {
  --primary: #0a1628;
  --accent: #e8a020;
  --white: #ffffff;
  --dark-bg: #070e1a;
  /* تم تعديل اللون الباهت ليكون أقرب للأبيض الصريح */
  --muted: rgba(255, 255, 255, 0.9); 
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family:'Cairo',sans-serif; background:var(--dark-bg); color:#fff; overflow-x:hidden; }

/* ====== NAVBAR ====== */
nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(10,22,40,0.97); backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(232,160,32,0.3);
  padding:0 5%; height:70px;
  display:flex; align-items:center; justify-content:space-between;
  transition:background 0.3s;
}
.nav-logo { display:flex; align-items:center; gap:12px; text-decoration:none; }
.nav-logo-icon {
  width:42px; height:42px;
  background:linear-gradient(135deg,var(--accent),#f0b840);
  border-radius:10px; display:flex; align-items:center; justify-content:center;
  font-size:20px; box-shadow:0 4px 15px rgba(232,160,32,0.4);
}
.nav-logo-text { color:#fff; font-size:16px; font-weight:700; line-height:1.2; } /* تكبير بسيط */
.nav-logo-text span { display:block; color:var(--accent); font-size:12px; font-weight:400; letter-spacing:1px; }

.nav-links a {
  color: #ffffff; /* تغيير من الرمادي للأبيض */
  text-decoration:none; font-size:14px; /* تكبير بسيط */
  font-weight:600; padding:8px 16px; border-radius:8px; transition:all 0.3s;
}
.nav-links a:hover { color:var(--accent); background:rgba(232,160,32,0.1); }

/* ====== HERO ====== */
.hero-subtitle { 
    font-size: 18px; /* تكبير الخط */
    color: #ffffff; /* تحويل للأبيض الصريح */
    line-height:1.8; 
    margin-bottom:40px; 
    animation:fadeInUp 0.8s ease 0.3s both; 
}
.stat-label { 
    font-size: 14px; /* تكبير الخط */
    color: #ffffff; /* تحويل للأبيض الصريح */
    font-weight:500; 
}

/* ====== SECTION COMMONS ====== */
.section-desc { 
    font-size: 17px; /* تكبير الخط */
    color: var(--muted); 
    max-width:600px; 
    margin:0 auto; 
    line-height:1.8; 
}

/* ====== ABOUT ====== */
.about-text { 
    color: #ffffff; /* تحويل للأبيض */
    font-size: 16px; /* تكبير الخط */
    line-height:1.9; 
    margin-bottom:20px; 
}
.about-card p { 
    color: #ffffff; /* تحويل للأبيض */
    font-size: 14px; /* تكبير الخط */
    line-height:1.7; 
}

/* ====== DEPT CARDS ====== */
.dept-desc { 
    font-size: 15px; /* تكبير الخط */
    color: #ffffff; /* تحويل للأبيض */
    line-height:1.75; 
    flex:1; 
}

/* ====== AFTER GRADUATION ====== */
.grad-desc { 
    color: #ffffff; /* تحويل للأبيض */
    font-size: 16px; /* تكبير الخط */
    line-height:1.9; 
}
.track-desc { 
    color: #ffffff; /* تحويل للأبيض */
    font-size: 15px; /* تكبير الخط */
    line-height:1.85; 
}
.track-list li { 
    color: #ffffff; /* تحويل للأبيض */
    font-size: 15px; /* تكبير الخط */
}
.grad-note p { 
    color: rgba(255, 255, 255, 0.9); /* تفتيح النص جداً */
    font-size: 14px; 
}

/* ====== NEWS ====== */
.news-text { 
    font-size: 15px; /* تكبير الخط */
    color: #ffffff; /* تحويل للأبيض */
    line-height:1.8; 
}

/* ====== CALCULATOR ====== */
.calc-col-label { 
    color: #ffffff; /* تحويل للأبيض ليكون مقروءاً */
    font-size: 12px; 
    font-weight:700; 
}
.avg-display { 
    color: #ffffff; /* تحويل للأبيض */
    font-size: 14px; 
}

/* ====== CONTACT ====== */
.contact-intro { 
    color: #ffffff; /* تحويل للأبيض */
    font-size: 16px; 
    line-height:1.8; 
}
.contact-item-text span { 
    color: #ffffff; /* تحويل للأبيض */
    font-size: 15px; 
}
.form-group label { 
    color: #ffffff; /* تحويل للأبيض */
    font-size: 14px; 
}

/* ====== FOOTER ====== */
.footer-brand p { 
    color: #ffffff; /* تحويل للأبيض */
    font-size: 14px; 
}
.footer-col ul a { 
    color: #ffffff; /* تحويل للأبيض */
    font-size: 14px; 
}
/* ====== RESPONSIVE ====== */
@media (max-width:900px) {
  .hero-content,.about-inner,.contact-inner,.footer-top,.tracks-grid { grid-template-columns:1fr; gap:40px; }
  .hero-stats { grid-template-columns:repeat(3,1fr); }
  .news-grid,.depts-grid { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:repeat(2,1fr); }
  .gallery-item:nth-child(1) { grid-column:1/3; height:240px; }
  .gallery-item:nth-child(2),.gallery-item:nth-child(3),.gallery-item:nth-child(4),.gallery-item:nth-child(5) { height:160px; }
  .nav-links { display:none; }
  .nav-toggle { display:flex; }
  .panel { min-height:700px; }
  .panel-content { text-align:center !important; padding:60px 20px; }
  .panel-overlay { background:rgba(7,14,26,0.0) !important; }
  .panel-desc { margin:0 auto 30px; font-size:16px; }
  .panel-list li { justify-content:center; font-size:15px; }
  .panel-title { font-size:2.2rem; }
  .calc-grid-header,.subject-row { grid-template-columns:1fr 1fr 1fr !important; }
  .grad-box { padding:24px; }
}
@media (max-width:480px) {
  .hero-stats { grid-template-columns:repeat(2,1fr); }
  .calc-mode-toggle { flex-direction:column; width:100%; }
}
