.elementor-1416 .elementor-element.elementor-element-dff96c4{--display:flex;}.elementor-1416 .elementor-element.elementor-element-4b35465{--display:flex;}.elementor-widget-site-logo .hfe-site-logo-container .hfe-site-logo-img{border-color:var( --e-global-color-primary );}.elementor-widget-site-logo .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-1416 .elementor-element.elementor-element-3cd8dd0 .hfe-site-logo-container, .elementor-1416 .elementor-element.elementor-element-3cd8dd0 .hfe-caption-width figcaption{text-align:center;}.elementor-1416 .elementor-element.elementor-element-3cd8dd0 .widget-image-caption{margin-top:0px;margin-bottom:0px;}.elementor-1416 .elementor-element.elementor-element-3cd8dd0 > .elementor-widget-container{margin:090px 0px -125px 0px;}.elementor-1416 .elementor-element.elementor-element-3cd8dd0 .hfe-site-logo-container .hfe-site-logo-img{border-style:none;}.elementor-1416 .elementor-element.elementor-element-4cb5db4{--display:flex;}.elementor-1416 .elementor-element.elementor-element-d346b56{--display:flex;}/* Start custom CSS */<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>AVAC Training — Site Upgrade in Progress</title>
  <link href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Barlow+Condensed:wght@600;700;800&display=swap" rel="stylesheet"/>
  <style>
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:      #0B132B;
      --bg2:     #0d1a35;
      --card:    #1C2541;
      --cyan:    #00c8b4;
      --cyan2:   #00e5cf;
      --white:   #F8F9FA;
      --muted:   #7a85a0;
      --dim:     #4e5a72;
      --border:  rgba(0,200,180,0.15);
      --border2: rgba(255,255,255,0.07);
    }

    html, body {
      height: 100%;
      font-family: 'Barlow', sans-serif;
      background: var(--bg);
      color: var(--white);
      overflow-x: hidden;
    }

    /* ── Hide WordPress header & footer ── */
    header,
    .site-header,
    #masthead,
    #site-header,
    .elementor-location-header,
    footer,
    .site-footer,
    #colophon,
    #site-footer,
    .elementor-location-footer {
      display: none !important;
    }

    /* ── Background layers ── */
    .bg-glow {
      position: fixed; inset: 0; z-index: 0;
      background:
        radial-gradient(ellipse 60% 50% at 10% 30%, rgba(0,200,180,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 45% at 90% 75%, rgba(0,200,180,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(13,26,53,0.8) 0%, transparent 70%);
      pointer-events: none;
    }

    /* Animated grid */
    .grid-lines {
      position: fixed; inset: 0; z-index: 0;
      background-image:
        linear-gradient(rgba(0,200,180,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,200,180,0.04) 1px, transparent 1px);
      background-size: 56px 56px;
      animation: gridDrift 40s linear infinite;
      pointer-events: none;
    }
    @keyframes gridDrift {
      from { background-position: 0 0; }
      to   { background-position: 56px 56px; }
    }

    /* Radar sweep */
    .radar {
      position: fixed;
      bottom: -120px; right: -120px;
      width: 480px; height: 480px;
      border-radius: 50%;
      border: 1px solid rgba(0,200,180,0.06);
      z-index: 0;
      pointer-events: none;
    }
    .radar::before {
      content: '';
      position: absolute;
      inset: 40px;
      border-radius: 50%;
      border: 1px solid rgba(0,200,180,0.05);
    }
    .radar::after {
      content: '';
      position: absolute;
      inset: 80px;
      border-radius: 50%;
      border: 1px solid rgba(0,200,180,0.04);
    }
    .radar-sweep {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: conic-gradient(from 0deg, transparent 70%, rgba(0,200,180,0.08) 100%);
      animation: radarSpin 6s linear infinite;
    }
    @keyframes radarSpin {
      from { transform: rotate(0deg); }
      to   { transform: rotate(360deg); }
    }

    /* ── Top bar ── */
    .topbar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 10;
      display: flex; align-items: center; justify-content: space-between;
      padding: 18px 40px;
      background: linear-gradient(180deg, rgba(11,19,43,0.98) 0%, transparent 100%);
      border-bottom: 1px solid rgba(0,200,180,0.08);
      opacity: 0;
      animation: fadeDown 0.7s 0.2s forwards;
    }
    .logo {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 22px; font-weight: 700;
      color: var(--white); letter-spacing: 1px;
    }
    .logo span { color: var(--cyan); }
    .status-pill {
      display: flex; align-items: center; gap: 8px;
      padding: 6px 16px;
      border: 1px solid rgba(0,200,180,0.25);
      border-radius: 999px;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 11px; letter-spacing: 2px;
      text-transform: uppercase; color: var(--cyan);
    }
    .status-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--cyan);
      box-shadow: 0 0 8px var(--cyan);
      animation: pulse 1.8s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.4; transform: scale(0.7); }
    }

    /* ── Page layout ── */
    .page {
      position: relative; z-index: 1;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 100px 24px 80px;
    }

    .card {
      max-width: 700px;
      width: 100%;
      text-align: center;
    }

    /* eyebrow */
    .eyebrow {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 11px; font-weight: 600;
      letter-spacing: 3px; color: var(--cyan);
      text-transform: uppercase;
      display: inline-flex; align-items: center; gap: 10px;
      margin-bottom: 20px;
      opacity: 0;
      animation: fadeUp 0.7s 0.4s forwards;
    }
    .eyebrow::before, .eyebrow::after {
      content: '';
      width: 20px; height: 2px;
      background: var(--cyan);
      border-radius: 2px;
      opacity: 0.5;
    }

    .headline {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(40px, 8vw, 72px);
      font-weight: 800;
      line-height: 1;
      color: var(--white);
      letter-spacing: -1px;
      margin-bottom: 24px;
      opacity: 0;
      animation: fadeUp 0.8s 0.6s forwards;
    }
    .headline span { color: var(--cyan); }

    .divider {
      width: 48px; height: 2px;
      background: linear-gradient(90deg, transparent, var(--cyan), transparent);
      margin: 0 auto 28px;
      border-radius: 2px;
      opacity: 0;
      animation: fadeUp 0.7s 0.8s forwards;
    }

    .body-text {
      font-size: 15px; font-weight: 400;
      line-height: 1.8; color: var(--muted);
      max-width: 520px; margin: 0 auto 48px;
      opacity: 0;
      animation: fadeUp 0.7s 0.9s forwards;
    }
    .body-text strong { color: var(--white); font-weight: 500; }

    /* ── Progress ── */
    .progress-wrap {
      margin-bottom: 48px;
      opacity: 0;
      animation: fadeUp 0.7s 1.0s forwards;
    }
    .progress-label {
      display: flex; justify-content: space-between;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 11px; letter-spacing: 2px;
      text-transform: uppercase; color: var(--dim);
      margin-bottom: 10px;
    }
    .progress-label span:last-child { color: var(--cyan); }
    .progress-track {
      height: 4px; border-radius: 99px;
      background: rgba(255,255,255,0.06);
      overflow: hidden;
      border: 1px solid rgba(0,200,180,0.1);
    }
    .progress-bar {
      height: 100%; width: 0%;
      border-radius: 99px;
      background: linear-gradient(90deg, var(--cyan), var(--cyan2));
      box-shadow: 0 0 14px rgba(0,200,180,0.4);
      animation: fillBar 2s 1.4s cubic-bezier(0.4,0,0.2,1) forwards;
    }
    @keyframes fillBar {
      from { width: 0%; }
      to   { width: 72%; }
    }

    /* ── Countdown ── */
    .countdown {
      display: flex; justify-content: center;
      gap: 16px; margin-bottom: 48px;
      opacity: 0;
      animation: fadeUp 0.7s 1.1s forwards;
    }
    .unit {
      display: flex; flex-direction: column;
      align-items: center; gap: 8px;
    }
    .unit-num {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 44px; font-weight: 700;
      color: var(--white); line-height: 1;
      min-width: 80px; text-align: center;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 16px 10px 12px;
      position: relative; overflow: hidden;
    }
    .unit-num::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent 0%, var(--cyan) 20%, var(--cyan) 80%, transparent 100%);
      opacity: 0.6;
    }
    .unit-num::after {
      content: '';
      position: absolute;
      top: -30px; right: -30px;
      width: 80px; height: 80px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0,200,180,0.06) 0%, transparent 70%);
    }
    .unit-label {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 10px; letter-spacing: 2.5px;
      text-transform: uppercase; color: var(--dim);
    }
    .sep {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 36px; font-weight: 700;
      color: rgba(0,200,180,0.3);
      align-self: flex-start;
      padding-top: 22px;
    }

    /* ── Notify form ── */
    .notify-wrap {
      opacity: 0;
      animation: fadeUp 0.7s 1.3s forwards;
    }
    .notify-label {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 11px; letter-spacing: 2px;
      text-transform: uppercase; color: var(--dim);
      margin-bottom: 14px;
    }
    .notify-form {
      display: flex; gap: 0;
      max-width: 440px; margin: 0 auto;
      border: 1px solid var(--border);
      border-radius: 10px; overflow: hidden;
      transition: border-color 0.3s;
    }
    .notify-form:focus-within { border-color: rgba(0,200,180,0.5); }
    .notify-form input {
      flex: 1;
      background: var(--card);
      border: none; outline: none;
      padding: 14px 18px;
      font-family: 'Barlow', sans-serif;
      font-size: 14px; color: var(--white);
    }
    .notify-form input::placeholder { color: var(--dim); }
    .notify-form button {
      background: var(--cyan);
      border: none; padding: 14px 24px;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 13px; font-weight: 700;
      letter-spacing: 1.5px; text-transform: uppercase;
      color: #0B132B; cursor: pointer;
      transition: background 0.2s;
      white-space: nowrap;
    }
    .notify-form button:hover { background: var(--cyan2); }

    /* ── Accred strip ── */
    .accred-strip {
      display: flex; align-items: center;
      justify-content: center; gap: 10px;
      margin-top: 40px;
      opacity: 0;
      animation: fadeUp 0.7s 1.5s forwards;
    }
    .accred-label {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 10px; letter-spacing: 2px;
      text-transform: uppercase; color: var(--dim);
      margin-right: 6px;
    }
    .accred-badge {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 6px; padding: 5px 14px;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 13px; font-weight: 700;
      color: #8a96b0; letter-spacing: 1px;
    }

    /* ── Footer ── */
    .footer {
      position: fixed; bottom: 0; left: 0; right: 0;
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 40px;
      background: linear-gradient(0deg, rgba(11,19,43,0.98) 0%, transparent 100%);
      font-size: 12px; color: var(--dim);
      border-top: 1px solid rgba(0,200,180,0.06);
      opacity: 0;
      animation: fadeUp 0.7s 1.7s forwards;
    }
    .footer-links { display: flex; gap: 20px; }
    .footer-links a {
      color: var(--dim); text-decoration: none;
      transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--cyan); }

    /* ── Keyframes ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeDown {
      from { opacity: 0; transform: translateY(-12px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── Responsive ── */
    @media (max-width: 520px) {
      .topbar { padding: 14px 20px; }
      .footer { padding: 12px 20px; flex-direction: column; gap: 8px; text-align: center; }
      .countdown { gap: 8px; }
      .unit-num { font-size: 32px; min-width: 60px; padding: 12px 8px 10px; }
      .sep { font-size: 26px; padding-top: 18px; }
      .notify-form { flex-direction: column; }
      .notify-form button { padding: 12px; border-radius: 0; }
      .accred-strip { flex-wrap: wrap; }
      .headline { font-size: 36px; }
    }
  </style>
