// Expertise Overview — Simple CTA Section linking to Expertise Page
function ExpertiseOverview({ t }) {
  return (
    <section id="services" className="expertise-teaser">
      <div className="wrap">
        <div className="teaser-content">
          <div className="teaser-left">
            <div className="eyebrow"><span className="dot"></span><span>OUR EXPERTISE</span></div>
            <h2 className="teaser-title">7 Areas of Professional Excellence</h2>
            <p className="teaser-desc">
              From EHS trainings to ISO consultation, governance to compliance assessments —
              explore our comprehensive range of professional services.
            </p>
            <a href="expertise.html" className="teaser-btn">
              Explore Our Expertise
              <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">
                <path d="M5 12h14M12 5l7 7-7 7"/>
              </svg>
            </a>
          </div>

          <div className="teaser-right">
            <div className="teaser-list">
              <a href="expertise.html#ehs-trainings" className="teaser-item item-1">
                <span className="item-num num-1">01</span>
                <span className="item-title">EHS Trainings</span>
                <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">
                  <path d="M7 17l9.2-9.2M17 17V7H7"/>
                </svg>
              </a>
              <a href="expertise.html#engineering-trainings" className="teaser-item item-2">
                <span className="item-num num-2">02</span>
                <span className="item-title">Engineering & Technical</span>
                <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">
                  <path d="M7 17l9.2-9.2M17 17V7H7"/>
                </svg>
              </a>
              <a href="expertise.html#integrated-trainings" className="teaser-item item-3">
                <span className="item-num num-3">03</span>
                <span className="item-title">Integrated Trainings</span>
                <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">
                  <path d="M7 17l9.2-9.2M17 17V7H7"/>
                </svg>
              </a>
              <a href="expertise.html#iso-consultation" className="teaser-item item-4">
                <span className="item-num num-4">04</span>
                <span className="item-title">ISO Consultation & Audits</span>
                <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">
                  <path d="M7 17l9.2-9.2M17 17V7H7"/>
                </svg>
              </a>
              <a href="expertise.html#ehs-compliance" className="teaser-item item-5">
                <span className="item-num num-5">05</span>
                <span className="item-title">EHS Compliance & Reporting</span>
                <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">
                  <path d="M7 17l9.2-9.2M17 17V7H7"/>
                </svg>
              </a>
              <a href="expertise.html#governance-training" className="teaser-item item-6">
                <span className="item-num num-6">06</span>
                <span className="item-title">Governance & Legal</span>
                <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">
                  <path d="M7 17l9.2-9.2M17 17V7H7"/>
                </svg>
              </a>
              <a href="expertise.html#electronics-training" className="teaser-item item-7 exclusive-item">
                <span className="item-num num-7">07</span>
                <span className="item-title">Electronics & Semiconductor</span>
                <span className="exclusive-badge-small">EXCLUSIVE</span>
                <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">
                  <path d="M7 17l9.2-9.2M17 17V7H7"/>
                </svg>
              </a>
            </div>
          </div>
        </div>
      </div>

      <style>{`
        .expertise-teaser {
          position: relative;
          padding: 80px 0;
          background: #030712;
        }

        .teaser-content {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 60px;
          align-items: center;
        }

        .teaser-left .eyebrow {
          margin-bottom: 20px;
        }

        .teaser-title {
          font-size: clamp(28px, 3.5vw, 42px);
          font-weight: 800;
          color: #fff;
          margin: 0 0 16px;
          letter-spacing: -0.02em;
          line-height: 1.2;
        }

        .teaser-desc {
          font-size: 16px;
          color: #94a3b8;
          line-height: 1.7;
          margin: 0 0 28px;
          max-width: 400px;
        }

        .teaser-btn {
          display: inline-flex;
          align-items: center;
          gap: 10px;
          padding: 14px 28px;
          background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
          border-radius: 50px;
          font-size: 15px;
          font-weight: 600;
          color: #fff;
          text-decoration: none;
          transition: all 0.3s ease;
          box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
        }

        .teaser-btn:hover {
          transform: translateY(-3px);
          box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4);
        }

        .teaser-btn svg {
          transition: transform 0.3s ease;
        }

        .teaser-btn:hover svg {
          transform: translateX(4px);
        }

        .teaser-list {
          display: flex;
          flex-direction: column;
          gap: 8px;
        }

        .teaser-item {
          display: flex;
          align-items: center;
          gap: 16px;
          padding: 16px 20px;
          border-radius: 12px;
          text-decoration: none;
          transition: all 0.3s ease;
          border: none;
        }

        .teaser-item:hover {
          transform: translateX(8px);
          filter: brightness(1.1);
        }

        /* Different background colors for each box */
        .item-1 { background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0.1) 100%); border-left: 3px solid #06b6d4; }
        .item-2 { background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.1) 100%); border-left: 3px solid #3b82f6; }
        .item-3 { background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(34, 197, 94, 0.1) 100%); border-left: 3px solid #22c55e; }
        .item-4 { background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(168, 85, 247, 0.1) 100%); border-left: 3px solid #a855f7; }
        .item-5 { background: linear-gradient(135deg, rgba(249, 115, 22, 0.25) 0%, rgba(249, 115, 22, 0.1) 100%); border-left: 3px solid #f97316; }
        .item-6 { background: linear-gradient(135deg, rgba(236, 72, 153, 0.25) 0%, rgba(236, 72, 153, 0.1) 100%); border-left: 3px solid #ec4899; }
        .item-7 {
          background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(245, 158, 11, 0.15) 100%);
          border-left: 3px solid #fbbf24;
          position: relative;
          overflow: hidden;
        }
        .item-7::before {
          content: '';
          position: absolute;
          inset: 0;
          background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.2), transparent);
          animation: shimmer 3s ease-in-out infinite;
        }
        @keyframes shimmer {
          0% { transform: translateX(-100%); }
          50%, 100% { transform: translateX(100%); }
        }
        .exclusive-badge-small {
          padding: 2px 8px;
          background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
          color: #1c1917;
          font-size: 9px;
          font-weight: 700;
          border-radius: 4px;
          letter-spacing: 0.05em;
          margin-left: auto;
          margin-right: 8px;
        }

        .item-num {
          font-family: var(--font-mono);
          font-size: 12px;
          min-width: 24px;
          font-weight: 600;
        }

        /* Different colors for each number */
        .num-1 { color: #06b6d4; } /* Cyan */
        .num-2 { color: #3b82f6; } /* Blue */
        .num-3 { color: #22c55e; } /* Green */
        .num-4 { color: #a855f7; } /* Purple */
        .num-5 { color: #f97316; } /* Orange */
        .num-6 { color: #ec4899; } /* Pink */
        .num-7 { color: #fbbf24; } /* Gold */

        .item-title {
          flex: 1;
          font-size: 14px;
          font-weight: 500;
          color: #e2e8f0;
        }

        .teaser-item svg {
          opacity: 0;
          transform: translate(-8px, 8px);
          transition: all 0.3s ease;
        }

        /* Hover colors matching the boxes */
        .teaser-item:hover svg {
          opacity: 1;
          transform: translate(0, 0);
        }
        .item-1:hover svg { color: #06b6d4; }
        .item-2:hover svg { color: #3b82f6; }
        .item-3:hover svg { color: #22c55e; }
        .item-4:hover svg { color: #a855f7; }
        .item-5:hover svg { color: #f97316; }
        .item-6:hover svg { color: #ec4899; }
        .item-7:hover svg { color: #fbbf24; }

        @media (max-width: 900px) {
          .teaser-content {
            grid-template-columns: 1fr;
            gap: 40px;
          }

          .teaser-left {
            text-align: center;
          }

          .teaser-desc {
            max-width: 100%;
          }

          .teaser-btn {
            width: 100%;
            justify-content: center;
          }
        }

        @media (max-width: 500px) {
          .expertise-teaser {
            padding: 60px 0;
          }

          .teaser-item {
            padding: 14px 16px;
          }

          .item-title {
            font-size: 13px;
          }
        }
      `}</style>
    </section>
  );
}

window.ExpertiseOverview = ExpertiseOverview;
