{"id":3332,"date":"2025-12-18T23:52:53","date_gmt":"2025-12-18T15:52:53","guid":{"rendered":"https:\/\/engine.iium.edu.my\/mec\/?p=3332"},"modified":"2026-01-01T11:34:03","modified_gmt":"2026-01-01T03:34:03","slug":"3332","status":"publish","type":"post","link":"https:\/\/engine.iium.edu.my\/mec\/?p=3332","title":{"rendered":"Royale Education and Best Student Awards!"},"content":{"rendered":"\n<section id=\"mae-congrats\" aria-label=\"Congratulations post\">\n  <style>\n    \/* ===== Scoped: Congrats Post (Readable + Click-to-Zoom) ===== *\/\n    #mae-congrats{\n      --ink:#0f172a; --muted:#475569;\n      --brand:#0ea5e9; --brand2:#a78bfa;\n      --card:#ffffff; --soft:#f8fafc; --border:#e5e7eb;\n      --shadow: 0 18px 40px rgba(2,6,23,.10), 0 2px 6px rgba(2,6,23,.08);\n      --radius:18px;\n\n      font-family: ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", Roboto, Arial, \"Noto Sans\", \"Helvetica Neue\", sans-serif;\n      color: var(--ink);\n      line-height: 1.85;\n\n      padding: clamp(16px, 2.3vw, 28px);\n      border-radius: var(--radius);\n      border: 1px solid var(--border);\n      background:\n        radial-gradient(1200px 420px at 15% 0%, rgba(14,165,233,.10), transparent 55%),\n        radial-gradient(900px 380px at 100% 20%, rgba(167,139,250,.10), transparent 60%),\n        var(--card);\n      box-shadow: var(--shadow);\n      overflow: hidden;\n      position: relative;\n\n      \/* overall readability bump *\/\n      font-size: 1.18rem;\n    }\n\n    #mae-congrats .header{\n      display:flex; gap:14px; align-items:flex-start; justify-content:space-between;\n      flex-wrap:wrap;\n      margin-bottom: 14px;\n      padding-bottom: 14px;\n      border-bottom: 1px solid #eef2f7;\n    }\n    #mae-congrats .kicker{\n      display:inline-flex; align-items:center; gap:.5rem;\n      padding:.40rem .75rem;\n      border-radius:999px;\n      background:#eef6ff;\n      border:1px solid #dbeafe;\n      color:#075985;\n      font-weight: 850;\n      letter-spacing: .2px;\n      font-size: 1.02rem;\n      white-space: nowrap;\n    }\n    #mae-congrats h2{\n      margin: .35rem 0 0;\n      font-size: clamp(1.85rem, 2.7vw, 2.35rem);\n      line-height: 1.18;\n      letter-spacing: .2px;\n    }\n    #mae-congrats .sub{\n      margin: .45rem 0 0;\n      color: var(--muted);\n      font-size: 1.18rem;\n    }\n\n    #mae-congrats .grid{\n      display:grid;\n      grid-template-columns: 1fr 1fr;\n      gap: 16px;\n      margin-top: 14px;\n    }\n    @media (max-width: 900px){\n      #mae-congrats .grid{ grid-template-columns: 1fr; }\n    }\n\n    \/* Card *\/\n    #mae-congrats .card{\n      border-radius: 18px;\n      border: 1px solid var(--border);\n      background: #fff;\n      box-shadow: 0 10px 24px rgba(2,6,23,.08);\n      overflow: hidden;\n      display:flex;\n      flex-direction:column;\n      min-height: 440px;\n    }\n\n    \/* Image banner (clickable) *\/\n    #mae-congrats .banner{\n      position: relative;\n      height: 220px;\n      background: #0b1220;\n      border-bottom: 1px solid var(--border);\n      overflow:hidden;\n      cursor: zoom-in;\n    }\n    #mae-congrats .banner img{\n      width:100%;\n      height:100%;\n      object-fit: cover;\n      object-position: center;\n      display:block;\n      filter: saturate(1.05) contrast(1.05);\n\n      \/* smooth hover zoom *\/\n      transform: scale(1);\n      transition: transform .55s ease, filter .55s ease;\n    }\n\n    \/* Gentle hover zoom so crop feels nicer *\/\n    #mae-congrats .banner:hover img{\n      transform: scale(1.06);\n      filter: saturate(1.08) contrast(1.08);\n    }\n\n    \/* bottom gradient for badge *\/\n    #mae-congrats .banner::after{\n      content:\"\";\n      position:absolute; inset:0;\n      background: linear-gradient(to top, rgba(2,6,23,.55), transparent 62%);\n      pointer-events:none;\n    }\n\n    #mae-congrats .badge{\n      position:absolute;\n      left: 12px; bottom: 12px;\n      z-index: 2;\n      display:inline-flex; align-items:center; gap:.45rem;\n      padding:.48rem .82rem;\n      border-radius:999px;\n      background: rgba(255,255,255,.18);\n      border: 1px solid rgba(255,255,255,.28);\n      color: rgba(255,255,255,.95);\n      backdrop-filter: blur(8px);\n      -webkit-backdrop-filter: blur(8px);\n      font-weight: 900;\n      letter-spacing: .2px;\n      font-size: 1.05rem;\n    }\n\n    \/* Content area (bigger text) *\/\n    #mae-congrats .body{\n      padding: 18px 20px 20px;\n      display:flex;\n      flex-direction:column;\n      gap: 10px;\n    }\n    #mae-congrats .name{\n      margin: 0;\n      font-size: 1.65rem;\n      font-weight: 950;\n      letter-spacing: .2px;\n      line-height: 1.25;\n    }\n    #mae-congrats .meta{\n      margin: 0;\n      color: var(--muted);\n      font-size: 1.18rem;\n    }\n\n    #mae-congrats .award{\n      margin: 6px 0 0;\n      padding: 14px 16px;\n      border-radius: 14px;\n      border: 1px solid rgba(14,165,233,.22);\n      background: rgba(14,165,233,.08);\n      color: #0f172a;\n      font-weight: 900;\n      line-height: 1.5;\n      font-size: 1.22rem;\n    }\n\n    #mae-congrats .note{\n      margin: 0;\n      color: #1f2937;\n      font-size: 1.18rem;\n    }\n\n    #mae-congrats .footer{\n      margin-top: 16px;\n      padding-top: 14px;\n      border-top: 1px solid #eef2f7;\n      display:flex;\n      gap: 10px;\n      flex-wrap: wrap;\n      align-items:center;\n      justify-content: space-between;\n    }\n    #mae-congrats .tag{\n      display:inline-flex; align-items:center; gap:.45rem;\n      padding:.45rem .8rem;\n      border-radius:999px;\n      background: var(--soft);\n      border:1px solid var(--border);\n      color: var(--muted);\n      font-weight: 750;\n      font-size: 1.05rem;\n    }\n\n    \/* ===== Lightbox (click to maximize) ===== *\/\n    #mae-congrats .lb{\n      position: fixed;\n      inset: 0;\n      background: rgba(2,6,23,.82);\n      display: none;\n      align-items: center;\n      justify-content: center;\n      padding: 18px;\n      z-index: 999999;\n      cursor: zoom-out;\n    }\n    #mae-congrats .lb.open{ display:flex; }\n\n    #mae-congrats .lb-inner{\n      width: min(1100px, 96vw);\n      max-height: 90vh;\n      border-radius: 16px;\n      overflow: hidden;\n      border: 1px solid rgba(255,255,255,.18);\n      background: rgba(255,255,255,.06);\n      box-shadow: 0 22px 70px rgba(0,0,0,.35);\n      transform: translateY(10px) scale(.98);\n      opacity: 0;\n      transition: opacity .35s ease, transform .35s ease; \/* smooth, not too fast *\/\n    }\n    #mae-congrats .lb.open .lb-inner{\n      transform: translateY(0) scale(1);\n      opacity: 1;\n    }\n\n    #mae-congrats .lb-top{\n      display:flex;\n      align-items:center;\n      justify-content:space-between;\n      gap: 10px;\n      padding: 10px 12px;\n      background: rgba(255,255,255,.08);\n      border-bottom: 1px solid rgba(255,255,255,.14);\n      color: rgba(255,255,255,.92);\n      font-weight: 800;\n      letter-spacing: .2px;\n      font-size: 1rem;\n      cursor: default;\n    }\n    #mae-congrats .lb-close{\n      border: 1px solid rgba(255,255,255,.22);\n      background: rgba(255,255,255,.10);\n      color: rgba(255,255,255,.95);\n      border-radius: 12px;\n      padding: .45rem .7rem;\n      font-weight: 900;\n      cursor: pointer;\n      transition: background .2s ease, transform .2s ease;\n    }\n    #mae-congrats .lb-close:hover{ background: rgba(255,255,255,.16); transform: translateY(-1px); }\n\n    #mae-congrats .lb-img-wrap{\n      background: rgba(0,0,0,.18);\n    }\n    #mae-congrats .lb-img{\n      width:100%;\n      height: auto;\n      display:block;\n      max-height: calc(90vh - 54px);\n      object-fit: contain;\n      background: rgba(0,0,0,.25);\n    }\n\n    \/* Respect reduced motion *\/\n    @media (prefers-reduced-motion: reduce){\n      #mae-congrats .banner img{ transition:none; }\n      #mae-congrats .lb-inner{ transition:none; }\n    }\n  <\/style>\n\n  <div class=\"header\">\n    <div>\n      <div class=\"kicker\">\ud83c\udf89 Congratulations<\/div>\n      <h2>Celebrating Our Outstanding Graduates<\/h2>\n      <p class=\"sub\">\n        Heartfelt congratulations from the Department of Mechanical &amp; Aerospace Engineering, IIUM.\n      <\/p>\n    <\/div>\n    <div class=\"tag\">Kulliyyah of Engineering \u00b7 IIUM<\/div>\n  <\/div>\n\n  <div class=\"grid\">\n    <!-- Farhan -->\n    <article class=\"card\" aria-label=\"Congratulations Br Nik Ahmad Farhan Nik Mahmood Farid\">\n      <div class=\"banner\" data-full=\"https:\/\/engine.iium.edu.my\/mec\/wp-content\/uploads\/Farhan.jpg\" data-title=\"Br Nik Ahmad Farhan Nik Mahmood Farid\">\n        <img decoding=\"async\" src=\"https:\/\/engine.iium.edu.my\/mec\/wp-content\/uploads\/Farhan.jpg\" alt=\"Br Nik Ahmad Farhan Nik Mahmood Farid\" \/>\n        <div class=\"badge\">\ud83c\udfc5 Royal Education Award<\/div>\n      <\/div>\n      <div class=\"body\">\n        <h3 class=\"name\">Br Nik Ahmad Farhan Nik Mahmood Farid<\/h3>\n        <p class=\"meta\">Mechanical Engineering<\/p>\n        <div class=\"award\">\n          Recipient of the <b>Royal Education Award<\/b> &amp; <b>Best Student (Academic)<\/b>\n        <\/div>\n        <p class=\"note\">\n          Your academic excellence reflects dedication, discipline, and a strong commitment to the engineering field.\n          May your achievements inspire others and open doors to even greater contributions ahead.\n        <\/p>\n      <\/div>\n    <\/article>\n\n    <!-- Dida -->\n    <article class=\"card\" aria-label=\"Congratulations Br Dida Ammirun Daud\">\n      <div class=\"banner\" data-full=\"https:\/\/engine.iium.edu.my\/mec\/wp-content\/uploads\/Dida-300x300.jpg\" data-title=\"Br Dida Ammirun Daud\">\n        <img decoding=\"async\" src=\"https:\/\/engine.iium.edu.my\/mec\/wp-content\/uploads\/Dida-300x300.jpg\" alt=\"Br Dida Ammirun Daud\" \/>\n        <div class=\"badge\">\ud83c\udf1f Best Co-Curricular<\/div>\n      <\/div>\n      <div class=\"body\">\n        <h3 class=\"name\">Br Dida Ammirun Daud<\/h3>\n        <p class=\"meta\">Aerospace Engineering<\/p>\n        <div class=\"award\">\n          Awarded <b>Best Student (Co-Curricular)<\/b>\n        <\/div>\n        <p class=\"note\">\n          Your leadership, teamwork, and active involvement beyond the classroom embody the spirit of holistic education.\n          May you continue to grow as a role model and changemaker, inshaAllah.\n        <\/p>\n      <\/div>\n    <\/article>\n  <\/div>\n\n  <div class=\"footer\">\n    <div class=\"tag\">May Allah bless your journey \u00b7 \u0628\u0627\u0631\u0643 \u0627\u0644\u0644\u0647 \u0641\u064a\u0643\u0645<\/div>\n    <div class=\"tag\">Class of 2025<\/div>\n  <\/div>\n\n  <!-- Award Ceremony Video (starts at 2:43:02) -->\n  <div class=\"videoBlock\" id=\"award-video\" aria-label=\"Award giving video\">\n    <div class=\"videoHead\">\n      <div class=\"kicker\">\ud83c\udfa5 Award Ceremony<\/div>\n      <div class=\"tag\">Jumped to 2:43:02<\/div>\n    <\/div>\n\n    <h3 class=\"videoTitle\">\n      Award giving by the Deputy Rector (Academic &amp; Internationalisation),\n      Prof. Dato&#8217; Dr. Ahmad Faris bin Ismail \n    <\/h3>\n\n    <div class=\"videoFrame\" role=\"region\" aria-label=\"Embedded YouTube video\">\n      <iframe\n        title=\"Award giving by the Deputy Rector (Academic &#038; Internationalisation)\"\n        src=\"https:\/\/www.youtube.com\/embed\/EanjymBxdd8?start=9782&#038;rel=0&#038;modestbranding=1\"\n        allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"\n        allowfullscreen>\n      <\/iframe>\n    <\/div>\n\n    <p class=\"videoNote\">\n      Tip: If the video doesn\u2019t start at the exact moment (sometimes due to YouTube caching), refresh once.\n    <\/p>\n  <\/div>\n\n\n  <!-- Lightbox -->\n  <div class=\"lb\" id=\"maeLb\" aria-hidden=\"true\">\n    <div class=\"lb-inner\" role=\"dialog\" aria-modal=\"true\" aria-label=\"Image preview\">\n      <div class=\"lb-top\">\n        <div id=\"maeLbTitle\">Preview<\/div>\n        <button class=\"lb-close\" type=\"button\" id=\"maeLbClose\" aria-label=\"Close\">\u2715 Close<\/button>\n      <\/div>\n      <div class=\"lb-img-wrap\">\n        <img class=\"lb-img\" id=\"maeLbImg\" alt=\"Enlarged image\" \/>\n      <\/div>\n    <\/div>\n  <\/div>\n\n  <script>\n    (function(){\n      const root = document.getElementById('mae-congrats');\n      if(!root) return;\n\n      const lb = root.querySelector('#maeLb');\n      const lbImg = root.querySelector('#maeLbImg');\n      const lbTitle = root.querySelector('#maeLbTitle');\n      const lbClose = root.querySelector('#maeLbClose');\n\n      function openLb(src, title){\n        lbImg.src = src;\n        lbTitle.textContent = title || 'Preview';\n        lb.classList.add('open');\n        lb.setAttribute('aria-hidden','false');\n        document.body.style.overflow = 'hidden';\n      }\n\n      function closeLb(){\n        lb.classList.remove('open');\n        lb.setAttribute('aria-hidden','true');\n        lbImg.src = '';\n        document.body.style.overflow = '';\n      }\n\n      \/\/ Click banner to open\n      root.querySelectorAll('.banner').forEach(b => {\n        b.addEventListener('click', () => {\n          const src = b.getAttribute('data-full') || b.querySelector('img')?.src;\n          const title = b.getAttribute('data-title') || '';\n          openLb(src, title);\n        });\n      });\n\n      \/\/ Close actions\n      lbClose.addEventListener('click', closeLb);\n      lb.addEventListener('click', (e) => {\n        if(e.target === lb) closeLb();\n      });\n      window.addEventListener('keydown', (e) => {\n        if(e.key === 'Escape' && lb.classList.contains('open')) closeLb();\n      });\n    })();\n  <\/script>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\ud83c\udf89 Congratulations Celebrating Our Outstanding Graduates Heartfelt congratulations from the Department of Mechanical &amp; Aerospace Engineering, IIUM. Kulliyyah of Engineering \u00b7 IIUM \ud83c\udfc5 Royal Education Award Br Nik Ahmad Farhan Nik Mahmood Farid Mechanical Engineering Recipient of the Royal Education Award &amp; Best Student (Academic) Your academic excellence reflects dedication, [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":3337,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"_links":{"self":[{"href":"https:\/\/engine.iium.edu.my\/mec\/index.php?rest_route=\/wp\/v2\/posts\/3332"}],"collection":[{"href":"https:\/\/engine.iium.edu.my\/mec\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/engine.iium.edu.my\/mec\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/engine.iium.edu.my\/mec\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/engine.iium.edu.my\/mec\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3332"}],"version-history":[{"count":8,"href":"https:\/\/engine.iium.edu.my\/mec\/index.php?rest_route=\/wp\/v2\/posts\/3332\/revisions"}],"predecessor-version":[{"id":3394,"href":"https:\/\/engine.iium.edu.my\/mec\/index.php?rest_route=\/wp\/v2\/posts\/3332\/revisions\/3394"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/engine.iium.edu.my\/mec\/index.php?rest_route=\/wp\/v2\/media\/3337"}],"wp:attachment":[{"href":"https:\/\/engine.iium.edu.my\/mec\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/engine.iium.edu.my\/mec\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/engine.iium.edu.my\/mec\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}