/* =============================================
   مهارات للتقنية وتنمية الموارد البشرية
   Corporate Professional Theme — RTL Arabic
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
  --primary:       #1B3A6B;
  --primary-dark:  #122850;
  --primary-light: #2a5298;
  --accent:        #C9A84C;
  --accent-dark:   #a88a38;
  --accent-light:  #e8c97a;
  --white:         #ffffff;
  --gray-50:       #f8f9fa;
  --gray-100:      #f1f3f5;
  --gray-200:      #e9ecef;
  --gray-300:      #dee2e6;
  --gray-400:      #ced4da;
  --gray-500:      #adb5bd;
  --gray-600:      #6c757d;
  --gray-700:      #495057;
  --gray-800:      #343a40;
  --gray-900:      #212529;
  --success:       #198754;
  --warning:       #ffc107;
  --danger:        #dc3545;
  --info:          #0dcaf0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow:        0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.14);
  --radius:        8px;
  --radius-lg:     12px;
  --radius-xl:     20px;
  --transition:    .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  direction: rtl;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

/* ── Utilities ── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section      { padding: 80px 0; }
.section-sm   { padding: 48px 0; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--gray-600); }
.fw-bold      { font-weight: 700; }
.fw-semi      { font-weight: 600; }
.mt-1  { margin-top:  8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mt-4  { margin-top: 32px; }
.mb-1  { margin-bottom:  8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.mb-4  { margin-bottom: 32px; }
.d-flex  { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  background: rgba(201,168,76,.1);
  padding: 6px 16px; border-radius: 30px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700; color: var(--primary); line-height: 1.3;
}
.section-header p {
  font-size: 17px; color: var(--gray-600);
  max-width: 620px; margin: 14px auto 0;
}
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 4px; margin: 18px auto 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark); color: var(--white);
  border-color: var(--primary-dark);
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.btn-accent {
  background: var(--accent); color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark); color: var(--white);
  border-color: var(--accent-dark);
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.btn-outline-primary {
  background: transparent; color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary); color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15); color: var(--white);
}
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 4px 12px; border-radius: 30px;
  font-size: 12px; font-weight: 600;
}
.badge-primary  { background: rgba(27,58,107,.1); color: var(--primary); }
.badge-accent   { background: rgba(201,168,76,.15); color: #8a6800; }
.badge-success  { background: rgba(25,135,84,.12); color: #0d6e45; }
.badge-warning  { background: rgba(255,193,7,.2);  color: #856404; }
.badge-danger   { background: rgba(220,53,69,.12); color: #9b1c28; }
.badge-info     { background: rgba(13,202,240,.12); color: #0a7a95; }

/* ── Cards ── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  overflow: hidden; transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-body   { padding: 24px; }
.card-footer { padding: 16px 24px; background: var(--gray-50); border-top: 1px solid var(--gray-200); }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; margin-bottom: 7px;
  font-size: 14px; font-weight: 600; color: var(--gray-700);
}
.form-label .required { color: var(--danger); margin-right: 3px; }
.form-control {
  width: 100%; padding: 11px 16px;
  border: 2px solid var(--gray-300); border-radius: var(--radius);
  font-family: inherit; font-size: 15px; color: var(--gray-800);
  background: var(--white); transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: 12px; color: var(--gray-500); margin-top: 5px; }

/* ── Alerts ── */
.alert {
  padding: 14px 18px; border-radius: var(--radius);
  margin-bottom: 20px; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.alert-success { background: rgba(25,135,84,.1); color: #0a5c38; border: 1px solid rgba(25,135,84,.2); }
.alert-danger  { background: rgba(220,53,69,.1);  color: #842029; border: 1px solid rgba(220,53,69,.2); }
.alert-warning { background: rgba(255,193,7,.1);  color: #664d03; border: 1px solid rgba(255,193,7,.3); }
.alert-info    { background: rgba(13,202,240,.1);  color: #055160; border: 1px solid rgba(13,202,240,.25); }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.table {
  width: 100%; border-collapse: collapse;
  background: var(--white); font-size: 14px;
}
.table th {
  background: var(--primary); color: var(--white);
  padding: 14px 18px; font-weight: 600; text-align: right;
  white-space: nowrap;
}
.table td { padding: 13px 18px; border-bottom: 1px solid var(--gray-200); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--gray-50); }
.table-striped tr:nth-child(even) td { background: var(--gray-50); }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.navbar-logo {
  width: 44px; height: 44px; background: var(--primary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.navbar-brand-text { line-height: 1.25; }
.navbar-brand-title {
  font-size: 17px; font-weight: 700; color: var(--primary);
  display: block;
}
.navbar-brand-sub {
  font-size: 11px; color: var(--gray-500); display: block;
}
.navbar-nav {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.navbar-nav a {
  padding: 8px 14px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; color: var(--gray-700);
  transition: all var(--transition); display: block;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--primary); background: rgba(27,58,107,.07);
}
.navbar-cta { display: flex; align-items: center; gap: 10px; }
.navbar-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.navbar-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: all var(--transition);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative; overflow: hidden; padding: 100px 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.2); color: var(--accent-light);
  padding: 7px 18px; border-radius: 30px;
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
  border: 1px solid rgba(201,168,76,.3);
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900; color: var(--white); line-height: 1.25;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 18px; color: rgba(255,255,255,.82);
  max-width: 600px; margin-bottom: 36px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 60px;
}
.hero-stat {
  background: rgba(255,255,255,.06); padding: 24px 20px; text-align: center;
  backdrop-filter: blur(4px);
}
.hero-stat-number {
  font-size: 36px; font-weight: 900; color: var(--accent);
  line-height: 1; display: block; margin-bottom: 6px;
}
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.75); }

/* ========================================
   PROGRAMS SECTION / CARDS
   ======================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.program-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  overflow: hidden; transition: all var(--transition);
  display: flex; flex-direction: column;
}
.program-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-6px);
}
.program-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.program-card-img .icon { font-size: 56px; opacity: .4; }
.program-card-img .category-badge {
  position: absolute; top: 14px; right: 14px;
}
.program-card-body { padding: 22px; flex: 1; }
.program-card-title {
  font-size: 18px; font-weight: 700; color: var(--primary);
  margin-bottom: 10px; line-height: 1.4;
}
.program-card-desc {
  font-size: 14px; color: var(--gray-600); margin-bottom: 16px;
  line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.program-card-meta {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 18px;
}
.program-card-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--gray-600);
}
.program-card-meta-item .material-symbols-outlined { font-size: 16px; }
.program-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
.program-price {
  font-size: 20px; font-weight: 700; color: var(--primary);
}
.program-price span { font-size: 13px; font-weight: 400; color: var(--gray-500); }

/* ========================================
   WHY US SECTION
   ======================================== */
.why-us { background: var(--gray-50); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-4px);
  border-color: var(--primary);
}
.feature-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(27,58,107,.1), rgba(27,58,107,.05));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 30px; color: var(--primary);
}
.feature-title { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.feature-desc  { font-size: 14px; color: var(--gray-600); line-height: 1.65; }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials { background: var(--primary); }
.testimonials .section-header .eyebrow { color: var(--accent); }
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p  { color: rgba(255,255,255,.7); }
.testimonials .divider { background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.3)); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 28px;
  backdrop-filter: blur(4px);
}
.testimonial-stars { color: var(--accent); font-size: 18px; margin-bottom: 14px; }
.testimonial-text  { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.75; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; color: var(--white); font-size: 15px; }
.testimonial-role { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 2px; }

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  padding: 72px 0; text-align: center;
}
.cta-section h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 700; color: var(--white); margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,.85); font-size: 17px; margin-bottom: 32px; }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--gray-900); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .navbar-logo { background: rgba(255,255,255,.1); margin-bottom: 16px; }
.footer-brand-title { color: var(--white); font-size: 18px; font-weight: 700; display: block; margin-bottom: 4px; }
.footer-desc { font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all var(--transition);
  border: 1px solid rgba(255,255,255,.1);
}
.footer-social a:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.footer-col-title { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-item .material-symbols-outlined { font-size: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
}
.footer-bottom a { color: var(--accent); }

/* ========================================
   PAGE BANNER
   ======================================== */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 56px 0; position: relative; overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 0L40 20L20 40L0 20z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-banner-inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.breadcrumb a { font-size: 13px; color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { font-size: 12px; color: rgba(255,255,255,.3); }
.breadcrumb-current { font-size: 13px; color: rgba(255,255,255,.9); }
.page-banner h1 { font-size: clamp(24px, 4vw, 38px); font-weight: 700; color: var(--white); }

/* ========================================
   PROGRAMS PAGE — Filters
   ======================================== */
.programs-page { padding: 56px 0; }
.programs-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.sidebar { }
.sidebar-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  padding: 24px; margin-bottom: 20px;
}
.sidebar-title { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-200); }
.filter-option { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; cursor: pointer; }
.filter-option input[type="checkbox"],
.filter-option input[type="radio"] { width: 17px; height: 17px; cursor: pointer; accent-color: var(--primary); }
.filter-option label { font-size: 14px; color: var(--gray-700); cursor: pointer; }
.search-bar {
  display: flex; gap: 10px; margin-bottom: 28px;
}
.search-bar .form-control { flex: 1; }