</head>
<body>

  <div class="bg-glow"></div>
  <div class="grid-lines"></div>
  <div class="radar"><div class="radar-sweep"></div></div>

  <!-- Top bar -->
  <header class="topbar">
    <div class="logo">AVAC <span>Training</span></div>
    <div class="status-pill">
      <span class="status-dot"></span>
      Upgrade In Progress
    </div>
  </header>

  <!-- Main -->
  <main class="page">
    <div class="card">

      <div class="eyebrow">Scheduled Maintenance</div>

      <h1 class="headline">
        We're <span>Upgrading</span><br>Our Website
      </h1>

      <div class="divider"></div>

      <p class="body-text">
        Our team is working hard behind the scenes to bring you a
        <strong>better, faster and more powerful</strong> experience.
        AVAC Training will be back online shortly with exciting new features and content.
      </p>

      <!-- Progress -->
      <div class="progress-wrap">
        <div class="progress-label">
          <span>Upgrade Progress</span>
          <span>72%</span>
        </div>
        <div class="progress-track">
          <div class="progress-bar"></div>
        </div>
      </div>

      <!-- Countdown -->
      <div class="countdown">
        <div class="unit">
          <div class="unit-num" id="days">00</div>
          <div class="unit-label">Days</div>
        </div>
        <div class="sep">:</div>
        <div class="unit">
          <div class="unit-num" id="hours">00</div>
          <div class="unit-label">Hours</div>
        </div>
        <div class="sep">:</div>
        <div class="unit">
          <div class="unit-num" id="mins">00</div>
          <div class="unit-label">Minutes</div>
        </div>
        <div class="sep">:</div>
        <div class="unit">
          <div class="unit-num" id="secs">00</div>
          <div class="unit-label">Seconds</div>
        </div>
      </div>

      <!-- Notify -->
      <div class="notify-wrap">
        <p class="notify-label">Get notified when we're back</p>
        <div class="notify-form">
          <input type="email" placeholder="Enter your email address" />
          <button type="button">Notify Me</button>
        </div>
      </div>

      <!-- Accreditation -->
      <div class="accred-strip">
        <span class="accred-label">Recognised by</span>
        <span class="accred-badge">ICAO</span>
        <span class="accred-badge">CAAM</span>
        <span class="accred-badge">ISO 9001</span>
        <span class="accred-badge">DCA Brunei</span>
      </div>

    </div>
  </main>

  <!-- Footer -->
  <footer class="footer">
    <span>© 2025 AVAC Training — Clearwisdom Sdn. Bhd. All rights reserved.</span>
    <div class="footer-links">
      <a href="mailto:info@avactraining.com.my">Contact Us</a>
      <a href="#">Facebook</a>
      <a href="#">Instagram</a>
    </div>
  </footer>

  <script>
    // Countdown — set your target date here
    const target = new Date();
    target.setDate(target.getDate() + 3);
    target.setHours(target.getHours() + 8, target.getMinutes() + 45, 0, 0);

    function pad(n) { return String(n).padStart(2, '0'); }

    function tick() {
      const diff = target - Date.now();
      if (diff <= 0) {
        ['days','hours','mins','secs'].forEach(id => document.getElementById(id).textContent = '00');
        return;
      }
      document.getElementById('days').textContent  = pad(Math.floor(diff / 86400000));
      document.getElementById('hours').textContent = pad(Math.floor((diff % 86400000) / 3600000));
      document.getElementById('mins').textContent  = pad(Math.floor((diff % 3600000) / 60000));
      document.getElementById('secs').textContent  = pad(Math.floor((diff % 60000) / 1000));
    }
    tick();
    setInterval(tick, 1000);

    // Notify button
    document.querySelector('.notify-form button').addEventListener('click', function() {
      const input = document.querySelector('.notify-form input');
      if (input.value && input.value.includes('@')) {
        this.textContent = '✓ Subscribed!';
        this.style.background = '#00c8b4';
        this.style.opacity = '0.7';
        input.value = '';
        input.disabled = true;
        this.disabled = true;
      } else {
        input.style.outline = '1px solid #e05252';
        setTimeout(() => input.style.outline = '', 1200);
      }
    });
  </script>

</body>
</html>/* End custom CSS */