  
    /* ----- global reset & base ----- */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    }

    body {
      background: #faf9f6;
      color: #1e2b3a;
      line-height: 1.5;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ----- header / navigation (home section) ----- */
    .navbar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0;
      border-bottom: 1px solid #e6e2da;
    }

    .logo {
      font-size: 28px;
      font-weight: 700;
      letter-spacing: -0.5px;
      color: #0f3b3e;
    }
    .logo span {
      color: #b68b5c;
    }

    .nav-links {
      display: flex;
      flex-wrap: wrap;
      gap: 28px;
      font-weight: 500;
      color: #2c3e4f;
    }
    .nav-links a {
      text-decoration: none;
      color: inherit;
      transition: 0.2s;
    }
    .nav-links a:hover {
      color: #b68b5c;
    }

    .trial-btn {
      background: #b68b5c;
      color: white !important;
      padding: 8px 20px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.9rem;
      letter-spacing: 0.3px;
    }
    .trial-btn:hover {
      background: #9f7a4e;
      color: white !important;
    }

    /* ----- hero section (main banner) ----- */
    .hero {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      padding: 40px 0 50px;
      gap: 30px;
    }

    .hero-content {
      flex: 1 1 380px;
    }
    .hero-content .badge {
      background: #eae5dc;
      display: inline-block;
      padding: 6px 18px;
      border-radius: 60px;
      font-size: 0.8rem;
      font-weight: 600;
      color: #4d3e2b;
      letter-spacing: 0.5px;
      margin-bottom: 16px;
    }
    .hero-content h1 {
      font-size: 3.2rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 12px;
    }
    .hero-content h1 i {
      color: #b68b5c;
      font-style: normal;
    }
    .hero-content p {
      font-size: 1.1rem;
      color: #3d4e5e;
      max-width: 480px;
      margin-bottom: 8px;
    }
    .highlight {
      color: #b68b5c;
      font-weight: 600;
    }
    .features {
      display: flex;
      flex-wrap: wrap;
      gap: 24px 40px;
      margin: 24px 0 32px;
    }
    .features span {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 500;
    }
    .features i {
      color: #b68b5c;
      font-size: 1.2rem;
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }
    .btn-primary {
      background: #b68b5c;
      color: white;
      border: none;
      padding: 14px 38px;
      border-radius: 60px;
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      transition: 0.2s;
      text-decoration: none;
      display: inline-block;
    }
    .btn-primary:hover {
      background: #9f7a4e;
      transform: scale(1.02);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid #b68b5c;
      color: #1e2b3a;
      padding: 12px 36px;
      border-radius: 60px;
      font-weight: 600;
      text-decoration: none;
      display: inline-block;
      transition: 0.2s;
    }
    .btn-outline:hover {
      background: #b68b5c10;
      border-color: #9f7a4e;
    }

    .hero-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 28px 50px;
      margin-top: 36px;
    }
    .stat-item {
      display: flex;
      flex-direction: column;
    }
    .stat-number {
      font-size: 2rem;
      font-weight: 700;
      color: #0f3b3e;
    }
    .stat-label {
      color: #4d5f6e;
      font-weight: 500;
    }

    .hero-image {
      flex: 1 1 300px;
      background: #e6dfd3;
      border-radius: 40px;
      min-height: 220px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      color: #4d3e2b;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="120" height="120"><circle cx="50" cy="50" r="40" fill="%23b68b5c30" /><path d="M30 40 L50 30 L70 40 L70 60 L50 70 L30 60 Z" fill="%23b68b5c" opacity="0.3"/><text x="32" y="58" font-size="18" fill="%233d2e1b" font-weight="bold">Q</text></svg>');
      background-repeat: no-repeat;
      background-position: center;
      background-size: 180px;
    }

    /* ----- sections (each as separate file location) ----- */
    .section-block {
      padding: 50px 0 40px;
      border-top: 1px solid #e6e2da;
    }

    .section-title {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .section-sub {
      color: #4d5f6e;
      margin-bottom: 30px;
    }

    /* courses grid */
    .course-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
      gap: 24px;
    }
    .course-card {
      background: white;
      padding: 20px 16px;
      border-radius: 28px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.03);
      border: 1px solid #ede9e1;
      transition: 0.2s;
      text-align: center;
    }
    .course-card:hover {
      transform: translateY(-6px);
      border-color: #b68b5c40;
    }
    .course-icon {
      font-size: 2.4rem;
      color: #b68b5c;
      margin-bottom: 8px;
    }
    .course-card h4 {
      font-size: 1.2rem;
      margin-bottom: 4px;
    }
    .course-card p {
      color: #4d5f6e;
      font-size: 0.9rem;
    }

    /* teachers */
    .teacher-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 30px;
      margin-top: 20px;
    }
    .teacher-card {
      background: white;
      padding: 24px 16px;
      border-radius: 32px;
      border: 1px solid #ede9e1;
      text-align: center;
    }
    .teacher-card .avatar {
      width: 80px;
      height: 80px;
      background: #d6cdbc;
      border-radius: 80px;
      margin: 0 auto 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.2rem;
      font-weight: 600;
      color: #2c3e4f;
    }
    .teacher-card h4 {
      font-size: 1.2rem;
    }
    .teacher-card .role {
      color: #b68b5c;
      font-weight: 500;
      margin: 2px 0;
    }
    .stars {
      color: #f4b642;
      letter-spacing: 2px;
      margin: 6px 0;
    }
    .exp {
      color: #4d5f6e;
      font-size: 0.9rem;
    }

    /* contact / form section */
    .contact-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      margin-top: 20px;
    }
    .contact-info {
      flex: 1 1 240px;
    }
    .contact-info i {
      color: #b68b5c;
      width: 30px;
    }
    .contact-form {
      flex: 2 1 320px;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      margin-bottom: 18px;
    }
    .form-group label {
      font-weight: 600;
      margin-bottom: 4px;
    }
    .form-group input, .form-group textarea {
      padding: 12px 16px;
      border: 1px solid #d6cdbc;
      border-radius: 30px;
      font-size: 1rem;
      background: white;
    }
    .form-group textarea {
      border-radius: 24px;
      resize: vertical;
    }
    .form-row {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .form-row .form-group {
      flex: 1;
    }

    /* free trial banner */
    .trial-banner {
      background: #0f3b3e;
      color: white;
      padding: 30px 30px;
      border-radius: 60px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      margin-top: 30px;
    }
    .trial-banner h3 {
      font-size: 1.8rem;
      font-weight: 600;
    }
    .trial-banner .btn-primary {
      background: #b68b5c;
      color: white;
    }
    .trial-banner .btn-primary:hover {
      background: #c79b6b;
    }

    /* footer */
    .footer {
      padding: 30px 0 20px;
      border-top: 1px solid #e6e2da;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      color: #3d4e5e;
    }

    /* small */
    @media (max-width: 680px) {
      .hero-content h1 { font-size: 2.6rem; }
      .nav-links { gap: 16px; }
    }
    /* ----- course cards: decorative Islamic pattern backgrounds ----- */
    .course-card {
      position: relative;
      overflow: hidden;
    }
    .course-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle at 20% 20%, #b68b5c14 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, #0f3b3e10 0%, transparent 40%);
      pointer-events: none;
    }
    .course-card .course-icon {
      position: relative;
      z-index: 1;
    }
    .course-card h4, .course-card p {
      position: relative;
      z-index: 1;
    }
    .course-card .bg-icon {
      position: absolute;
      right: -10px;
      bottom: -14px;
      font-size: 5.5rem;
      color: #b68b5c;
      opacity: 0.08;
      z-index: 0;
      pointer-events: none;
    }

    /* ----- apply-as-teacher button ----- */
    .apply-teacher-btn {
      display: inline-block;
      margin-top: 16px;
      background: #0f3b3e;
      color: white !important;
      padding: 10px 26px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.9rem;
      text-decoration: none;
    }
    .apply-teacher-btn:hover {
      background: #145154;
    }

    /* ================= ADMIN PANEL ================= */
    .admin-wrap {
      display: flex;
      min-height: 100vh;
      background: #faf9f6;
      font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    }
    .admin-sidebar {
      width: 230px;
      background: #0f3b3e;
      color: white;
      padding: 24px 18px;
      flex-shrink: 0;
    }
    .admin-sidebar .logo {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 30px;
      color: white;
    }
    .admin-sidebar .logo span { color: #b68b5c; }
    .admin-nav a {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #cfe0de;
      text-decoration: none;
      padding: 12px 14px;
      border-radius: 14px;
      margin-bottom: 6px;
      font-weight: 500;
      transition: 0.2s;
    }
    .admin-nav a:hover, .admin-nav a.active {
      background: #b68b5c;
      color: white;
    }
    .admin-main {
      flex: 1;
      padding: 30px 36px;
    }
    .admin-topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }
    .admin-topbar h2 {
      color: #0f3b3e;
    }
    .admin-logout {
      background: #fdeaea;
      color: #a12727;
      border: none;
      padding: 8px 18px;
      border-radius: 30px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
    }
    .admin-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 18px;
      margin-bottom: 30px;
    }
    .admin-card {
      background: white;
      border-radius: 20px;
      padding: 20px;
      border: 1px solid #ede9e1;
    }
    .admin-card .num {
      font-size: 1.8rem;
      font-weight: 700;
      color: #0f3b3e;
    }
    .admin-card .lbl {
      color: #4d5f6e;
      font-size: 0.9rem;
    }
    .admin-table-wrap {
      background: white;
      border-radius: 20px;
      border: 1px solid #ede9e1;
      overflow-x: auto;
    }
    table.admin-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
    }
    table.admin-table th, table.admin-table td {
      padding: 12px 14px;
      text-align: left;
      border-bottom: 1px solid #f0ede6;
      white-space: nowrap;
    }
    table.admin-table th {
      background: #faf7f2;
      color: #0f3b3e;
      font-weight: 600;
    }
    .badge {
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.78rem;
      font-weight: 600;
    }
    .badge-pending { background: #fdf3e0; color: #9a6b0f; }
    .badge-confirmed, .badge-approved { background: #e6f4ea; color: #1e6b3a; }
    .badge-completed { background: #e2ecfb; color: #1e4f8f; }
    .badge-cancelled, .badge-rejected { background: #fdeaea; color: #a12727; }
    .admin-action-btn {
      padding: 5px 12px;
      border-radius: 16px;
      font-size: 0.8rem;
      font-weight: 600;
      text-decoration: none;
      margin-right: 6px;
      display: inline-block;
    }
    .admin-approve { background: #e6f4ea; color: #1e6b3a; }
    .admin-reject { background: #fdeaea; color: #a12727; }
    .admin-login-wrap {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #faf9f6;
    }
    .admin-login-box {
      background: white;
      padding: 40px 36px;
      border-radius: 30px;
      border: 1px solid #ede9e1;
      width: 100%;
      max-width: 380px;
    }