/* ========================================
   PROGRAM DETAIL
   ======================================== */
.program-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; }
.program-detail-main { }
.program-detail-aside { position: sticky; top: 90px; align-self: start; }
.program-register-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 2px solid var(--primary);
  padding: 28px; margin-bottom: 20px;
}
.program-register-price {
  font-size: 34px; font-weight: 900; color: var(--primary); margin-bottom: 4px;
}
.program-register-price .currency { font-size: 18px; font-weight: 500; color: var(--gray-500); }
.program-meta-list { margin: 20px 0; }
.program-meta-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}
.program-meta-item:last-child { border-bottom: none; }
.program-meta-item .material-symbols-outlined { font-size: 20px; color: var(--primary); }
.program-meta-item .label { color: var(--gray-500); margin-left: auto; }
.program-meta-item .value { font-weight: 600; color: var(--gray-800); }
.objectives-list { list-style: none; }
.objectives-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: 15px; color: var(--gray-700);
}
.objectives-list li::before {
  content: '✓';
  color: var(--success); font-weight: 700; font-size: 16px; flex-shrink: 0; margin-top: 1px;
}
.curriculum-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
}
.curriculum-header {
  padding: 14px 18px; background: var(--gray-50);
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-weight: 600; color: var(--primary);
}
.curriculum-body { padding: 16px 18px; font-size: 14px; color: var(--gray-600); display: none; }
.curriculum-item.open .curriculum-body { display: block; }
.curriculum-item.open .material-symbols-outlined.chevron { transform: rotate(90deg); }

