<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<title>لائحة العطل المدرسية 2026-2027</title>
<style>
  @import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cinzel:wght@600;700;800&family=Montserrat:wght@500;600;700&display=swap');

  @page {
    size: A4;
    margin: 0;
  }

  body {
    margin: 0;
    padding: 0;
    background-color: #fcf8ee;
    font-family: 'Amiri', 'Traditional Arabic', serif;
    color: #1b2e22;
    -webkit-print-color-adjust: exact;
  }

  .page-container {
    width: 210mm;
    height: 297mm;
    box-sizing: border-box;
    padding: 10mm;
    position: relative;
    background-color: #fbf7ed;
    background-image: radial-gradient(#d4af37 0.5px, transparent 0.5px);
    background-size: 16px 16px;
  }

  /* Outer & Inner Decorative Green & Gold Borders */
  .border-outer {
    border: 4px solid #133926;
    height: 100%;
    box-sizing: border-box;
    padding: 5px;
    position: relative;
  }

  .border-inner {
    border: 2px solid #c59b27;
    height: 100%;
    box-sizing: border-box;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
  }

  /* Corner Decorative Accents */
  .corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #133926;
    border-style: solid;
  }
  .top-left { top: -2px; left: -2px; border-width: 3px 0 0 3px; }
  .top-right { top: -2px; right: -2px; border-width: 3px 3px 0 0; }
  .bottom-left { bottom: -2px; left: -2px; border-width: 0 0 3px 3px; }
  .bottom-right { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; }

  /* Header Section */
  .header-table {
    width: 100%;
    margin-bottom: 5px;
    border-collapse: collapse;
  }

  .header-title-en {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    font-weight: 700;
    color: #133926;
    text-align: right;
    line-height: 1.3;
  }

  .header-title-ar {
    font-family: 'Amiri', serif;
    font-size: 12px;
    font-weight: 700;
    color: #133926;
    text-align: left;
    line-height: 1.3;
  }

  .header-subtitle {
    font-size: 9.5px;
    color: #444;
  }

  .emblem-cell {
    text-align: center;
    vertical-align: middle;
  }

  .emblem-icon {
    width: 50px;
    height: auto;
  }

  /* Main Title Box */
  .title-box {
    border: 2px solid #133926;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: inset 0 0 0 2px #c59b27;
    text-align: center;
    padding: 6px 15px;
    margin: 5px 0 10px 0;
  }

  .title-en {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 800;
    color: #133926;
    letter-spacing: 1px;
    margin: 0;
  }

  .title-ar {
    font-family: 'Amiri', serif;
    font-size: 20px;
    font-weight: 700;
    color: #133926;
    margin: -2px 0 2px 0;
  }

  .badge-year {
    display: inline-block;
    background-color: #133926;
    color: #f7d674;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 16px;
    border-radius: 12px;
    border: 1px solid #c59b27;
  }

  /* Holidays Table Styling */
  .holidays-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }

  .holidays-table th {
    background-color: #133926;
    color: #f7d674;
    border: 1px solid #133926;
    padding: 6px 4px;
    font-family: 'Amiri', serif;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
  }

  .holidays-table td {
    border: 1px solid #cbd5cc;
    padding: 4.5px 6px;
    text-align: center;
    color: #111;
  }

  .holidays-table tr:nth-child(even) {
    background-color: #f4f8f4;
  }

  .num-col { font-weight: bold; color: #133926; width: 6%; }
  .name-col { text-align: right !important; font-weight: bold; width: 38%; padding-right: 10px !important; }
  .date-col { width: 44%; font-family: 'Amiri', serif; font-size: 12px; }
  .days-col { width: 12%; font-weight: bold; color: #8c1d1d; }

  /* Signatures & Footer */
  .footer-section {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed #c59b27;
  }

  .signatures-table {
    width: 100%;
    font-size: 11.5px;
    font-weight: bold;
    color: #133926;
    margin-bottom: 6px;
  }

  .quote-box {
    text-align: center;
    font-style: italic;
    font-size: 10.5px;
    color: #444;
    border-top: 1px solid #e0d0a6;
    padding-top: 4px;
  }
</style>
</head>
<body>

<div class="page-container">
  <div class="border-outer">
    <div class="border-inner">

      <div class="corner top-left"></div>
      <div class="corner top-right"></div>
      <div class="corner bottom-left"></div>
      <div class="corner bottom-right"></div>

      <!-- Header Block -->
      <table class="header-table">
        <tr>
          <td class="header-title-en" width="40%">
            KINGDOM OF MOROCCO<br>
            <span class="header-subtitle">Ministry of National Education,<br>Primary Education & Sports</span><br>
            <span style="color:#c59b27; font-size:9px;">Regional Academy: Marrakech-Safi</span><br>
            <span style="color:#c59b27; font-size:9px;">Provincial Directorate: Safi</span>
          </td>
          <td class="emblem-cell" width="20%">
            <svg class="emblem-icon" viewBox="0 0 100 100">
              <circle cx="50" cy="50" r="45" fill="none" stroke="#c59b27" stroke-width="2"/>
              <path d="M50 15 L58 35 L80 35 L62 48 L69 70 L50 56 L31 70 L38 48 L20 35 L42 35 Z" fill="#133926" stroke="#c59b27" stroke-width="1.5"/>
            </svg>
          </td>
          <td class="header-title-ar" width="40%">
            المملكة المغربية<br>
            <span class="header-subtitle">وزارة التربية الوطنية والتعليم الأولي والرياضة</span><br>
            <span style="color:#c59b27; font-size:11px;">الأكاديمية الجهوية: مراكش - أسفي</span><br>
            <span style="color:#c59b27; font-size:11px;">المديرية الإقليمية: أسفي</span>
          </td>
        </tr>
      </table>

      <!-- Main Title Box -->
      <div class="title-box">
        <div class="title-en">SCHOOL HOLIDAYS CALENDAR</div>
        <div class="title-ar">لائحة العطل المدرسية</div>
        <div class="badge-year">Academic Year 2026 – 2027</div>
      </div>

      <!-- School Holidays Table -->
      <table class="holidays-table">
        <thead>
          <tr>
            <th>ر.ت</th>
            <th>العطلة المدرسية</th>
            <th>التاريخ (من - إلى)</th>
            <th>عدد الأيام</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td class="num-col">1</td>
            <td class="name-col">الفترة البينية الأولى</td>
            <td class="date-col">من يوم الأحد 18 أكتوبر 2026 إلى يوم الأحد 25 أكتوبر 2026</td>
            <td class="days-col">8 أيام</td>
          </tr>
          <tr>
            <td class="num-col">2</td>
            <td class="name-col">ذكرى المسيرة الخضراء</td>
            <td class="date-col">يوم الجمعة 6 نونبر 2026</td>
            <td class="days-col">يوم واحد</td>
          </tr>
          <tr>
            <td class="num-col">3</td>
            <td class="name-col">عيد الاستقلال</td>
            <td class="date-col">يوم الأربعاء 18 نونبر 2026</td>
            <td class="days-col">يوم واحد</td>
          </tr>
          <tr>
            <td class="num-col">4</td>
            <td class="name-col">الفترة البينية الثانية</td>
            <td class="date-col">من يوم الأحد 6 دجنبر 2026 إلى يوم الأحد 13 دجنبر 2026</td>
            <td class="days-col">8 أيام</td>
          </tr>
          <tr>
            <td class="num-col">5</td>
            <td class="name-col">فاتح السنة الميلادية</td>
            <td class="date-col">يوم الجمعة فاتح يناير 2027</td>
            <td class="days-col">يوم واحد</td>
          </tr>
          <tr>
            <td class="num-col">6</td>
            <td class="name-col">ذكرى تقديم وثيقة الاستقلال</td>
            <td class="date-col">يوم الإثنين 11 يناير 2027</td>
            <td class="days-col">يوم واحد</td>
          </tr>
          <tr>
            <td class="num-col">7</td>
            <td class="name-col">فاتح السنة الأمازيغية</td>
            <td class="date-col">يوم الخميس 14 يناير 2027</td>
            <td class="days-col">يوم واحد</td>
          </tr>
          <tr>
            <td class="num-col">8</td>
            <td class="name-col">عطلة منتصف السنة الدراسية</td>
            <td class="date-col">من يوم الأحد 24 يناير 2027 إلى يوم الأحد 31 يناير 2027</td>
            <td class="days-col">8 أيام</td>
          </tr>
          <tr>
            <td class="num-col">9</td>
            <td class="name-col">الفترة البينية الثالثة</td>
            <td class="date-col">من يوم الأحد 21 مارس 2027 إلى يوم الأحد 28 مارس 2027</td>
            <td class="days-col">8 أيام</td>
          </tr>
          <tr>
            <td class="num-col">10</td>
            <td class="name-col">عيد الفطر المبارك</td>
            <td class="date-col">من 29 رمضان إلى 2 شوال 1448 هـ</td>
            <td class="days-col">3 أو 4 أيام</td>
          </tr>
          <tr>
            <td class="num-col">11</td>
            <td class="name-col">عيد الشغل</td>
            <td class="date-col">يوم السبت فاتح ماي 2027</td>
            <td class="days-col">يوم واحد</td>
          </tr>
          <tr>
            <td class="num-col">12</td>
            <td class="name-col">الفترة البينية الرابعة</td>
            <td class="date-col">من يوم الأحد 9 ماي 2027 إلى يوم الأحد 16 ماي 2027</td>
            <td class="days-col">8 أيام</td>
          </tr>
          <tr>
            <td class="num-col">13</td>
            <td class="name-col">عيد الأضحى المبارك</td>
            <td class="date-col">من 9 إلى 11 ذي الحجة 1448 هـ</td>
            <td class="days-col">3 أيام</td>
          </tr>
          <tr>
            <td class="num-col">14</td>
            <td class="name-col">فاتح محرم</td>
            <td class="date-col">يوم 1 محرم 1449 هـ</td>
            <td class="days-col">يوم واحد</td>
          </tr>
        </tbody>
      </table>

      <!-- Signatures & Footer -->
      <div class="footer-section">
        <table class="signatures-table">
          <tr>
            <td style="text-align: right; width: 50%;">توقيع الأستاذ(ة): .............................................</td>
            <td style="text-align: left; width: 50%;">توقيع وتأشيرة السيد(ة) المدير(ة): .............................................</td>
          </tr>
        </table>
        <div class="quote-box">
          "A good teacher can inspire hope, ignite the imagination, and instill a love of learning." — Brad Henry
        </div>
      </div>

    </div>
  </div>
</div>

</body>
</html>
