import React from 'react';

export function Footer() {
  return (
    <footer
      className="relative w-full text-white py-10 mt-auto bg-cover bg-center"
      style={{
        backgroundImage:
          "url('banner.jpeg')",
      }}
    >
      {/* Overlay for readability */}
      <div className="absolute inset-0 bg-gradient-to-t from-slate-900/80 via-slate-900/50 to-transparent" />

      {/* Main footer content */}
      <div className="relative max-w-7xl mx-auto px-8">
        <div className="flex justify-center gap-8 mb-4">
          <a
            href="#"
            className="relative text-blue-300 hover:text-blue-100 transition-all duration-300 after:content-[''] after:absolute after:left-0 after:bottom-0 after:w-0 hover:after:w-full after:h-[1px] after:bg-blue-300 after:transition-all after:duration-300"
          >
            Help Center
          </a>
          <a
            href="#"
            className="relative text-blue-300 hover:text-blue-100 transition-all duration-300 after:content-[''] after:absolute after:left-0 after:bottom-0 after:w-0 hover:after:w-full after:h-[1px] after:bg-blue-300 after:transition-all after:duration-300"
          >
            Contact Support
          </a>
        </div>

        <div className="text-center">
          <p className="font-semibold mb-2">© 2025 Manalife. All rights reserved.</p>
          <p className="text-gray-300 text-sm">
            Advancing innovation in women's health and digital pathology.
          </p>
        </div>
      </div>

      {/* Logo at bottom-right corner */}
      <div className="absolute bottom-4 right-8">
        <img
          src="/white_logo.png"
          alt="Manalife Logo"
          className="h-12 w-auto opacity-90 hover:opacity-100 transition-opacity duration-300"
        />
      </div>
    </footer>
  );
}