/* ========================================
   REGISTER / LOGIN
   ======================================== */
.auth-page {
  min-height: calc(100vh - 72px);
  background: var(--gray-50);
  display: flex; align-items: center; padding: 48px 0;
}
.auth-layout { display: grid; grid-template-columns: 1fr 480px; gap: 48px; max-width: 1000px; margin: 0 auto; }
.auth-brand {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-xl); padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.auth-brand h2 { font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.auth-brand p  { color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 32px; }
.auth-feature { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.auth-feature .material-symbols-outlined { color: var(--accent); font-size: 22px; }
.auth-feature span { color: rgba(255,255,255,.85); font-size: 15px; }
.auth-card {
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: 40px;
}
.auth-tabs { display: flex; margin-bottom: 30px; border-bottom: 2px solid var(--gray-200); }
.auth-tab {
  flex: 1; padding: 12px; text-align: center; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--gray-500);
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: all var(--transition);
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }

/* ========================================
   ABOUT / CONTACT
   ======================================== */
.about-story { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-block {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl); height: 380px;
  display: flex; align-items: center; justify-content: center;
  font-size: 100px; color: rgba(255,255,255,.2);
}
.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow); border-top: 4px solid var(--primary);
  text-align: center;
}
.mv-card.vision { border-top-color: var(--accent); }
.mv-card .icon { font-size: 40px; margin-bottom: 16px; }
.mv-card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.mv-card p  { font-size: 15px; color: var(--gray-600); line-height: 1.75; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.team-card { text-align: center; }
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: rgba(255,255,255,.4);
  margin: 0 auto 16px; border: 4px solid var(--gray-200);
}
.team-name { font-size: 17px; font-weight: 700; color: var(--primary); }
.team-role { font-size: 13px; color: var(--gray-500); margin-top: 4px; }
.contact-layout { display: grid; grid-template-columns: 1fr 420px; gap: 48px; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 48px; height: 48px; background: rgba(27,58,107,.1);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 22px; flex-shrink: 0;
}
.contact-info-text h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.contact-info-text p  { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ========================================
   ADMIN PANEL
   ======================================== */
.admin-layout {
  display: grid; grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--primary-dark);
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  flex-shrink: 0;
}
.admin-sidebar-header {
  padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.admin-sidebar-logo .logo-icon {
  width: 40px; height: 40px; background: var(--accent);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--white);
}
.admin-sidebar-logo .logo-text { font-size: 15px; font-weight: 700; color: var(--white); }
.admin-nav { padding: 20px 12px; }
.admin-nav-section { margin-bottom: 8px; }
.admin-nav-section-title {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,.35);
  text-transform: uppercase; letter-spacing: 2px;
  padding: 0 10px; margin-bottom: 6px; margin-top: 16px;
}
.admin-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: var(--radius);
  color: rgba(255,255,255,.65); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all var(--transition); margin-bottom: 2px;
}
.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(255,255,255,.08); color: var(--white);
}
.admin-nav-item.active { background: rgba(255,255,255,.12); color: var(--accent); }
.admin-nav-item .material-symbols-outlined { font-size: 20px; }
.admin-nav-item .badge { margin-right: auto; background: var(--accent); color: var(--white); font-size: 11px; }
.admin-main { background: var(--gray-50); overflow: auto; }
.admin-topbar {
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  padding: 0 28px; height: 64px; display: flex; align-items: center;
  justify-content: space-between; position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.admin-topbar-title { font-size: 18px; font-weight: 700; color: var(--primary); }
.admin-topbar-actions { display: flex; align-items: center; gap: 12px; }
.admin-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; cursor: pointer;
}
.admin-content { padding: 32px 28px; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  display: flex; align-items: flex-start; gap: 16px;
}
.stat-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.stat-icon.blue   { background: rgba(27,58,107,.1);  color: var(--primary); }
.stat-icon.green  { background: rgba(25,135,84,.1);   color: var(--success); }
.stat-icon.orange { background: rgba(255,152,0,.12);  color: #e65100; }
.stat-icon.gold   { background: rgba(201,168,76,.15); color: #8a6800; }
.stat-label  { font-size: 12px; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.stat-value  { font-size: 28px; font-weight: 900; color: var(--gray-900); line-height: 1; }
.stat-change { font-size: 12px; margin-top: 6px; }
.stat-change.up   { color: var(--success); }
.stat-change.down { color: var(--danger); }
.admin-section { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); margin-bottom: 24px; }
.admin-section-header {
  padding: 18px 24px; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-section-title { font-size: 15px; font-weight: 700; color: var(--primary); }
.admin-section-body { padding: 0; }
.status-badge {
  display: inline-block; padding: 4px 12px; border-radius: 30px; font-size: 12px; font-weight: 600;
}
.status-pending  { background: rgba(255,193,7,.15); color: #856404; }
.status-approved { background: rgba(25,135,84,.12); color: #0a5c38; }
.status-rejected { background: rgba(220,53,69,.12); color: #842029; }
.status-cancelled{ background: rgba(108,117,125,.12); color: #495057; }

/* ========================================
   WHATSAPP FLOAT & BACK TO TOP
   ======================================== */
.whatsapp-float {
  position: fixed; left: 20px; bottom: 80px;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 9999; transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }
.back-to-top {
  position: fixed; right: 20px; bottom: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); z-index: 9999;
  cursor: pointer; transition: all var(--transition);
  opacity: 0; pointer-events: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .programs-layout { grid-template-columns: 1fr; }
  .program-detail-layout { grid-template-columns: 1fr; }
  .program-detail-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .navbar-nav, .navbar-cta { display: none; }
  .navbar-toggle { display: flex; }
  .navbar-nav.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 72px 0 0 0;
    background: var(--white); padding: 20px;
    z-index: 999; box-shadow: var(--shadow-lg);
  }
  .navbar-nav.open + .navbar-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .hero-stat-number { font-size: 28px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
