<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?php echo htmlspecialchars($settings['sitname']); ?> | Premier Global Banking</title>
    <link rel="icon" href="e.png" type="image/png">
    
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        :root {
            --primary: #0052cc;
            --secondary: #00d4ff;
            --bg-dark: #0a192f;
            --text-main: #1e293b;
            --white: #ffffff;
            --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Inter', sans-serif; color: var(--text-main); line-height: 1.6; overflow-x: hidden; background: #fff; }

        /* --- NAVIGATION --- */
        .navbar {
            position: fixed;
            top: 0; width: 100%; z-index: 2000;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            padding: 12px 0;
            border-bottom: 1px solid rgba(0,0,0,0.08);
        }
        .container { max-width: 1250px; margin: 0 auto; padding: 0 25px; }
        .nav-flex { display: flex; justify-content: space-between; align-items: center; }
        .logo img { height: 40px; width: auto; }
        
        .nav-links { display: flex; gap: 30px; list-style: none; }
        .nav-links a { text-decoration: none; color: var(--bg-dark); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
        
        .btn-access { 
            background: var(--bg-dark); color: white !important; 
            padding: 10px 22px; border-radius: 6px; 
            font-weight: 700; transition: var(--transition); 
            text-decoration: none; font-size: 13px;
        }

        /* Mobile Nav Toggle */
        @media (max-width: 850px) {
            .nav-links { display: none; }
        }

        /* --- HERO SECTION --- */
        .hero {
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 85vh;
            padding-top: 65px;
            background: #f8fafc;
        }
        .hero-text {
            padding: 80px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .hero-text span { color: var(--primary); font-weight: 800; letter-spacing: 2px; font-size: 12px; margin-bottom: 15px; display: block; }
        .hero-text h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 4.5rem); color: var(--bg-dark); line-height: 1.1; margin-bottom: 25px; }
        .hero-text p { font-size: 1.1rem; color: #64748b; margin-bottom: 35px; max-width: 500px; }
        
        .hero-image {
            background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=2070') center/cover;
            position: relative;
        }

        .cta-group { display: flex; gap: 15px; flex-wrap: wrap; }
        .btn-primary { background: var(--primary); color: white; padding: 16px 32px; border-radius: 6px; text-decoration: none; font-weight: 700; box-shadow: 0 10px 20px rgba(0,82,204,0.15); }
        .btn-outline { border: 1px solid #cbd5e1; color: var(--bg-dark); padding: 16px 32px; border-radius: 6px; text-decoration: none; font-weight: 700; }

        /* Mobile Hero Stack */
        @media (max-width: 992px) {
            .hero { grid-template-columns: 1fr; min-height: auto; }
            .hero-image { height: 350px; order: 1; }
            .hero-text { padding: 50px 25px; order: 2; text-align: center; align-items: center; }
            .cta-group { justify-content: center; }
        }

        /* --- TRUST BAR (FIXED FOR MOBILE OVERLAP) --- */
        .trust-bar { background: var(--bg-dark); color: white; padding: 40px 0; }
        .trust-grid { 
            display: grid; 
            grid-template-columns: repeat(4, 1fr); 
            gap: 20px;
        }
        .trust-item { 
            text-align: center; display: flex; flex-direction: column; 
            align-items: center; gap: 10px; opacity: 0.8; 
        }
        .trust-item i { font-size: 24px; color: var(--secondary); }
        .trust-item span { font-size: 11px; font-weight: 700; letter-spacing: 1px; }

        @media (max-width: 650px) {
            .trust-grid { grid-template-columns: 1fr 1fr; gap: 40px 10px; }
        }

        /* --- FEATURES SECTION --- */
        .features { padding: 100px 0; background: white; }
        .section-title { text-align: center; margin-bottom: 60px; }
        .section-title h2 { font-family: 'Playfair Display'; font-size: 2.5rem; margin-bottom: 15px; }

        .feature-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
            gap: 30px; 
        }
        .f-card { 
            padding: 45px; border-radius: 12px; border: 1px solid #f1f5f9; 
            transition: var(--transition); background: #fff;
        }
        .f-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
        .f-card i { font-size: 40px; color: var(--primary); margin-bottom: 25px; display: block; }
        .f-card h3 { margin-bottom: 15px; font-size: 22px; }

        /* --- REVEAL ANIMATION --- */
        .reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
        .reveal.active { opacity: 1; transform: translateY(0); }

        /* --- FOOTER --- */
        footer { background: #050b16; color: white; padding: 80px 0 40px; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
        .footer-col h4 { color: var(--secondary); margin-bottom: 25px; font-size: 16px; }
        .footer-col ul { list-style: none; }
        .footer-col li { margin-bottom: 12px; font-size: 14px; opacity: 0.6; }
    </style>
</head>
<body>

    <nav class="navbar">
        <div class="container nav-flex">
            <a href="home.php" class="logo"><img src="images/logo.png" alt="<?php echo htmlspecialchars($settings['sitname']); ?>"></a>
            <ul class="nav-links">
                <li><a href="#">Private Banking</a></li>
                <li><a href="#">Wealth Management</a></li>
                <li><a href="#">Corporate</a></li>
            </ul>
            <a href="index.php" class="btn-access">login</a>
        </div>
    </nav>